@angular/router 21.1.2 → 21.1.4
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-chunk.mjs +58 -57
- package/fesm2022/_router-chunk.mjs.map +1 -1
- package/fesm2022/_router_module-chunk.mjs +26 -26
- package/fesm2022/router.mjs +2 -2
- package/fesm2022/router.mjs.map +1 -1
- package/fesm2022/testing.mjs +11 -11
- package/fesm2022/upgrade.mjs +1 -1
- package/package.json +4 -4
- package/types/_router_module-chunk.d.ts +1 -1
- package/types/router.d.ts +1 -1
- package/types/testing.d.ts +1 -1
- package/types/upgrade.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.1.
|
|
2
|
+
* @license Angular v21.1.4
|
|
3
3
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -157,7 +157,7 @@ class RouterLink {
|
|
|
157
157
|
}
|
|
158
158
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
159
159
|
minVersion: "12.0.0",
|
|
160
|
-
version: "21.1.
|
|
160
|
+
version: "21.1.4",
|
|
161
161
|
ngImport: i0,
|
|
162
162
|
type: RouterLink,
|
|
163
163
|
deps: [{
|
|
@@ -178,7 +178,7 @@ class RouterLink {
|
|
|
178
178
|
});
|
|
179
179
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
180
180
|
minVersion: "16.1.0",
|
|
181
|
-
version: "21.1.
|
|
181
|
+
version: "21.1.4",
|
|
182
182
|
type: RouterLink,
|
|
183
183
|
isStandalone: true,
|
|
184
184
|
selector: "[routerLink]",
|
|
@@ -210,7 +210,7 @@ class RouterLink {
|
|
|
210
210
|
}
|
|
211
211
|
i0.ɵɵngDeclareClassMetadata({
|
|
212
212
|
minVersion: "12.0.0",
|
|
213
|
-
version: "21.1.
|
|
213
|
+
version: "21.1.4",
|
|
214
214
|
ngImport: i0,
|
|
215
215
|
type: RouterLink,
|
|
216
216
|
decorators: [{
|
|
@@ -390,7 +390,7 @@ class RouterLinkActive {
|
|
|
390
390
|
}
|
|
391
391
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
392
392
|
minVersion: "12.0.0",
|
|
393
|
-
version: "21.1.
|
|
393
|
+
version: "21.1.4",
|
|
394
394
|
ngImport: i0,
|
|
395
395
|
type: RouterLinkActive,
|
|
396
396
|
deps: [{
|
|
@@ -406,7 +406,7 @@ class RouterLinkActive {
|
|
|
406
406
|
});
|
|
407
407
|
static ɵdir = i0.ɵɵngDeclareDirective({
|
|
408
408
|
minVersion: "14.0.0",
|
|
409
|
-
version: "21.1.
|
|
409
|
+
version: "21.1.4",
|
|
410
410
|
type: RouterLinkActive,
|
|
411
411
|
isStandalone: true,
|
|
412
412
|
selector: "[routerLinkActive]",
|
|
@@ -430,7 +430,7 @@ class RouterLinkActive {
|
|
|
430
430
|
}
|
|
431
431
|
i0.ɵɵngDeclareClassMetadata({
|
|
432
432
|
minVersion: "12.0.0",
|
|
433
|
-
version: "21.1.
|
|
433
|
+
version: "21.1.4",
|
|
434
434
|
ngImport: i0,
|
|
435
435
|
type: RouterLinkActive,
|
|
436
436
|
decorators: [{
|
|
@@ -481,7 +481,7 @@ class PreloadAllModules {
|
|
|
481
481
|
}
|
|
482
482
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
483
483
|
minVersion: "12.0.0",
|
|
484
|
-
version: "21.1.
|
|
484
|
+
version: "21.1.4",
|
|
485
485
|
ngImport: i0,
|
|
486
486
|
type: PreloadAllModules,
|
|
487
487
|
deps: [],
|
|
@@ -489,7 +489,7 @@ class PreloadAllModules {
|
|
|
489
489
|
});
|
|
490
490
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
491
491
|
minVersion: "12.0.0",
|
|
492
|
-
version: "21.1.
|
|
492
|
+
version: "21.1.4",
|
|
493
493
|
ngImport: i0,
|
|
494
494
|
type: PreloadAllModules,
|
|
495
495
|
providedIn: 'root'
|
|
@@ -497,7 +497,7 @@ class PreloadAllModules {
|
|
|
497
497
|
}
|
|
498
498
|
i0.ɵɵngDeclareClassMetadata({
|
|
499
499
|
minVersion: "12.0.0",
|
|
500
|
-
version: "21.1.
|
|
500
|
+
version: "21.1.4",
|
|
501
501
|
ngImport: i0,
|
|
502
502
|
type: PreloadAllModules,
|
|
503
503
|
decorators: [{
|
|
@@ -513,7 +513,7 @@ class NoPreloading {
|
|
|
513
513
|
}
|
|
514
514
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
515
515
|
minVersion: "12.0.0",
|
|
516
|
-
version: "21.1.
|
|
516
|
+
version: "21.1.4",
|
|
517
517
|
ngImport: i0,
|
|
518
518
|
type: NoPreloading,
|
|
519
519
|
deps: [],
|
|
@@ -521,7 +521,7 @@ class NoPreloading {
|
|
|
521
521
|
});
|
|
522
522
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
523
523
|
minVersion: "12.0.0",
|
|
524
|
-
version: "21.1.
|
|
524
|
+
version: "21.1.4",
|
|
525
525
|
ngImport: i0,
|
|
526
526
|
type: NoPreloading,
|
|
527
527
|
providedIn: 'root'
|
|
@@ -529,7 +529,7 @@ class NoPreloading {
|
|
|
529
529
|
}
|
|
530
530
|
i0.ɵɵngDeclareClassMetadata({
|
|
531
531
|
minVersion: "12.0.0",
|
|
532
|
-
version: "21.1.
|
|
532
|
+
version: "21.1.4",
|
|
533
533
|
ngImport: i0,
|
|
534
534
|
type: NoPreloading,
|
|
535
535
|
decorators: [{
|
|
@@ -610,7 +610,7 @@ class RouterPreloader {
|
|
|
610
610
|
}
|
|
611
611
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
612
612
|
minVersion: "12.0.0",
|
|
613
|
-
version: "21.1.
|
|
613
|
+
version: "21.1.4",
|
|
614
614
|
ngImport: i0,
|
|
615
615
|
type: RouterPreloader,
|
|
616
616
|
deps: [{
|
|
@@ -626,7 +626,7 @@ class RouterPreloader {
|
|
|
626
626
|
});
|
|
627
627
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
628
628
|
minVersion: "12.0.0",
|
|
629
|
-
version: "21.1.
|
|
629
|
+
version: "21.1.4",
|
|
630
630
|
ngImport: i0,
|
|
631
631
|
type: RouterPreloader,
|
|
632
632
|
providedIn: 'root'
|
|
@@ -634,7 +634,7 @@ class RouterPreloader {
|
|
|
634
634
|
}
|
|
635
635
|
i0.ɵɵngDeclareClassMetadata({
|
|
636
636
|
minVersion: "12.0.0",
|
|
637
|
-
version: "21.1.
|
|
637
|
+
version: "21.1.4",
|
|
638
638
|
ngImport: i0,
|
|
639
639
|
type: RouterPreloader,
|
|
640
640
|
decorators: [{
|
|
@@ -736,7 +736,7 @@ class RouterScroller {
|
|
|
736
736
|
}
|
|
737
737
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
738
738
|
minVersion: "12.0.0",
|
|
739
|
-
version: "21.1.
|
|
739
|
+
version: "21.1.4",
|
|
740
740
|
ngImport: i0,
|
|
741
741
|
type: RouterScroller,
|
|
742
742
|
deps: "invalid",
|
|
@@ -744,14 +744,14 @@ class RouterScroller {
|
|
|
744
744
|
});
|
|
745
745
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
746
746
|
minVersion: "12.0.0",
|
|
747
|
-
version: "21.1.
|
|
747
|
+
version: "21.1.4",
|
|
748
748
|
ngImport: i0,
|
|
749
749
|
type: RouterScroller
|
|
750
750
|
});
|
|
751
751
|
}
|
|
752
752
|
i0.ɵɵngDeclareClassMetadata({
|
|
753
753
|
minVersion: "12.0.0",
|
|
754
|
-
version: "21.1.
|
|
754
|
+
version: "21.1.4",
|
|
755
755
|
ngImport: i0,
|
|
756
756
|
type: RouterScroller,
|
|
757
757
|
decorators: [{
|
|
@@ -993,7 +993,7 @@ class NavigationStateManager extends StateManager {
|
|
|
993
993
|
}
|
|
994
994
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
995
995
|
minVersion: "12.0.0",
|
|
996
|
-
version: "21.1.
|
|
996
|
+
version: "21.1.4",
|
|
997
997
|
ngImport: i0,
|
|
998
998
|
type: NavigationStateManager,
|
|
999
999
|
deps: [],
|
|
@@ -1001,7 +1001,7 @@ class NavigationStateManager extends StateManager {
|
|
|
1001
1001
|
});
|
|
1002
1002
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
1003
1003
|
minVersion: "12.0.0",
|
|
1004
|
-
version: "21.1.
|
|
1004
|
+
version: "21.1.4",
|
|
1005
1005
|
ngImport: i0,
|
|
1006
1006
|
type: NavigationStateManager,
|
|
1007
1007
|
providedIn: 'root'
|
|
@@ -1009,7 +1009,7 @@ class NavigationStateManager extends StateManager {
|
|
|
1009
1009
|
}
|
|
1010
1010
|
i0.ɵɵngDeclareClassMetadata({
|
|
1011
1011
|
minVersion: "12.0.0",
|
|
1012
|
-
version: "21.1.
|
|
1012
|
+
version: "21.1.4",
|
|
1013
1013
|
ngImport: i0,
|
|
1014
1014
|
type: NavigationStateManager,
|
|
1015
1015
|
decorators: [{
|
|
@@ -1308,7 +1308,7 @@ class RouterModule {
|
|
|
1308
1308
|
}
|
|
1309
1309
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
1310
1310
|
minVersion: "12.0.0",
|
|
1311
|
-
version: "21.1.
|
|
1311
|
+
version: "21.1.4",
|
|
1312
1312
|
ngImport: i0,
|
|
1313
1313
|
type: RouterModule,
|
|
1314
1314
|
deps: [],
|
|
@@ -1316,7 +1316,7 @@ class RouterModule {
|
|
|
1316
1316
|
});
|
|
1317
1317
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
1318
1318
|
minVersion: "14.0.0",
|
|
1319
|
-
version: "21.1.
|
|
1319
|
+
version: "21.1.4",
|
|
1320
1320
|
ngImport: i0,
|
|
1321
1321
|
type: RouterModule,
|
|
1322
1322
|
imports: [RouterOutlet, RouterLink, RouterLinkActive, _EmptyOutletComponent],
|
|
@@ -1324,14 +1324,14 @@ class RouterModule {
|
|
|
1324
1324
|
});
|
|
1325
1325
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
1326
1326
|
minVersion: "12.0.0",
|
|
1327
|
-
version: "21.1.
|
|
1327
|
+
version: "21.1.4",
|
|
1328
1328
|
ngImport: i0,
|
|
1329
1329
|
type: RouterModule
|
|
1330
1330
|
});
|
|
1331
1331
|
}
|
|
1332
1332
|
i0.ɵɵngDeclareClassMetadata({
|
|
1333
1333
|
minVersion: "12.0.0",
|
|
1334
|
-
version: "21.1.
|
|
1334
|
+
version: "21.1.4",
|
|
1335
1335
|
ngImport: i0,
|
|
1336
1336
|
type: RouterModule,
|
|
1337
1337
|
decorators: [{
|
package/fesm2022/router.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.1.
|
|
2
|
+
* @license Angular v21.1.4
|
|
3
3
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -28,7 +28,7 @@ function mapToResolve(provider) {
|
|
|
28
28
|
return (...params) => inject(provider).resolve(...params);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
const VERSION = /* @__PURE__ */new Version('21.1.
|
|
31
|
+
const VERSION = /* @__PURE__ */new Version('21.1.4');
|
|
32
32
|
|
|
33
33
|
export { VERSION, mapToCanActivate, mapToCanActivateChild, mapToCanDeactivate, mapToCanMatch, mapToResolve };
|
|
34
34
|
//# sourceMappingURL=router.mjs.map
|
package/fesm2022/router.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"router.mjs","sources":["../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/packages/router/src/utils/functional_guards.ts","../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/packages/router/src/version.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {inject, Type} from '@angular/core';\n\nimport {\n CanActivate,\n CanActivateChild,\n CanActivateChildFn,\n CanActivateFn,\n CanDeactivate,\n CanDeactivateFn,\n CanMatch,\n CanMatchFn,\n Resolve,\n ResolveFn,\n} from '../models';\n\n/**\n * Maps an array of injectable classes with canMatch functions to an array of equivalent\n * `CanMatchFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanMatch(providers: Array<Type<CanMatch>>): CanMatchFn[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canMatch(...params),\n );\n}\n\n/**\n * Maps an array of injectable classes with canActivate functions to an array of equivalent\n * `CanActivateFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanActivate(providers: Array<Type<CanActivate>>): CanActivateFn[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canActivate(...params),\n );\n}\n/**\n * Maps an array of injectable classes with canActivateChild functions to an array of equivalent\n * `CanActivateChildFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanActivateChild(\n providers: Array<Type<CanActivateChild>>,\n): CanActivateChildFn[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canActivateChild(...params),\n );\n}\n/**\n * Maps an array of injectable classes with canDeactivate functions to an array of equivalent\n * `CanDeactivateFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanDeactivate<T = unknown>(\n providers: Array<Type<CanDeactivate<T>>>,\n): CanDeactivateFn<T>[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canDeactivate(...params),\n );\n}\n/**\n * Maps an injectable class with a resolve function to an equivalent `ResolveFn`\n * for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='Resolve'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToResolve<T>(provider: Type<Resolve<T>>): ResolveFn<T> {\n return (...params) => inject(provider).resolve(...params);\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the router package.\n */\n\nimport {Version} from '@angular/core';\n\n/**\n * @publicApi\n */\nexport const VERSION = /* @__PURE__ */ new Version('21.1.
|
|
1
|
+
{"version":3,"file":"router.mjs","sources":["../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/packages/router/src/utils/functional_guards.ts","../../../../../k8-fastbuild-ST-fdfa778d11ba/bin/packages/router/src/version.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\nimport {inject, Type} from '@angular/core';\n\nimport {\n CanActivate,\n CanActivateChild,\n CanActivateChildFn,\n CanActivateFn,\n CanDeactivate,\n CanDeactivateFn,\n CanMatch,\n CanMatchFn,\n Resolve,\n ResolveFn,\n} from '../models';\n\n/**\n * Maps an array of injectable classes with canMatch functions to an array of equivalent\n * `CanMatchFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanMatch(providers: Array<Type<CanMatch>>): CanMatchFn[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canMatch(...params),\n );\n}\n\n/**\n * Maps an array of injectable classes with canActivate functions to an array of equivalent\n * `CanActivateFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanActivate(providers: Array<Type<CanActivate>>): CanActivateFn[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canActivate(...params),\n );\n}\n/**\n * Maps an array of injectable classes with canActivateChild functions to an array of equivalent\n * `CanActivateChildFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanActivateChild(\n providers: Array<Type<CanActivateChild>>,\n): CanActivateChildFn[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canActivateChild(...params),\n );\n}\n/**\n * Maps an array of injectable classes with canDeactivate functions to an array of equivalent\n * `CanDeactivateFn` for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='CanActivate'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToCanDeactivate<T = unknown>(\n providers: Array<Type<CanDeactivate<T>>>,\n): CanDeactivateFn<T>[] {\n return providers.map(\n (provider) =>\n (...params) =>\n inject(provider).canDeactivate(...params),\n );\n}\n/**\n * Maps an injectable class with a resolve function to an equivalent `ResolveFn`\n * for use in a `Route` definition.\n *\n * Usage {@example router/utils/functional_guards.ts region='Resolve'}\n *\n * @publicApi\n * @see {@link Route}\n */\nexport function mapToResolve<T>(provider: Type<Resolve<T>>): ResolveFn<T> {\n return (...params) => inject(provider).resolve(...params);\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.dev/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the router package.\n */\n\nimport {Version} from '@angular/core';\n\n/**\n * @publicApi\n */\nexport const VERSION = /* @__PURE__ */ new Version('21.1.4');\n"],"names":["mapToCanMatch","providers","map","provider","params","inject","canMatch","mapToCanActivate","canActivate","mapToCanActivateChild","canActivateChild","mapToCanDeactivate","canDeactivate","mapToResolve","resolve","VERSION","Version"],"mappings":";;;;;;;;;;;;;;AAgCM,SAAUA,aAAaA,CAACC,SAAgC,EAAA;EAC5D,OAAOA,SAAS,CAACC,GAAG,CACjBC,QAAQ,IACP,CAAC,GAAGC,MAAM,KACRC,MAAM,CAACF,QAAQ,CAAC,CAACG,QAAQ,CAAC,GAAGF,MAAM,CAAC,CACzC;AACH;AAWM,SAAUG,gBAAgBA,CAACN,SAAmC,EAAA;EAClE,OAAOA,SAAS,CAACC,GAAG,CACjBC,QAAQ,IACP,CAAC,GAAGC,MAAM,KACRC,MAAM,CAACF,QAAQ,CAAC,CAACK,WAAW,CAAC,GAAGJ,MAAM,CAAC,CAC5C;AACH;AAUM,SAAUK,qBAAqBA,CACnCR,SAAwC,EAAA;EAExC,OAAOA,SAAS,CAACC,GAAG,CACjBC,QAAQ,IACP,CAAC,GAAGC,MAAM,KACRC,MAAM,CAACF,QAAQ,CAAC,CAACO,gBAAgB,CAAC,GAAGN,MAAM,CAAC,CACjD;AACH;AAUM,SAAUO,kBAAkBA,CAChCV,SAAwC,EAAA;EAExC,OAAOA,SAAS,CAACC,GAAG,CACjBC,QAAQ,IACP,CAAC,GAAGC,MAAM,KACRC,MAAM,CAACF,QAAQ,CAAC,CAACS,aAAa,CAAC,GAAGR,MAAM,CAAC,CAC9C;AACH;AAUM,SAAUS,YAAYA,CAAIV,QAA0B,EAAA;AACxD,EAAA,OAAO,CAAC,GAAGC,MAAM,KAAKC,MAAM,CAACF,QAAQ,CAAC,CAACW,OAAO,CAAC,GAAGV,MAAM,CAAC;AAC3D;;ACpFO,MAAMW,OAAO,kBAAmB,IAAIC,OAAO,CAAC,mBAAmB;;;;"}
|
package/fesm2022/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.1.
|
|
2
|
+
* @license Angular v21.1.4
|
|
3
3
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -33,7 +33,7 @@ class RouterTestingModule {
|
|
|
33
33
|
}
|
|
34
34
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
35
35
|
minVersion: "12.0.0",
|
|
36
|
-
version: "21.1.
|
|
36
|
+
version: "21.1.4",
|
|
37
37
|
ngImport: i0,
|
|
38
38
|
type: RouterTestingModule,
|
|
39
39
|
deps: [],
|
|
@@ -41,14 +41,14 @@ class RouterTestingModule {
|
|
|
41
41
|
});
|
|
42
42
|
static ɵmod = i0.ɵɵngDeclareNgModule({
|
|
43
43
|
minVersion: "14.0.0",
|
|
44
|
-
version: "21.1.
|
|
44
|
+
version: "21.1.4",
|
|
45
45
|
ngImport: i0,
|
|
46
46
|
type: RouterTestingModule,
|
|
47
47
|
exports: [RouterModule]
|
|
48
48
|
});
|
|
49
49
|
static ɵinj = i0.ɵɵngDeclareInjector({
|
|
50
50
|
minVersion: "12.0.0",
|
|
51
|
-
version: "21.1.
|
|
51
|
+
version: "21.1.4",
|
|
52
52
|
ngImport: i0,
|
|
53
53
|
type: RouterTestingModule,
|
|
54
54
|
providers: [ROUTER_PROVIDERS, provideLocationMocks(), withPreloading(NoPreloading).ɵproviders, {
|
|
@@ -61,7 +61,7 @@ class RouterTestingModule {
|
|
|
61
61
|
}
|
|
62
62
|
i0.ɵɵngDeclareClassMetadata({
|
|
63
63
|
minVersion: "12.0.0",
|
|
64
|
-
version: "21.1.
|
|
64
|
+
version: "21.1.4",
|
|
65
65
|
ngImport: i0,
|
|
66
66
|
type: RouterTestingModule,
|
|
67
67
|
decorators: [{
|
|
@@ -97,7 +97,7 @@ class RootFixtureService {
|
|
|
97
97
|
}
|
|
98
98
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
99
99
|
minVersion: "12.0.0",
|
|
100
|
-
version: "21.1.
|
|
100
|
+
version: "21.1.4",
|
|
101
101
|
ngImport: i0,
|
|
102
102
|
type: RootFixtureService,
|
|
103
103
|
deps: [],
|
|
@@ -105,7 +105,7 @@ class RootFixtureService {
|
|
|
105
105
|
});
|
|
106
106
|
static ɵprov = i0.ɵɵngDeclareInjectable({
|
|
107
107
|
minVersion: "12.0.0",
|
|
108
|
-
version: "21.1.
|
|
108
|
+
version: "21.1.4",
|
|
109
109
|
ngImport: i0,
|
|
110
110
|
type: RootFixtureService,
|
|
111
111
|
providedIn: 'root'
|
|
@@ -113,7 +113,7 @@ class RootFixtureService {
|
|
|
113
113
|
}
|
|
114
114
|
i0.ɵɵngDeclareClassMetadata({
|
|
115
115
|
minVersion: "12.0.0",
|
|
116
|
-
version: "21.1.
|
|
116
|
+
version: "21.1.4",
|
|
117
117
|
ngImport: i0,
|
|
118
118
|
type: RootFixtureService,
|
|
119
119
|
decorators: [{
|
|
@@ -130,7 +130,7 @@ class RootCmp {
|
|
|
130
130
|
}] : []));
|
|
131
131
|
static ɵfac = i0.ɵɵngDeclareFactory({
|
|
132
132
|
minVersion: "12.0.0",
|
|
133
|
-
version: "21.1.
|
|
133
|
+
version: "21.1.4",
|
|
134
134
|
ngImport: i0,
|
|
135
135
|
type: RootCmp,
|
|
136
136
|
deps: [],
|
|
@@ -138,7 +138,7 @@ class RootCmp {
|
|
|
138
138
|
});
|
|
139
139
|
static ɵcmp = i0.ɵɵngDeclareComponent({
|
|
140
140
|
minVersion: "14.0.0",
|
|
141
|
-
version: "21.1.
|
|
141
|
+
version: "21.1.4",
|
|
142
142
|
type: RootCmp,
|
|
143
143
|
isStandalone: true,
|
|
144
144
|
selector: "ng-component",
|
|
@@ -163,7 +163,7 @@ class RootCmp {
|
|
|
163
163
|
}
|
|
164
164
|
i0.ɵɵngDeclareClassMetadata({
|
|
165
165
|
minVersion: "12.0.0",
|
|
166
|
-
version: "21.1.
|
|
166
|
+
version: "21.1.4",
|
|
167
167
|
ngImport: i0,
|
|
168
168
|
type: RootCmp,
|
|
169
169
|
decorators: [{
|
package/fesm2022/upgrade.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/router",
|
|
3
|
-
"version": "21.1.
|
|
3
|
+
"version": "21.1.4",
|
|
4
4
|
"description": "Angular - the routing library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"angular",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"@types/dom-navigation": "^1.0.5"
|
|
28
28
|
},
|
|
29
29
|
"peerDependencies": {
|
|
30
|
-
"@angular/core": "21.1.
|
|
31
|
-
"@angular/common": "21.1.
|
|
32
|
-
"@angular/platform-browser": "21.1.
|
|
30
|
+
"@angular/core": "21.1.4",
|
|
31
|
+
"@angular/common": "21.1.4",
|
|
32
|
+
"@angular/platform-browser": "21.1.4",
|
|
33
33
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
34
34
|
},
|
|
35
35
|
"ng-update": {
|
package/types/router.d.ts
CHANGED
package/types/testing.d.ts
CHANGED
package/types/upgrade.d.ts
CHANGED