From 343a68f0a73878150e42385434909ea60a2823e9 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Thu, 12 Sep 2024 10:52:02 -0700 Subject: [PATCH] [Tests] replace `aud` with `npm audit` --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 9e03c7b..8ee13f8 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,6 @@ }, "devDependencies": { "@ljharb/eslint-config": "^21.1.0", - "aud": "^2.0.4", "auto-changelog": "^2.4.0", "es-value-fixtures": "^1.4.2", "eslint": "=8.8.0", @@ -26,7 +25,7 @@ "pretest": "npm run lint", "tests-only": "tape 'test/**/*.js'", "test": "npm run tests-only", - "posttest": "aud --production", + "posttest": "npx npm@'>=10.2' audit --production", "version": "auto-changelog && git add CHANGELOG.md", "postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\"" },