Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/cx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"dependencies": {
"@types/route-parser": "^0.1.7",
"intl-io": "^0.4.4",
"route-parser": "^0.0.5"
"route-parser-ts": "^1.0.0"
},
"peerDependencies": {
"@types/react": ">=18",
Expand All @@ -89,12 +89,12 @@
"@types/node": "^25.0.3",
"@types/react-dom": "^19.2.3",
"@types/react-test-renderer": "^19.1.0",
"cx-react": "workspace:*",
"mocha": "^11.7.5",
"react-test-renderer": "^19.2.3",
"ts-mocha": "^11.1.0",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.9.3",
"cx-react": "workspace:*"
"typescript": "^5.9.3"
}
}
2 changes: 1 addition & 1 deletion packages/cx/src/ui/app/Url.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Url } from "./Url";
import Route from "route-parser";
import Route from "route-parser-ts";
import assert from "assert";
describe("Url", function () {
describe(".unresolve", function () {
Expand Down
2 changes: 1 addition & 1 deletion packages/cx/src/widgets/nav/Route.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Widget } from "../../ui/Widget";
import { PureContainerBase, PureContainerConfig } from "../../ui/PureContainer";
import RouteMatcher from "route-parser";
import RouteMatcher from "route-parser-ts";
import { ReadOnlyDataView } from "../../data/ReadOnlyDataView";
import { routeAppend } from "../../util/routeAppend";
import { StringProp, BooleanProp, Prop } from "../../ui/Prop";
Expand Down
11 changes: 6 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4058,10 +4058,11 @@ __metadata:
"@types/react-dom": "npm:^19.2.3"
"@types/react-test-renderer": "npm:^19.1.0"
"@types/route-parser": "npm:^0.1.7"
cx-react: "workspace:*"
intl-io: "npm:^0.4.4"
mocha: "npm:^11.7.5"
react-test-renderer: "npm:^19.2.3"
route-parser: "npm:^0.0.5"
route-parser-ts: "npm:^1.0.0"
ts-mocha: "npm:^11.1.0"
ts-node: "npm:^10.9.2"
tsconfig-paths: "npm:^4.2.0"
Expand Down Expand Up @@ -8324,10 +8325,10 @@ __metadata:
languageName: node
linkType: hard

"route-parser@npm:^0.0.5":
version: 0.0.5
resolution: "route-parser@npm:0.0.5"
checksum: 10/d66f1b9e8ea4f22097f17a3a4a998acc02734aa3874194cbd46561ca355df7e78769c8d589a2bcb2bc2caa855a1f52dc46cf1affb6b2e6ab71826920cd8fe41c
"route-parser-ts@npm:^1.0.0":
version: 1.0.0
resolution: "route-parser-ts@npm:1.0.0"
checksum: 10/6225f2d0092d3f747fa2b9a4125c76acc4fa1cd303a4b8366aaf1d4bca914b48356709ae78f20bc67e7a48f79685f070e56adcf6d2c9f9e18273abc3f7d2c8fc
languageName: node
linkType: hard

Expand Down