Skip to content

Commit

Permalink
[Tests] use npm audit instead of aud
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Aug 22, 2024
1 parent 9a47aba commit 681d4bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
"devDependencies": {
"@ljharb/eslint-config": "^21.1.1",
"array.prototype.flatmap": "^1.3.2",
"aud": "^2.0.4",
"auto-changelog": "^2.4.0",
"concat-stream": "^1.6.2",
"cross-env": "^2.0.1",
Expand Down Expand Up @@ -78,7 +77,7 @@
"lint": "eslint --ext .js,.cjs,.mjs . bin/*",
"pretest": "npm run lint",
"test": "npm-run-posix-or-windows tests-only",
"posttest": "aud --production",
"posttest": "npx npm@'>=10.2' audit --production",
"tests-only": "cross-env NODE_OPTIONS='--no-warnings' nyc tap 'test/*.js'",
"tests-only:windows": "cross-env NODE_OPTIONS='--no-warnings' nyc node_modules\\tap\\bin\\run.js test/*.js",
"test:example": "find example -name '*.js' | grep -v fail | grep -v static | xargs tap"
Expand Down

0 comments on commit 681d4bd

Please sign in to comment.