Skip to content

Commit 44ae981

Browse files
authored
Update versions for typescript-node and remove vulnerable test package (#18334)
* Update versions for typescript-node Use latest versions for `bluebird` and `request` and remove `rewire`. `rewire` has high security alerts and shouldn't have been added to the generated clients as its used in tests. It was introduced here 960412a#diff-1df884eca4890fc2cff7eec6f61ac2157b1b9e72fe4cc13c782e300125fb0da3R20 although the same commit shows that it used to work without it 960412a#diff-d2785da28187b6d6ef1e0bdab42139309e443906fb5d9d365fce5e2a01673ef5R52-R56 * Update Typescript sample
1 parent a887f6d commit 44ae981

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

modules/openapi-generator/src/main/resources/typescript-node/package.mustache

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
"author": "OpenAPI-Generator Contributors",
1717
"license": "Unlicense",
1818
"dependencies": {
19-
"bluebird": "^3.5.0",
20-
"request": "^2.81.0",
21-
"rewire": "^3.0.2"
19+
"bluebird": "^3.7.2",
20+
"request": "^2.88.2"
2221
},
2322
"devDependencies": {
2423
"@types/bluebird": "^3.5.33",

samples/client/petstore/typescript-node/npm/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@
1616
"author": "OpenAPI-Generator Contributors",
1717
"license": "Unlicense",
1818
"dependencies": {
19-
"bluebird": "^3.5.0",
20-
"request": "^2.81.0",
21-
"rewire": "^3.0.2"
19+
"bluebird": "^3.7.2",
20+
"request": "^2.88.2"
2221
},
2322
"devDependencies": {
2423
"@types/bluebird": "^3.5.33",

0 commit comments

Comments
 (0)