@angular/compiler 21.2.0-next.0 → 21.2.0-next.1
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.2.0-next.
|
|
2
|
+
* @license Angular v21.2.0-next.1
|
|
3
3
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -28499,7 +28499,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
28499
28499
|
function compileDeclareClassMetadata(metadata) {
|
|
28500
28500
|
const definitionMap = new DefinitionMap();
|
|
28501
28501
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
28502
|
-
definitionMap.set('version', literal('21.2.0-next.
|
|
28502
|
+
definitionMap.set('version', literal('21.2.0-next.1'));
|
|
28503
28503
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28504
28504
|
definitionMap.set('type', metadata.type);
|
|
28505
28505
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -28517,7 +28517,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
28517
28517
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
28518
28518
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
28519
28519
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
28520
|
-
definitionMap.set('version', literal('21.2.0-next.
|
|
28520
|
+
definitionMap.set('version', literal('21.2.0-next.1'));
|
|
28521
28521
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28522
28522
|
definitionMap.set('type', metadata.type);
|
|
28523
28523
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -28590,7 +28590,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
28590
28590
|
const definitionMap = new DefinitionMap();
|
|
28591
28591
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
28592
28592
|
definitionMap.set('minVersion', literal(minVersion));
|
|
28593
|
-
definitionMap.set('version', literal('21.2.0-next.
|
|
28593
|
+
definitionMap.set('version', literal('21.2.0-next.1'));
|
|
28594
28594
|
definitionMap.set('type', meta.type.value);
|
|
28595
28595
|
if (meta.isStandalone !== undefined) {
|
|
28596
28596
|
definitionMap.set('isStandalone', literal(meta.isStandalone));
|
|
@@ -28925,7 +28925,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
28925
28925
|
function compileDeclareFactoryFunction(meta) {
|
|
28926
28926
|
const definitionMap = new DefinitionMap();
|
|
28927
28927
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
28928
|
-
definitionMap.set('version', literal('21.2.0-next.
|
|
28928
|
+
definitionMap.set('version', literal('21.2.0-next.1'));
|
|
28929
28929
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28930
28930
|
definitionMap.set('type', meta.type.value);
|
|
28931
28931
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -28951,7 +28951,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
28951
28951
|
function createInjectableDefinitionMap(meta) {
|
|
28952
28952
|
const definitionMap = new DefinitionMap();
|
|
28953
28953
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
28954
|
-
definitionMap.set('version', literal('21.2.0-next.
|
|
28954
|
+
definitionMap.set('version', literal('21.2.0-next.1'));
|
|
28955
28955
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28956
28956
|
definitionMap.set('type', meta.type.value);
|
|
28957
28957
|
if (meta.providedIn !== undefined) {
|
|
@@ -28992,7 +28992,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
28992
28992
|
function createInjectorDefinitionMap(meta) {
|
|
28993
28993
|
const definitionMap = new DefinitionMap();
|
|
28994
28994
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
28995
|
-
definitionMap.set('version', literal('21.2.0-next.
|
|
28995
|
+
definitionMap.set('version', literal('21.2.0-next.1'));
|
|
28996
28996
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28997
28997
|
definitionMap.set('type', meta.type.value);
|
|
28998
28998
|
definitionMap.set('providers', meta.providers);
|
|
@@ -29019,7 +29019,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
29019
29019
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
29020
29020
|
}
|
|
29021
29021
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
29022
|
-
definitionMap.set('version', literal('21.2.0-next.
|
|
29022
|
+
definitionMap.set('version', literal('21.2.0-next.1'));
|
|
29023
29023
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
29024
29024
|
definitionMap.set('type', meta.type.value);
|
|
29025
29025
|
if (meta.bootstrap.length > 0) {
|
|
@@ -29057,7 +29057,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
29057
29057
|
function createPipeDefinitionMap(meta) {
|
|
29058
29058
|
const definitionMap = new DefinitionMap();
|
|
29059
29059
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
29060
|
-
definitionMap.set('version', literal('21.2.0-next.
|
|
29060
|
+
definitionMap.set('version', literal('21.2.0-next.1'));
|
|
29061
29061
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
29062
29062
|
definitionMap.set('type', meta.type.value);
|
|
29063
29063
|
if (meta.isStandalone !== undefined) {
|
|
@@ -29131,7 +29131,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
29131
29131
|
return new DeclareFunctionStmt(`${meta.className}_UpdateMetadata`, params, body, null, StmtModifier.Final);
|
|
29132
29132
|
}
|
|
29133
29133
|
|
|
29134
|
-
const VERSION = new Version('21.2.0-next.
|
|
29134
|
+
const VERSION = new Version('21.2.0-next.1');
|
|
29135
29135
|
|
|
29136
29136
|
publishFacade(_global);
|
|
29137
29137
|
|