Conversation
Applies the dev-dependencies group update from PR #19, which adds TypeScript 6/7 compatibility and fixes export type and declare module handling. The generated types/index.d.ts is unchanged.
Closes the GHSA-2v37-7h3g-55p8 alert: nanoid before 3.3.18 loops forever in customAlphabet/customRandom when size is 0. It reaches us only as a dev-only transitive dependency (vitest -> vite -> postcss), and postcss 8.5.26 still asks for ^3.3.17, so no resolution is needed -- the range already allows the patched version, the lockfile was just pinned to the old one.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two dev-dependency changes, applied on
developand now landing onmainsothe Dependabot alert stops showing on the default branch.
rollup-plugin-dtsnanoidvitest -> vite -> postcssrollup-plugin-dts6.5.1 is the dev-dependencies group update from #19, whichwas closed in favour of applying it directly. 6.5.0 adds TypeScript 6/7
compatibility and fixes
export typeanddeclare modulehandling; 6.5.1reverts a
magic-stringupgrade to restore cjs compatibility. The generatedtypes/index.d.tsis byte-identical after the rebuild, so the public APIsurface is untouched.
nanoidcloses GHSA-2v37-7h3g-55p8 / CVE-2026-67213 — before 3.3.18,customAlphabetandcustomRandomspin forever when called with a size of 0.It reaches us only as a
development-scope transitive dependency, and nothingin this repository calls those functions.
No resolution was added for it. postcss 8.5.26 is already the latest release
and still depends on
nanoid ^3.3.17, a range that allows the patched version— the lockfile was simply pinned to the old one, so re-resolving that single
entry was enough. Adding a resolution here would have been one of the
never-applied kind removed in f5035f6.
build:again rather thanfix:, to keep semantic-release from publishing arelease for a dev-dependency-only change.
Verification
yarn buildpasses;types/index.d.tsunchanged.yarn test— 55 tests across 12 files, all passing.