Skip to content

Commit

Permalink
build: bundle 3.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
posva committed Oct 26, 2021
1 parent 3e3a07e commit 56fd224
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 24 deletions.
18 changes: 13 additions & 5 deletions dist/vue-router.common.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-router v3.5.2
* vue-router v3.5.3
* (c) 2021 Evan You
* @license MIT
*/
Expand All @@ -14,7 +14,7 @@ function assert (condition, message) {
}

function warn (condition, message) {
if (process.env.NODE_ENV !== 'production' && !condition) {
if (!condition) {
typeof console !== 'undefined' && console.warn(("[vue-router] " + message));
}
}
Expand Down Expand Up @@ -520,7 +520,7 @@ function parsePath (path) {
}

function cleanPath (path) {
return path.replace(/\/\//g, '/')
return path.replace(/\/+/g, '/')
}

var isarray = Array.isArray || function (arr) {
Expand Down Expand Up @@ -2312,7 +2312,9 @@ History.prototype.confirmTransition = function confirmTransition (route, onCompl
cb(err);
});
} else {
warn(false, 'uncaught error during route navigation:');
if (process.env.NODE_ENV !== 'production') {
warn(false, 'uncaught error during route navigation:');
}
console.error(err);
}
}
Expand All @@ -2327,6 +2329,9 @@ History.prototype.confirmTransition = function confirmTransition (route, onCompl
route.matched[lastRouteIndex] === current.matched[lastCurrentIndex]
) {
this.ensureURL();
if (route.hash) {
handleScroll(this.router, current, route, false);
}
return abort(createNavigationDuplicatedError(current, route))
}

