@angular-eslint/bundled-angular-compiler 21.1.1-alpha.1 → 21.1.1-alpha.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/dist/index.js +15 -14
- 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.3/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 {
|
|
@@ -23336,6 +23336,10 @@ function ingestElement(unit, element2) {
|
|
|
23336
23336
|
ingestNodes(unit, element2.children);
|
|
23337
23337
|
const endOp = createElementEndOp(id, element2.endSourceSpan ?? element2.startSourceSpan);
|
|
23338
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
|
+
}
|
|
23339
23343
|
if (i18nBlockId !== null) {
|
|
23340
23344
|
OpList.insertBefore(createI18nEndOp(i18nBlockId, element2.endSourceSpan ?? element2.startSourceSpan), endOp);
|
|
23341
23345
|
}
|
|
@@ -23832,9 +23836,6 @@ function ingestElementBindings(unit, op, element2) {
|
|
|
23832
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.`);
|
|
23833
23837
|
}
|
|
23834
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));
|
|
23835
|
-
if (input.type === BindingType.Property && input.name === "field") {
|
|
23836
|
-
unit.create.push(createControlCreateOp(input.sourceSpan));
|
|
23837
|
-
}
|
|
23838
23839
|
}
|
|
23839
23840
|
unit.create.push(bindings.filter((b) => b?.kind === OpKind.ExtractedAttribute));
|
|
23840
23841
|
unit.update.push(bindings.filter((b) => b?.kind === OpKind.Binding));
|
|
@@ -29886,7 +29887,7 @@ var MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = "18.0.0";
|
|
|
29886
29887
|
function compileDeclareClassMetadata(metadata) {
|
|
29887
29888
|
const definitionMap = new DefinitionMap();
|
|
29888
29889
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
|
|
29889
|
-
definitionMap.set("version", literal("21.0.
|
|
29890
|
+
definitionMap.set("version", literal("21.0.3"));
|
|
29890
29891
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29891
29892
|
definitionMap.set("type", metadata.type);
|
|
29892
29893
|
definitionMap.set("decorators", metadata.decorators);
|
|
@@ -29905,7 +29906,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
|
|
|
29905
29906
|
callbackReturnDefinitionMap.set("ctorParameters", metadata.ctorParameters ?? literal(null));
|
|
29906
29907
|
callbackReturnDefinitionMap.set("propDecorators", metadata.propDecorators ?? literal(null));
|
|
29907
29908
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
|
|
29908
|
-
definitionMap.set("version", literal("21.0.
|
|
29909
|
+
definitionMap.set("version", literal("21.0.3"));
|
|
29909
29910
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
29910
29911
|
definitionMap.set("type", metadata.type);
|
|
29911
29912
|
definitionMap.set("resolveDeferredDeps", compileComponentMetadataAsyncResolver(dependencies));
|
|
@@ -29982,7 +29983,7 @@ function createDirectiveDefinitionMap(meta) {
|
|
|
29982
29983
|
const definitionMap = new DefinitionMap();
|
|
29983
29984
|
const minVersion = getMinimumVersionForPartialOutput(meta);
|
|
29984
29985
|
definitionMap.set("minVersion", literal(minVersion));
|
|
29985
|
-
definitionMap.set("version", literal("21.0.
|
|
29986
|
+
definitionMap.set("version", literal("21.0.3"));
|
|
29986
29987
|
definitionMap.set("type", meta.type.value);
|
|
29987
29988
|
if (meta.isStandalone !== void 0) {
|
|
29988
29989
|
definitionMap.set("isStandalone", literal(meta.isStandalone));
|
|
@@ -30328,7 +30329,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION$4 = "12.0.0";
|
|
|
30328
30329
|
function compileDeclareFactoryFunction(meta) {
|
|
30329
30330
|
const definitionMap = new DefinitionMap();
|
|
30330
30331
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
|
|
30331
|
-
definitionMap.set("version", literal("21.0.
|
|
30332
|
+
definitionMap.set("version", literal("21.0.3"));
|
|
30332
30333
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30333
30334
|
definitionMap.set("type", meta.type.value);
|
|
30334
30335
|
definitionMap.set("deps", compileDependencies(meta.deps));
|
|
@@ -30355,7 +30356,7 @@ __name(compileDeclareInjectableFromMetadata, "compileDeclareInjectableFromMetada
|
|
|
30355
30356
|
function createInjectableDefinitionMap(meta) {
|
|
30356
30357
|
const definitionMap = new DefinitionMap();
|
|
30357
30358
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
|
|
30358
|
-
definitionMap.set("version", literal("21.0.
|
|
30359
|
+
definitionMap.set("version", literal("21.0.3"));
|
|
30359
30360
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30360
30361
|
definitionMap.set("type", meta.type.value);
|
|
30361
30362
|
if (meta.providedIn !== void 0) {
|
|
@@ -30397,7 +30398,7 @@ __name(compileDeclareInjectorFromMetadata, "compileDeclareInjectorFromMetadata")
|
|
|
30397
30398
|
function createInjectorDefinitionMap(meta) {
|
|
30398
30399
|
const definitionMap = new DefinitionMap();
|
|
30399
30400
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
|
|
30400
|
-
definitionMap.set("version", literal("21.0.
|
|
30401
|
+
definitionMap.set("version", literal("21.0.3"));
|
|
30401
30402
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30402
30403
|
definitionMap.set("type", meta.type.value);
|
|
30403
30404
|
definitionMap.set("providers", meta.providers);
|
|
@@ -30425,7 +30426,7 @@ function createNgModuleDefinitionMap(meta) {
|
|
|
30425
30426
|
throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
|
|
30426
30427
|
}
|
|
30427
30428
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
|
|
30428
|
-
definitionMap.set("version", literal("21.0.
|
|
30429
|
+
definitionMap.set("version", literal("21.0.3"));
|
|
30429
30430
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30430
30431
|
definitionMap.set("type", meta.type.value);
|
|
30431
30432
|
if (meta.bootstrap.length > 0) {
|
|
@@ -30464,7 +30465,7 @@ __name(compileDeclarePipeFromMetadata, "compileDeclarePipeFromMetadata");
|
|
|
30464
30465
|
function createPipeDefinitionMap(meta) {
|
|
30465
30466
|
const definitionMap = new DefinitionMap();
|
|
30466
30467
|
definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
|
|
30467
|
-
definitionMap.set("version", literal("21.0.
|
|
30468
|
+
definitionMap.set("version", literal("21.0.3"));
|
|
30468
30469
|
definitionMap.set("ngImport", importExpr(Identifiers.core));
|
|
30469
30470
|
definitionMap.set("type", meta.type.value);
|
|
30470
30471
|
if (meta.isStandalone !== void 0) {
|
|
@@ -30539,7 +30540,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
|
|
|
30539
30540
|
return new DeclareFunctionStmt(`${meta.className}_UpdateMetadata`, params, body, null, StmtModifier.Final);
|
|
30540
30541
|
}
|
|
30541
30542
|
__name(compileHmrUpdateCallback, "compileHmrUpdateCallback");
|
|
30542
|
-
var VERSION = new Version("21.0.
|
|
30543
|
+
var VERSION = new Version("21.0.3");
|
|
30543
30544
|
publishFacade(_global);
|
|
30544
30545
|
// Annotate the CommonJS export names for ESM import in node:
|
|
30545
30546
|
0 && (module.exports = {
|
|
@@ -30805,7 +30806,7 @@ publishFacade(_global);
|
|
|
30805
30806
|
|
|
30806
30807
|
@angular/compiler/fesm2022/compiler.mjs:
|
|
30807
30808
|
(**
|
|
30808
|
-
* @license Angular v21.0.
|
|
30809
|
+
* @license Angular v21.0.3
|
|
30809
30810
|
* (c) 2010-2025 Google LLC. https://angular.dev/
|
|
30810
30811
|
* License: MIT
|
|
30811
30812
|
*)
|