@angular/compiler 21.1.0-next.3 → 21.1.0-next.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 +12 -12
- 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.1.0-next.
|
|
2
|
+
* @license Angular v21.1.0-next.4
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -17043,8 +17043,8 @@ function SECURITY_SCHEMA() {
|
|
|
17043
17043
|
_SECURITY_SCHEMA = {};
|
|
17044
17044
|
registerContext(SecurityContext.HTML, ['iframe|srcdoc', '*|innerHTML', '*|outerHTML']);
|
|
17045
17045
|
registerContext(SecurityContext.STYLE, ['*|style']);
|
|
17046
|
-
registerContext(SecurityContext.URL, ['*|formAction', 'area|href', '
|
|
17047
|
-
registerContext(SecurityContext.RESOURCE_URL, ['
|
|
17046
|
+
registerContext(SecurityContext.URL, ['*|formAction', 'area|href', 'a|href', 'a|xlink:href', 'form|action', 'annotation|href', 'annotation|xlink:href', 'annotation-xml|href', 'annotation-xml|xlink:href', 'maction|href', 'maction|xlink:href', 'malignmark|href', 'malignmark|xlink:href', 'math|href', 'math|xlink:href', 'mroot|href', 'mroot|xlink:href', 'msqrt|href', 'msqrt|xlink:href', 'merror|href', 'merror|xlink:href', 'mfrac|href', 'mfrac|xlink:href', 'mglyph|href', 'mglyph|xlink:href', 'msub|href', 'msub|xlink:href', 'msup|href', 'msup|xlink:href', 'msubsup|href', 'msubsup|xlink:href', 'mmultiscripts|href', 'mmultiscripts|xlink:href', 'mprescripts|href', 'mprescripts|xlink:href', 'mi|href', 'mi|xlink:href', 'mn|href', 'mn|xlink:href', 'mo|href', 'mo|xlink:href', 'mpadded|href', 'mpadded|xlink:href', 'mphantom|href', 'mphantom|xlink:href', 'mrow|href', 'mrow|xlink:href', 'ms|href', 'ms|xlink:href', 'mspace|href', 'mspace|xlink:href', 'mstyle|href', 'mstyle|xlink:href', 'mtable|href', 'mtable|xlink:href', 'mtd|href', 'mtd|xlink:href', 'mtr|href', 'mtr|xlink:href', 'mtext|href', 'mtext|xlink:href', 'mover|href', 'mover|xlink:href', 'munder|href', 'munder|xlink:href', 'munderover|href', 'munderover|xlink:href', 'semantics|href', 'semantics|xlink:href', 'none|href', 'none|xlink:href', 'img|src', 'video|src']);
|
|
17047
|
+
registerContext(SecurityContext.RESOURCE_URL, ['base|href', 'embed|src', 'frame|src', 'iframe|src', 'link|href', 'object|codebase', 'object|data', 'script|src']);
|
|
17048
17048
|
registerContext(SecurityContext.ATTRIBUTE_NO_BINDING, ['animate|attributeName', 'set|attributeName', 'animateMotion|attributeName', 'animateTransform|attributeName', 'unknown|attributeName', 'iframe|sandbox', 'iframe|allow', 'iframe|allowFullscreen', 'iframe|referrerPolicy', 'iframe|csp', 'iframe|fetchPriority', 'unknown|sandbox', 'unknown|allow', 'unknown|allowFullscreen', 'unknown|referrerPolicy', 'unknown|csp', 'unknown|fetchPriority']);
|
|
17049
17049
|
}
|
|
17050
17050
|
return _SECURITY_SCHEMA;
|
|
@@ -28046,7 +28046,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
|
|
|
28046
28046
|
function compileDeclareClassMetadata(metadata) {
|
|
28047
28047
|
const definitionMap = new DefinitionMap();
|
|
28048
28048
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
28049
|
-
definitionMap.set('version', literal('21.1.0-next.
|
|
28049
|
+
definitionMap.set('version', literal('21.1.0-next.4'));
|
|
28050
28050
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28051
28051
|
definitionMap.set('type', metadata.type);
|
|
28052
28052
|
definitionMap.set('decorators', metadata.decorators);
|
|
@@ -28064,7 +28064,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
28064
28064
|
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
|
|
28065
28065
|
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
|
|
28066
28066
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
28067
|
-
definitionMap.set('version', literal('21.1.0-next.
|
|
28067
|
+
definitionMap.set('version', literal('21.1.0-next.4'));
|
|
28068
28068
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28069
28069
|
definitionMap.set('type', metadata.type);
|
|
28070
28070
|
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -28137,7 +28137,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
28137
28137
|
const definitionMap = new DefinitionMap();
|
|
28138
28138
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
28139
28139
|
definitionMap.set('minVersion', literal(minVersion));
|
|
28140
|
-
definitionMap.set('version', literal('21.1.0-next.
|
|
28140
|
+
definitionMap.set('version', literal('21.1.0-next.4'));
|
|
28141
28141
|
definitionMap.set('type', meta.type.value);
|
|
28142
28142
|
if (meta.isStandalone !== undefined) {
|
|
28143
28143
|
definitionMap.set('isStandalone', literal(meta.isStandalone));
|
|
@@ -28469,7 +28469,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
|
|
|
28469
28469
|
function compileDeclareFactoryFunction(meta) {
|
|
28470
28470
|
const definitionMap = new DefinitionMap();
|
|
28471
28471
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
28472
|
-
definitionMap.set('version', literal('21.1.0-next.
|
|
28472
|
+
definitionMap.set('version', literal('21.1.0-next.4'));
|
|
28473
28473
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28474
28474
|
definitionMap.set('type', meta.type.value);
|
|
28475
28475
|
definitionMap.set('deps', compileDependencies(meta.deps));
|
|
@@ -28495,7 +28495,7 @@ function compileDeclareInjectableFromMetadata(meta) {
|
|
|
28495
28495
|
function createInjectableDefinitionMap(meta) {
|
|
28496
28496
|
const definitionMap = new DefinitionMap();
|
|
28497
28497
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
28498
|
-
definitionMap.set('version', literal('21.1.0-next.
|
|
28498
|
+
definitionMap.set('version', literal('21.1.0-next.4'));
|
|
28499
28499
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28500
28500
|
definitionMap.set('type', meta.type.value);
|
|
28501
28501
|
if (meta.providedIn !== undefined) {
|
|
@@ -28536,7 +28536,7 @@ function compileDeclareInjectorFromMetadata(meta) {
|
|
|
28536
28536
|
function createInjectorDefinitionMap(meta) {
|
|
28537
28537
|
const definitionMap = new DefinitionMap();
|
|
28538
28538
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
28539
|
-
definitionMap.set('version', literal('21.1.0-next.
|
|
28539
|
+
definitionMap.set('version', literal('21.1.0-next.4'));
|
|
28540
28540
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28541
28541
|
definitionMap.set('type', meta.type.value);
|
|
28542
28542
|
definitionMap.set('providers', meta.providers);
|
|
@@ -28563,7 +28563,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
28563
28563
|
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
|
|
28564
28564
|
}
|
|
28565
28565
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
28566
|
-
definitionMap.set('version', literal('21.1.0-next.
|
|
28566
|
+
definitionMap.set('version', literal('21.1.0-next.4'));
|
|
28567
28567
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28568
28568
|
definitionMap.set('type', meta.type.value);
|
|
28569
28569
|
if (meta.bootstrap.length > 0) {
|
|
@@ -28601,7 +28601,7 @@ function compileDeclarePipeFromMetadata(meta) {
|
|
|
28601
28601
|
function createPipeDefinitionMap(meta) {
|
|
28602
28602
|
const definitionMap = new DefinitionMap();
|
|
28603
28603
|
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
28604
|
-
definitionMap.set('version', literal('21.1.0-next.
|
|
28604
|
+
definitionMap.set('version', literal('21.1.0-next.4'));
|
|
28605
28605
|
definitionMap.set('ngImport', importExpr(Identifiers.core));
|
|
28606
28606
|
definitionMap.set('type', meta.type.value);
|
|
28607
28607
|
if (meta.isStandalone !== undefined) {
|
|
@@ -28675,7 +28675,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
28675
28675
|
return new DeclareFunctionStmt(`${meta.className}_UpdateMetadata`, params, body, null, StmtModifier.Final);
|
|
28676
28676
|
}
|
|
28677
28677
|
|
|
28678
|
-
const VERSION = new Version('21.1.0-next.
|
|
28678
|
+
const VERSION = new Version('21.1.0-next.4');
|
|
28679
28679
|
|
|
28680
28680
|
publishFacade(_global);
|
|
28681
28681
|
|