-
Notifications
You must be signed in to change notification settings - Fork 3
fix: [elliptic] Upgrade elliptic from 6.4.1 to 6.6.1 to resolve CVE-2024-48948 #227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -53,5 +53,8 @@ | |
| "nodemon": "^2.0.7", | ||
| "snyk": "^1.244.0" | ||
| }, | ||
| "license": "Apache-2.0" | ||
| "license": "Apache-2.0", | ||
| "overrides": { | ||
| "elliptic": "6.6.1" | ||
| } | ||
|
Comment on lines
+57
to
+59
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 📝 Info: elliptic is a dev-only transitive dependency elliptic is marked Was this helpful? React with 👍 or 👎 to provide feedback. |
||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 Lockfile omits overrides, can break npm ci
package.json declares an
overridesblock, but the root package in package-lock.json records no matchingoverrideskey. npm normally persists overrides in the lockfile, so its absence leaves the two files out of sync and can makenpm cifail with an EUSAGE error.Prompt for agents
Was this helpful? React with 👍 or 👎 to provide feedback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Verified locally —
npm ciis not broken by this.I regenerated the lockfile with
npm install --package-lock-onlyon npm 10.8.2. This repo's lockfile islockfileVersion: 2(hybrid v1/v2), and npm did not write anoverrideskey intopackages[""]— but it did resolve the overridden version in the tree, and npm only enforces the overrides-sync check when the lockfile records one.Evidence, from a clean checkout of just
package.json+package-lock.jsonon this branch:No EUSAGE error. Leaving the lockfile as npm generated it.