From c3ca253b104467174d003ef92591e804492f1572 Mon Sep 17 00:00:00 2001 From: Arno V Date: Thu, 5 Nov 2026 09:06:24 -0500 Subject: [PATCH] fix: bump glob to v14 in bundlesize glob 14 moves to minimatch 11, which matches each pattern portion with a non-RegExp matcher. bundlesize only calls glob.sync() with no options, so no code changes are needed. The and extglobs were checked against glob 13 on sample filenames and match the same files. Co-Authored-By: Claude Opus 5.5 --- packages/bundlesize/package.json | 2 +- pnpm-lock.yaml | 31 ++----------------------------- 2 files changed, 3 insertions(+), 30 deletions(-) diff --git a/packages/bundlesize/package.json b/packages/bundlesize/package.json index 721f94d8..39144ac6 100644 --- a/packages/bundlesize/package.json +++ b/packages/bundlesize/package.json @@ -46,7 +46,7 @@ "@node-cli/parser": "workspace:*", "bytes": "3.1.2", "fs-extra": "11.4.1", - "glob": "13.0.6", + "glob": "14.0.3", "semver": "7.8.6" }, "publishConfig": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 150465ef..cdd71fc5 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -287,8 +287,8 @@ importers: specifier: 11.4.1 version: 11.4.1 glob: - specifier: 13.0.6 - version: 13.0.6 + specifier: 14.0.3 + version: 14.0.3 semver: specifier: 7.8.6 version: 7.8.6 @@ -1971,10 +1971,6 @@ packages: resolution: {integrity: sha512-kVCxPF3vQM/N0B1PmoqVUqgHP+EeVjmZSQn+1oCRPxd2P21P2F19lIgbR3HBosbB1PUhOAoctJnfEn2GbN2eZA==} engines: {node: '>=18'} - glob@13.0.6: - resolution: {integrity: sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==} - engines: {node: 18 || 20 || >=22} - glob@14.0.3: resolution: {integrity: sha512-A1vjIwC3qpdCso45Iw127gnp7sPhqgY8lUQhDrArIs+GbmfaaVPFuoyy7WyLT9EPZCRZ7j7aLdwUhQmHWesEow==} engines: {node: 18 || 20 || >=22} @@ -2303,10 +2299,6 @@ packages: resolution: {integrity: sha512-e5ISH9xMYU0DzrT+jl8q2ze9D6eWBto+I8CNpe+VI+K2J/F/k3PdkdTdz4wvGVH4NTpo+NRYTVIuMQEMMcsLqg==} engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} - 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} @@ -2441,10 +2433,6 @@ packages: resolution: {integrity: sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ==} engines: {node: '>=12'} - path-scurry@2.0.2: - resolution: {integrity: sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==} - engines: {node: 18 || 20 || >=22} - path-scurry@3.0.0: resolution: {integrity: sha512-1pTbQqH1wIwMi/eleQ5leFTTCkzFsPcgXNjwOA8YGGW/W4/kHT3dssE7Z6NH+zuqNLOzOB0uaD61yl7cAcVhgg==} engines: {node: 18 || 20 || >=22} @@ -4197,12 +4185,6 @@ snapshots: '@sec-ant/readable-stream': 0.4.1 is-stream: 4.0.1 - glob@13.0.6: - dependencies: - minimatch: 10.2.6 - minipass: 7.1.3 - path-scurry: 2.0.2 - glob@14.0.3: dependencies: minimatch: 11.0.4 @@ -4474,10 +4456,6 @@ snapshots: mimic-response@4.0.0: {} - minimatch@10.2.6: - dependencies: - brace-expansion: 5.0.12 - minimatch@11.0.4: dependencies: '@isaacs/nonrecursive-glob-match': 1.0.3 @@ -4596,11 +4574,6 @@ snapshots: path-key@4.0.0: {} - path-scurry@2.0.2: - dependencies: - lru-cache: 11.5.3 - minipass: 7.1.3 - path-scurry@3.0.0: dependencies: lru-cache: 11.5.3