chore(deps): use uuid ^11.1.1 to keep CommonJS support#13466
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Dependency limit exceeded — report not shown. This pull request scan exceeded the 10,000-dependency limit applied to this scan, so the results are incomplete and may be inaccurate. To avoid reporting false positives, Socket has not posted a report. Upgrade your plan to raise the dependency limit and get complete reports, or view the partial scan in the dashboard. Socket is always free for open source. If this is a non-commercial open source project, contact us to request a free Team account. |
gustavovalverde
had a problem deploying
to
Preview
July 20, 2026 18:02 — with
GitHub Actions
Failure
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.
uuid 14 ships only ESM entry points. next-auth and the adapters in this branch compile to CommonJS, so the published artifacts would throw
ERR_REQUIRE_ESMon Node versions below 20.19 as soon asnext-auth/jwtor an adapter loads. The mikro-orm adapter's Jest suite fails the same way at module load, so the package currently has zero executable tests.uuid 11.1.1 is both the first version patched for GHSA-w5hq-g745-h8pq and the last major with a dual CJS/ESM build, so it keeps the advisory resolved without cutting off CommonJS consumers. The vulnerable code path (
v3/v5/v6with a caller-supplied buffer) is not used here; every call site is an argument-lessv4().Also regenerates the mikro-orm adapter's schema snapshots. They were written against an older @mikro-orm/core 5.x; the lockfile has since moved to 5.9.8, which adds an
ignoreSchemaChangescolumn property and emits a default for the uniqueemailcolumn. The mismatch only surfaces now because this branch makes the suite runnable again.