Expand Down Expand Up @@ -2890,6 +2895,9 @@ var AbstractHistory = /*@__PURE__*/(function (History) {
var VueRouter = function VueRouter (options) {
if ( options === void 0 ) options = {};

if (process.env.NODE_ENV !== 'production') {
warn(this instanceof VueRouter, "Router must be called with the new operator.");
}
this.app = null;
this.apps = [];
this.options = options;
Expand Down Expand Up @@ -3134,7 +3142,7 @@ function createHref (base, fullPath, mode) {
}

VueRouter.install = install;
VueRouter.version = '3.5.2';
VueRouter.version = '3.5.3';
VueRouter.isNavigationFailure = isNavigationFailure;
VueRouter.NavigationFailureType = NavigationFailureType;
VueRouter.START_LOCATION = START;
Expand Down
16 changes: 12 additions & 4 deletions dist/vue-router.esm.browser.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-router v3.5.2
* vue-router v3.5.3
* (c) 2021 Evan You
* @license MIT
*/
Expand Down Expand Up @@ -505,7 +505,7 @@ function parsePath (path) {
}

function cleanPath (path) {
return path.replace(/\/\//g, '/')
return path.replace(/\/+/g, '/')
}

var isarray = Array.isArray || function (arr) {
Expand Down Expand Up @@ -2307,7 +2307,9 @@ class History {
cb(err);
});
} else {
warn(false, 'uncaught error during route navigation:');
{
warn(false, 'uncaught error during route navigation:');
}
console.error(err);
}
}
Expand All @@ -2322,6 +2324,9 @@ class History {
route.matched[lastRouteIndex] === current.matched[lastCurrentIndex]
) {
this.ensureURL();
if (route.hash) {
handleScroll(this.router, current, route, false);
}
return abort(createNavigationDuplicatedError(current, route))
}

Expand Down Expand Up @@ -2866,6 +2871,9 @@ class VueRouter {


constructor (options = {}) {
{
warn(this instanceof VueRouter, `Router must be called with the new operator.`);
}
this.app = null;
this.apps = [];
this.options = options;
Expand Down Expand Up @@ -3100,7 +3108,7 @@ function createHref (base, fullPath, mode) {
}

VueRouter.install = install;
VueRouter.version = '3.5.2';
VueRouter.version = '3.5.3';
VueRouter.isNavigationFailure = isNavigationFailure;
VueRouter.NavigationFailureType = NavigationFailureType;
VueRouter.START_LOCATION = START;
Expand Down
6 changes: 3 additions & 3 deletions dist/vue-router.esm.browser.min.js

Large diffs are not rendered by default.

18 changes: 13 additions & 5 deletions dist/vue-router.esm.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-router v3.5.2
* vue-router v3.5.3
* (c) 2021 Evan You
* @license MIT
*/
Expand All @@ -12,7 +12,7 @@ function assert (condition, message) {
}

function warn (condition, message) {
if (process.env.NODE_ENV !== 'production' && !condition) {
if (!condition) {
typeof console !== 'undefined' && console.warn(("[vue-router] " + message));
}
}
Expand Down Expand Up @@ -518,7 +518,7 @@ function parsePath (path) {
}

function cleanPath (path) {
return path.replace(/\/\//g, '/')
return path.replace(/\/+/g, '/')
}

var isarray = Array.isArray || function (arr) {
Expand Down Expand Up @@ -2310,7 +2310,9 @@ History.prototype.confirmTransition = function confirmTransition (route, onCompl
cb(err);
});
} else {
warn(false, 'uncaught error during route navigation:');
if (process.env.NODE_ENV !== 'production') {
warn(false, 'uncaught error during route navigation:');
}
console.error(err);
}
}
Expand All @@ -2325,6 +2327,9 @@ History.prototype.confirmTransition = function confirmTransition (route, onCompl
route.matched[lastRouteIndex] === current.matched[lastCurrentIndex]
) {
this.ensureURL();
if (route.hash) {
handleScroll(this.router, current, route, false);
}
return abort(createNavigationDuplicatedError(current, route))
}

Expand Down Expand Up @@ -2888,6 +2893,9 @@ var AbstractHistory = /*@__PURE__*/(function (History) {
var VueRouter = function VueRouter (options) {
if ( options === void 0 ) options = {};

if (process.env.NODE_ENV !== 'production') {
warn(this instanceof VueRouter, "Router must be called with the new operator.");
}
this.app = null;
this.apps = [];
this.options = options;
Expand Down Expand Up @@ -3132,7 +3140,7 @@ function createHref (base, fullPath, mode) {
}

VueRouter.install = install;
VueRouter.version = '3.5.2';
VueRouter.version = '3.5.3';
VueRouter.isNavigationFailure = isNavigationFailure;
VueRouter.NavigationFailureType = NavigationFailureType;
VueRouter.START_LOCATION = START;
Expand Down
16 changes: 12 additions & 4 deletions dist/vue-router.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* vue-router v3.5.2
* vue-router v3.5.3
* (c) 2021 Evan You
* @license MIT
*/
Expand Down Expand Up @@ -524,7 +524,7 @@
}

function cleanPath (path) {
return path.replace(/\/\//g, '/')
return path.replace(/\/+/g, '/')
}

var isarray = Array.isArray || function (arr) {
Expand Down Expand Up @@ -2316,7 +2316,9 @@
cb(err);
});
} else {
warn(false, 'uncaught error during route navigation:');
{
warn(false, 'uncaught error during route navigation:');
}
console.error(err);
}
}
Expand All @@ -2331,6 +2333,9 @@
route.matched[lastRouteIndex] === current.matched[lastCurrentIndex]
) {
this.ensureURL();
if (route.hash) {
handleScroll(this.router, current, route, false);
}
return abort(createNavigationDuplicatedError(current, route))
}

Expand Down Expand Up @@ -2894,6 +2899,9 @@
var VueRouter = function VueRouter (options) {
if ( options === void 0 ) options = {};

{
warn(this instanceof VueRouter, "Router must be called with the new operator.");
}
this.app = null;
this.apps = [];
this.options = options;
Expand Down Expand Up @@ -3137,7 +3145,7 @@
}

VueRouter.install = install;
VueRouter.version = '3.5.2';
VueRouter.version = '3.5.3';
VueRouter.isNavigationFailure = isNavigationFailure;
VueRouter.NavigationFailureType = NavigationFailureType;
VueRouter.START_LOCATION = START;
Expand Down
6 changes: 3 additions & 3 deletions dist/vue-router.min.js

Large diffs are not rendered by default.

0 comments on commit 56fd224

Please sign in to comment.