-
Notifications
You must be signed in to change notification settings - Fork 4
Update all dependencies to fix vulnerabilities #277
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: master
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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -47,29 +47,29 @@ | |||||
| "test:watch": "node --test --watch" | ||||||
| }, | ||||||
| "dependencies": { | ||||||
| "lodash": "^4.17.21" | ||||||
| "lodash": "^4.17.23" | ||||||
| }, | ||||||
| "devDependencies": { | ||||||
| "@fastify/pre-commit": "^2.2.0", | ||||||
| "@fastify/pre-commit": "^2.2.1", | ||||||
| "@uphold/github-changelog-generator": "^4.0.2", | ||||||
| "abavalidator": "^2.0.2", | ||||||
| "bignumber.js": "^9.3.0", | ||||||
| "bignumber.js": "^9.3.1", | ||||||
|
Contributor
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. maybe we can consider bumping this to next major release (10.0.2), to avoid updating to a 8 months old version in a separate pr (we're using |
||||||
| "cpf": "^2.0.1", | ||||||
| "creditcard": "^0.1.3", | ||||||
| "curp": "^1.3.1", | ||||||
| "eslint": "~9.28.0", | ||||||
| "eslint-config-uphold": "^6.5.2", | ||||||
| "google-libphonenumber": "^3.2.41", | ||||||
| "eslint": "~9.39.2", | ||||||
|
Contributor
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. maybe we should consider updating it to latest major as well (10.0.3) in a separate pr? |
||||||
| "eslint-config-uphold": "^6.9.0", | ||||||
|
Contributor
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.
Suggested change
|
||||||
| "google-libphonenumber": "^3.2.43", | ||||||
|
Contributor
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.
Suggested change
|
||||||
| "iban": "0.0.6", | ||||||
| "isoc": "0.0.1", | ||||||
| "moment": "^2.30.1", | ||||||
| "prettier": "^3.5.3", | ||||||
| "release-it": "^19.2.3", | ||||||
| "prettier": "^3.8.0", | ||||||
|
Contributor
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.
Suggested change
|
||||||
| "release-it": "^19.2.4", | ||||||
| "tin-validator": "^1.1.0", | ||||||
| "uk-modulus-checking": "0.0.3", | ||||||
| "urijs": "^1.17.1", | ||||||
| "validate-rfc": "^2.0.3", | ||||||
| "validator": "^13.15.15", | ||||||
| "validator": "^13.15.26", | ||||||
| "validator.js": "^2.0.0" | ||||||
| }, | ||||||
| "peerDependencies": { | ||||||
|
|
||||||
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.
The update of bignumber.js to version 9.3.1 conflicts with the peerDependencies constraint which specifies ">=7 || <=9.3.0" (line 77) and the optionalPeerDependencies constraint ">=7 <=9.3.0" (line 141). The devDependency is being updated to ^9.3.1, which is outside the acceptable peer dependency range. This means that consumers of this package would see peer dependency warnings if they use bignumber.js 9.3.1 or higher.
Either update the peerDependencies constraints to allow 9.3.1 (e.g., ">=7 <=9.3.1" or ">=7 <9.4.0"), or keep bignumber.js at 9.3.0 if there's a specific reason for the upper bound constraint.
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.
https://github.com/uphold/validator.js-asserts/pull/277/changes#r2923543857