@angular/router 20.2.0 → 21.0.0-next.0
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/fesm2022/router.mjs +2 -2
- package/fesm2022/router.mjs.map +1 -1
- package/fesm2022/router2.mjs +6 -5
- package/fesm2022/router2.mjs.map +1 -1
- package/fesm2022/router_module.mjs +1 -1
- package/fesm2022/testing.mjs +1 -1
- package/fesm2022/upgrade.mjs +1 -1
- package/index.d.ts +1 -1
- package/package.json +4 -4
- package/router_module.d.d.ts +3 -3
- package/testing/index.d.ts +1 -1
- package/upgrade/index.d.ts +1 -1
package/fesm2022/testing.mjs
CHANGED
package/fesm2022/upgrade.mjs
CHANGED
package/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/router",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "21.0.0-next.0",
|
|
4
4
|
"description": "Angular - the routing library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"tslib": "^2.3.0"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"@angular/core": "
|
|
28
|
-
"@angular/common": "
|
|
29
|
-
"@angular/platform-browser": "
|
|
27
|
+
"@angular/core": "21.0.0-next.0",
|
|
28
|
+
"@angular/common": "21.0.0-next.0",
|
|
29
|
+
"@angular/platform-browser": "21.0.0-next.0",
|
|
30
30
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
31
31
|
},
|
|
32
32
|
"ng-update": {
|
package/router_module.d.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular
|
|
2
|
+
* @license Angular v21.0.0-next.0
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -3068,7 +3068,7 @@ declare class Router {
|
|
|
3068
3068
|
*
|
|
3069
3069
|
* Note: The current navigation becomes to null after the NavigationEnd event is emitted.
|
|
3070
3070
|
*/
|
|
3071
|
-
readonly currentNavigation:
|
|
3071
|
+
readonly currentNavigation: Signal<Navigation | null>;
|
|
3072
3072
|
constructor();
|
|
3073
3073
|
private eventsSubscription;
|
|
3074
3074
|
private subscribeToNavigationEvents;
|
|
@@ -3103,7 +3103,7 @@ declare class Router {
|
|
|
3103
3103
|
* The `Navigation` object of the most recent navigation to succeed and `null` if there
|
|
3104
3104
|
* has not been a successful navigation yet.
|
|
3105
3105
|
*/
|
|
3106
|
-
get lastSuccessfulNavigation(): Navigation | null
|
|
3106
|
+
get lastSuccessfulNavigation(): Signal<Navigation | null>;
|
|
3107
3107
|
/**
|
|
3108
3108
|
* Resets the route configuration used for navigation and generating links.
|
|
3109
3109
|
*
|
package/testing/index.d.ts
CHANGED
package/upgrade/index.d.ts
CHANGED