From 07e75fff9b015111dbb80f5e71ed88ace812accd Mon Sep 17 00:00:00 2001 From: SatoshiQaziMuhammed Date: Wed, 11 Nov 2026 14:49:17 +0400 Subject: [PATCH] build(deps): resolve glob 13 to 14.0.2 (#32) glob 13.0.0 (GHSA-3g3m-2fjr-6pw4, fixed in 14.0.2) reaches the lockfile only through node-gyp -> make-fetch-happen -> cacache, which yarn adds for the optional macOS fsevents build. cacache calls glob(pattern, options) with '*(content-*|index-*)' and '**' patterns; glob 14.0.2 returns the same paths for both. glob 14.0.2 needs minimatch ^11 and @isaacs/nonrecursive-glob-match ^1.0.1; pin them to 11.0.1 and 1.0.1, the releases at least 14 days old. The minimatch 10.2.6 used by eslint stays: eslint-plugin-import-x 4.17.1 imports makeRe, which minimatch 11 removed, so forcing it fails every lint run. --- package.json | 3 +++ yarn.lock | 50 +++++++++++++++++++++++++++++++++++++------------- 2 files changed, 40 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index d0caa8f..0f84168 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,10 @@ "@pezkuwi/dev-ts": "workspace:packages/dev-ts" }, "resolutions": { + "@isaacs/nonrecursive-glob-match@npm:^1.0.1": "1.0.1", "braces": "npm:@pezkuwi/braces@^3.0.4", + "glob@npm:^13.0.0": "14.0.2", + "minimatch@npm:^11.0.0": "11.0.1", "typescript": "^5.5.4" } } diff --git a/yarn.lock b/yarn.lock index 94b630b..a0f51fb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -498,6 +498,13 @@ __metadata: languageName: node linkType: hard +"@isaacs/nonrecursive-glob-match@npm:1.0.1": + version: 1.0.1 + resolution: "@isaacs/nonrecursive-glob-match@npm:1.0.1" + checksum: 10/bb3e86afee3f11af0b7428f963b11e169f7ca1f5016fa41052d2a3b6f8cc59c96291b35205dd7fb6b3deeb9cf68e00ba1b9d41c808b41343c3dae47e2ce2dc11 + languageName: node + linkType: hard + "@jridgewell/gen-mapping@npm:^0.3.12, @jridgewell/gen-mapping@npm:^0.3.5": version: 0.3.13 resolution: "@jridgewell/gen-mapping@npm:0.3.13" @@ -2890,7 +2897,7 @@ __metadata: languageName: node linkType: hard -"brace-expansion@npm:^5.0.8": +"brace-expansion@npm:^5.0.12, brace-expansion@npm:^5.0.8": version: 5.0.12 resolution: "brace-expansion@npm:5.0.12" dependencies: @@ -4882,14 +4889,14 @@ __metadata: languageName: node linkType: hard -"glob@npm:^13.0.0": - version: 13.0.0 - resolution: "glob@npm:13.0.0" +"glob@npm:14.0.2": + version: 14.0.2 + resolution: "glob@npm:14.0.2" dependencies: - minimatch: "npm:^10.1.1" - minipass: "npm:^7.1.2" - path-scurry: "npm:^2.0.0" - checksum: 10/de390721d29ee1c9ea41e40ec2aa0de2cabafa68022e237dc4297665a5e4d650776f2573191984ea1640aba1bf0ea34eddef2d8cbfbfc2ad24b5fb0af41d8846 + minimatch: "npm:^11.0.0" + minipass: "npm:^7.1.3" + path-scurry: "npm:^3.0.0" + checksum: 10/db9eb81040510b00cb376829d44caebef1e7f718d7b700c71190cdc5b1a0cbd006e793294f7e1d445316a856d17f66ec47f716fd9685ca7959606669ccf724f0 languageName: node linkType: hard @@ -6132,7 +6139,17 @@ __metadata: languageName: node linkType: hard -"minimatch@npm:^10.1.1, minimatch@npm:^10.2.2, minimatch@npm:^10.2.4, minimatch@npm:^10.2.5, minimatch@npm:^9.0.3 || ^10.1.2": +"minimatch@npm:11.0.1": + version: 11.0.1 + resolution: "minimatch@npm:11.0.1" + dependencies: + "@isaacs/nonrecursive-glob-match": "npm:^1.0.1" + brace-expansion: "npm:^5.0.12" + checksum: 10/93f7925d97aa246454c212cfa34a9d6ef6c99e45b20a4efaf91819a4631db647b29e9d8e62a2dc2a6bb34be7d1b9e9535c73f0e6511c858ea0527e1d5d422131 + languageName: node + linkType: hard + +"minimatch@npm:^10.2.2, minimatch@npm:^10.2.4, minimatch@npm:^10.2.5, minimatch@npm:^9.0.3 || ^10.1.2": version: 10.2.6 resolution: "minimatch@npm:10.2.6" dependencies: @@ -6271,6 +6288,13 @@ __metadata: languageName: node linkType: hard +"minipass@npm:^7.1.3": + version: 7.1.3 + resolution: "minipass@npm:7.1.3" + checksum: 10/175e4d5e20980c3cd316ae82d2c031c42f6c746467d8b1905b51060a0ba4461441a0c25bb67c025fd9617f9a3873e152c7b543c6b5ac83a1846be8ade80dffd6 + languageName: node + linkType: hard + "minizlib@npm:^3.0.1, minizlib@npm:^3.1.0": version: 3.1.0 resolution: "minizlib@npm:3.1.0" @@ -6702,13 +6726,13 @@ __metadata: languageName: node linkType: hard -"path-scurry@npm:^2.0.0": - version: 2.0.1 - resolution: "path-scurry@npm:2.0.1" +"path-scurry@npm:^3.0.0": + version: 3.0.0 + resolution: "path-scurry@npm:3.0.0" dependencies: lru-cache: "npm:^11.0.0" minipass: "npm:^7.1.2" - checksum: 10/1e9c74e9ccf94d7c16056a5cb2dba9fa23eec1bc221ab15c44765486b9b9975b4cd9a4d55da15b96eadf67d5202e9a2f1cec9023fbb35fe7d9ccd0ff1891f88b + checksum: 10/2b70c2ddf6ee9d41e7d669d15be02d0e2526f37800f06764e772f65ea1a46e5127aa41fc9532d21f0e20b0c2e7c5a0f3ba00f6d7c2f4bf753eef04525663c09a languageName: node linkType: hard