@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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v7.0.2
2
+ * @license Angular v7.0.3
3
3
  * (c) 2010-2018 Google, Inc. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v7.0.2
2
+ * @license Angular v7.0.3
3
3
  * (c) 2010-2018 Google, Inc. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/fesm5/router.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v7.0.2
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 outlet = context.outlet;
2876
- checks.canDeactivateChecks.push(new CanDeactivate(outlet.component, curr));
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.2');
5517
+ var VERSION = new Version('7.0.3');
5518
5518
 
5519
5519
  /**
5520
5520
  * @license