From 05a5e4992900e0d5d61e29e13046c90797b68a7c Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Fri, 30 Aug 2024 11:08:16 -0700 Subject: [PATCH] [Tests] use `npm audit` instead of `aud` --- package.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index 12dbbd3d..24f49706 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "prepublishOnly": "safe-publish-latest && npm run lint && npm run flow && npm run jest", "pretest": "npm run lint:fix && npm run flow", "test": "npm run jest", - "posttest": "aud --production", + "posttest": "npx npm@'>=10.2' audit --production", "test:ci": "npm run jest -- --ci --runInBand", "pretest:examples": "npm run build", "test:examples": "npm run test-example:legacy && npm run test-example:flat-esm && npm run test-example:flat-cjs", @@ -47,7 +47,6 @@ "@babel/eslint-parser": "^7.25.1", "@babel/plugin-transform-flow-strip-types": "^7.25.2", "@babel/register": "^7.24.6", - "aud": "^2.0.4", "auto-changelog": "^2.4.0", "babel-jest": "^24.9.0", "babel-plugin-add-module-exports": "^1.0.4",