fix(deps): scope glob resolution to avoid breaking jest coverage

The global glob@^10.5.0 resolution forced glob v10 for all consumers,
including test-exclude (used by babel-plugin-istanbul), which expects the
glob v7 function API. CI runs tests with --coverage, causing:

  TypeError: The "original" argument must be of type function

Scope the resolution to archiver-utils only so Jest coverage works.

Co-authored-by: Greg Nazario <greg@gnazar.io>
This commit is contained in:
Cursor Agent 2026-06-17 14:39:28 +00:00
parent 1ae1226a47
commit e872393561
No known key found for this signature in database
2 changed files with 66 additions and 7 deletions

View file

@ -38,7 +38,7 @@
"diff": "^4.0.4",
"flatted": "^3.3.3",
"form-data": "^4.0.6",
"glob": "^10.5.0",
"archiver-utils@npm:>glob": "10.5.0",
"handlebars": "^4.7.9",
"js-yaml": "^4.2.0",
"js-yaml@npm:^3.13.1": "3.14.2",