@angular-eslint/bundled-angular-compiler 21.1.1-alpha.0 → 21.1.1-alpha.10
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/dist/index.js +60 -60
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -281,7 +281,7 @@ __export(index_exports, {
|
|
|
281
281
|
});
|
|
282
282
|
module.exports = __toCommonJS(index_exports);
|
|
283
283
|
|
|
284
|
-
// ../../node_modules/.pnpm/@angular+compiler@21.0.
|
|
284
|
+
// ../../node_modules/.pnpm/@angular+compiler@21.0.6/node_modules/@angular/compiler/fesm2022/compiler.mjs
|
|
285
285
|
var _SELECTOR_REGEXP = new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`, "g");
|
|
286
286
|
var CssSelector = class _CssSelector {
|
|
287
287
|
static {
|
|
@@ -644,6 +644,7 @@ var SecurityContext;
|
|
|
644
644
|
SecurityContext2[SecurityContext2["SCRIPT"] = 3] = "SCRIPT";
|
|
645
645
|
SecurityContext2[SecurityContext2["URL"] = 4] = "URL";
|
|
646
646
|
SecurityContext2[SecurityContext2["RESOURCE_URL"] = 5] = "RESOURCE_URL";
|
|
647
|
+
SecurityContext2[SecurityContext2["ATTRIBUTE_NO_BINDING"] = 6] = "ATTRIBUTE_NO_BINDING";
|
|
647
648
|
})(SecurityContext || (SecurityContext = {}));
|
|
648
649
|
var MissingTranslationStrategy;
|
|
649
650
|
(function(MissingTranslationStrategy2) {
|
|
@@ -3523,6 +3524,10 @@ var Identifiers = class {
|
|
|
3523
3524
|
name: "\u0275\u0275sanitizeStyle",
|
|
3524
3525
|
moduleName: CORE
|
|
3525
3526
|
};
|
|
3527
|
+
static validateAttribute = {
|
|
3528
|
+
name: "\u0275\u0275validateAttribute",
|
|
3529
|
+
moduleName: CORE
|
|
3530
|
+
};
|
|
3526
3531
|
static sanitizeResourceUrl = {
|
|
3527
3532
|
name: "\u0275\u0275sanitizeResourceUrl",
|
|
3528
3533
|
moduleName: CORE
|
|
@@ -3547,10 +3552,6 @@ var Identifiers = class {
|
|
|
3547
3552
|
name: "\u0275\u0275trustConstantResourceUrl",
|
|
3548
3553
|
moduleName: CORE
|
|
3549
3554
|
};
|
|
3550
|
-
static validateIframeAttribute = {
|
|
3551
|
-
name: "\u0275\u0275validateIframeAttribute",
|
|
3552
|
-
moduleName: CORE
|
|
3553
|
-
};
|
|
3554
3555
|
static inputDecorator = {
|
|
3555
3556
|
name: "Input",
|
|
3556
3557
|
moduleName: CORE
|
|
@@ -18380,8 +18381,9 @@ function SECURITY_SCHEMA() {
|
|
|
18380
18381
|
_SECURITY_SCHEMA = {};
|
|
18381
18382
|
registerContext(SecurityContext.HTML, ["iframe|srcdoc", "*|innerHTML", "*|outerHTML"]);
|
|
18382
18383
|
registerContext(SecurityContext.STYLE, ["*|style"]);
|
|
18383
|
-
registerContext(SecurityContext.URL, ["*|formAction", "area|href", "
|
|
18384
|
-
registerContext(SecurityContext.RESOURCE_URL, ["
|
|
18384
|
+
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"]);
|
|
18385
|
+
registerContext(SecurityContext.RESOURCE_URL, ["base|href", "embed|src", "frame|src", "iframe|src", "link|href", "object|codebase", "object|data", "script|src"]);
|
|
18386
|
+
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"]);
|
|
18385
18387
|
}
|
|
18386
18388
|
return _SECURITY_SCHEMA;
|
|
18387
18389
|
}
|
|
@@ -18390,11 +18392,6 @@ function registerContext(ctx, specs) {
|
|
|
18390
18392
|
for (const spec of specs) _SECURITY_SCHEMA[spec.toLowerCase()] = ctx;
|
|
18391
18393
|
}
|
|
18392
18394
|
__name(registerContext, "registerContext");
|
|
18393
|
-
var IFRAME_SECURITY_SENSITIVE_ATTRS = /* @__PURE__ */ new Set(["sandbox", "allow", "allowfullscreen", "referrerpolicy", "csp", "fetchpriority"]);
|
|
18394
|
-
function isIframeSecuritySensitiveAttr(attrName) {
|
|
18395
|
-
return IFRAME_SECURITY_SENSITIVE_ATTRS.has(attrName.toLowerCase());
|
|
18396
|
-
}
|
|
18397
|
-
__name(isIframeSecuritySensitiveAttr, "isIframeSecuritySensitiveAttr");
|
|
18398
18395
|
var ElementSchemaRegistry = class {
|
|
18399
18396
|
static {
|
|
18400
18397
|
__name(this, "ElementSchemaRegistry");
|
|
@@ -22126,11 +22123,10 @@ function processLexicalScope(unit, ops, savedView) {
|
|
|
22126
22123
|
}
|
|
22127
22124
|
}
|
|
22128
22125
|
__name(processLexicalScope, "processLexicalScope");
|
|
22129
|
-
var sanitizerFns = /* @__PURE__ */ new Map([[SecurityContext.HTML, Identifiers.sanitizeHtml], [SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl], [SecurityContext.SCRIPT, Identifiers.sanitizeScript], [SecurityContext.STYLE, Identifiers.sanitizeStyle], [SecurityContext.URL, Identifiers.sanitizeUrl]]);
|
|
22126
|
+
var sanitizerFns = /* @__PURE__ */ new Map([[SecurityContext.HTML, Identifiers.sanitizeHtml], [SecurityContext.RESOURCE_URL, Identifiers.sanitizeResourceUrl], [SecurityContext.SCRIPT, Identifiers.sanitizeScript], [SecurityContext.STYLE, Identifiers.sanitizeStyle], [SecurityContext.URL, Identifiers.sanitizeUrl], [SecurityContext.ATTRIBUTE_NO_BINDING, Identifiers.validateAttribute]]);
|
|
22130
22127
|
var trustedValueFns = /* @__PURE__ */ new Map([[SecurityContext.HTML, Identifiers.trustConstantHtml], [SecurityContext.RESOURCE_URL, Identifiers.trustConstantResourceUrl]]);
|
|
22131
22128
|
function resolveSanitizers(job) {
|
|
22132
22129
|
for (const unit of job.units) {
|
|
22133
|
-
const elements = createOpXrefMap(unit);
|
|
22134
22130
|
if (job.kind !== CompilationJobKind.Host) {
|
|
22135
22131
|
for (const op of unit.create) {
|
|
22136
22132
|
if (op.kind === OpKind.ExtractedAttribute) {
|
|
@@ -22145,37 +22141,18 @@ function resolveSanitizers(job) {
|
|
|
22145
22141
|
case OpKind.Attribute:
|
|
22146
22142
|
case OpKind.DomProperty:
|
|
22147
22143
|
let sanitizerFn = null;
|
|
22148
|
-
if (Array.isArray(op.securityContext) && op.securityContext.length === 2 && op.securityContext.
|
|
22144
|
+
if (Array.isArray(op.securityContext) && op.securityContext.length === 2 && op.securityContext.includes(SecurityContext.URL) && op.securityContext.includes(SecurityContext.RESOURCE_URL)) {
|
|
22149
22145
|
sanitizerFn = Identifiers.sanitizeUrlOrResourceUrl;
|
|
22150
22146
|
} else {
|
|
22151
22147
|
sanitizerFn = sanitizerFns.get(getOnlySecurityContext(op.securityContext)) ?? null;
|
|
22152
22148
|
}
|
|
22153
22149
|
op.sanitizer = sanitizerFn !== null ? importExpr(sanitizerFn) : null;
|
|
22154
|
-
if (op.sanitizer === null) {
|
|
22155
|
-
let isIframe = false;
|
|
22156
|
-
if (job.kind === CompilationJobKind.Host || op.kind === OpKind.DomProperty) {
|
|
22157
|
-
isIframe = true;
|
|
22158
|
-
} else {
|
|
22159
|
-
const ownerOp = elements.get(op.target);
|
|
22160
|
-
if (ownerOp === void 0 || !isElementOrContainerOp(ownerOp)) {
|
|
22161
|
-
throw Error("Property should have an element-like owner");
|
|
22162
|
-
}
|
|
22163
|
-
isIframe = isIframeElement(ownerOp);
|
|
22164
|
-
}
|
|
22165
|
-
if (isIframe && isIframeSecuritySensitiveAttr(op.name)) {
|
|
22166
|
-
op.sanitizer = importExpr(Identifiers.validateIframeAttribute);
|
|
22167
|
-
}
|
|
22168
|
-
}
|
|
22169
22150
|
break;
|
|
22170
22151
|
}
|
|
22171
22152
|
}
|
|
22172
22153
|
}
|
|
22173
22154
|
}
|
|
22174
22155
|
__name(resolveSanitizers, "resolveSanitizers");
|
|
22175
|
-
function isIframeElement(op) {
|
|
22176
|
-
return op.kind === OpKind.ElementStart && op.tag?.toLowerCase() === "iframe";
|
|
22177
|
-
}
|
|
22178
|
-
__name(isIframeElement, "isIframeElement");
|
|
22179
22156
|
function getOnlySecurityContext(securityContext) {
|
|
22180
22157
|
if (Array.isArray(securityContext)) {
|
|
22181
22158
|
if (securityContext.length > 1) {
|
|
@@ -23359,6 +23336,10 @@ function ingestElement(unit, element2) {
|
|
|
23359
23336
|
ingestNodes(unit, element2.children);
|
|
23360
23337
|
const endOp = createElementEndOp(id, element2.endSourceSpan ?? element2.startSourceSpan);
|
|
23361
23338
|
unit.create.push(endOp);
|
|
23339
|
+
const fieldInput = element2.inputs.find((input) => input.name === "field" && input.type === BindingType.Property);
|
|
23340
|
+
if (fieldInput) {
|
|
23341
|
+
unit.create.push(createControlCreateOp(fieldInput.sourceSpan));
|
|
23342
|
+
}
|
|
23362
23343
|
if (i18nBlockId !== null) {
|
|
23363
23344
|
OpList.insertBefore(createI18nEndOp(i18nBlockId, element2.endSourceSpan ?? element2.startSourceSpan), endOp);
|
|
23364
23345
|
}
|
|
@@ -23855,9 +23836,6 @@ function ingestElementBindings(unit, op, element2) {
|
|
|
23855
23836
|
console.error(`On component ${unit.job.componentName}, the binding ${input.name} is both an i18n attribute and a property. You may want to remove the property binding. This will become a compilation error in future versions of Angular.`);
|
|
23856
23837
|
}
|
|
23857
23838
|
bindings.push(createBindingOp(op.xref, BINDING_KINDS.get(input.type), input.name, convertAstWithInterpolation(unit.job, astOf(input.value), input.i18n), input.unit, input.securityContext, false, false, null, asMessage(input.i18n) ?? null, input.sourceSpan));
|
|
23858
|
-
if (input.type === BindingType.Property && input.name === "field") {
|
|
23859
|
-
unit.create.push(createControlCreateOp(input.sourceSpan));
|
|
23860
|
-
}
|
|
23861
23839
|
}
|
|
23862
23840
|
unit.create.push(bindings.filter((b) => b?.kind === OpKind.ExtractedAttribute));
|
|
23863
23841
|
unit.update.push(bindings.filter((b) => b?.kind === OpKind.Binding));
|
|
@@ -24079,7 +24057,7 @@ function getQueryPredicate(query, constantPool) {
|
|
|
24079
24057
|
}
|
|
24080
24058
|
}
|
|
24081
24059
|
__name(getQueryPredicate, "getQueryPredicate");
|
|
24082
|
-
function
|
|
24060
|
+
function getQueryCreateParameters(query, constantPool, prependParams) {
|
|
24083
24061
|
const parameters = [];
|
|
24084
24062
|
if (prependParams !== void 0) {
|
|
24085
24063
|
parameters.push(...prependParams);
|
|
@@ -24091,10 +24069,9 @@ function createQueryCreateCall(query, constantPool, queryTypeFns, prependParams)
|
|
|
24091
24069
|
if (query.read) {
|
|
24092
24070
|
parameters.push(query.read);
|
|
24093
24071
|
}
|
|
24094
|
-
|
|
24095
|
-
return importExpr(queryCreateFn).callFn(parameters);
|
|
24072
|
+
return parameters;
|
|
24096
24073
|
}
|
|
24097
|
-
__name(
|
|
24074
|
+
__name(getQueryCreateParameters, "getQueryCreateParameters");
|
|
24098
24075
|
var queryAdvancePlaceholder = Symbol("queryAdvancePlaceholder");
|
|
24099
24076
|
function collapseAdvanceStatements(statements) {
|
|
24100
24077
|
const result = [];
|
|
@@ -24122,12 +24099,17 @@ function createViewQueriesFunction(viewQueries, constantPool, name) {
|
|
|
24122
24099
|
const createStatements = [];
|
|
24123
24100
|
const updateStatements = [];
|
|
24124
24101
|
const tempAllocator = temporaryAllocator((st) => updateStatements.push(st), TEMPORARY_NAME);
|
|
24102
|
+
let viewQuerySignalCall = null;
|
|
24103
|
+
let viewQueryCall = null;
|
|
24125
24104
|
viewQueries.forEach((query) => {
|
|
24126
|
-
const
|
|
24127
|
-
|
|
24128
|
-
|
|
24129
|
-
|
|
24130
|
-
|
|
24105
|
+
const params = getQueryCreateParameters(query, constantPool);
|
|
24106
|
+
if (query.isSignal) {
|
|
24107
|
+
viewQuerySignalCall ??= importExpr(Identifiers.viewQuerySignal);
|
|
24108
|
+
viewQuerySignalCall = viewQuerySignalCall.callFn(params);
|
|
24109
|
+
} else {
|
|
24110
|
+
viewQueryCall ??= importExpr(Identifiers.viewQuery);
|
|
24111
|
+
viewQueryCall = viewQueryCall.callFn(params);
|
|
24112
|
+
}
|
|
24131
24113
|
if (query.isSignal) {
|
|
24132
24114
|
updateStatements.push(queryAdvancePlaceholder);
|
|
24133
24115
|
return;
|
|
@@ -24138,6 +24120,12 @@ function createViewQueriesFunction(viewQueries, constantPool, name) {
|
|
|
24138
24120
|
const updateDirective = variable(CONTEXT_NAME).prop(query.propertyName).set(query.first ? temporary.prop("first") : temporary);
|
|
24139
24121
|
updateStatements.push(refresh.and(updateDirective).toStmt());
|
|
24140
24122
|
});
|
|
24123
|
+
if (viewQuerySignalCall !== null) {
|
|
24124
|
+
createStatements.push(new ExpressionStatement(viewQuerySignalCall));
|
|
24125
|
+
}
|
|
24126
|
+
if (viewQueryCall !== null) {
|
|
24127
|
+
createStatements.push(new ExpressionStatement(viewQueryCall));
|
|
24128
|
+
}
|
|
24141
24129
|
const viewQueryFnName = name ? `${name}_Query` : null;
|
|
24142
24130
|
return fn([new FnParam(RENDER_FLAGS, NUMBER_TYPE), new FnParam(CONTEXT_NAME, null)], [renderFlagCheckIfStmt(1, createStatements), renderFlagCheckIfStmt(2, collapseAdvanceStatements(updateStatements))], INFERRED_TYPE, null, viewQueryFnName);
|
|
24143
24131
|
}
|
|
@@ -24146,11 +24134,17 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
24146
24134
|
const createStatements = [];
|
|
24147
24135
|
const updateStatements = [];
|
|
24148
24136
|
const tempAllocator = temporaryAllocator((st) => updateStatements.push(st), TEMPORARY_NAME);
|
|
24137
|
+
let contentQuerySignalCall = null;
|
|
24138
|
+
let contentQueryCall = null;
|
|
24149
24139
|
for (const query of queries) {
|
|
24150
|
-
|
|
24151
|
-
|
|
24152
|
-
|
|
24153
|
-
|
|
24140
|
+
const params = getQueryCreateParameters(query, constantPool, [variable("dirIndex")]);
|
|
24141
|
+
if (query.isSignal) {
|
|
24142
|
+
contentQuerySignalCall ??= importExpr(Identifiers.contentQuerySignal);
|
|
24143
|
+
contentQuerySignalCall = contentQuerySignalCall.callFn(params);
|
|
24144
|
+
} else {
|
|
24145
|
+
contentQueryCall ??= importExpr(Identifiers.contentQuery);
|
|
24146
|
+
contentQueryCall = contentQueryCall.callFn(params);
|
|
24147
|
+
}
|
|
24154
24148
|
if (query.isSignal) {
|
|
24155
24149
|
updateStatements.push(queryAdvancePlaceholder);
|
|
24156
24150
|
continue;
|
|
@@ -24161,6 +24155,12 @@ function createContentQueriesFunction(queries, constantPool, name) {
|
|
|
24161
24155
|
const updateDirective = variable(CONTEXT_NAME).prop(query.propertyName).set(query.first ? temporary.prop("first") : temporary);
|
|
24162
24156
|
updateStatements.push(refresh.and(updateDirective).toStmt());
|
|
24163
24157
|
}
|
|
24158
|
+
if (contentQuerySignalCall !== null) {
|
|
24159
|
+
createStatements.push(new ExpressionStatement(contentQuerySignalCall));
|
|
24160
|
+
}
|
|
24161
|
+
if (contentQueryCall !== null) {
|
|
24162
|
+
createStatements.push(new ExpressionStatement(contentQueryCall));
|
|
24163
|
+
}
|
|
24164
24164
|
const contentQueriesFnName = name ? `${name}_ContentQueries` : null;
|
|
24165
24165
|
return fn([new FnParam(RENDER_FLAGS, NUMBER_TYPE), new FnParam(CONTEXT_NAME, null), new FnParam("dirIndex", null)], [renderFlagCheckIfStmt(1, createStatements), renderFlagCheckIfStmt(2, collapseAdvanceStatements(updateStatements))], INFERRED_TYPE, null, contentQueriesFnName);
|
|
24166
24166
|
}
|
|
@@ -29909,7 +29909,7 @@ var MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = "18.0.0";
|
|
|
29909
29909
|
function compileDeclareClassMetadata(metadata) {
|
|
29910
29910
|
const definitionMap = new DefinitionMap();
|
|
29911
29911
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
29912
|
-
definitionMap.set("version", literal("21.0.
|
|
29912
|
+
definitionMap.set("version", literal("21.0.6"));
|
|
29913
29913
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29914
29914
|
definitionMap.set("type", metadata.type);
|
|
29915
29915
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -29928,7 +29928,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
29928
29928
|
callbackReturnDefinitionMap.set("ctorParameters", metadata.ctorParameters ?? literal(null));
|
|
29929
29929
|
callbackReturnDefinitionMap.set("propDecorators", metadata.propDecorators ?? literal(null));
|
|
29930
29930
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
29931
|
-
definitionMap.set("version", literal("21.0.
|
|
29931
|
+
definitionMap.set("version", literal("21.0.6"));
|
|
29932
29932
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29933
29933
|
definitionMap.set("type", metadata.type);
|
|
29934
29934
|
definitionMap.set("resolveDeferredDeps", compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -30005,7 +30005,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
30005
30005
|
const definitionMap = new DefinitionMap();
|
|
30006
30006
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
30007
30007
|
definitionMap.set("minVersion", literal(minVersion));
|
|
30008
|
-
definitionMap.set("version", literal("21.0.
|
|
30008
|
+
definitionMap.set("version", literal("21.0.6"));
|
|
30009
30009
|
definitionMap.set("type", meta.type.value);
|
|
30010
30010
|
if (meta.isStandalone !== void 0) {
|
|
30011
30011
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -30351,7 +30351,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION$4 = "12.0.0";
|
|
|
30351
30351
|
function compileDeclareFactoryFunction(meta) {
|
|
30352
30352
|
const definitionMap = new DefinitionMap();
|
|
30353
30353
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
30354
|
-
definitionMap.set("version", literal("21.0.
|
|
30354
|
+
definitionMap.set("version", literal("21.0.6"));
|
|
30355
30355
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30356
30356
|
definitionMap.set("type", meta.type.value);
|
|
30357
30357
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -30378,7 +30378,7 @@ __name(compileDeclareInjectableFromMetadata, "compileDeclareInjectableFromMetada
|
|
|
30378
30378
|
function createInjectableDefinitionMap(meta) {
|
|
30379
30379
|
const definitionMap = new DefinitionMap();
|
|
30380
30380
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
30381
|
-
definitionMap.set("version", literal("21.0.
|
|
30381
|
+
definitionMap.set("version", literal("21.0.6"));
|
|
30382
30382
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30383
30383
|
definitionMap.set("type", meta.type.value);
|
|
30384
30384
|
if (meta.providedIn !== void 0) {
|
|
@@ -30420,7 +30420,7 @@ __name(compileDeclareInjectorFromMetadata, "compileDeclareInjectorFromMetadata")
|
|
|
30420
30420
|
function createInjectorDefinitionMap(meta) {
|
|
30421
30421
|
const definitionMap = new DefinitionMap();
|
|
30422
30422
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
30423
|
-
definitionMap.set("version", literal("21.0.
|
|
30423
|
+
definitionMap.set("version", literal("21.0.6"));
|
|
30424
30424
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30425
30425
|
definitionMap.set("type", meta.type.value);
|
|
30426
30426
|
definitionMap.set("providers", meta.providers);
|
|
@@ -30448,7 +30448,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
30448
30448
|
throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
|
|
30449
30449
|
}
|
|
30450
30450
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
30451
|
-
definitionMap.set("version", literal("21.0.
|
|
30451
|
+
definitionMap.set("version", literal("21.0.6"));
|
|
30452
30452
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30453
30453
|
definitionMap.set("type", meta.type.value);
|
|
30454
30454
|
if (meta.bootstrap.length > 0) {
|
|
@@ -30487,7 +30487,7 @@ __name(compileDeclarePipeFromMetadata, "compileDeclarePipeFromMetadata");
|
|
|
30487
30487
|
function createPipeDefinitionMap(meta) {
|
|
30488
30488
|
const definitionMap = new DefinitionMap();
|
|
30489
30489
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
30490
|
-
definitionMap.set("version", literal("21.0.
|
|
30490
|
+
definitionMap.set("version", literal("21.0.6"));
|
|
30491
30491
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30492
30492
|
definitionMap.set("type", meta.type.value);
|
|
30493
30493
|
if (meta.isStandalone !== void 0) {
|
|
@@ -30562,7 +30562,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
30562
30562
|
return new DeclareFunctionStmt(`${meta.className}_UpdateMetadata`, params, body, null, StmtModifier.Final);
|
|
30563
30563
|
}
|
|
30564
30564
|
__name(compileHmrUpdateCallback, "compileHmrUpdateCallback");
|
|
30565
|
-
var VERSION = new Version("21.0.
|
|
30565
|
+
var VERSION = new Version("21.0.6");
|
|
30566
30566
|
publishFacade(_global);
|
|
30567
30567
|
// Annotate the CommonJS export names for ESM import in node:
|
|
30568
30568
|
0 && (module.exports = {
|
|
@@ -30828,7 +30828,7 @@ publishFacade(_global);
|
|
|
30828
30828
|
|
|
30829
30829
|
@angular/compiler/fesm2022/compiler.mjs:
|
|
30830
30830
|
(**
|
|
30831
|
-
* @license Angular v21.0.
|
|
30831
|
+
* @license Angular v21.0.6
|
|
30832
30832
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
30833
30833
|
* License: MIT
|
|
30834
30834
|
*)
|