@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.
- 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 +7 -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/collection.js +8 -5
- package/esm2015/src/version.js +1 -1
- package/esm5/src/utils/collection.js +6 -3
- package/esm5/src/version.js +1 -1
- package/fesm2015/router.js +9 -6
- package/fesm2015/router.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/fesm2015/upgrade.js +1 -1
- package/fesm5/router.js +7 -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.d.ts +1 -1
- package/router.metadata.json +1 -1
- package/testing/testing.d.ts +1 -1
- package/testing.d.ts +1 -1
- package/upgrade/upgrade.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 v8.0.
|
|
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
|
-
|
|
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.
|
|
5753
|
+
var VERSION = new Version('8.0.2');
|
|
5751
5754
|
|
|
5752
5755
|
/**
|
|
5753
5756
|
* @license
|