File tree Expand file tree Collapse file tree 2 files changed +6
-14
lines changed
packages/angular/ssr/src/utils Expand file tree Collapse file tree 2 files changed +6
-14
lines changed Original file line number Diff line number Diff line change @@ -3,17 +3,17 @@ RELEASE_ENGINES_NODE = "^20.19.0 || ^22.12.0 || >=24.0.0"
3
3
RELEASE_ENGINES_NPM = "^6.11.0 || ^7.5.6 || >=8.0.0"
4
4
RELEASE_ENGINES_YARN = ">= 1.13.0"
5
5
6
- NG_PACKAGR_VERSION = "^20.2 .0-next.0"
7
- ANGULAR_FW_VERSION = "^20.2 .0-next.0"
8
- ANGULAR_FW_PEER_DEP = "^20.0.0 || ^20.2.0-next.0 || ^ 21.0.0-next.0"
9
- NG_PACKAGR_PEER_DEP = "^20.0.0 || ^20.2 .0-next.0"
6
+ NG_PACKAGR_VERSION = "^21.0 .0-next.0"
7
+ ANGULAR_FW_VERSION = "^21.0 .0-next.0"
8
+ ANGULAR_FW_PEER_DEP = "^21.0.0-next.0"
9
+ NG_PACKAGR_PEER_DEP = "^21.0 .0-next.0"
10
10
11
11
# Baseline widely-available date in `YYYY-MM-DD` format which defines Angular's
12
12
# browser support. This date serves as the source of truth for the Angular CLI's
13
13
# default browser set used to determine what downleveling is necessary.
14
14
#
15
15
# See: https://web.dev/baseline
16
- BASELINE_DATE = "2025-04-30 "
16
+ BASELINE_DATE = "2025-08-20 "
17
17
18
18
SNAPSHOT_REPOS = {
19
19
"@angular/cli" : "angular/cli-builds" ,
Original file line number Diff line number Diff line change @@ -100,15 +100,7 @@ export async function renderAngular(
100
100
const envInjector = applicationRef . injector ;
101
101
const routerIsProvided = ! ! envInjector . get ( ActivatedRoute , null ) ;
102
102
const router = envInjector . get ( Router ) ;
103
-
104
- // TODO(alanagius): Remove the below check when version 21.0.0-next.0 is on NPM
105
- // Workaround for breaking change that landed on angular/angular main too early
106
- // https://github.com/angular/angular/pull/63057
107
- const lastSuccessfulNavigation =
108
- typeof router . lastSuccessfulNavigation === 'function'
109
- ? // eslint-disable-next-line @typescript-eslint/no-explicit-any
110
- ( router as any ) . lastSuccessfulNavigation ( )
111
- : router . lastSuccessfulNavigation ;
103
+ const lastSuccessfulNavigation = router . lastSuccessfulNavigation ( ) ;
112
104
113
105
if ( ! routerIsProvided ) {
114
106
hasNavigationError = false ;
You can’t perform that action at this time.
0 commit comments