Commit 0153619
committed
Use overrides/resolutions to force glob@13 throughout dependency tree
Added npm overrides and yarn resolutions to force all instances of glob
to use version 13.0.6, eliminating deprecation warnings from jest's
transitive dependencies.
This resolves warnings about:
- glob@10.5.0 (used by jest internals)
- glob@7.2.3 (used by test-exclude)
- inflight@1.0.6 (dependency of old glob versions)
The overrides field works for npm, while resolutions field works for yarn.
Both package managers now install glob@13.0.6 consistently throughout the
dependency tree, and inflight is completely eliminated since glob@13 no
longer depends on it.
Changes:
- Added "overrides" field to package.json (for npm)
- Added "resolutions" field to package.json (for yarn)
- Removed 40 outdated packages from dependency tree
Result:
- No glob deprecation warnings in npm or yarn
- No inflight deprecation warnings
- All tests passing
- All builds working
- 0 vulnerabilities1 parent cd33b05 commit 0153619
2 files changed
Lines changed: 6 additions & 528 deletions
0 commit comments