chore: override nanoid@3 to fix Dependabot alert - #471
Merged
Conversation
`hypertune` and `@vercel/microfrontends` resolved to nanoid 3.3.16, which is vulnerable to an infinite loop when a custom generator is called with size zero. The existing `nanoid@>=4` override did not cover the v3 range, so add a matching `nanoid@3: ^3.3.18` override. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.

Resolves the open high-severity Dependabot alert for
nanoid(#981).hypertuneand@vercel/microfrontendsresolved tonanoid@3.3.16, which is vulnerable to an infinite loop when a custom generator is called with size zero (patched in 3.3.17). The existingnanoid@>=4override didn't cover the v3 range, so this adds a matchingnanoid@3: ^3.3.18override. The lockfile now resolves only3.3.18and5.1.16.Not addressed here: the two
image-sizealerts (#979, #980). The latest published version is2.0.2, which is itself in the vulnerable range — there is no patched release yet. It is a transitive dependency offumadocs-coreinapps/docsonly, so it is build-time docs tooling and is not shipped in any publishedpackages/*SDK.🤖 Generated with Claude Code