@thi.ng/router 3.2.28 → 3.2.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/basic.js +1 -2
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
package/basic.js
CHANGED
|
@@ -6,7 +6,7 @@ import { assert } from "@thi.ng/errors/assert";
|
|
|
6
6
|
import { illegalArgs } from "@thi.ng/errors/illegal-arguments";
|
|
7
7
|
import { illegalArity } from "@thi.ng/errors/illegal-arity";
|
|
8
8
|
import { EVENT_ROUTE_CHANGED, } from "./api.js";
|
|
9
|
-
let BasicRouter = class BasicRouter {
|
|
9
|
+
export let BasicRouter = class BasicRouter {
|
|
10
10
|
constructor(config) {
|
|
11
11
|
this.config = {
|
|
12
12
|
authenticator: (route, _, params) => ({
|
|
@@ -162,6 +162,5 @@ let BasicRouter = class BasicRouter {
|
|
|
162
162
|
BasicRouter = __decorate([
|
|
163
163
|
INotifyMixin
|
|
164
164
|
], BasicRouter);
|
|
165
|
-
export { BasicRouter };
|
|
166
165
|
const isParametricRoute = (route) => route.match.some(isRouteParam);
|
|
167
166
|
const isRouteParam = (x) => x[0] === "?";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/router",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.29",
|
|
4
4
|
"description": "Generic router for browser & non-browser based applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.8.
|
|
38
|
-
"@thi.ng/checks": "^3.3.
|
|
39
|
-
"@thi.ng/equiv": "^2.1.
|
|
40
|
-
"@thi.ng/errors": "^2.2.
|
|
41
|
-
"tslib": "^2.5.
|
|
37
|
+
"@thi.ng/api": "^8.8.2",
|
|
38
|
+
"@thi.ng/checks": "^3.3.14",
|
|
39
|
+
"@thi.ng/equiv": "^2.1.24",
|
|
40
|
+
"@thi.ng/errors": "^2.2.17",
|
|
41
|
+
"tslib": "^2.5.3"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@microsoft/api-extractor": "^7.
|
|
45
|
-
"@thi.ng/testament": "^0.3.
|
|
46
|
-
"rimraf": "^5.0.
|
|
44
|
+
"@microsoft/api-extractor": "^7.35.3",
|
|
45
|
+
"@thi.ng/testament": "^0.3.17",
|
|
46
|
+
"rimraf": "^5.0.1",
|
|
47
47
|
"tools": "^0.0.1",
|
|
48
|
-
"typedoc": "^0.24.
|
|
49
|
-
"typescript": "^5.
|
|
48
|
+
"typedoc": "^0.24.8",
|
|
49
|
+
"typescript": "^5.1.3"
|
|
50
50
|
},
|
|
51
51
|
"keywords": [
|
|
52
52
|
"browser",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
],
|
|
92
92
|
"year": 2014
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "54e825a976c72067a244cff8725ca98f5416d26d\n"
|
|
95
95
|
}
|