@angular-eslint/bundled-angular-compiler 19.3.1-alpha.17 → 19.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 +20 -22
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -269,7 +269,7 @@ __export(index_exports, {
269
269
  });
270
270
  module.exports = __toCommonJS(index_exports);
271
271
 
272
- // ../../node_modules/.pnpm/@angular+compiler@19.2.7/node_modules/@angular/compiler/fesm2022/compiler.mjs
272
+ // ../../node_modules/.pnpm/@angular+compiler@19.2.10/node_modules/@angular/compiler/fesm2022/compiler.mjs
273
273
  var _SELECTOR_REGEXP = new RegExp(
274
274
  `(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
275
275
  // 8: ","
@@ -3394,26 +3394,24 @@ function stringify(token) {
3394
3394
  return token;
3395
3395
  }
3396
3396
  if (Array.isArray(token)) {
3397
- return "[" + token.map(stringify).join(", ") + "]";
3397
+ return `[${token.map(stringify).join(", ")}]`;
3398
3398
  }
3399
3399
  if (token == null) {
3400
3400
  return "" + token;
3401
3401
  }
3402
- if (token.overriddenName) {
3403
- return `${token.overriddenName}`;
3404
- }
3405
- if (token.name) {
3406
- return `${token.name}`;
3402
+ const name = token.overriddenName || token.name;
3403
+ if (name) {
3404
+ return `${name}`;
3407
3405
  }
3408
3406
  if (!token.toString) {
3409
3407
  return "object";
3410
3408
  }
3411
- const res = token.toString();
3412
- if (res == null) {
3413
- return "" + res;
3409
+ const result = token.toString();
3410
+ if (result == null) {
3411
+ return "" + result;
3414
3412
  }
3415
- const newLineIndex = res.indexOf("\n");
3416
- return newLineIndex === -1 ? res : res.substring(0, newLineIndex);
3413
+ const newLineIndex = result.indexOf("\n");
3414
+ return newLineIndex >= 0 ? result.slice(0, newLineIndex) : result;
3417
3415
  }
3418
3416
  __name(stringify, "stringify");
3419
3417
  var Version = class {
@@ -27871,7 +27869,7 @@ function publishFacade(global) {
27871
27869
  ng.\u0275compilerFacade = new CompilerFacadeImpl();
27872
27870
  }
27873
27871
  __name(publishFacade, "publishFacade");
27874
- var VERSION = new Version("19.2.7");
27872
+ var VERSION = new Version("19.2.10");
27875
27873
  var CompilerConfig = class {
27876
27874
  static {
27877
27875
  __name(this, "CompilerConfig");
@@ -29649,7 +29647,7 @@ var MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = "18.0.0";
29649
29647
  function compileDeclareClassMetadata(metadata) {
29650
29648
  const definitionMap = new DefinitionMap();
29651
29649
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
29652
- definitionMap.set("version", literal("19.2.7"));
29650
+ definitionMap.set("version", literal("19.2.10"));
29653
29651
  definitionMap.set("ngImport", importExpr(Identifiers.core));
29654
29652
  definitionMap.set("type", metadata.type);
29655
29653
  definitionMap.set("decorators", metadata.decorators);
@@ -29668,7 +29666,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
29668
29666
  callbackReturnDefinitionMap.set("ctorParameters", metadata.ctorParameters ?? literal(null));
29669
29667
  callbackReturnDefinitionMap.set("propDecorators", metadata.propDecorators ?? literal(null));
29670
29668
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
29671
- definitionMap.set("version", literal("19.2.7"));
29669
+ definitionMap.set("version", literal("19.2.10"));
29672
29670
  definitionMap.set("ngImport", importExpr(Identifiers.core));
29673
29671
  definitionMap.set("type", metadata.type);
29674
29672
  definitionMap.set("resolveDeferredDeps", compileComponentMetadataAsyncResolver(dependencies));
@@ -29737,7 +29735,7 @@ function createDirectiveDefinitionMap(meta) {
29737
29735
  const definitionMap = new DefinitionMap();
29738
29736
  const minVersion = getMinimumVersionForPartialOutput(meta);
29739
29737
  definitionMap.set("minVersion", literal(minVersion));
29740
- definitionMap.set("version", literal("19.2.7"));
29738
+ definitionMap.set("version", literal("19.2.10"));
29741
29739
  definitionMap.set("type", meta.type.value);
29742
29740
  if (meta.isStandalone !== void 0) {
29743
29741
  definitionMap.set("isStandalone", literal(meta.isStandalone));
@@ -30064,7 +30062,7 @@ var MINIMUM_PARTIAL_LINKER_VERSION$4 = "12.0.0";
30064
30062
  function compileDeclareFactoryFunction(meta) {
30065
30063
  const definitionMap = new DefinitionMap();
30066
30064
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
30067
- definitionMap.set("version", literal("19.2.7"));
30065
+ definitionMap.set("version", literal("19.2.10"));
30068
30066
  definitionMap.set("ngImport", importExpr(Identifiers.core));
30069
30067
  definitionMap.set("type", meta.type.value);
30070
30068
  definitionMap.set("deps", compileDependencies(meta.deps));
@@ -30087,7 +30085,7 @@ __name(compileDeclareInjectableFromMetadata, "compileDeclareInjectableFromMetada
30087
30085
  function createInjectableDefinitionMap(meta) {
30088
30086
  const definitionMap = new DefinitionMap();
30089
30087
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
30090
- definitionMap.set("version", literal("19.2.7"));
30088
+ definitionMap.set("version", literal("19.2.10"));
30091
30089
  definitionMap.set("ngImport", importExpr(Identifiers.core));
30092
30090
  definitionMap.set("type", meta.type.value);
30093
30091
  if (meta.providedIn !== void 0) {
@@ -30125,7 +30123,7 @@ __name(compileDeclareInjectorFromMetadata, "compileDeclareInjectorFromMetadata")
30125
30123
  function createInjectorDefinitionMap(meta) {
30126
30124
  const definitionMap = new DefinitionMap();
30127
30125
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
30128
- definitionMap.set("version", literal("19.2.7"));
30126
+ definitionMap.set("version", literal("19.2.10"));
30129
30127
  definitionMap.set("ngImport", importExpr(Identifiers.core));
30130
30128
  definitionMap.set("type", meta.type.value);
30131
30129
  definitionMap.set("providers", meta.providers);
@@ -30149,7 +30147,7 @@ function createNgModuleDefinitionMap(meta) {
30149
30147
  throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
30150
30148
  }
30151
30149
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
30152
- definitionMap.set("version", literal("19.2.7"));
30150
+ definitionMap.set("version", literal("19.2.10"));
30153
30151
  definitionMap.set("ngImport", importExpr(Identifiers.core));
30154
30152
  definitionMap.set("type", meta.type.value);
30155
30153
  if (meta.bootstrap.length > 0) {
@@ -30184,7 +30182,7 @@ __name(compileDeclarePipeFromMetadata, "compileDeclarePipeFromMetadata");
30184
30182
  function createPipeDefinitionMap(meta) {
30185
30183
  const definitionMap = new DefinitionMap();
30186
30184
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
30187
- definitionMap.set("version", literal("19.2.7"));
30185
+ definitionMap.set("version", literal("19.2.10"));
30188
30186
  definitionMap.set("ngImport", importExpr(Identifiers.core));
30189
30187
  definitionMap.set("type", meta.type.value);
30190
30188
  if (meta.isStandalone !== void 0) {
@@ -30450,7 +30448,7 @@ publishFacade(_global);
30450
30448
 
30451
30449
  @angular/compiler/fesm2022/compiler.mjs:
30452
30450
  (**
30453
- * @license Angular v19.2.7
30451
+ * @license Angular v19.2.10
30454
30452
  * (c) 2010-2025 Google LLC. https://angular.io/
30455
30453
  * License: MIT
30456
30454
  *)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-eslint/bundled-angular-compiler",
3
- "version": "19.3.1-alpha.17",
3
+ "version": "19.3.1-alpha.19",
4
4
  "description": "A CJS bundled version of @angular/compiler",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",