Skip to content

Commit 8137b57

Browse files
committed
[Tests] replace aud with npm audit
1 parent 11303eb commit 8137b57

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

package.json

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,6 @@
33
"version": "1.2.8",
44
"description": "parse argument options",
55
"main": "index.js",
6-
"devDependencies": {
7-
"@ljharb/eslint-config": "^21.1.1",
8-
"aud": "^2.0.4",
9-
"auto-changelog": "^2.4.0",
10-
"eslint": "=8.8.0",
11-
"in-publish": "^2.0.1",
12-
"npmignore": "^0.3.1",
13-
"nyc": "^10.3.2",
14-
"safe-publish-latest": "^2.0.0",
15-
"tape": "^5.7.5"
16-
},
176
"scripts": {
187
"prepack": "npmignore --auto --commentLines=auto",
198
"prepublishOnly": "safe-publish-latest",
@@ -22,7 +11,7 @@
2211
"pretest": "npm run lint",
2312
"tests-only": "nyc tape 'test/**/*.js'",
2413
"test": "npm run tests-only",
25-
"posttest": "aud --production",
14+
"posttest": "npx npm@\">= 10.2\" audit --production",
2615
"version": "auto-changelog && git add CHANGELOG.md",
2716
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
2817
},
@@ -49,6 +38,16 @@
4938
"url": "https://github.com/sponsors/ljharb"
5039
},
5140
"license": "MIT",
41+
"devDependencies": {
42+
"@ljharb/eslint-config": "^21.1.1",
43+
"auto-changelog": "^2.4.0",
44+
"eslint": "=8.8.0",
45+
"in-publish": "^2.0.1",
46+
"npmignore": "^0.3.1",
47+
"nyc": "^10.3.2",
48+
"safe-publish-latest": "^2.0.0",
49+
"tape": "^5.7.5"
50+
},
5251
"engines": {
5352
"node": ">= 0.4"
5453
},

0 commit comments

Comments
 (0)