@angular/compiler 20.3.0-rc.0 → 20.3.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/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.3.0
|
|
2
|
+
* @license Angular v20.3.0
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -34323,7 +34323,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
34323
34323
|
function compileDeclareClassMetadata(metadata) {
|
|
34324
34324
|
const definitionMap = new DefinitionMap();
|
|
34325
34325
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
34326
|
-
definitionMap.set('version', literal('20.3.0
|
|
34326
|
+
definitionMap.set('version', literal('20.3.0'));
|
|
34327
34327
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34328
34328
|
definitionMap.set('type', metadata.type);
|
|
34329
34329
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -34341,7 +34341,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
34341
34341
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
34342
34342
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
34343
34343
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
34344
|
-
definitionMap.set('version', literal('20.3.0
|
|
34344
|
+
definitionMap.set('version', literal('20.3.0'));
|
|
34345
34345
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34346
34346
|
definitionMap.set('type', metadata.type);
|
|
34347
34347
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -34436,7 +34436,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
34436
34436
|
const definitionMap = new DefinitionMap();
|
|
34437
34437
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
34438
34438
|
definitionMap.set('minVersion', literal(minVersion));
|
|
34439
|
-
definitionMap.set('version', literal('20.3.0
|
|
34439
|
+
definitionMap.set('version', literal('20.3.0'));
|
|
34440
34440
|
// e.g. `type: MyDirective`
|
|
34441
34441
|
definitionMap.set('type', meta.type.value);
|
|
34442
34442
|
if (meta.isStandalone !== undefined) {
|
|
@@ -34852,7 +34852,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
34852
34852
|
function compileDeclareFactoryFunction(meta) {
|
|
34853
34853
|
const definitionMap = new DefinitionMap();
|
|
34854
34854
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
34855
|
-
definitionMap.set('version', literal('20.3.0
|
|
34855
|
+
definitionMap.set('version', literal('20.3.0'));
|
|
34856
34856
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34857
34857
|
definitionMap.set('type', meta.type.value);
|
|
34858
34858
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -34887,7 +34887,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
34887
34887
|
function createInjectableDefinitionMap(meta) {
|
|
34888
34888
|
const definitionMap = new DefinitionMap();
|
|
34889
34889
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
34890
|
-
definitionMap.set('version', literal('20.3.0
|
|
34890
|
+
definitionMap.set('version', literal('20.3.0'));
|
|
34891
34891
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34892
34892
|
definitionMap.set('type', meta.type.value);
|
|
34893
34893
|
// Only generate providedIn property if it has a non-null value
|
|
@@ -34938,7 +34938,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
34938
34938
|
function createInjectorDefinitionMap(meta) {
|
|
34939
34939
|
const definitionMap = new DefinitionMap();
|
|
34940
34940
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
34941
|
-
definitionMap.set('version', literal('20.3.0
|
|
34941
|
+
definitionMap.set('version', literal('20.3.0'));
|
|
34942
34942
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34943
34943
|
definitionMap.set('type', meta.type.value);
|
|
34944
34944
|
definitionMap.set('providers', meta.providers);
|
|
@@ -34971,7 +34971,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
34971
34971
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
34972
34972
|
}
|
|
34973
34973
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
34974
|
-
definitionMap.set('version', literal('20.3.0
|
|
34974
|
+
definitionMap.set('version', literal('20.3.0'));
|
|
34975
34975
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
34976
34976
|
definitionMap.set('type', meta.type.value);
|
|
34977
34977
|
// We only generate the keys in the metadata if the arrays contain values.
|
|
@@ -35022,7 +35022,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
35022
35022
|
function createPipeDefinitionMap(meta) {
|
|
35023
35023
|
const definitionMap = new DefinitionMap();
|
|
35024
35024
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
35025
|
-
definitionMap.set('version', literal('20.3.0
|
|
35025
|
+
definitionMap.set('version', literal('20.3.0'));
|
|
35026
35026
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
35027
35027
|
// e.g. `type: MyPipe`
|
|
35028
35028
|
definitionMap.set('type', meta.type.value);
|
|
@@ -35178,7 +35178,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
35178
35178
|
* @description
|
|
35179
35179
|
* Entry point for all public APIs of the compiler package.
|
|
35180
35180
|
*/
|
|
35181
|
-
const VERSION = new Version('20.3.0
|
|
35181
|
+
const VERSION = new Version('20.3.0');
|
|
35182
35182
|
|
|
35183
35183
|
//////////////////////////////////////
|
|
35184
35184
|
// THIS FILE HAS GLOBAL SIDE EFFECT //
|