@angular/compiler 21.2.5 → 21.2.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 +11 -11
- 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.
|
|
2
|
+
* @license Angular v21.2.6
|
|
3
3
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -6860,7 +6860,7 @@ class ShadowCss {
|
|
|
6860
6860
|
comments.push(m);
|
|
6861
6861
|
} else {
|
|
6862
6862
|
const newLinesMatches = m.match(_newLinesRe);
|
|
6863
|
-
comments.push(
|
|
6863
|
+
comments.push(newLinesMatches?.join('') ?? '');
|
|
6864
6864
|
}
|
|
6865
6865
|
return COMMENT_PLACEHOLDER;
|
|
6866
6866
|
});
|
|
@@ -28527,7 +28527,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
28527
28527
|
function compileDeclareClassMetadata(metadata) {
|
|
28528
28528
|
const definitionMap = new DefinitionMap();
|
|
28529
28529
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
28530
|
-
definitionMap.set('version', literal('21.2.
|
|
28530
|
+
definitionMap.set('version', literal('21.2.6'));
|
|
28531
28531
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28532
28532
|
definitionMap.set('type', metadata.type);
|
|
28533
28533
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -28545,7 +28545,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
28545
28545
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
28546
28546
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
28547
28547
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
28548
|
-
definitionMap.set('version', literal('21.2.
|
|
28548
|
+
definitionMap.set('version', literal('21.2.6'));
|
|
28549
28549
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28550
28550
|
definitionMap.set('type', metadata.type);
|
|
28551
28551
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -28618,7 +28618,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
28618
28618
|
const definitionMap = new DefinitionMap();
|
|
28619
28619
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
28620
28620
|
definitionMap.set('minVersion', literal(minVersion));
|
|
28621
|
-
definitionMap.set('version', literal('21.2.
|
|
28621
|
+
definitionMap.set('version', literal('21.2.6'));
|
|
28622
28622
|
definitionMap.set('type', meta.type.value);
|
|
28623
28623
|
if (meta.isStandalone !== undefined) {
|
|
28624
28624
|
definitionMap.set('isStandalone', literal(meta.isStandalone));
|
|
@@ -28960,7 +28960,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
28960
28960
|
function compileDeclareFactoryFunction(meta) {
|
|
28961
28961
|
const definitionMap = new DefinitionMap();
|
|
28962
28962
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
28963
|
-
definitionMap.set('version', literal('21.2.
|
|
28963
|
+
definitionMap.set('version', literal('21.2.6'));
|
|
28964
28964
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28965
28965
|
definitionMap.set('type', meta.type.value);
|
|
28966
28966
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -28986,7 +28986,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
28986
28986
|
function createInjectableDefinitionMap(meta) {
|
|
28987
28987
|
const definitionMap = new DefinitionMap();
|
|
28988
28988
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
28989
|
-
definitionMap.set('version', literal('21.2.
|
|
28989
|
+
definitionMap.set('version', literal('21.2.6'));
|
|
28990
28990
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28991
28991
|
definitionMap.set('type', meta.type.value);
|
|
28992
28992
|
if (meta.providedIn !== undefined) {
|
|
@@ -29027,7 +29027,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
29027
29027
|
function createInjectorDefinitionMap(meta) {
|
|
29028
29028
|
const definitionMap = new DefinitionMap();
|
|
29029
29029
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
29030
|
-
definitionMap.set('version', literal('21.2.
|
|
29030
|
+
definitionMap.set('version', literal('21.2.6'));
|
|
29031
29031
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
29032
29032
|
definitionMap.set('type', meta.type.value);
|
|
29033
29033
|
definitionMap.set('providers', meta.providers);
|
|
@@ -29054,7 +29054,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
29054
29054
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
29055
29055
|
}
|
|
29056
29056
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
29057
|
-
definitionMap.set('version', literal('21.2.
|
|
29057
|
+
definitionMap.set('version', literal('21.2.6'));
|
|
29058
29058
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
29059
29059
|
definitionMap.set('type', meta.type.value);
|
|
29060
29060
|
if (meta.bootstrap.length > 0) {
|
|
@@ -29092,7 +29092,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
29092
29092
|
function createPipeDefinitionMap(meta) {
|
|
29093
29093
|
const definitionMap = new DefinitionMap();
|
|
29094
29094
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
29095
|
-
definitionMap.set('version', literal('21.2.
|
|
29095
|
+
definitionMap.set('version', literal('21.2.6'));
|
|
29096
29096
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
29097
29097
|
definitionMap.set('type', meta.type.value);
|
|
29098
29098
|
if (meta.isStandalone !== undefined) {
|
|
@@ -29166,7 +29166,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
29166
29166
|
return new DeclareFunctionStmt(`${meta.className}_UpdateMetadata`, params, body, null, StmtModifier.Final);
|
|
29167
29167
|
}
|
|
29168
29168
|
|
|
29169
|
-
const VERSION = new Version('21.2.
|
|
29169
|
+
const VERSION = new Version('21.2.6');
|
|
29170
29170
|
|
|
29171
29171
|
publishFacade(_global);
|
|
29172
29172
|
|