@angular/router 8.0.0-rc.4 → 8.0.2

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 v8.0.0-rc.4
2
+ * @license Angular v8.0.2
3
3
  * (c) 2010-2019 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v8.0.0-rc.4
2
+ * @license Angular v8.0.2
3
3
  * (c) 2010-2019 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
package/fesm5/router.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v8.0.0-rc.4
2
+ * @license Angular v8.0.2
3
3
  * (c) 2010-2019 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -669,10 +669,13 @@ function shallowEqualArrays(a, b) {
669
669
  return true;
670
670
  }
671
671
  function shallowEqual(a, b) {
672
+ // Casting Object.keys return values to include `undefined` as there are some cases
673
+ // in IE 11 where this can happen. Cannot provide a test because the behavior only
674
+ // exists in certain circumstances in IE 11, therefore doing this cast ensures the
675
+ // logic is correct for when this edge case is hit.
672
676
  var k1 = Object.keys(a);
673
677
  var k2 = Object.keys(b);
674
- // IE 11 sometimes returns an `undefined` value here. This guard is for IE 11 only.
675
- if (!(k1 || k2) || k1.length != k2.length) {
678
+ if (!k1 || !k2 || k1.length != k2.length) {
676
679
  return false;
677
680
  }
678
681
  var key;
@@ -5747,7 +5750,7 @@ function provideRouterInitializer() {
5747
5750
  /**
5748
5751
  * @publicApi
5749
5752
  */
5750
- var VERSION = new Version('8.0.0-rc.4');
5753
+ var VERSION = new Version('8.0.2');
5751
5754
 
5752
5755
  /**
5753
5756
  * @license