@angular/router 7.2.12 → 7.2.13
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 +5 -5
- package/bundles/router.umd.js.map +1 -1
- package/bundles/router.umd.min.js +2 -2
- package/bundles/router.umd.min.js.map +1 -1
- package/esm2015/src/config.js +3 -2
- package/esm2015/src/router_state.js +4 -4
- package/esm2015/src/version.js +1 -1
- package/esm5/src/config.js +1 -1
- package/esm5/src/router_state.js +4 -4
- package/esm5/src/version.js +1 -1
- package/fesm2015/router.js +5 -5
- package/fesm2015/router.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/fesm2015/upgrade.js +1 -1
- package/fesm5/router.js +5 -5
- 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/config.d.ts +2 -1
- package/src/router_state.d.ts +3 -3
- 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.13
|
|
3
3
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1489,10 +1489,10 @@ function createEmptyStateSnapshot(urlTree, rootComponent) {
|
|
|
1489
1489
|
* @Component({...})
|
|
1490
1490
|
* class MyComponent {
|
|
1491
1491
|
* constructor(route: ActivatedRoute) {
|
|
1492
|
-
* const id: Observable<string> = route.params.map(p => p.id);
|
|
1493
|
-
* const url: Observable<string> = route.url.map(segments => segments.join(''));
|
|
1492
|
+
* const id: Observable<string> = route.params.pipe(map(p => p.id));
|
|
1493
|
+
* const url: Observable<string> = route.url.pipe(map(segments => segments.join('')));
|
|
1494
1494
|
* // route.data includes both `data` and `resolve`
|
|
1495
|
-
* const user = route.data.map(d => d.user);
|
|
1495
|
+
* const user = route.data.pipe(map(d => d.user));
|
|
1496
1496
|
* }
|
|
1497
1497
|
* }
|
|
1498
1498
|
* ```
|
|
@@ -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.13');
|
|
5730
5730
|
|
|
5731
5731
|
/**
|
|
5732
5732
|
* @license
|