Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .changeset/core-1073-bump-axios.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
"@ordermentum/asap-core": patch
"@ordermentum/axios-asap": patch
"@ordermentum/express-asap": patch
"@ordermentum/hapi-asap": patch
---

Bump axios to ^1.19.0 in `asap-core` and `axios-asap` to resolve 13
high-severity CVEs (SSRF, credential leak, proxy bypass, prototype pollution,
ReDoS). Consumers pick up the fixed version transitively; no API changes.

Also bumps `@types/node` to ^20.0.0 and `typescript` to ^4.9.5 across all
packages; axios 1.19 typings reference DOM/fetch globals declared by
`@types/node` 18+, and that types version needs TypeScript 4.8+ to parse.
6 changes: 3 additions & 3 deletions packages/asap-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@types/express": "4.17.13",
"@types/jsonwebtoken": "8.5.8",
"@types/mocha": "9.1.0",
"@types/node": "17.0.21",
"@types/node": "^20.0.0",
"@types/node-cache": "4.2.5",
"@types/sinon": "10.0.11",
"chai": "4.3.6",
Expand All @@ -24,7 +24,7 @@
"sinon": "13.0.1",
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"typescript": "4.6.2"
"typescript": "^4.9.5"
},
"scripts": {
"build": "rm -rf build && tsc && cp -r ./src/keys_for_test build",
Expand All @@ -33,7 +33,7 @@
"typecheck": "yarn tsc --noEmit"
},
"dependencies": {
"axios": "^1.7.7",
"axios": "^1.19.0",
"express": "^4.17.3",
"jsonwebtoken": "^8.5.1",
"node-cache": "^5.1.2"
Expand Down
6 changes: 3 additions & 3 deletions packages/axios-asap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@types/express": "4.17.13",
"@types/jsonwebtoken": "8.5.8",
"@types/mocha": "9.1.0",
"@types/node": "17.0.21",
"@types/node": "^20.0.0",
"@types/sinon": "10.0.11",
"chai": "4.3.6",
"eslint-config-ordermentum": "1.0.6",
Expand All @@ -24,7 +24,7 @@
"sinon": "13.0.1",
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"typescript": "4.6.2"
"typescript": "^4.9.5"
},
"scripts": {
"build": "rm -rf build && tsc",
Expand All @@ -34,6 +34,6 @@
},
"dependencies": {
"@ordermentum/asap-core": "*",
"axios": "^1.7.7"
"axios": "^1.19.0"
}
}
4 changes: 2 additions & 2 deletions packages/express-asap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@types/express": "4.17.13",
"@types/jsonwebtoken": "8.5.8",
"@types/mocha": "9.1.0",
"@types/node": "17.0.21",
"@types/node": "^20.0.0",
"@types/sinon": "10.0.11",
"@types/supertest": "2.0.11",
"chai": "4.3.6",
Expand All @@ -25,7 +25,7 @@
"supertest": "6.2.2",
"ts-node": "10.7.0",
"ts-node-dev": "1.1.8",
"typescript": "4.6.2"
"typescript": "^4.9.5"
},
"scripts": {
"build": "rm -rf build && tsc",
Expand Down
4 changes: 2 additions & 2 deletions packages/hapi-asap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@types/hapi__hapi": "^20.0.10",
"@types/jsonwebtoken": "^8.5.8",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.21",
"@types/node": "^20.0.0",
"@types/sinon": "^10.0.11",
"@types/supertest": "^2.0.11",
"chai": "^4.3.6",
Expand All @@ -25,7 +25,7 @@
"supertest": "^6.2.2",
"ts-node": "^10.7.0",
"ts-node-dev": "^1.1.8",
"typescript": "^4.6.2"
"typescript": "^4.9.5"
},
"scripts": {
"build": "rm -rf build && tsc",
Expand Down
Loading
Loading