Skip to content

Commit 00e889a

Browse files
SuZhou-Joegithub-actions[bot]
authored andcommitted
fix: CVE of tough-cookie and word-wrap (#763) (#764)
Signed-off-by: SuZhou-Joe <[email protected]> (cherry picked from commit 7f8a7d7) (cherry picked from commit 8684f66)
1 parent 22e4e8c commit 00e889a

File tree

2 files changed

+69
-31
lines changed

2 files changed

+69
-31
lines changed

package-lock.json

+62-30
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
"cypress:release-ism-only": "yarn cypress:run-with-security --browser chromium --spec 'cypress/integration/plugins/index-management-dashboards-plugin/*'",
2424
"lint": "eslint . --ext .js",
2525
"pkg-version": "./scripts/getpkgversion.sh",
26-
"postinstall": "husky install"
26+
"generate:test-data": "node ./scripts/generate_data/index.js",
27+
"postinstall": "husky install",
28+
"preinstall": "npx npm-force-resolutions"
2729
},
2830
"repository": {
2931
"type": "git",
@@ -53,5 +55,9 @@
5355
"eslint-plugin-prettier": "^4.0.0",
5456
"husky": "^6.0.0",
5557
"mocha-junit-reporter": "^2.0.0"
58+
},
59+
"resolutions": {
60+
"tough-cookie": "^4.1.3",
61+
"optionator": "^0.9.3"
5662
}
5763
}

0 commit comments

Comments
 (0)