Skip to content

Commit dcd2f8a

Browse files
bfirshclaude
andcommitted
Remove prettier-check in favor of native prettier --check
Fixes 3 high severity npm audit vulnerabilities (cross-spawn ReDoS) by removing the outdated prettier-check package which depended on vulnerable versions of execa and cross-spawn. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent cb2ff1f commit dcd2f8a

File tree

2 files changed

+48
-205
lines changed

2 files changed

+48
-205
lines changed

package-lock.json

Lines changed: 47 additions & 203 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"scripts": {
1414
"build": "webpack",
1515
"typecheck": "tsc --noEmit",
16-
"test": "npm run typecheck && prettier-check src/**/*.js && mocha ./test/*.spec.js",
16+
"test": "npm run typecheck && prettier --check src/**/*.js && mocha ./test/*.spec.js",
1717
"test:watch": "mocha -w ./test/*.spec.js",
1818
"prepublish": "npm run build",
1919
"format": "prettier --write src/**/*.js"
@@ -26,7 +26,6 @@
2626
"eslint-webpack-plugin": "^5.0.2",
2727
"mocha": "^11.7.1",
2828
"prettier": "^3.6.2",
29-
"prettier-check": "^2.0.0",
3029
"sinon": "^21.0.0",
3130
"terser-webpack-plugin": "^5.3.10",
3231
"typescript": "^5.8.3",

0 commit comments

Comments
 (0)