routup 0.13.1 → 0.14.0
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/dist/type.d.ts +3 -1
- package/dist/type.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/type.d.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export type ObjectLiteral = Record<string, any>;
|
|
2
1
|
export type Path = string | RegExp;
|
|
3
2
|
export type DispatcherMeta = {
|
|
4
3
|
/**
|
|
@@ -9,6 +8,9 @@ export type DispatcherMeta = {
|
|
|
9
8
|
* Path to check for the current instance.
|
|
10
9
|
*/
|
|
11
10
|
path?: string;
|
|
11
|
+
/**
|
|
12
|
+
* The relative path on which the router is hung.
|
|
13
|
+
*/
|
|
12
14
|
mountPath?: string;
|
|
13
15
|
};
|
|
14
16
|
//# sourceMappingURL=type.d.ts.map
|
package/dist/type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../src/type.ts"],"names":[],"mappings":"AAOA,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"type.d.ts","sourceRoot":"","sources":["../src/type.ts"],"names":[],"mappings":"AAOA,MAAM,MAAM,IAAI,GAAG,MAAM,GAAG,MAAM,CAAC;AAEnC,MAAM,MAAM,cAAc,GAAG;IACzB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC7B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CACrB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "routup",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"description": "Routup is a minimalistic http based routing framework.",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./package.json": "./package.json",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
},
|
|
51
51
|
"homepage": "https://github.com/Tada5hi/routup#readme",
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@routup/core": ">=0.
|
|
53
|
+
"@routup/core": ">=0.8.0 <1.0.0"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
56
|
"@ebec/http": "^0.2.2",
|
|
@@ -58,9 +58,9 @@
|
|
|
58
58
|
"smob": "^0.1.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@routup/core": "^0.
|
|
61
|
+
"@routup/core": "^0.8.0",
|
|
62
62
|
"@types/supertest": "^2.0.12",
|
|
63
63
|
"supertest": "^6.3.3"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "a195b33e132f046386bbcf5db8f02c1872f39229"
|
|
66
66
|
}
|