-
Notifications
You must be signed in to change notification settings - Fork 57
fix: resolve JS NPM security audit failures #3127
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
Closed
thepastaclaw
wants to merge
3
commits into
dashpay:v3.1-dev
from
thepastaclaw:fix/js-npm-audit-v3.1-dev
Closed
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file removed
BIN
-9.69 KB
.yarn/cache/@isaacs-balanced-match-npm-4.0.1-8965afafe6-102fbc6d2c.zip
Binary file not shown.
Binary file removed
BIN
-16.9 KB
.yarn/cache/@isaacs-brace-expansion-npm-5.0.0-754d3cb3f5-cf3b7f206a.zip
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+394 KB
.../ajv-npm-8.12.0-3bf6e30741-b406f3b79b.zip → .../ajv-npm-8.18.0-6e5e062765-bfed9de827.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-11.2 KB
.yarn/cache/fast-json-stable-stringify-npm-2.1.0-02e8905fda-2c20055c1f.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-7.3 KB
.yarn/cache/json-schema-traverse-npm-0.4.1-4759091693-7486074d3b.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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
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
Oops, something went wrong.
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.
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.
🧩 Analysis chain
🏁 Script executed:
Repository: dashpay/platform
Length of output: 825
🏁 Script executed:
Repository: dashpay/platform
Length of output: 3617
🏁 Script executed:
Repository: dashpay/platform
Length of output: 349
🏁 Script executed:
Repository: dashpay/platform
Length of output: 366
🏁 Script executed:
Repository: dashpay/platform
Length of output: 3209
🏁 Script executed:
Repository: dashpay/platform
Length of output: 160
🏁 Script executed:
Repository: dashpay/platform
Length of output: 199
🏁 Script executed:
Repository: dashpay/platform
Length of output: 210
🏁 Script executed:
Repository: dashpay/platform
Length of output: 1234
🏁 Script executed:
Repository: dashpay/platform
Length of output: 3721
🏁 Script executed:
Repository: dashpay/platform
Length of output: 1210
🏁 Script executed:
Repository: dashpay/platform
Length of output: 554
🏁 Script executed:
Repository: dashpay/platform
Length of output: 320
🏁 Script executed:
Repository: dashpay/platform
Length of output: 383
🏁 Script executed:
Repository: dashpay/platform
Length of output: 2035
🏁 Script executed:
Repository: dashpay/platform
Length of output: 1458
ESLint will receive an incompatible version of ajv due to unresolvable transitive dependency conflict.
The root resolution
"ajv": ">=8.18.0"forces v8.18.0 globally, but ESLint 9.18.0 depends on@eslint/eslintrc@^3.3.1, which requiresajv@^6.12.4. Since v6 and v8 are incompatible major versions with differing APIs, Yarn Berry's global resolution will break ESLint's internal dependency requirements.Similarly,
"minimatch": ">=10.2.1"forces v10 globally, but ESLint's transitive dependencies (@eslint/object-schema, resolve) require minimatch@^3.1.2 and @^5.0.0 respectively. These version conflicts will cause silent redirection of all minimatch requests to v10.Workspace packages (dapi, dashmate, wasm-dpp) declare direct dependencies on ajv@^8.6.0 and use v8-specific APIs (
.compile(),ajv/dist/2020), confirming they expect v8. However, the transitive ajv@^6.12.4 requirement from ESLint cannot be satisfied by v8.18.0, causing incompatibility at runtime.Confirm that ESLint and other dev tools function correctly with these resolutions, as the version conflicts indicated above will prevent satisfying their true dependency constraints.
🤖 Prompt for AI Agents