Skip to content

chore(deps): update npm dependencies#103

Merged
tclem merged 2 commits intomainfrom
deps/npm-updates-2026-03-12
Mar 12, 2026
Merged

chore(deps): update npm dependencies#103
tclem merged 2 commits intomainfrom
deps/npm-updates-2026-03-12

Conversation

@tclem
Copy link
Member

@tclem tclem commented Mar 12, 2026

Summary

Updates npm dependencies in crates/string-offsets/js to address security vulnerabilities.

Updated packages

Package Old New Notes
wasm-pack 0.13.1 0.14.0 Direct dev dependency

Security fixes (via overrides)

Both tar and axios are transitive dependencies of wasm-pack via binary-install. Since binary-install is deprecated and hasn't been updated, npm overrides are used to force safe versions.

tar (6.2.1 to ^7.4.3)

Severity Alert Advisory Summary
high dependabot/19 GHSA-qffp-2rhf-9h96 Hardlink Path Traversal via Drive-Relative Linkpath
high dependabot/11 GHSA-34x7-hfp2-rc4v Arbitrary File Creation/Overwrite via Hardlink Path Traversal
high dependabot/10 GHSA-r6q2-hw4h-h46w Race Condition via Unicode Ligature Collisions on macOS APFS
high dependabot/20 GHSA-9ppj-qmqm-q256 Symlink Path Traversal via Drive-Relative Linkpath
high dependabot/13 GHSA-83g3-92jg-28cx Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain
high dependabot/9 GHSA-8qq5-rm4j-mr97 Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization

axios (0.21.4 to ^1.8.0)

Severity Alert Advisory Summary
high dependabot/14 GHSA-43fc-jf86-j433 DoS via proto Key in mergeConfig
high dependabot/3 GHSA-jr5f-v2jv-69x6 SSRF and Credential Leakage via Absolute URL
medium dependabot/1 GHSA-wf5p-g6vw-rhxx Cross-Site Request Forgery Vulnerability

Validation

  • npm audit passes with 0 vulnerabilities
  • make build-js succeeds (WASM compilation)

Generated by the update-deps skill.

Updated packages:
 0.14.0

Security fixes via overrides:
 7.4.3 (resolves 4 high severity path traversal vulns)
 1.8.0 (resolves 3 high severity CSRF/SSRF vulns)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@tclem tclem requested a review from a team as a code owner March 12, 2026 15:25
Copilot AI review requested due to automatic review settings March 12, 2026 15:25
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the JS tooling dependencies for the crates/string-offsets/js package to remediate known vulnerabilities in transitive dependencies used by wasm-pack’s installer.

Changes:

  • Bump wasm-pack dev dependency from ^0.13.1 to ^0.14.0.
  • Add npm overrides to force safe versions of tar and axios used transitively (via binary-install).
  • Regenerate package-lock.json to reflect the updated dependency graph.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
crates/string-offsets/js/package.json Updates wasm-pack version and adds overrides for vulnerable transitive dependencies.
crates/string-offsets/js/package-lock.json Lockfile refresh to capture the new resolved versions (including axios@1.x and tar@7.x).
Files not reviewed (1)
  • crates/string-offsets/js/package-lock.json: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 3787 to 3802
"node_modules/tar": {
"version": "6.2.1",
"resolved": "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz",
"integrity": "sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==",
"version": "7.5.11",
"resolved": "https://registry.npmjs.org/tar/-/tar-7.5.11.tgz",
"integrity": "sha512-ChjMH33/KetonMTAtpYdgUFr0tbz69Fp2v7zWxQfYZX4g5ZN2nOBXm1R2xyA+lMIKrLKIoKAwFj93jE/avX9cQ==",
"dev": true,
"license": "ISC",
"license": "BlueOak-1.0.0",
"dependencies": {
"chownr": "^2.0.0",
"fs-minipass": "^2.0.0",
"minipass": "^5.0.0",
"minizlib": "^2.1.1",
"mkdirp": "^1.0.3",
"yallist": "^4.0.0"
"@isaacs/fs-minipass": "^4.0.0",
"chownr": "^3.0.0",
"minipass": "^7.1.2",
"minizlib": "^3.1.0",
"yallist": "^5.0.0"
},
"engines": {
"node": ">=10"
"node": ">=18"
}
Copy link

Copilot AI Mar 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tar@7.x now requires Node.js >=18 (see the engines field). If this package is expected to be buildable/testable on older Node versions, this update will effectively raise the minimum supported Node version; consider documenting/enforcing the Node requirement (e.g., via package.json engines or CI/tooling docs).

Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@itsibitzi
Copy link
Contributor

Just to note, no version bump needed here for the npm package since this is just for dev tooling.

@tclem tclem merged commit bdcd974 into main Mar 12, 2026
7 checks passed
@tclem tclem deleted the deps/npm-updates-2026-03-12 branch March 12, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants