From f6093ff74ab51c98015c2592cd393bd42478e773 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Thu, 5 Dec 2024 22:00:46 -0800 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 7652064..814230f 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "pretest": "npm run lint", "tests-only": "nyc 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)\")\"" }, @@ -51,7 +51,6 @@ "@types/get-intrinsic": "^1.2.2", "@types/gopd": "^1.0.3", "@types/tape": "^5.6.4", - "aud": "^2.0.4", "auto-changelog": "^2.4.0", "eslint": "^8.8.0", "evalmd": "^0.0.19",