Skip to content

Commit 7ee193c

Browse files
fix(worker): Fix type error (#1093)
1 parent 459f9ed commit 7ee193c

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
- Fixed "TypeError: pathRegexp is not a function" type error in the worker. [#1093](https://github.com/sourcebot-dev/sourcebot/pull/1093)
12+
1013
## [4.16.6] - 2026-04-03
1114

1215
### Changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@
3838
"sucrase/glob": "^10.5.0",
3939
"rimraf@npm:5.0.10/glob": "^10.5.0",
4040
"@opentelemetry/resources": "2.5.1",
41-
"path-to-regexp": "^8.4.0",
41+
"path-to-regexp@0.1.12": "0.1.13",
42+
"path-to-regexp@^8": "^8.4.0",
4243
"picomatch@^4": "^4.0.4"
4344
}
4445
}

yarn.lock

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18644,7 +18644,14 @@ __metadata:
1864418644
languageName: node
1864518645
linkType: hard
1864618646

18647-
"path-to-regexp@npm:^8.4.0":
18647+
"path-to-regexp@npm:0.1.13":
18648+
version: 0.1.13
18649+
resolution: "path-to-regexp@npm:0.1.13"
18650+
checksum: 10c0/1cae3921739c154a8926e136185a10c916f79a249b9072a5001b266d96e193860ca03867e8e8cc808b786862d750f427ed93686bc259355442c3407a62deab1a
18651+
languageName: node
18652+
linkType: hard
18653+
18654+
"path-to-regexp@npm:^8.0.0":
1864818655
version: 8.4.2
1864918656
resolution: "path-to-regexp@npm:8.4.2"
1865018657
checksum: 10c0/05b115c49b47ad252ce05faa32930f643f23769c68b8bcfe78ad833545140c48bbffb3266986d6c8d5db13a64cf12e07e0d72d9882cab830efeefa553533ebaf

0 commit comments

Comments
 (0)