Skip to content

Fix npm deprecation warnings for glob and inflight#7376

Merged
DennisOSRM merged 2 commits intocopilot/add-overrides-to-package-jsonfrom
copilot/upgrade-npm-dependencies
Feb 20, 2026
Merged

Fix npm deprecation warnings for glob and inflight#7376
DennisOSRM merged 2 commits intocopilot/add-overrides-to-package-jsonfrom
copilot/upgrade-npm-dependencies

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Feb 20, 2026

tape@5.9.0 pulls in the deprecated glob@7.2.3inflight@1.0.6 chain, and there's no newer tape release that resolves this.

Changes

  • Adds "glob": "^13.0.0" to the overrides field in package.json, forcing all transitive dependents (including tape) off the deprecated v7 branch
"overrides": {
  "esbuild": "0.27.2",
  "glob": "^13.0.0"
}

tape uses only glob.sync() and glob.hasMagic(), both of which remain available in glob v13. The version constraint is consistent with the project's existing engines.node >= 20 requirement.

Original prompt

Reference: https://github.com/Project-OSRM/osrm-backend/actions/runs/22242555789/job/64349366990#step:5:1

Find the dependencies that need to be upgraded in npm to fix warnings


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: DennisOSRM <1067895+DennisOSRM@users.noreply.github.com>
Copilot AI changed the title [WIP] Update npm dependencies to fix warnings Fix npm deprecation warnings for glob and inflight Feb 20, 2026
Copilot AI requested a review from DennisOSRM February 20, 2026 22:06
@DennisOSRM
Copy link
Copy Markdown
Collaborator

@copilot is a newer tape version available?

Copy link
Copy Markdown
Contributor Author

Copilot AI commented Feb 20, 2026

@copilot is a newer tape version available?

5.9.0 is the latest version of tape, and it still specifies glob: "^7.2.3" in its dependencies — there's no newer release that drops the old glob dependency. That's why the overrides approach was used instead.

@DennisOSRM DennisOSRM marked this pull request as ready for review February 20, 2026 22:16
@DennisOSRM DennisOSRM merged commit d97a44c into copilot/add-overrides-to-package-json Feb 20, 2026
1 check passed
@DennisOSRM DennisOSRM deleted the copilot/upgrade-npm-dependencies branch February 20, 2026 22:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants