From 0d20614dcd663f611e16ea2a4d83dc0f743d929e Mon Sep 17 00:00:00 2001 From: Sodbileg Gansukh Date: Wed, 11 Nov 2026 08:56:32 +0800 Subject: [PATCH] Fix vulnerable build dependencies --- pnpm-lock.yaml | 47 +++++++++++++++++++++++++++++++-------------- pnpm-workspace.yaml | 6 ++++++ 2 files changed, 39 insertions(+), 14 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 61183c92..8b1e0e70 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -162,6 +162,10 @@ settings: autoInstallPeers: true excludeLinksFromLockfile: false +overrides: + minimatch@>=7 <11.0.1: 11.0.4 + bestzip>glob: 14.0.4 + importers: .: @@ -1083,6 +1087,9 @@ packages: peerDependencies: postcss: ^8.4 + '@isaacs/nonrecursive-glob-match@1.1.0': + resolution: {integrity: sha512-GPm/Dbvk5RLmhRnxXIa7nTpK0xtl4E0wj0MslsuNiJ1FIROU+2+9lgUC/dgF7Ey4QCWhfEsgxilMRMCdHPfDfw==} + '@jridgewell/gen-mapping@0.3.13': resolution: {integrity: sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==} @@ -1725,8 +1732,8 @@ packages: resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} engines: {node: '>= 6'} - glob@13.0.7: - resolution: {integrity: sha512-wfsFgXQ8A3SEI9XGf7Nl3Y9l7ffSrGh7SUCT7vU/2CzYPep9kjxAn1S40F9OPKxAMGCVl7HtNlJhrCJUeUq83g==} + glob@14.0.4: + resolution: {integrity: sha512-mMiwNKoJZ4HAIRVJxotO6LsNRReA30gQwP9E2/p94tfLv+jygCNpKDjhhSL6OLY6LE371EZm5EAf7RpYuUqlsw==} engines: {node: 18 || 20 || >=22} gscan@6.7.0: @@ -1878,9 +1885,13 @@ packages: mingo@2.5.3: resolution: {integrity: sha512-Wb98QEQ/DaT+xPQFAX08mzM/Zz2eW1UIpKH132gXglakl2SKYBCQFzeiFygS/Hgzc9j9MDDjgouB9W7BMaLyaQ==} - minimatch@10.2.6: - resolution: {integrity: sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==} - engines: {node: 18 || 20 || >=22} + minimatch@11.0.4: + resolution: {integrity: sha512-/UJ1dEoVQTjPNDh6SGlUo+ueLMmoHTas4q+8yaAR/5t6nLAIiBDJtoYUh20IYleix7ehiQkgczb84PE3uzHkxg==} + engines: {node: 20 || >=22} + + minimatch@11.0.5: + resolution: {integrity: sha512-snPlVppFcYWfLLFQGhDxUyBcHNtMlWmn3jtj7pEaO+DP8pqL0IvAzXhMYmn1z9ASNtgmwLBdFxSf4tMUB0OTKA==} + engines: {node: 20 || >=22} minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} @@ -1937,8 +1948,8 @@ packages: path-parse@1.0.7: resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} - path-scurry@2.0.2: - resolution: {integrity: sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==} + path-scurry@3.0.0: + resolution: {integrity: sha512-1pTbQqH1wIwMi/eleQ5leFTTCkzFsPcgXNjwOA8YGGW/W4/kHT3dssE7Z6NH+zuqNLOzOB0uaD61yl7cAcVhgg==} engines: {node: 18 || 20 || >=22} pend@1.2.0: @@ -3582,6 +3593,8 @@ snapshots: dependencies: postcss: 8.5.32 + '@isaacs/nonrecursive-glob-match@1.1.0': {} + '@jridgewell/gen-mapping@0.3.13': dependencies: '@jridgewell/sourcemap-codec': 1.6.0 @@ -3891,7 +3904,7 @@ snapshots: bestzip@4.0.3(bare-buffer@3.7.1): dependencies: archiver: 8.0.0(bare-buffer@3.7.1) - glob: 13.0.7 + glob: 14.0.4 yargs: 16.2.2 transitivePeerDependencies: - bare-abort-controller @@ -4180,11 +4193,11 @@ snapshots: dependencies: is-glob: 4.0.3 - glob@13.0.7: + glob@14.0.4: dependencies: - minimatch: 10.2.6 + minimatch: 11.0.5 minipass: 7.1.3 - path-scurry: 2.0.2 + path-scurry: 3.0.0 gscan@6.7.0(bare-buffer@3.7.1)(supports-color@7.2.0): dependencies: @@ -4317,8 +4330,14 @@ snapshots: mingo@2.5.3: {} - minimatch@10.2.6: + minimatch@11.0.4: + dependencies: + '@isaacs/nonrecursive-glob-match': 1.1.0 + brace-expansion: 5.0.12 + + minimatch@11.0.5: dependencies: + '@isaacs/nonrecursive-glob-match': 1.1.0 brace-expansion: 5.0.12 minimist@1.2.8: {} @@ -4358,7 +4377,7 @@ snapshots: path-parse@1.0.7: {} - path-scurry@2.0.2: + path-scurry@3.0.0: dependencies: lru-cache: 11.5.3 minipass: 7.1.3 @@ -4841,7 +4860,7 @@ snapshots: readdir-glob@3.0.0: dependencies: - minimatch: 10.2.6 + minimatch: 11.0.4 readdirp@3.6.0: dependencies: diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index cc3b9a9e..35fb1fb2 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -2,3 +2,9 @@ allowBuilds: # Optional dtrace bindings for bunyan (a gscan dependency); not needed to build or test the theme. dtrace-provider: false + +# archiver still requests minimatch 10 through readdir-glob 3. +overrides: + "minimatch@>=7 <11.0.1": 11.0.4 + # bestzip still requests glob 13, which cannot safely cancel traversal. + "bestzip>glob": 14.0.4