Skip to content

Commit fab3ee9

Browse files
authored
chore: temporarily restrict yarn audit to prod deps only in CI (#5874)
There's a potential ReDoS vulnerability in `brace-expansion` which is a dev-sub-dependency of ours (the `dd-trace` is not vulnerable). As of now, we don't have an upgrade path, which unfortunately means this blocks all CI. Temporarily disable running `yarn audit` on dev-dependencies to allow work to be done in the repo.
1 parent 94e55a2 commit fab3ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"dependencies:dedupe": "yarn-deduplicate yarn.lock",
1313
"type:doc": "cd docs && yarn && yarn build",
1414
"type:test": "cd docs && yarn && yarn test",
15-
"lint": "node scripts/check_licenses.js && eslint . --max-warnings 0 && yarn audit",
15+
"lint": "node scripts/check_licenses.js && eslint . --max-warnings 0 && yarn audit --groups dependencies",
1616
"lint:fix": "node scripts/check_licenses.js && eslint . --max-warnings 0 --fix && yarn audit",
1717
"lint:inspect": "npx @eslint/config-inspector@latest",
1818
"release:proposal": "node scripts/release/proposal",

0 commit comments

Comments
 (0)