@angular/compiler 22.0.0-next.2 → 22.0.0-next.3
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 v22.0.0-next.
|
|
2
|
+
* @license Angular v22.0.0-next.3
|
|
3
3
|
* (c) 2010-2026 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -18139,7 +18139,7 @@ function extractPlaceholderName(input) {
|
|
|
18139
18139
|
return input.split(_CUSTOM_PH_EXP)[2];
|
|
18140
18140
|
}
|
|
18141
18141
|
|
|
18142
|
-
const TRUSTED_TYPES_SINKS = new Set(['iframe|srcdoc', '*|innerhtml', '*|outerhtml', 'embed|src', 'object|codebase', 'object|data']);
|
|
18142
|
+
const TRUSTED_TYPES_SINKS = new Set(['iframe|srcdoc', '*|innerhtml', '*|outerhtml', 'embed|src', 'iframe|src', 'object|codebase', 'object|data']);
|
|
18143
18143
|
function isTrustedTypesSink(tagName, propName) {
|
|
18144
18144
|
tagName = tagName.toLowerCase();
|
|
18145
18145
|
propName = propName.toLowerCase();
|
|
@@ -28540,7 +28540,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
28540
28540
|
function compileDeclareClassMetadata(metadata) {
|
|
28541
28541
|
const definitionMap = new DefinitionMap();
|
|
28542
28542
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
28543
|
-
definitionMap.set('version', literal('22.0.0-next.
|
|
28543
|
+
definitionMap.set('version', literal('22.0.0-next.3'));
|
|
28544
28544
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28545
28545
|
definitionMap.set('type', metadata.type);
|
|
28546
28546
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -28558,7 +28558,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
28558
28558
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
28559
28559
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
28560
28560
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
28561
|
-
definitionMap.set('version', literal('22.0.0-next.
|
|
28561
|
+
definitionMap.set('version', literal('22.0.0-next.3'));
|
|
28562
28562
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28563
28563
|
definitionMap.set('type', metadata.type);
|
|
28564
28564
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -28631,7 +28631,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
28631
28631
|
const definitionMap = new DefinitionMap();
|
|
28632
28632
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
28633
28633
|
definitionMap.set('minVersion', literal(minVersion));
|
|
28634
|
-
definitionMap.set('version', literal('22.0.0-next.
|
|
28634
|
+
definitionMap.set('version', literal('22.0.0-next.3'));
|
|
28635
28635
|
definitionMap.set('type', meta.type.value);
|
|
28636
28636
|
if (meta.isStandalone !== undefined) {
|
|
28637
28637
|
definitionMap.set('isStandalone', literal(meta.isStandalone));
|
|
@@ -28973,7 +28973,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
28973
28973
|
function compileDeclareFactoryFunction(meta) {
|
|
28974
28974
|
const definitionMap = new DefinitionMap();
|
|
28975
28975
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
28976
|
-
definitionMap.set('version', literal('22.0.0-next.
|
|
28976
|
+
definitionMap.set('version', literal('22.0.0-next.3'));
|
|
28977
28977
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28978
28978
|
definitionMap.set('type', meta.type.value);
|
|
28979
28979
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -28999,7 +28999,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
28999
28999
|
function createInjectableDefinitionMap(meta) {
|
|
29000
29000
|
const definitionMap = new DefinitionMap();
|
|
29001
29001
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
29002
|
-
definitionMap.set('version', literal('22.0.0-next.
|
|
29002
|
+
definitionMap.set('version', literal('22.0.0-next.3'));
|
|
29003
29003
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
29004
29004
|
definitionMap.set('type', meta.type.value);
|
|
29005
29005
|
if (meta.providedIn !== undefined) {
|
|
@@ -29040,7 +29040,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
29040
29040
|
function createInjectorDefinitionMap(meta) {
|
|
29041
29041
|
const definitionMap = new DefinitionMap();
|
|
29042
29042
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
29043
|
-
definitionMap.set('version', literal('22.0.0-next.
|
|
29043
|
+
definitionMap.set('version', literal('22.0.0-next.3'));
|
|
29044
29044
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
29045
29045
|
definitionMap.set('type', meta.type.value);
|
|
29046
29046
|
definitionMap.set('providers', meta.providers);
|
|
@@ -29067,7 +29067,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
29067
29067
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
29068
29068
|
}
|
|
29069
29069
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
29070
|
-
definitionMap.set('version', literal('22.0.0-next.
|
|
29070
|
+
definitionMap.set('version', literal('22.0.0-next.3'));
|
|
29071
29071
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
29072
29072
|
definitionMap.set('type', meta.type.value);
|
|
29073
29073
|
if (meta.bootstrap.length > 0) {
|
|
@@ -29105,7 +29105,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
29105
29105
|
function createPipeDefinitionMap(meta) {
|
|
29106
29106
|
const definitionMap = new DefinitionMap();
|
|
29107
29107
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
29108
|
-
definitionMap.set('version', literal('22.0.0-next.
|
|
29108
|
+
definitionMap.set('version', literal('22.0.0-next.3'));
|
|
29109
29109
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
29110
29110
|
definitionMap.set('type', meta.type.value);
|
|
29111
29111
|
if (meta.isStandalone !== undefined) {
|
|
@@ -29179,7 +29179,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
29179
29179
|
return new DeclareFunctionStmt(`${meta.className}_UpdateMetadata`, params, body, null, StmtModifier.Final);
|
|
29180
29180
|
}
|
|
29181
29181
|
|
|
29182
|
-
const VERSION = new Version('22.0.0-next.
|
|
29182
|
+
const VERSION = new Version('22.0.0-next.3');
|
|
29183
29183
|
|
|
29184
29184
|
publishFacade(_global);
|
|
29185
29185
|
|