Skip to content

Commit 0d383f1

Browse files
authored
[EngSys][Core] remove audit NPM script (#28045)
Remove `audit` NPM scripts from core packages' package.json. We are relying on Component Governance and GitHub Security nowadays. This script is no longer used.
1 parent f7d5a0b commit 0d383f1

File tree

16 files changed

+0
-16
lines changed

16 files changed

+0
-16
lines changed

sdk/core/abort-controller/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"main": "./dist/index.js",
77
"module": "dist-esm/src/index.js",
88
"scripts": {
9-
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
109
"build:samples": "echo Obsolete",
1110
"build:test": "tsc -p . && dev-tool run bundle",
1211
"build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local",

sdk/core/core-amqp/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
"LICENSE"
3232
],
3333
"scripts": {
34-
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
3534
"bundle": "tsc -p . && dev-tool run bundle --polyfill-node false --inject-node-polyfills true --ignore-missing-node-builtins true",
3635
"build:samples": "echo Obsolete",
3736
"build:test": "tsc -p . && npm run bundle",

sdk/core/core-auth/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"module": "dist-esm/src/index.js",
88
"types": "./types/latest/core-auth.d.ts",
99
"scripts": {
10-
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
1110
"build:samples": "echo Obsolete",
1211
"build:test": "tsc -p . && dev-tool run bundle",
1312
"build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local",

sdk/core/core-client-rest/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
},
1111
"types": "types/latest/core-client-rest.d.ts",
1212
"scripts": {
13-
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
1413
"build:samples": "echo Obsolete",
1514
"build:test": "tsc -p . && dev-tool run bundle",
1615
"build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local",

sdk/core/core-client/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
},
1414
"types": "types/latest/core-client.d.ts",
1515
"scripts": {
16-
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
1716
"build:samples": "echo Obsolete",
1817
"build:test": "tsc -p . && dev-tool run bundle",
1918
"build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local",

sdk/core/core-http-compat/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"module": "dist-esm/src/index.js",
88
"types": "types/latest/core-http-compat.d.ts",
99
"scripts": {
10-
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
1110
"build:samples": "echo Obsolete",
1211
"build:test": "tsc -p . && dev-tool run bundle",
1312
"build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local",

sdk/core/core-lro/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@
6767
"all": true
6868
},
6969
"scripts": {
70-
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
7170
"build:samples": "echo Obsolete",
7271
"build:test": "tsc -p . && dev-tool run bundle",
7372
"build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local",

sdk/core/core-paging/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
4242
},
4343
"scripts": {
44-
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
4544
"build:samples": "echo Obsolete",
4645
"build:test": "echo skipped",
4746
"build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local",

sdk/core/core-rest-pipeline/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
},
2121
"types": "core-rest-pipeline.shims.d.ts",
2222
"scripts": {
23-
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
2423
"build:samples": "echo Obsolete",
2524
"build:test": "tsc -p . && dev-tool run bundle",
2625
"build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local",

sdk/core/core-sse/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
"type": "module",
99
"types": "types/core-sse.d.ts",
1010
"scripts": {
11-
"audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit",
1211
"build:samples": "echo Obsolete",
1312
"build": "npm run clean && tsc -p . && dev-tool run bundle && api-extractor run --local",
1413
"build:test": "tsc -p . && dev-tool run bundle",

0 commit comments

Comments
 (0)