Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: fix path-to-regexp to older version due to node 14 requirement. #2187

Merged
merged 2 commits into from
Sep 19, 2024

Conversation

ehsannas
Copy link
Contributor

Sinon depends on the nise package. That package just published v6.0.1 which updated path-to-regexp from v6.2.1 to v8.1.0 with sinonjs/nise#226. That should have been a major version bump, as this ended up introducing a breaking change that now it depends on Node >= 16, which is causing our CI to break.

This PR fixes path-to-regexp to ^6.2.1 like previously to make it work on Node >= 14

Similar to googleapis/nodejs-bigquery-storage#475 and googleapis/nodejs-bigquery#1403

@ehsannas ehsannas requested review from a team as code owners September 18, 2024 21:40
@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Sep 18, 2024
@ehsannas ehsannas self-assigned this Sep 18, 2024
@product-auto-label product-auto-label bot added the api: firestore Issues related to the googleapis/nodejs-firestore API. label Sep 18, 2024
Copy link
Contributor

@MarkDuckworth MarkDuckworth left a comment

Choose a reason for hiding this comment

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

Unlikely to matter, but you could do "path-to-regexp": "^6.0.0". This would ensure we always have the latest v6.x.x release. Otherwise LGTM

@ehsannas ehsannas merged commit 7fe408e into main Sep 19, 2024
18 checks passed
@ehsannas ehsannas deleted the ehsann/fix-dep branch September 19, 2024 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: firestore Issues related to the googleapis/nodejs-firestore API. size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants