@angular/compiler 21.0.1 → 21.1.0-next.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/package.json +1 -1
- package/types/compiler.d.ts +1 -1
package/fesm2022/compiler.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v21.0.
|
|
2
|
+
* @license Angular v21.1.0-next.0
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -28044,7 +28044,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
28044
28044
|
function compileDeclareClassMetadata(metadata) {
|
|
28045
28045
|
const definitionMap = new DefinitionMap();
|
|
28046
28046
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
28047
|
-
definitionMap.set('version', literal('21.0.
|
|
28047
|
+
definitionMap.set('version', literal('21.1.0-next.0'));
|
|
28048
28048
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28049
28049
|
definitionMap.set('type', metadata.type);
|
|
28050
28050
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -28062,7 +28062,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
28062
28062
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
28063
28063
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
28064
28064
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
28065
|
-
definitionMap.set('version', literal('21.0.
|
|
28065
|
+
definitionMap.set('version', literal('21.1.0-next.0'));
|
|
28066
28066
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28067
28067
|
definitionMap.set('type', metadata.type);
|
|
28068
28068
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -28135,7 +28135,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
28135
28135
|
const definitionMap = new DefinitionMap();
|
|
28136
28136
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
28137
28137
|
definitionMap.set('minVersion', literal(minVersion));
|
|
28138
|
-
definitionMap.set('version', literal('21.0.
|
|
28138
|
+
definitionMap.set('version', literal('21.1.0-next.0'));
|
|
28139
28139
|
definitionMap.set('type', meta.type.value);
|
|
28140
28140
|
if (meta.isStandalone !== undefined) {
|
|
28141
28141
|
definitionMap.set('isStandalone', literal(meta.isStandalone));
|
|
@@ -28467,7 +28467,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
28467
28467
|
function compileDeclareFactoryFunction(meta) {
|
|
28468
28468
|
const definitionMap = new DefinitionMap();
|
|
28469
28469
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
28470
|
-
definitionMap.set('version', literal('21.0.
|
|
28470
|
+
definitionMap.set('version', literal('21.1.0-next.0'));
|
|
28471
28471
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28472
28472
|
definitionMap.set('type', meta.type.value);
|
|
28473
28473
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -28493,7 +28493,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
28493
28493
|
function createInjectableDefinitionMap(meta) {
|
|
28494
28494
|
const definitionMap = new DefinitionMap();
|
|
28495
28495
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
28496
|
-
definitionMap.set('version', literal('21.0.
|
|
28496
|
+
definitionMap.set('version', literal('21.1.0-next.0'));
|
|
28497
28497
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28498
28498
|
definitionMap.set('type', meta.type.value);
|
|
28499
28499
|
if (meta.providedIn !== undefined) {
|
|
@@ -28534,7 +28534,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
28534
28534
|
function createInjectorDefinitionMap(meta) {
|
|
28535
28535
|
const definitionMap = new DefinitionMap();
|
|
28536
28536
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
28537
|
-
definitionMap.set('version', literal('21.0.
|
|
28537
|
+
definitionMap.set('version', literal('21.1.0-next.0'));
|
|
28538
28538
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28539
28539
|
definitionMap.set('type', meta.type.value);
|
|
28540
28540
|
definitionMap.set('providers', meta.providers);
|
|
@@ -28561,7 +28561,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
28561
28561
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
28562
28562
|
}
|
|
28563
28563
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
28564
|
-
definitionMap.set('version', literal('21.0.
|
|
28564
|
+
definitionMap.set('version', literal('21.1.0-next.0'));
|
|
28565
28565
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28566
28566
|
definitionMap.set('type', meta.type.value);
|
|
28567
28567
|
if (meta.bootstrap.length > 0) {
|
|
@@ -28599,7 +28599,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
28599
28599
|
function createPipeDefinitionMap(meta) {
|
|
28600
28600
|
const definitionMap = new DefinitionMap();
|
|
28601
28601
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
28602
|
-
definitionMap.set('version', literal('21.0.
|
|
28602
|
+
definitionMap.set('version', literal('21.1.0-next.0'));
|
|
28603
28603
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28604
28604
|
definitionMap.set('type', meta.type.value);
|
|
28605
28605
|
if (meta.isStandalone !== undefined) {
|
|
@@ -28673,7 +28673,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
28673
28673
|
return new DeclareFunctionStmt(`${meta.className}_UpdateMetadata`, params, body, null, StmtModifier.Final);
|
|
28674
28674
|
}
|
|
28675
28675
|
|
|
28676
|
-
const VERSION = new Version('21.0.
|
|
28676
|
+
const VERSION = new Version('21.1.0-next.0');
|
|
28677
28677
|
|
|
28678
28678
|
publishFacade(_global);
|
|
28679
28679
|
|