Skip to content

Upgrade npm dependencies to latest versions#7333

Merged
DennisOSRM merged 2 commits intomasterfrom
copilot/upgrade-npm-dependencies
Jan 15, 2026
Merged

Upgrade npm dependencies to latest versions#7333
DennisOSRM merged 2 commits intomasterfrom
copilot/upgrade-npm-dependencies

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 14, 2026

Updates all npm dependencies to their latest available versions as of January 2026.

Changes

Dependencies:

  • @mapbox/node-pre-gyp: 2.0.0 → 2.0.3

DevDependencies:

  • Babel ecosystem: 7.18.x → 7.28.x (@babel/cli, @babel/core, @babel/plugin-transform-class-properties, @babel/preset-env, @babel/preset-react)
  • Testing/linting: eslint 9.26.0 → 9.39.2, @cucumber/cucumber 12.1.0 → 12.5.0, lint-staged 16.1.6 → 16.2.7
  • Build tools: flatbuffers 24.3.25 → 25.9.23, node-addon-api 8.3.1 → 8.5.0
  • Utilities: @turf/turf 7.2.0 → 7.3.2, acorn 8.14.1 → 8.15.0, chalk 5.6.0 → 5.6.2, csv-stringify 6.5.2 → 6.6.0

Also applied npm audit fix to address fixable security vulnerabilities in transitive dependencies (114 → 105 vulnerabilities). Remaining issues are in docbox's legacy dependencies (babel@6, react@16, postcss@8.4.30).

Original prompt

Upgrade all npm dependencies to the latest version.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI self-assigned this Jan 14, 2026
Co-authored-by: DennisOSRM <1067895+DennisOSRM@users.noreply.github.com>
Copilot AI changed the title [WIP] Update all npm dependencies to latest version Upgrade npm dependencies to latest versions Jan 14, 2026
Copilot AI requested a review from DennisOSRM January 14, 2026 15:52
@DennisOSRM DennisOSRM marked this pull request as ready for review January 14, 2026 19:08
@DennisOSRM DennisOSRM requested a review from Copilot January 15, 2026 17:23
@DennisOSRM DennisOSRM merged commit c98537b into master Jan 15, 2026
23 checks passed
@DennisOSRM DennisOSRM deleted the copilot/upgrade-npm-dependencies branch January 15, 2026 17:24
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR upgrades npm dependencies to their latest versions as of January 2026, addressing security vulnerabilities and updating build tools, testing frameworks, and utilities.

Changes:

  • Updated production dependency @mapbox/node-pre-gyp from 2.0.0 to 2.0.3
  • Upgraded Babel ecosystem packages from 7.18.x to 7.28.x
  • Updated development tools including eslint, cucumber, lint-staged, and flatbuffers
  • Applied npm audit fix to reduce security vulnerabilities from 114 to 105

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread package.json
"eslint": "^9.39.2",
"faucet": "^0.0.4",
"flatbuffers": "24.3.25",
"flatbuffers": "^25.9.23",
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The flatbuffers package has been upgraded from version 24.3.25 to 25.9.23, which is a major version bump. Major version changes can introduce breaking changes that may affect the build process or API compatibility. Verify that this upgrade is compatible with the project's usage of flatbuffers, particularly in the build tooling and generated code.

Suggested change
"flatbuffers": "^25.9.23",
"flatbuffers": "24.3.25",

Copilot uses AI. Check for mistakes.
Comment thread package.json
"description": "The Open Source Routing Machine is a high performance routing engine written in C++ designed to run on OpenStreetMap data.",
"dependencies": {
"@mapbox/node-pre-gyp": "2.0.0",
"@mapbox/node-pre-gyp": "^2.0.3",
Copy link

Copilot AI Jan 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version specifier for @mapbox/node-pre-gyp has been changed from an exact version (2.0.0) to a caret range (^2.0.3). This is inconsistent with several other dependencies in devDependencies that use exact versions (e.g., browserify at 17.0.1, tape at 5.9.0). For dependencies in the dependencies section, using exact versions or consistent versioning strategy helps ensure reproducible builds across environments.

Suggested change
"@mapbox/node-pre-gyp": "^2.0.3",
"@mapbox/node-pre-gyp": "2.0.3",

Copilot uses AI. Check for mistakes.
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.

3 participants