Skip to content

Commit 681d4bd

Browse files
committed
[Tests] use npm audit instead of aud
1 parent 9a47aba commit 681d4bd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@
4646
"devDependencies": {
4747
"@ljharb/eslint-config": "^21.1.1",
4848
"array.prototype.flatmap": "^1.3.2",
49-
"aud": "^2.0.4",
5049
"auto-changelog": "^2.4.0",
5150
"concat-stream": "^1.6.2",
5251
"cross-env": "^2.0.1",
@@ -78,7 +77,7 @@
7877
"lint": "eslint --ext .js,.cjs,.mjs . bin/*",
7978
"pretest": "npm run lint",
8079
"test": "npm-run-posix-or-windows tests-only",
81-
"posttest": "aud --production",
80+
"posttest": "npx npm@'>=10.2' audit --production",
8281
"tests-only": "cross-env NODE_OPTIONS='--no-warnings' nyc tap 'test/*.js'",
8382
"tests-only:windows": "cross-env NODE_OPTIONS='--no-warnings' nyc node_modules\\tap\\bin\\run.js test/*.js",
8483
"test:example": "find example -name '*.js' | grep -v fail | grep -v static | xargs tap"

0 commit comments

Comments
 (0)