Skip to content

Commit

Permalink
build: bundle 3.3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Jun 12, 2020
1 parent 4d484bf commit 6fcda18
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 30 deletions.
22 changes: 16 additions & 6 deletions dist/vue-router.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-router v3.3.2
* vue-router v3.3.3
* (c) 2020 Evan You
* @license MIT
*/
Expand Down Expand Up @@ -2027,7 +2027,9 @@ function createNavigationRedirectedError (from, to) {
from,
to,
NavigationFailureType.redirected,
("Redirected from \"" + (from.fullPath) + "\" to \"" + (stringifyRoute(to)) + "\" via a navigation guard.")
("Redirected when going from \"" + (from.fullPath) + "\" to \"" + (stringifyRoute(
to
)) + "\" via a navigation guard.")
)
}

Expand Down Expand Up @@ -2147,9 +2149,17 @@ History.prototype.transitionTo = function transitionTo (
}
if (err && !this$1.ready) {
this$1.ready = true;
this$1.readyErrorCbs.forEach(function (cb) {
cb(err);
});
// Initial redirection should still trigger the onReady onSuccess
// https://github.com/vuejs/vue-router/issues/3225
if (!isRouterError(err, NavigationFailureType.redirected)) {
this$1.readyErrorCbs.forEach(function (cb) {
cb(err);
});
} else {
this$1.readyCbs.forEach(function (cb) {
cb(route);
});
}
}
}
);
Expand Down Expand Up @@ -2996,7 +3006,7 @@ function createHref (base, fullPath, mode) {
}

VueRouter.install = install;
VueRouter.version = '3.3.2';
VueRouter.version = '3.3.3';

if (inBrowser && window.Vue) {
window.Vue.use(VueRouter);
Expand Down
30 changes: 22 additions & 8 deletions dist/vue-router.esm.browser.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-router v3.3.2
* vue-router v3.3.3
* (c) 2020 Evan You
* @license MIT
*/
Expand Down Expand Up @@ -2000,7 +2000,9 @@ function createNavigationRedirectedError (from, to) {
from,
to,
NavigationFailureType.redirected,
`Redirected from "${from.fullPath}" to "${stringifyRoute(to)}" via a navigation guard.`
`Redirected when going from "${from.fullPath}" to "${stringifyRoute(
to
)}" via a navigation guard.`
)
}

Expand All @@ -2018,7 +2020,9 @@ function createNavigationCancelledError (from, to) {
from,
to,
NavigationFailureType.cancelled,
`Navigation cancelled from "${from.fullPath}" to "${to.fullPath}" with a new navigation.`
`Navigation cancelled from "${from.fullPath}" to "${
to.fullPath
}" with a new navigation.`
)
}

Expand All @@ -2027,7 +2031,9 @@ function createNavigationAbortedError (from, to) {
from,
to,
NavigationFailureType.aborted,
`Navigation aborted from "${from.fullPath}" to "${to.fullPath}" via a navigation guard.`
`Navigation aborted from "${from.fullPath}" to "${
to.fullPath
}" via a navigation guard.`
)
}

Expand Down Expand Up @@ -2139,9 +2145,17 @@ class History {
}
if (err && !this.ready) {
this.ready = true;
this.readyErrorCbs.forEach(cb => {
cb(err);
});
// Initial redirection should still trigger the onReady onSuccess
// https://github.com/vuejs/vue-router/issues/3225
if (!isRouterError(err, NavigationFailureType.redirected)) {
this.readyErrorCbs.forEach(cb => {
cb(err);
});
} else {
this.readyCbs.forEach(cb => {
cb(route);
});
}
}
}
);
Expand Down Expand Up @@ -2955,7 +2969,7 @@ function createHref (base, fullPath, mode) {
}

VueRouter.install = install;
VueRouter.version = '3.3.2';
VueRouter.version = '3.3.3';

if (inBrowser && window.Vue) {
window.Vue.use(VueRouter);
Expand Down
4 changes: 2 additions & 2 deletions dist/vue-router.esm.browser.min.js

Large diffs are not rendered by default.

22 changes: 16 additions & 6 deletions dist/vue-router.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-router v3.3.2
* vue-router v3.3.3
* (c) 2020 Evan You
* @license MIT
*/
Expand Down Expand Up @@ -2025,7 +2025,9 @@ function createNavigationRedirectedError (from, to) {
from,
to,
NavigationFailureType.redirected,
("Redirected from \"" + (from.fullPath) + "\" to \"" + (stringifyRoute(to)) + "\" via a navigation guard.")
("Redirected when going from \"" + (from.fullPath) + "\" to \"" + (stringifyRoute(
to
)) + "\" via a navigation guard.")
)
}

Expand Down Expand Up @@ -2145,9 +2147,17 @@ History.prototype.transitionTo = function transitionTo (
}
if (err && !this$1.ready) {
this$1.ready = true;
this$1.readyErrorCbs.forEach(function (cb) {
cb(err);
});
// Initial redirection should still trigger the onReady onSuccess
// https://github.com/vuejs/vue-router/issues/3225
if (!isRouterError(err, NavigationFailureType.redirected)) {
this$1.readyErrorCbs.forEach(function (cb) {
cb(err);
});
} else {
this$1.readyCbs.forEach(function (cb) {
cb(route);
});
}
}
}
);
Expand Down Expand Up @@ -2994,7 +3004,7 @@ function createHref (base, fullPath, mode) {
}

VueRouter.install = install;
VueRouter.version = '3.3.2';
VueRouter.version = '3.3.3';

if (inBrowser && window.Vue) {
window.Vue.use(VueRouter);
Expand Down
22 changes: 16 additions & 6 deletions dist/vue-router.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-router v3.3.2
* vue-router v3.3.3
* (c) 2020 Evan You
* @license MIT
*/
Expand Down Expand Up @@ -2031,7 +2031,9 @@
from,
to,
NavigationFailureType.redirected,
("Redirected from \"" + (from.fullPath) + "\" to \"" + (stringifyRoute(to)) + "\" via a navigation guard.")
("Redirected when going from \"" + (from.fullPath) + "\" to \"" + (stringifyRoute(
to
)) + "\" via a navigation guard.")
)
}

Expand Down Expand Up @@ -2151,9 +2153,17 @@
}
if (err && !this$1.ready) {
this$1.ready = true;
this$1.readyErrorCbs.forEach(function (cb) {
cb(err);
});
// Initial redirection should still trigger the onReady onSuccess
// https://github.com/vuejs/vue-router/issues/3225
if (!isRouterError(err, NavigationFailureType.redirected)) {
this$1.readyErrorCbs.forEach(function (cb) {
cb(err);
});
} else {
this$1.readyCbs.forEach(function (cb) {
cb(route);
});
}
}
}
);
Expand Down Expand Up @@ -3000,7 +3010,7 @@
}

VueRouter.install = install;
VueRouter.version = '3.3.2';
VueRouter.version = '3.3.3';

if (inBrowser && window.Vue) {
window.Vue.use(VueRouter);
Expand Down
4 changes: 2 additions & 2 deletions dist/vue-router.min.js

Large diffs are not rendered by default.

0 comments on commit 6fcda18

Please sign in to comment.