@mnci/cli 1.19.5 → 1.19.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.js +24 -1
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1440,7 +1440,30 @@ var ROOT_LINT_TARGET = {
|
|
|
1440
1440
|
}
|
|
1441
1441
|
};
|
|
1442
1442
|
var ESLINT_PEER_OVERRIDES = {
|
|
1443
|
-
"eslint-plugin-jsx-a11y": { eslint: "$eslint" }
|
|
1443
|
+
"eslint-plugin-jsx-a11y": { eslint: "$eslint" },
|
|
1444
|
+
// Scoped to EACH named parent, not top-level and not `nx` alone.
|
|
1445
|
+
//
|
|
1446
|
+
// `nx` alone was the first attempt and it did not work: the e2e's audit step
|
|
1447
|
+
// still reported all six advisories in a freshly generated workspace, because
|
|
1448
|
+
// `@nx/js`, `@nx/eslint`, `@nx/eslint-plugin` and `@nx/workspace` are their own
|
|
1449
|
+
// dependents there, and an override scoped to `nx` never reaches a sibling's
|
|
1450
|
+
// dependencies. Those four are exactly the packages npm audit named.
|
|
1451
|
+
//
|
|
1452
|
+
// Top-level would be worse than wrong. A tree with `minimatch@3` legitimately
|
|
1453
|
+
// carries `brace-expansion@1.1.18` (and `@2.1.4` elsewhere) — this repo has
|
|
1454
|
+
// both — and forcing those to v5 breaks them. So the blast radius is one
|
|
1455
|
+
// dependency edge per named parent, and a test asserts there is no top-level
|
|
1456
|
+
// entry.
|
|
1457
|
+
nx: { "brace-expansion": "^5.0.9" },
|
|
1458
|
+
"@nx/js": { "brace-expansion": "^5.0.9" },
|
|
1459
|
+
"@nx/eslint": { "brace-expansion": "^5.0.9" },
|
|
1460
|
+
"@nx/eslint-plugin": { "brace-expansion": "^5.0.9" },
|
|
1461
|
+
"@nx/workspace": { "brace-expansion": "^5.0.9" },
|
|
1462
|
+
// `postcss` → `nanoid` reaches a generated workspace through `@nx/rollup`,
|
|
1463
|
+
// which every publishable `npm-lib` gets. GHSA-2v37-7h3g-55p8 is high, fixed in
|
|
1464
|
+
// 3.3.18, and the fix is a patch — so unlike the entry above this one is not
|
|
1465
|
+
// even a trade, just a version nobody had bumped yet.
|
|
1466
|
+
postcss: { nanoid: "^3.3.18" }
|
|
1444
1467
|
};
|
|
1445
1468
|
function eslintToolchainDependencies(nxVersion) {
|
|
1446
1469
|
return {
|