@viewfly/router 0.0.6 → 0.0.8
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/bundles/index.esm.js +7 -2
- package/bundles/index.js +7 -2
- package/package.json +7 -7
package/bundles/index.esm.js
CHANGED
|
@@ -16,7 +16,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
16
16
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
17
17
|
PERFORMANCE OF THIS SOFTWARE.
|
|
18
18
|
***************************************************************************** */
|
|
19
|
-
/* global Reflect, Promise */
|
|
19
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
function __decorate(decorators, target, key, desc) {
|
|
@@ -28,7 +28,12 @@ function __decorate(decorators, target, key, desc) {
|
|
|
28
28
|
|
|
29
29
|
function __metadata(metadataKey, metadataValue) {
|
|
30
30
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
31
|
-
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
34
|
+
var e = new Error(message);
|
|
35
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
36
|
+
};
|
|
32
37
|
|
|
33
38
|
class Navigator {
|
|
34
39
|
constructor(baseUrl) {
|
package/bundles/index.js
CHANGED
|
@@ -18,7 +18,7 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
18
18
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
19
19
|
PERFORMANCE OF THIS SOFTWARE.
|
|
20
20
|
***************************************************************************** */
|
|
21
|
-
/* global Reflect, Promise */
|
|
21
|
+
/* global Reflect, Promise, SuppressedError, Symbol */
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
function __decorate(decorators, target, key, desc) {
|
|
@@ -30,7 +30,12 @@ function __decorate(decorators, target, key, desc) {
|
|
|
30
30
|
|
|
31
31
|
function __metadata(metadataKey, metadataValue) {
|
|
32
32
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(metadataKey, metadataValue);
|
|
33
|
-
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
|
|
36
|
+
var e = new Error(message);
|
|
37
|
+
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
38
|
+
};
|
|
34
39
|
|
|
35
40
|
class Navigator {
|
|
36
41
|
constructor(baseUrl) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@viewfly/router",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.8",
|
|
4
4
|
"description": "A routing library based on the Viewfly framework that can be run in the browser or Nodejs background.",
|
|
5
5
|
"main": "./bundles/index.js",
|
|
6
6
|
"module": "./bundles/index.esm.js",
|
|
@@ -13,15 +13,15 @@
|
|
|
13
13
|
"keywords": [],
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@tanbo/stream": "^1.2.0",
|
|
16
|
-
"@viewfly/core": "^0.0.
|
|
16
|
+
"@viewfly/core": "^0.0.8",
|
|
17
17
|
"url": "^0.11.1"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@rollup/plugin-commonjs": "^
|
|
21
|
-
"@rollup/plugin-typescript": "^
|
|
20
|
+
"@rollup/plugin-commonjs": "^25.0.3",
|
|
21
|
+
"@rollup/plugin-typescript": "^11.1.2",
|
|
22
22
|
"rimraf": "^3.0.2",
|
|
23
|
-
"rollup": "^3.
|
|
24
|
-
"tslib": "^2.
|
|
23
|
+
"rollup": "^3.26.3",
|
|
24
|
+
"tslib": "^2.6.0"
|
|
25
25
|
},
|
|
26
26
|
"author": {
|
|
27
27
|
"name": "Tanbo",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"bugs": {
|
|
35
35
|
"url": "https://github.com/viewfly/viewfly.git/issues"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "cd3ad7ebfa4206f968844d0e3be6462b182b95b3"
|
|
38
38
|
}
|