Skip to content

Commit

Permalink
Update versions for typescript-node and remove vulnerable test package (
Browse files Browse the repository at this point in the history
#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
  • Loading branch information
bijancn authored Apr 11, 2024
1 parent a887f6d commit 44ae981
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
"author": "OpenAPI-Generator Contributors",
"license": "Unlicense",
"dependencies": {
"bluebird": "^3.5.0",
"request": "^2.81.0",
"rewire": "^3.0.2"
"bluebird": "^3.7.2",
"request": "^2.88.2"
},
"devDependencies": {
"@types/bluebird": "^3.5.33",
Expand Down
5 changes: 2 additions & 3 deletions samples/client/petstore/typescript-node/npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
"author": "OpenAPI-Generator Contributors",
"license": "Unlicense",
"dependencies": {
"bluebird": "^3.5.0",
"request": "^2.81.0",
"rewire": "^3.0.2"
"bluebird": "^3.7.2",
"request": "^2.88.2"
},
"devDependencies": {
"@types/bluebird": "^3.5.33",
Expand Down

0 comments on commit 44ae981

Please sign in to comment.