@angular-eslint/bundled-angular-compiler 21.3.1-alpha.18 → 21.3.1-alpha.19

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.
Files changed (2) hide show
  1. package/dist/index.js +13 -14
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -289,7 +289,7 @@ __export(index_exports, {
289
289
  });
290
290
  module.exports = __toCommonJS(index_exports);
291
291
 
292
- // ../../node_modules/.pnpm/@angular+compiler@21.2.1/node_modules/@angular/compiler/fesm2022/compiler.mjs
292
+ // ../../node_modules/.pnpm/@angular+compiler@21.2.2/node_modules/@angular/compiler/fesm2022/compiler.mjs
293
293
  var _SELECTOR_REGEXP = new RegExp(`(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`, "g");
294
294
  var CssSelector = class _CssSelector {
295
295
  static {
@@ -6149,9 +6149,8 @@ var RecursiveVisitor$1 = class RecursiveVisitor {
6149
6149
  visitAll$1(this, block.branches);
6150
6150
  }
6151
6151
  visitIfBlockBranch(block) {
6152
- const blockItems = block.children;
6153
- block.expressionAlias && blockItems.push(block.expressionAlias);
6154
- visitAll$1(this, blockItems);
6152
+ visitAll$1(this, block.children);
6153
+ block.expressionAlias?.visit(this);
6155
6154
  }
6156
6155
  visitContent(content) {
6157
6156
  visitAll$1(this, content.children);
@@ -30443,7 +30442,7 @@ var MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = "18.0.0";
30443
30442
  function compileDeclareClassMetadata(metadata) {
30444
30443
  const definitionMap = new DefinitionMap();
30445
30444
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
30446
- definitionMap.set("version", literal("21.2.1"));
30445
+ definitionMap.set("version", literal("21.2.2"));
30447
30446
  definitionMap.set("ngImport", importExpr(Identifiers.core));
30448
30447
  definitionMap.set("type", metadata.type);
30449
30448
  definitionMap.set("decorators", metadata.decorators);
@@ -30462,7 +30461,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
30462
30461
  callbackReturnDefinitionMap.set("ctorParameters", metadata.ctorParameters ?? literal(null));
30463
30462
  callbackReturnDefinitionMap.set("propDecorators", metadata.propDecorators ?? literal(null));
30464
30463
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
30465
- definitionMap.set("version", literal("21.2.1"));
30464
+ definitionMap.set("version", literal("21.2.2"));
30466
30465
  definitionMap.set("ngImport", importExpr(Identifiers.core));
30467
30466
  definitionMap.set("type", metadata.type);
30468
30467
  definitionMap.set("resolveDeferredDeps", compileComponentMetadataAsyncResolver(dependencies));
@@ -30539,7 +30538,7 @@ function createDirectiveDefinitionMap(meta) {
30539
30538
  const definitionMap = new DefinitionMap();
30540
30539
  const minVersion = getMinimumVersionForPartialOutput(meta);
30541
30540
  definitionMap.set("minVersion", literal(minVersion));
30542
- definitionMap.set("version", literal("21.2.1"));
30541
+ definitionMap.set("version", literal("21.2.2"));
30543
30542
  definitionMap.set("type", meta.type.value);
30544
30543
  if (meta.isStandalone !== void 0) {
30545
30544
  definitionMap.set("isStandalone", literal(meta.isStandalone));
@@ -30895,7 +30894,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION$4 = "12.0.0";
30895
30894
  function compileDeclareFactoryFunction(meta) {
30896
30895
  const definitionMap = new DefinitionMap();
30897
30896
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
30898
- definitionMap.set("version", literal("21.2.1"));
30897
+ definitionMap.set("version", literal("21.2.2"));
30899
30898
  definitionMap.set("ngImport", importExpr(Identifiers.core));
30900
30899
  definitionMap.set("type", meta.type.value);
30901
30900
  definitionMap.set("deps", compileDependencies(meta.deps));
@@ -30922,7 +30921,7 @@ __name(compileDeclareInjectableFromMetadata, "compileDeclareInjectableFromMetada
30922
30921
  function createInjectableDefinitionMap(meta) {
30923
30922
  const definitionMap = new DefinitionMap();
30924
30923
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
30925
- definitionMap.set("version", literal("21.2.1"));
30924
+ definitionMap.set("version", literal("21.2.2"));
30926
30925
  definitionMap.set("ngImport", importExpr(Identifiers.core));
30927
30926
  definitionMap.set("type", meta.type.value);
30928
30927
  if (meta.providedIn !== void 0) {
@@ -30964,7 +30963,7 @@ __name(compileDeclareInjectorFromMetadata, "compileDeclareInjectorFromMetadata")
30964
30963
  function createInjectorDefinitionMap(meta) {
30965
30964
  const definitionMap = new DefinitionMap();
30966
30965
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
30967
- definitionMap.set("version", literal("21.2.1"));
30966
+ definitionMap.set("version", literal("21.2.2"));
30968
30967
  definitionMap.set("ngImport", importExpr(Identifiers.core));
30969
30968
  definitionMap.set("type", meta.type.value);
30970
30969
  definitionMap.set("providers", meta.providers);
@@ -30992,7 +30991,7 @@ function createNgModuleDefinitionMap(meta) {
30992
30991
  throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
30993
30992
  }
30994
30993
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
30995
- definitionMap.set("version", literal("21.2.1"));
30994
+ definitionMap.set("version", literal("21.2.2"));
30996
30995
  definitionMap.set("ngImport", importExpr(Identifiers.core));
30997
30996
  definitionMap.set("type", meta.type.value);
30998
30997
  if (meta.bootstrap.length > 0) {
@@ -31031,7 +31030,7 @@ __name(compileDeclarePipeFromMetadata, "compileDeclarePipeFromMetadata");
31031
31030
  function createPipeDefinitionMap(meta) {
31032
31031
  const definitionMap = new DefinitionMap();
31033
31032
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
31034
- definitionMap.set("version", literal("21.2.1"));
31033
+ definitionMap.set("version", literal("21.2.2"));
31035
31034
  definitionMap.set("ngImport", importExpr(Identifiers.core));
31036
31035
  definitionMap.set("type", meta.type.value);
31037
31036
  if (meta.isStandalone !== void 0) {
@@ -31106,7 +31105,7 @@ function compileHmrUpdateCallback(definitions, constantStatements, meta) {
31106
31105
  return new DeclareFunctionStmt(`${meta.className}_UpdateMetadata`, params, body, null, StmtModifier.Final);
31107
31106
  }
31108
31107
  __name(compileHmrUpdateCallback, "compileHmrUpdateCallback");
31109
- var VERSION = new Version("21.2.1");
31108
+ var VERSION = new Version("21.2.2");
31110
31109
  publishFacade(_global);
31111
31110
  // Annotate the CommonJS export names for ESM import in node:
31112
31111
  0 && (module.exports = {
@@ -31380,7 +31379,7 @@ publishFacade(_global);
31380
31379
 
31381
31380
  @angular/compiler/fesm2022/compiler.mjs:
31382
31381
  (**
31383
- * @license Angular v21.2.1
31382
+ * @license Angular v21.2.2
31384
31383
  * (c) 2010-2026 Google LLC. https://angular.dev/
31385
31384
  * License: MIT
31386
31385
  *)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-eslint/bundled-angular-compiler",
3
- "version": "21.3.1-alpha.18",
3
+ "version": "21.3.1-alpha.19",
4
4
  "description": "A CJS bundled version of @angular/compiler",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",