@angular/router 7.2.11 → 7.2.12
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/router-testing.umd.js +1 -1
- package/bundles/router-testing.umd.min.js +1 -1
- package/bundles/router-testing.umd.min.js.map +1 -1
- package/bundles/router-upgrade.umd.js +1 -1
- package/bundles/router-upgrade.umd.min.js +1 -1
- package/bundles/router-upgrade.umd.min.js.map +1 -1
- package/bundles/router.umd.js +15 -15
- package/bundles/router.umd.js.map +1 -1
- package/bundles/router.umd.min.js +3 -3
- package/bundles/router.umd.min.js.map +1 -1
- package/esm2015/src/router.js +14 -14
- package/esm2015/src/router_module.js +18 -35
- package/esm2015/src/version.js +1 -1
- package/esm5/src/router.js +14 -14
- package/esm5/src/router_module.js +1 -1
- package/esm5/src/version.js +1 -1
- package/fesm2015/router.js +15 -15
- package/fesm2015/router.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/fesm2015/upgrade.js +1 -1
- package/fesm5/router.js +15 -15
- package/fesm5/router.js.map +1 -1
- package/fesm5/testing.js +1 -1
- package/fesm5/upgrade.js +1 -1
- package/package.json +4 -4
- package/router.metadata.json +1 -1
- package/src/router_module.d.ts +25 -42
- package/testing.d.ts +1 -1
- package/upgrade.d.ts +1 -1
package/fesm2015/testing.js
CHANGED
package/fesm2015/upgrade.js
CHANGED
package/fesm5/router.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v7.2.
|
|
2
|
+
* @license Angular v7.2.12
|
|
3
3
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -3816,23 +3816,23 @@ var Router = /** @class */ (function () {
|
|
|
3816
3816
|
return transitions.pipe(filter(function (t) { return t.id !== 0; }),
|
|
3817
3817
|
// Extract URL
|
|
3818
3818
|
map(function (t) { return (__assign({}, t, { extractedUrl: _this.urlHandlingStrategy.extract(t.rawUrl) })); }),
|
|
3819
|
-
// Store the Navigation object
|
|
3820
|
-
tap(function (t) {
|
|
3821
|
-
_this.currentNavigation = {
|
|
3822
|
-
id: t.id,
|
|
3823
|
-
initialUrl: t.currentRawUrl,
|
|
3824
|
-
extractedUrl: t.extractedUrl,
|
|
3825
|
-
trigger: t.source,
|
|
3826
|
-
extras: t.extras,
|
|
3827
|
-
previousNavigation: _this.lastSuccessfulNavigation ? __assign({}, _this.lastSuccessfulNavigation, { previousNavigation: null }) :
|
|
3828
|
-
null
|
|
3829
|
-
};
|
|
3830
|
-
}),
|
|
3831
3819
|
// Using switchMap so we cancel executing navigations when a new one comes in
|
|
3832
3820
|
switchMap(function (t) {
|
|
3833
3821
|
var completed = false;
|
|
3834
3822
|
var errored = false;
|
|
3835
|
-
return of(t).pipe(
|
|
3823
|
+
return of(t).pipe(
|
|
3824
|
+
// Store the Navigation object
|
|
3825
|
+
tap(function (t) {
|
|
3826
|
+
_this.currentNavigation = {
|
|
3827
|
+
id: t.id,
|
|
3828
|
+
initialUrl: t.currentRawUrl,
|
|
3829
|
+
extractedUrl: t.extractedUrl,
|
|
3830
|
+
trigger: t.source,
|
|
3831
|
+
extras: t.extras,
|
|
3832
|
+
previousNavigation: _this.lastSuccessfulNavigation ? __assign({}, _this.lastSuccessfulNavigation, { previousNavigation: null }) :
|
|
3833
|
+
null
|
|
3834
|
+
};
|
|
3835
|
+
}), switchMap(function (t) {
|
|
3836
3836
|
var urlTransition = !_this.navigated || t.extractedUrl.toString() !== _this.browserUrlTree.toString();
|
|
3837
3837
|
var processCurrentUrl = (_this.onSameUrlNavigation === 'reload' ? true : urlTransition) &&
|
|
3838
3838
|
_this.urlHandlingStrategy.shouldProcessUrl(t.rawUrl);
|
|
@@ -5726,7 +5726,7 @@ function provideRouterInitializer() {
|
|
|
5726
5726
|
/**
|
|
5727
5727
|
* @publicApi
|
|
5728
5728
|
*/
|
|
5729
|
-
var VERSION = new Version('7.2.
|
|
5729
|
+
var VERSION = new Version('7.2.12');
|
|
5730
5730
|
|
|
5731
5731
|
/**
|
|
5732
5732
|
* @license
|