From 5a231a1ebe176ec3f268717df962167fc55090f4 Mon Sep 17 00:00:00 2001 From: Johnathan Falk Date: Fri, 6 Nov 2026 09:19:01 -0500 Subject: [PATCH] deps: pin minimatch 11 under @typescript-eslint/typescript-estree Dependabot alert 52 (minimatch < 11.0.1) cannot be fixed by Dependabot because the newest typescript-estree still requires minimatch ^10.2.2. Scope an override to that package; eslint's minimatch 3 is outside the advisory range and keeps its own major. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011To9HQJLrCH6wYa5WCpw3L --- changelog.d/20261106_minimatch_override.md | 11 +++++++++++ package-lock.json | 18 +++++++++++++----- package.json | 5 ++++- 3 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 changelog.d/20261106_minimatch_override.md diff --git a/changelog.d/20261106_minimatch_override.md b/changelog.d/20261106_minimatch_override.md new file mode 100644 index 00000000..7a89a524 --- /dev/null +++ b/changelog.d/20261106_minimatch_override.md @@ -0,0 +1,11 @@ +### Security + +#### `package.json`: `minimatch` 11 for `@typescript-eslint/typescript-estree` + +Dependabot alert 52 (`minimatch` >= 7.0.0, < 11.0.1, medium) could not be fixed +by Dependabot: the newest `@typescript-eslint/typescript-estree` (8.72.1) still +requires `minimatch ^10.2.2`, so every security-update run ended with +`security_update_not_possible`. A scoped override pins that one dependency to +`^11.0.1` (resolves to 11.0.5). ESLint's own `minimatch ^3.1.5` is outside the +advisory range and is left alone; a global override would have moved it to an +incompatible major. diff --git a/package-lock.json b/package-lock.json index 67bf5478..a355553c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -551,6 +551,13 @@ "url": "https://github.com/sponsors/nzakas" } }, + "node_modules/@isaacs/nonrecursive-glob-match": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@isaacs/nonrecursive-glob-match/-/nonrecursive-glob-match-1.1.0.tgz", + "integrity": "sha512-GPm/Dbvk5RLmhRnxXIa7nTpK0xtl4E0wj0MslsuNiJ1FIROU+2+9lgUC/dgF7Ey4QCWhfEsgxilMRMCdHPfDfw==", + "dev": true, + "license": "BlueOak-1.0.0" + }, "node_modules/@types/estree": { "version": "1.0.8", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", @@ -776,16 +783,17 @@ } }, "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { - "version": "10.2.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", - "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", + "version": "11.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-11.0.5.tgz", + "integrity": "sha512-snPlVppFcYWfLLFQGhDxUyBcHNtMlWmn3jtj7pEaO+DP8pqL0IvAzXhMYmn1z9ASNtgmwLBdFxSf4tMUB0OTKA==", "dev": true, "license": "BlueOak-1.0.0", "dependencies": { - "brace-expansion": "^5.0.8" + "@isaacs/nonrecursive-glob-match": "^1.1.0", + "brace-expansion": "^5.0.12" }, "engines": { - "node": "18 || 20 || >=22" + "node": "20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" diff --git a/package.json b/package.json index c2ca9abc..9a72fbe3 100644 --- a/package.json +++ b/package.json @@ -38,6 +38,9 @@ "lodash": "^4.18.0", "js-yaml": "^4.2.0", "fast-uri": "^3.1.2", - "brace-expansion": "^5.0.12" + "brace-expansion": "^5.0.12", + "@typescript-eslint/typescript-estree": { + "minimatch": "^11.0.1" + } } }