diff --git a/package.json b/package.json index 8c742dc6..86ad745e 100644 --- a/package.json +++ b/package.json @@ -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", @@ -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"