@angular/compiler 20.0.4 → 20.0.6
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/compiler.mjs +10 -10
- package/fesm2022/compiler.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/package.json +1 -1
package/fesm2022/compiler.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.0.
|
|
2
|
+
* @license Angular v20.0.6
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -33656,7 +33656,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
33656
33656
|
function compileDeclareClassMetadata(metadata) {
|
|
33657
33657
|
const definitionMap = new DefinitionMap();
|
|
33658
33658
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
33659
|
-
definitionMap.set('version', literal('20.0.
|
|
33659
|
+
definitionMap.set('version', literal('20.0.6'));
|
|
33660
33660
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
33661
33661
|
definitionMap.set('type', metadata.type);
|
|
33662
33662
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -33674,7 +33674,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
33674
33674
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
33675
33675
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
33676
33676
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
33677
|
-
definitionMap.set('version', literal('20.0.
|
|
33677
|
+
definitionMap.set('version', literal('20.0.6'));
|
|
33678
33678
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
33679
33679
|
definitionMap.set('type', metadata.type);
|
|
33680
33680
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -33769,7 +33769,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
33769
33769
|
const definitionMap = new DefinitionMap();
|
|
33770
33770
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
33771
33771
|
definitionMap.set('minVersion', literal(minVersion));
|
|
33772
|
-
definitionMap.set('version', literal('20.0.
|
|
33772
|
+
definitionMap.set('version', literal('20.0.6'));
|
|
33773
33773
|
// e.g. `type: MyDirective`
|
|
33774
33774
|
definitionMap.set('type', meta.type.value);
|
|
33775
33775
|
if (meta.isStandalone !== undefined) {
|
|
@@ -34185,7 +34185,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
34185
34185
|
function compileDeclareFactoryFunction(meta) {
|
|
34186
34186
|
const definitionMap = new DefinitionMap();
|
|
34187
34187
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
34188
|
-
definitionMap.set('version', literal('20.0.
|
|
34188
|
+
definitionMap.set('version', literal('20.0.6'));
|
|
34189
34189
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34190
34190
|
definitionMap.set('type', meta.type.value);
|
|
34191
34191
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -34220,7 +34220,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
34220
34220
|
function createInjectableDefinitionMap(meta) {
|
|
34221
34221
|
const definitionMap = new DefinitionMap();
|
|
34222
34222
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
34223
|
-
definitionMap.set('version', literal('20.0.
|
|
34223
|
+
definitionMap.set('version', literal('20.0.6'));
|
|
34224
34224
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34225
34225
|
definitionMap.set('type', meta.type.value);
|
|
34226
34226
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -34271,7 +34271,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
34271
34271
|
function createInjectorDefinitionMap(meta) {
|
|
34272
34272
|
const definitionMap = new DefinitionMap();
|
|
34273
34273
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
34274
|
-
definitionMap.set('version', literal('20.0.
|
|
34274
|
+
definitionMap.set('version', literal('20.0.6'));
|
|
34275
34275
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34276
34276
|
definitionMap.set('type', meta.type.value);
|
|
34277
34277
|
definitionMap.set('providers', meta.providers);
|
|
@@ -34304,7 +34304,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
34304
34304
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
34305
34305
|
}
|
|
34306
34306
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
34307
|
-
definitionMap.set('version', literal('20.0.
|
|
34307
|
+
definitionMap.set('version', literal('20.0.6'));
|
|
34308
34308
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34309
34309
|
definitionMap.set('type', meta.type.value);
|
|
34310
34310
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -34355,7 +34355,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
34355
34355
|
function createPipeDefinitionMap(meta) {
|
|
34356
34356
|
const definitionMap = new DefinitionMap();
|
|
34357
34357
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
34358
|
-
definitionMap.set('version', literal('20.0.
|
|
34358
|
+
definitionMap.set('version', literal('20.0.6'));
|
|
34359
34359
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34360
34360
|
// e.g. `type: MyPipe`
|
|
34361
34361
|
definitionMap.set('type', meta.type.value);
|
|
@@ -34511,7 +34511,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
34511
34511
|
* @description
|
|
34512
34512
|
* Entry point for all public APIs of the compiler package.
|
|
34513
34513
|
*/
|
|
34514
|
-
const VERSION = new Version('20.0.
|
|
34514
|
+
const VERSION = new Version('20.0.6');
|
|
34515
34515
|
|
|
34516
34516
|
//////////////////////////////////////
|
|
34517
34517
|
// THIS FILE HAS GLOBAL SIDE EFFECT //
|