Skip to content

Commit a0ef202

Browse files
authored
build: fix path-to-regexp (#2108)
Sinon having dependency on the [nise package](https://www.npmjs.com/package/nise). That package just published v6.0.1 which updated path-to-regexp from v6.2.1 to v8.1.0 with https://togithub.com/sinonjs/nise/pull/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
1 parent 992baaa commit a0ef202

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ system-test/*key.json
1212
.DS_Store
1313
package-lock.json
1414
__pycache__
15+
.vscode

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,10 @@
115115
"mocha": "^9.2.2",
116116
"mv": "^2.1.1",
117117
"ncp": "^2.0.0",
118+
"nise": "6.0.0",
118119
"@opentelemetry/sdk-trace-node": "^1.25.1",
119120
"p-limit": "^3.0.1",
121+
"path-to-regexp": "6.2.2",
120122
"proxyquire": "^2.0.1",
121123
"sinon": "^18.0.0",
122124
"stats-lite": "^2.1.1",

0 commit comments

Comments
 (0)