@angular/core 19.2.2 → 19.2.3
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/core.mjs +74 -59
- package/fesm2022/core.mjs.map +1 -1
- package/fesm2022/primitives/di.mjs +1 -1
- package/fesm2022/primitives/event-dispatch.mjs +1 -1
- package/fesm2022/primitives/signals.mjs +9 -3
- package/fesm2022/primitives/signals.mjs.map +1 -1
- package/fesm2022/rxjs-interop.mjs +1 -1
- package/fesm2022/testing.mjs +2 -2
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/weak_ref-DrMdAIDh.mjs +1 -1
- package/index.d.ts +2 -2
- package/navigation_types.d-u4EOrrdZ.d.ts +1 -1
- package/package.json +1 -1
- package/primitives/di/index.d.ts +24 -10
- package/primitives/event-dispatch/index.d.ts +1 -1
- package/primitives/signals/index.d.ts +3 -3
- package/rxjs-interop/index.d.ts +1 -1
- package/schematics/bundles/{apply_import_manager-C8MABThs.js → apply_import_manager-BynuozbO.js} +2 -2
- package/schematics/bundles/checker-DP-zos5Q.js +2 -2
- package/schematics/bundles/cleanup-unused-imports.js +5 -5
- package/schematics/bundles/compiler_host-DzM2hemp.js +1 -1
- package/schematics/bundles/control-flow-migration.js +1 -1
- package/schematics/bundles/explicit-standalone-flag.js +1 -1
- package/schematics/bundles/imports-CIX-JgAN.js +1 -1
- package/schematics/bundles/{index-CrKEaRj_.js → index-BPqwMr5d.js} +3 -3
- package/schematics/bundles/{index-CEdDCtp8.js → index-CPpyW--c.js} +3 -3
- package/schematics/bundles/inject-migration.js +1 -1
- package/schematics/bundles/leading_space-D9nQ8UQC.js +1 -1
- package/schematics/bundles/{migrate_ts_type_references-C0325A9V.js → migrate_ts_type_references-Ri-K4P_1.js} +4 -4
- package/schematics/bundles/ng_decorators-DznZ5jMl.js +1 -1
- package/schematics/bundles/nodes-B16H9JUd.js +1 -1
- package/schematics/bundles/output-migration.js +5 -5
- package/schematics/bundles/pending-tasks.js +1 -1
- package/schematics/bundles/{program-CRYsSwIq.js → program-BmLi-Vxz.js} +34 -12
- package/schematics/bundles/{project_paths-BoRVJPjW.js → project_paths-CXXqWSoY.js} +2 -2
- package/schematics/bundles/project_tsconfig_paths-CDVxT6Ov.js +1 -1
- package/schematics/bundles/property_name-BBwFuqMe.js +1 -1
- package/schematics/bundles/provide-initializer.js +1 -1
- package/schematics/bundles/route-lazy-loading.js +1 -1
- package/schematics/bundles/self-closing-tags-migration.js +3 -3
- package/schematics/bundles/signal-input-migration.js +6 -6
- package/schematics/bundles/signal-queries-migration.js +6 -6
- package/schematics/bundles/signals.js +6 -6
- package/schematics/bundles/standalone-migration.js +3 -3
- package/testing/index.d.ts +1 -1
- package/weak_ref.d-ttyj86RV.d.ts +1 -1
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.
|
|
2
|
+
* @license Angular v19.2.3
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -11233,7 +11233,7 @@ declare function internalProvideZoneChangeDetection({ ngZoneFactory, ignoreChang
|
|
|
11233
11233
|
* ```
|
|
11234
11234
|
*
|
|
11235
11235
|
* @publicApi
|
|
11236
|
-
* @see {@link /api/
|
|
11236
|
+
* @see {@link /api/platform-browser/bootstrapApplication bootstrapApplication}
|
|
11237
11237
|
* @see {@link NgZoneOptions}
|
|
11238
11238
|
*/
|
|
11239
11239
|
declare function provideZoneChangeDetection(options?: NgZoneOptions): EnvironmentProviders;
|
package/package.json
CHANGED
package/primitives/di/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.
|
|
2
|
+
* @license Angular v19.2.3
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -20,18 +20,32 @@ interface Type<T> extends Function {
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
|
-
* Information about how a type or `InjectionToken` interfaces with the DI
|
|
23
|
+
* Information about how a type or `InjectionToken` interfaces with the DI
|
|
24
|
+
* system. This describes:
|
|
24
25
|
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
26
|
+
* 1. *How* the type is provided
|
|
27
|
+
* The declaration must specify only one of the following:
|
|
28
|
+
* - A `value` which is a predefined instance of the type.
|
|
29
|
+
* - A `factory` which defines how to create the given type `T`, possibly
|
|
30
|
+
* requesting injection of other types if necessary.
|
|
31
|
+
* - Neither, in which case the type is expected to already be present in the
|
|
32
|
+
* injector hierarchy. This is used for internal use cases.
|
|
27
33
|
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
34
|
+
* 2. *Where* the type is stored (if it is stored)
|
|
35
|
+
* - The `providedIn` parameter specifies which injector the type belongs to.
|
|
36
|
+
* - The `token` is used as the key to store the type in the injector.
|
|
31
37
|
*/
|
|
32
38
|
interface ɵɵInjectableDeclaration<T> {
|
|
33
39
|
/**
|
|
34
|
-
* Specifies that the given type belongs to a particular
|
|
40
|
+
* Specifies that the given type belongs to a particular `Injector`,
|
|
41
|
+
* `NgModule`, or a special scope (e.g. `'root'`).
|
|
42
|
+
*
|
|
43
|
+
* `any` is deprecated and will be removed soon.
|
|
44
|
+
*
|
|
45
|
+
* A value of `null` indicates that the injectable does not belong to any
|
|
46
|
+
* scope, and won't be stored in any injector. For declarations with a
|
|
47
|
+
* factory, this will create a new instance of the type each time it is
|
|
48
|
+
* requested.
|
|
35
49
|
*/
|
|
36
50
|
providedIn: Type<any> | 'root' | 'platform' | 'any' | null;
|
|
37
51
|
/**
|
|
@@ -43,11 +57,11 @@ interface ɵɵInjectableDeclaration<T> {
|
|
|
43
57
|
/**
|
|
44
58
|
* Factory method to execute to create an instance of the injectable.
|
|
45
59
|
*/
|
|
46
|
-
factory
|
|
60
|
+
factory?: (t?: Type<any>) => T;
|
|
47
61
|
/**
|
|
48
62
|
* In a case of no explicit injector, a location where the instance of the injectable is stored.
|
|
49
63
|
*/
|
|
50
|
-
value
|
|
64
|
+
value?: T;
|
|
51
65
|
}
|
|
52
66
|
/**
|
|
53
67
|
* A `Type` which has a `ɵprov: ɵɵInjectableDeclaration` static field.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.
|
|
2
|
+
* @license Angular v19.2.3
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -218,7 +218,7 @@ type ComputedGetter<T> = (() => T) & {
|
|
|
218
218
|
/**
|
|
219
219
|
* Create a computed signal which derives a reactive value from an expression.
|
|
220
220
|
*/
|
|
221
|
-
declare function createComputed<T>(computation: () => T): ComputedGetter<T>;
|
|
221
|
+
declare function createComputed<T>(computation: () => T, equal?: ValueEqualityFn<T>): ComputedGetter<T>;
|
|
222
222
|
|
|
223
223
|
type ComputationFn<S, D> = (source: S, previous?: {
|
|
224
224
|
source: S;
|
|
@@ -269,7 +269,7 @@ interface SignalGetter<T> extends SignalBaseGetter<T> {
|
|
|
269
269
|
/**
|
|
270
270
|
* Create a `Signal` that can be set or updated directly.
|
|
271
271
|
*/
|
|
272
|
-
declare function createSignal<T>(initialValue: T): SignalGetter<T>;
|
|
272
|
+
declare function createSignal<T>(initialValue: T, equal?: ValueEqualityFn<T>): SignalGetter<T>;
|
|
273
273
|
declare function setPostSignalSetFn(fn: (() => void) | null): (() => void) | null;
|
|
274
274
|
declare function signalSetFn<T>(node: SignalNode<T>, newValue: T): void;
|
|
275
275
|
declare function signalUpdateFn<T>(node: SignalNode<T>, updater: (value: T) => T): void;
|
package/rxjs-interop/index.d.ts
CHANGED
package/schematics/bundles/{apply_import_manager-C8MABThs.js → apply_import_manager-BynuozbO.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
3
|
+
* @license Angular v19.2.3
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
10
|
require('os');
|
|
11
11
|
var checker = require('./checker-DP-zos5Q.js');
|
|
12
|
-
var project_paths = require('./project_paths-
|
|
12
|
+
var project_paths = require('./project_paths-CXXqWSoY.js');
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
15
|
* Applies import manager changes, and writes them as replacements the
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
3
|
+
* @license Angular v19.2.3
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -30721,7 +30721,7 @@ function publishFacade(global) {
|
|
|
30721
30721
|
* @description
|
|
30722
30722
|
* Entry point for all public APIs of the compiler package.
|
|
30723
30723
|
*/
|
|
30724
|
-
new Version('19.2.
|
|
30724
|
+
new Version('19.2.3');
|
|
30725
30725
|
|
|
30726
30726
|
const _I18N_ATTR = 'i18n';
|
|
30727
30727
|
const _I18N_ATTR_PREFIX = 'i18n-';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
3
|
+
* @license Angular v19.2.3
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
|
|
9
9
|
var schematics = require('@angular-devkit/schematics');
|
|
10
10
|
var project_tsconfig_paths = require('./project_tsconfig_paths-CDVxT6Ov.js');
|
|
11
|
-
var project_paths = require('./project_paths-
|
|
11
|
+
var project_paths = require('./project_paths-CXXqWSoY.js');
|
|
12
12
|
require('os');
|
|
13
13
|
var ts = require('typescript');
|
|
14
14
|
var checker = require('./checker-DP-zos5Q.js');
|
|
15
|
-
var program = require('./program-
|
|
15
|
+
var program = require('./program-BmLi-Vxz.js');
|
|
16
16
|
require('path');
|
|
17
|
-
require('./index-
|
|
18
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
17
|
+
require('./index-BPqwMr5d.js');
|
|
18
|
+
var apply_import_manager = require('./apply_import_manager-BynuozbO.js');
|
|
19
19
|
require('@angular-devkit/core');
|
|
20
20
|
require('node:path/posix');
|
|
21
21
|
require('fs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
3
|
+
* @license Angular v19.2.3
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
require('os');
|
|
10
10
|
require('typescript');
|
|
11
11
|
var checker = require('./checker-DP-zos5Q.js');
|
|
12
|
-
require('./program-
|
|
12
|
+
require('./program-BmLi-Vxz.js');
|
|
13
13
|
require('path');
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -17,7 +17,7 @@ require('path');
|
|
|
17
17
|
* @description
|
|
18
18
|
* Entry point for all public APIs of the compiler-cli package.
|
|
19
19
|
*/
|
|
20
|
-
new checker.Version('19.2.
|
|
20
|
+
new checker.Version('19.2.3');
|
|
21
21
|
|
|
22
22
|
var LogLevel;
|
|
23
23
|
(function (LogLevel) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
3
|
+
* @license Angular v19.2.3
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
var ts = require('typescript');
|
|
10
10
|
require('os');
|
|
11
11
|
var checker = require('./checker-DP-zos5Q.js');
|
|
12
|
-
var program = require('./program-
|
|
12
|
+
var program = require('./program-BmLi-Vxz.js');
|
|
13
13
|
require('path');
|
|
14
|
-
var project_paths = require('./project_paths-
|
|
14
|
+
var project_paths = require('./project_paths-CXXqWSoY.js');
|
|
15
15
|
|
|
16
16
|
function getMemberName(member) {
|
|
17
17
|
if (member.name === undefined) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
3
|
+
* @license Angular v19.2.3
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -10,10 +10,10 @@ var checker = require('./checker-DP-zos5Q.js');
|
|
|
10
10
|
var ts = require('typescript');
|
|
11
11
|
require('os');
|
|
12
12
|
var assert = require('assert');
|
|
13
|
-
var index = require('./index-
|
|
14
|
-
var project_paths = require('./project_paths-
|
|
13
|
+
var index = require('./index-CPpyW--c.js');
|
|
14
|
+
var project_paths = require('./project_paths-CXXqWSoY.js');
|
|
15
15
|
var leading_space = require('./leading_space-D9nQ8UQC.js');
|
|
16
|
-
require('./program-
|
|
16
|
+
require('./program-BmLi-Vxz.js');
|
|
17
17
|
require('path');
|
|
18
18
|
|
|
19
19
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
3
|
+
* @license Angular v19.2.3
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
|
|
9
9
|
var schematics = require('@angular-devkit/schematics');
|
|
10
10
|
var project_tsconfig_paths = require('./project_tsconfig_paths-CDVxT6Ov.js');
|
|
11
|
-
var project_paths = require('./project_paths-
|
|
11
|
+
var project_paths = require('./project_paths-CXXqWSoY.js');
|
|
12
12
|
require('os');
|
|
13
13
|
var ts = require('typescript');
|
|
14
14
|
var checker = require('./checker-DP-zos5Q.js');
|
|
15
|
-
var program = require('./program-
|
|
15
|
+
var program = require('./program-BmLi-Vxz.js');
|
|
16
16
|
require('path');
|
|
17
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
18
|
-
var index = require('./index-
|
|
17
|
+
var apply_import_manager = require('./apply_import_manager-BynuozbO.js');
|
|
18
|
+
var index = require('./index-CPpyW--c.js');
|
|
19
19
|
require('@angular-devkit/core');
|
|
20
20
|
require('node:path/posix');
|
|
21
21
|
require('fs');
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
3
|
+
* @license Angular v19.2.3
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -1007,7 +1007,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
1007
1007
|
function compileDeclareClassMetadata(metadata) {
|
|
1008
1008
|
const definitionMap = new checker.DefinitionMap();
|
|
1009
1009
|
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
1010
|
-
definitionMap.set('version', checker.literal('19.2.
|
|
1010
|
+
definitionMap.set('version', checker.literal('19.2.3'));
|
|
1011
1011
|
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
|
|
1012
1012
|
definitionMap.set('type', metadata.type);
|
|
1013
1013
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -1025,7 +1025,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
1025
1025
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? checker.literal(null));
|
|
1026
1026
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? checker.literal(null));
|
|
1027
1027
|
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
1028
|
-
definitionMap.set('version', checker.literal('19.2.
|
|
1028
|
+
definitionMap.set('version', checker.literal('19.2.3'));
|
|
1029
1029
|
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
|
|
1030
1030
|
definitionMap.set('type', metadata.type);
|
|
1031
1031
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -1120,7 +1120,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
1120
1120
|
const definitionMap = new checker.DefinitionMap();
|
|
1121
1121
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
1122
1122
|
definitionMap.set('minVersion', checker.literal(minVersion));
|
|
1123
|
-
definitionMap.set('version', checker.literal('19.2.
|
|
1123
|
+
definitionMap.set('version', checker.literal('19.2.3'));
|
|
1124
1124
|
// e.g. `type: MyDirective`
|
|
1125
1125
|
definitionMap.set('type', meta.type.value);
|
|
1126
1126
|
if (meta.isStandalone !== undefined) {
|
|
@@ -1536,7 +1536,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
1536
1536
|
function compileDeclareFactoryFunction(meta) {
|
|
1537
1537
|
const definitionMap = new checker.DefinitionMap();
|
|
1538
1538
|
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
1539
|
-
definitionMap.set('version', checker.literal('19.2.
|
|
1539
|
+
definitionMap.set('version', checker.literal('19.2.3'));
|
|
1540
1540
|
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
|
|
1541
1541
|
definitionMap.set('type', meta.type.value);
|
|
1542
1542
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -1571,7 +1571,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
1571
1571
|
function createInjectableDefinitionMap(meta) {
|
|
1572
1572
|
const definitionMap = new checker.DefinitionMap();
|
|
1573
1573
|
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
1574
|
-
definitionMap.set('version', checker.literal('19.2.
|
|
1574
|
+
definitionMap.set('version', checker.literal('19.2.3'));
|
|
1575
1575
|
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
|
|
1576
1576
|
definitionMap.set('type', meta.type.value);
|
|
1577
1577
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -1622,7 +1622,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
1622
1622
|
function createInjectorDefinitionMap(meta) {
|
|
1623
1623
|
const definitionMap = new checker.DefinitionMap();
|
|
1624
1624
|
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
1625
|
-
definitionMap.set('version', checker.literal('19.2.
|
|
1625
|
+
definitionMap.set('version', checker.literal('19.2.3'));
|
|
1626
1626
|
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
|
|
1627
1627
|
definitionMap.set('type', meta.type.value);
|
|
1628
1628
|
definitionMap.set('providers', meta.providers);
|
|
@@ -1655,7 +1655,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
1655
1655
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
1656
1656
|
}
|
|
1657
1657
|
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
1658
|
-
definitionMap.set('version', checker.literal('19.2.
|
|
1658
|
+
definitionMap.set('version', checker.literal('19.2.3'));
|
|
1659
1659
|
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
|
|
1660
1660
|
definitionMap.set('type', meta.type.value);
|
|
1661
1661
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -1706,7 +1706,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
1706
1706
|
function createPipeDefinitionMap(meta) {
|
|
1707
1707
|
const definitionMap = new checker.DefinitionMap();
|
|
1708
1708
|
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
1709
|
-
definitionMap.set('version', checker.literal('19.2.
|
|
1709
|
+
definitionMap.set('version', checker.literal('19.2.3'));
|
|
1710
1710
|
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
|
|
1711
1711
|
// e.g. `type: MyPipe`
|
|
1712
1712
|
definitionMap.set('type', meta.type.value);
|
|
@@ -7771,7 +7771,8 @@ function validateAndFlattenComponentImports(imports, expr, isDeferred) {
|
|
|
7771
7771
|
};
|
|
7772
7772
|
}
|
|
7773
7773
|
const diagnostics = [];
|
|
7774
|
-
for (
|
|
7774
|
+
for (let i = 0; i < imports.length; i++) {
|
|
7775
|
+
const ref = imports[i];
|
|
7775
7776
|
if (Array.isArray(ref)) {
|
|
7776
7777
|
const { imports: childImports, diagnostics: childDiagnostics } = validateAndFlattenComponentImports(ref, expr, isDeferred);
|
|
7777
7778
|
flattened.push(...childImports);
|
|
@@ -7798,7 +7799,28 @@ function validateAndFlattenComponentImports(imports, expr, isDeferred) {
|
|
|
7798
7799
|
`consider importing them in the application bootstrap instead.`));
|
|
7799
7800
|
}
|
|
7800
7801
|
else {
|
|
7801
|
-
|
|
7802
|
+
let diagnosticNode;
|
|
7803
|
+
let diagnosticValue;
|
|
7804
|
+
if (ref instanceof checker.DynamicValue) {
|
|
7805
|
+
diagnosticNode = ref.node;
|
|
7806
|
+
diagnosticValue = ref;
|
|
7807
|
+
}
|
|
7808
|
+
else if (ts.isArrayLiteralExpression(expr) &&
|
|
7809
|
+
expr.elements.length === imports.length &&
|
|
7810
|
+
!expr.elements.some(ts.isSpreadAssignment) &&
|
|
7811
|
+
!imports.some(Array.isArray)) {
|
|
7812
|
+
// Reporting a diagnostic on the entire array can be noisy, especially if the user has a
|
|
7813
|
+
// large array. The most common case is that the array will be static so we can reliably
|
|
7814
|
+
// trace back a `ResolvedValue` back to its node using its index. This allows us to report
|
|
7815
|
+
// the exact node that caused the issue.
|
|
7816
|
+
diagnosticNode = expr.elements[i];
|
|
7817
|
+
diagnosticValue = ref;
|
|
7818
|
+
}
|
|
7819
|
+
else {
|
|
7820
|
+
diagnosticNode = expr;
|
|
7821
|
+
diagnosticValue = imports;
|
|
7822
|
+
}
|
|
7823
|
+
diagnostics.push(checker.createValueHasWrongTypeError(diagnosticNode, diagnosticValue, errorMessage).toDiagnostic());
|
|
7802
7824
|
}
|
|
7803
7825
|
}
|
|
7804
7826
|
return { imports: flattened, diagnostics };
|
|
@@ -18530,7 +18552,7 @@ var semver = /*@__PURE__*/getDefaultExportFromCjs(semverExports);
|
|
|
18530
18552
|
* @param minVersion Minimum required version for the feature.
|
|
18531
18553
|
*/
|
|
18532
18554
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
18533
|
-
// A version of `19.2.
|
|
18555
|
+
// A version of `19.2.3` usually means that core is at head so it supports
|
|
18534
18556
|
// all features. Use string interpolation prevent the placeholder from being replaced
|
|
18535
18557
|
// with the current version during build time.
|
|
18536
18558
|
if (coreVersion === `0.0.0-${'PLACEHOLDER'}`) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
3
|
+
* @license Angular v19.2.3
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -11,7 +11,7 @@ var posixPath = require('node:path/posix');
|
|
|
11
11
|
var os = require('os');
|
|
12
12
|
var ts = require('typescript');
|
|
13
13
|
var checker = require('./checker-DP-zos5Q.js');
|
|
14
|
-
var program = require('./program-
|
|
14
|
+
var program = require('./program-BmLi-Vxz.js');
|
|
15
15
|
require('path');
|
|
16
16
|
|
|
17
17
|
function _interopNamespaceDefault(e) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
3
|
+
* @license Angular v19.2.3
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
|
|
9
9
|
var schematics = require('@angular-devkit/schematics');
|
|
10
10
|
var project_tsconfig_paths = require('./project_tsconfig_paths-CDVxT6Ov.js');
|
|
11
|
-
var project_paths = require('./project_paths-
|
|
11
|
+
var project_paths = require('./project_paths-CXXqWSoY.js');
|
|
12
12
|
require('os');
|
|
13
13
|
var ts = require('typescript');
|
|
14
14
|
var checker = require('./checker-DP-zos5Q.js');
|
|
15
|
-
require('./program-
|
|
15
|
+
require('./program-BmLi-Vxz.js');
|
|
16
16
|
require('path');
|
|
17
17
|
var ng_decorators = require('./ng_decorators-DznZ5jMl.js');
|
|
18
18
|
var property_name = require('./property_name-BBwFuqMe.js');
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
/**
|
|
3
|
-
* @license Angular v19.2.
|
|
3
|
+
* @license Angular v19.2.3
|
|
4
4
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
5
5
|
* License: MIT
|
|
6
6
|
*/
|
|
7
7
|
'use strict';
|
|
8
8
|
|
|
9
9
|
var schematics = require('@angular-devkit/schematics');
|
|
10
|
-
var migrate_ts_type_references = require('./migrate_ts_type_references-
|
|
10
|
+
var migrate_ts_type_references = require('./migrate_ts_type_references-Ri-K4P_1.js');
|
|
11
11
|
var ts = require('typescript');
|
|
12
12
|
require('os');
|
|
13
13
|
var checker = require('./checker-DP-zos5Q.js');
|
|
14
|
-
var program = require('./program-
|
|
14
|
+
var program = require('./program-BmLi-Vxz.js');
|
|
15
15
|
require('path');
|
|
16
|
-
var project_paths = require('./project_paths-
|
|
17
|
-
var index = require('./index-
|
|
16
|
+
var project_paths = require('./project_paths-CXXqWSoY.js');
|
|
17
|
+
var index = require('./index-CPpyW--c.js');
|
|
18
18
|
var assert = require('assert');
|
|
19
|
-
var apply_import_manager = require('./apply_import_manager-
|
|
19
|
+
var apply_import_manager = require('./apply_import_manager-BynuozbO.js');
|
|
20
20
|
var project_tsconfig_paths = require('./project_tsconfig_paths-CDVxT6Ov.js');
|
|
21
21
|
require('./leading_space-D9nQ8UQC.js');
|
|
22
22
|
require('fs');
|