@angular/router 7.0.2 → 7.0.3
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 +4 -4
- 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/utils/preactivation.js +3 -3
- package/esm2015/src/version.js +1 -1
- package/esm5/src/utils/preactivation.js +3 -3
- package/esm5/src/version.js +1 -1
- package/fesm2015/router.js +4 -4
- package/fesm2015/router.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/fesm2015/upgrade.js +1 -1
- package/fesm5/router.js +4 -4
- 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/fesm2015/testing.js
CHANGED
package/fesm2015/upgrade.js
CHANGED
package/fesm5/router.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v7.0.
|
|
2
|
+
* @license Angular v7.0.3
|
|
3
3
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -2872,8 +2872,8 @@ function getRouteGuards(futureNode, currNode, parentContexts, futurePath, checks
|
|
|
2872
2872
|
getChildRouteGuards(futureNode, currNode, parentContexts, futurePath, checks);
|
|
2873
2873
|
}
|
|
2874
2874
|
if (shouldRun) {
|
|
2875
|
-
var
|
|
2876
|
-
checks.canDeactivateChecks.push(new CanDeactivate(
|
|
2875
|
+
var component = context && context.outlet && context.outlet.component || null;
|
|
2876
|
+
checks.canDeactivateChecks.push(new CanDeactivate(component, curr));
|
|
2877
2877
|
}
|
|
2878
2878
|
}
|
|
2879
2879
|
else {
|
|
@@ -5514,7 +5514,7 @@ function provideRouterInitializer() {
|
|
|
5514
5514
|
/**
|
|
5515
5515
|
* @publicApi
|
|
5516
5516
|
*/
|
|
5517
|
-
var VERSION = new Version('7.0.
|
|
5517
|
+
var VERSION = new Version('7.0.3');
|
|
5518
5518
|
|
|
5519
5519
|
/**
|
|
5520
5520
|
* @license
|