Skip to content

Commit 014f1be

Browse files
build(core): bump bundled axios and form-data past known CVEs (#115)
The Rollup build inlines axios, follow-redirects and form-data into the core dist, using the versions pinned in pnpm-lock.yaml. The lockfile still held axios 1.4.0, follow-redirects 1.15.2 and form-data 4.0.4, so the published bundle shipped vulnerable copies that npm audit cannot see. Raise the minimum ranges to axios ^1.21.0 and form-data ^4.0.6 and refresh the lockfile, which now resolves follow-redirects 1.16.0. nx's axios is deduplicated to the same 1.21.0. Closes #114 Closes COD-4066 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 727b808 commit 014f1be

2 files changed

Lines changed: 31 additions & 68 deletions

File tree

‎packages/core/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
"prebuildify": "^6.0.1"
4040
},
4141
"dependencies": {
42-
"axios": "^1.4.0",
43-
"form-data": "^4.0.4",
42+
"axios": "^1.21.0",
43+
"form-data": "^4.0.6",
4444
"node-gyp-build": "^4.6.0",
4545
"stack-trace": "1.0.0-pre2"
4646
}

‎pnpm-lock.yaml‎

Lines changed: 29 additions & 66 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)