Skip to content

Commit 05a5e49

Browse files
committed
[Tests] use npm audit instead of aud
1 parent 6eca235 commit 05a5e49

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"prepublishOnly": "safe-publish-latest && npm run lint && npm run flow && npm run jest",
2828
"pretest": "npm run lint:fix && npm run flow",
2929
"test": "npm run jest",
30-
"posttest": "aud --production",
30+
"posttest": "npx npm@'>=10.2' audit --production",
3131
"test:ci": "npm run jest -- --ci --runInBand",
3232
"pretest:examples": "npm run build",
3333
"test:examples": "npm run test-example:legacy && npm run test-example:flat-esm && npm run test-example:flat-cjs",
@@ -47,7 +47,6 @@
4747
"@babel/eslint-parser": "^7.25.1",
4848
"@babel/plugin-transform-flow-strip-types": "^7.25.2",
4949
"@babel/register": "^7.24.6",
50-
"aud": "^2.0.4",
5150
"auto-changelog": "^2.4.0",
5251
"babel-jest": "^24.9.0",
5352
"babel-plugin-add-module-exports": "^1.0.4",

0 commit comments

Comments
 (0)