Skip to content

Commit

Permalink
fix: CVE of tough-cookie and word-wrap (opensearch-project#763)
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <suzhou@amazon.com>
  • Loading branch information
SuZhou-Joe committed Jul 18, 2023
1 parent 39444c1 commit 7f8a7d7
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 31 deletions.
92 changes: 62 additions & 30 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"lint": "eslint . --ext .js",
"pkg-version": "./scripts/getpkgversion.sh",
"generate:test-data": "node ./scripts/generate_data/index.js",
"postinstall": "husky install"
"postinstall": "husky install",
"preinstall": "npx npm-force-resolutions"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -57,5 +58,9 @@
"husky": "^6.0.0",
"luxon": "^3.2.1",
"mocha-junit-reporter": "^2.0.0"
},
"resolutions": {
"tough-cookie": "^4.1.3",
"optionator": "^0.9.3"
}
}

0 comments on commit 7f8a7d7

Please sign in to comment.