@angular/compiler 21.2.2 → 21.2.4
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.4
|
|
3
3
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -18136,7 +18136,7 @@ function extractPlaceholderName(input) {
|
|
|
18136
18136
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
18137
18137
|
}
|
|
18138
18138
|
|
|
18139
|
-
const TRUSTED_TYPES_SINKS = new Set(['iframe|srcdoc', '*|innerhtml', '*|outerhtml', 'embed|src', 'object|codebase', 'object|data']);
|
|
18139
|
+
const TRUSTED_TYPES_SINKS = new Set(['iframe|srcdoc', '*|innerhtml', '*|outerhtml', 'embed|src', 'iframe|src', 'object|codebase', 'object|data']);
|
|
18140
18140
|
function isTrustedTypesSink(tagName, propName) {
|
|
18141
18141
|
tagName = tagName.toLowerCase();
|
|
18142
18142
|
propName = propName.toLowerCase();
|
|
@@ -28529,7 +28529,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
28529
28529
|
function compileDeclareClassMetadata(metadata) {
|
|
28530
28530
|
const definitionMap = new DefinitionMap();
|
|
28531
28531
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
28532
|
-
definitionMap.set('version', literal('21.2.
|
|
28532
|
+
definitionMap.set('version', literal('21.2.4'));
|
|
28533
28533
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28534
28534
|
definitionMap.set('type', metadata.type);
|
|
28535
28535
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -28547,7 +28547,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
28547
28547
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
28548
28548
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
28549
28549
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
28550
|
-
definitionMap.set('version', literal('21.2.
|
|
28550
|
+
definitionMap.set('version', literal('21.2.4'));
|
|
28551
28551
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28552
28552
|
definitionMap.set('type', metadata.type);
|
|
28553
28553
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -28620,7 +28620,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
28620
28620
|
const definitionMap = new DefinitionMap();
|
|
28621
28621
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
28622
28622
|
definitionMap.set('minVersion', literal(minVersion));
|
|
28623
|
-
definitionMap.set('version', literal('21.2.
|
|
28623
|
+
definitionMap.set('version', literal('21.2.4'));
|
|
28624
28624
|
definitionMap.set('type', meta.type.value);
|
|
28625
28625
|
if (meta.isStandalone !== undefined) {
|
|
28626
28626
|
definitionMap.set('isStandalone', literal(meta.isStandalone));
|
|
@@ -28962,7 +28962,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
28962
28962
|
function compileDeclareFactoryFunction(meta) {
|
|
28963
28963
|
const definitionMap = new DefinitionMap();
|
|
28964
28964
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
28965
|
-
definitionMap.set('version', literal('21.2.
|
|
28965
|
+
definitionMap.set('version', literal('21.2.4'));
|
|
28966
28966
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28967
28967
|
definitionMap.set('type', meta.type.value);
|
|
28968
28968
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -28988,7 +28988,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
28988
28988
|
function createInjectableDefinitionMap(meta) {
|
|
28989
28989
|
const definitionMap = new DefinitionMap();
|
|
28990
28990
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
28991
|
-
definitionMap.set('version', literal('21.2.
|
|
28991
|
+
definitionMap.set('version', literal('21.2.4'));
|
|
28992
28992
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28993
28993
|
definitionMap.set('type', meta.type.value);
|
|
28994
28994
|
if (meta.providedIn !== undefined) {
|
|
@@ -29029,7 +29029,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
29029
29029
|
function createInjectorDefinitionMap(meta) {
|
|
29030
29030
|
const definitionMap = new DefinitionMap();
|
|
29031
29031
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
29032
|
-
definitionMap.set('version', literal('21.2.
|
|
29032
|
+
definitionMap.set('version', literal('21.2.4'));
|
|
29033
29033
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
29034
29034
|
definitionMap.set('type', meta.type.value);
|
|
29035
29035
|
definitionMap.set('providers', meta.providers);
|
|
@@ -29056,7 +29056,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
29056
29056
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
29057
29057
|
}
|
|
29058
29058
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
29059
|
-
definitionMap.set('version', literal('21.2.
|
|
29059
|
+
definitionMap.set('version', literal('21.2.4'));
|
|
29060
29060
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
29061
29061
|
definitionMap.set('type', meta.type.value);
|
|
29062
29062
|
if (meta.bootstrap.length > 0) {
|
|
@@ -29094,7 +29094,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
29094
29094
|
function createPipeDefinitionMap(meta) {
|
|
29095
29095
|
const definitionMap = new DefinitionMap();
|
|
29096
29096
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
29097
|
-
definitionMap.set('version', literal('21.2.
|
|
29097
|
+
definitionMap.set('version', literal('21.2.4'));
|
|
29098
29098
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
29099
29099
|
definitionMap.set('type', meta.type.value);
|
|
29100
29100
|
if (meta.isStandalone !== undefined) {
|
|
@@ -29168,7 +29168,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
29168
29168
|
return new DeclareFunctionStmt(`${meta.className}_UpdateMetadata`, params, body, null, StmtModifier.Final);
|
|
29169
29169
|
}
|
|
29170
29170
|
|
|
29171
|
-
const VERSION = new Version('21.2.
|
|
29171
|
+
const VERSION = new Version('21.2.4');
|
|
29172
29172
|
|
|
29173
29173
|
publishFacade(_global);
|
|
29174
29174
|
|