@angular-eslint/bundled-angular-compiler 19.4.1-alpha.0 → 19.4.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.
Files changed (2) hide show
  1. package/dist/index.js +80 -54
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -45,6 +45,7 @@ __export(index_exports, {
45
45
  CommaExpr: () => CommaExpr,
46
46
  Comment: () => Comment2,
47
47
  CompilerConfig: () => CompilerConfig,
48
+ CompilerFacadeImpl: () => CompilerFacadeImpl,
48
49
  Conditional: () => Conditional,
49
50
  ConditionalExpr: () => ConditionalExpr,
50
51
  ConstantPool: () => ConstantPool,
@@ -68,7 +69,7 @@ __export(index_exports, {
68
69
  ExpressionType: () => ExpressionType,
69
70
  ExternalExpr: () => ExternalExpr,
70
71
  ExternalReference: () => ExternalReference,
71
- FactoryTarget: () => FactoryTarget$1,
72
+ FactoryTarget: () => FactoryTarget,
72
73
  FunctionExpr: () => FunctionExpr,
73
74
  HtmlParser: () => HtmlParser,
74
75
  HtmlTagDefinition: () => HtmlTagDefinition,
@@ -130,6 +131,7 @@ __export(index_exports, {
130
131
  RecursiveVisitor: () => RecursiveVisitor2,
131
132
  ResourceLoader: () => ResourceLoader,
132
133
  ReturnStatement: () => ReturnStatement,
134
+ SECURITY_SCHEMA: () => SECURITY_SCHEMA,
133
135
  STRING_TYPE: () => STRING_TYPE,
134
136
  SafeCall: () => SafeCall,
135
137
  SafeKeyedRead: () => SafeKeyedRead,
@@ -200,7 +202,7 @@ __export(index_exports, {
200
202
  VERSION: () => VERSION,
201
203
  VariableBinding: () => VariableBinding,
202
204
  Version: () => Version,
203
- ViewEncapsulation: () => ViewEncapsulation,
205
+ ViewEncapsulation: () => ViewEncapsulation$1,
204
206
  WrappedNodeExpr: () => WrappedNodeExpr,
205
207
  WriteKeyExpr: () => WriteKeyExpr,
206
208
  WritePropExpr: () => WritePropExpr,
@@ -241,6 +243,7 @@ __export(index_exports, {
241
243
  devOnlyGuardedExpression: () => devOnlyGuardedExpression,
242
244
  emitDistinctChangesOnlyDefaultValue: () => emitDistinctChangesOnlyDefaultValue,
243
245
  encapsulateStyle: () => encapsulateStyle,
246
+ escapeRegExp: () => escapeRegExp,
244
247
  findMatchingDirectivesAndPipes: () => findMatchingDirectivesAndPipes,
245
248
  getHtmlTagDefinition: () => getHtmlTagDefinition,
246
249
  getNsPrefix: () => getNsPrefix,
@@ -262,6 +265,7 @@ __export(index_exports, {
262
265
  publishFacade: () => publishFacade,
263
266
  r3JitTypeSourceSpan: () => r3JitTypeSourceSpan,
264
267
  sanitizeIdentifier: () => sanitizeIdentifier,
268
+ setEnableTemplateSourceLocations: () => setEnableTemplateSourceLocations,
265
269
  splitNsName: () => splitNsName,
266
270
  tmplAstVisitAll: () => visitAll$1,
267
271
  verifyHostBindings: () => verifyHostBindings,
@@ -269,7 +273,7 @@ __export(index_exports, {
269
273
  });
270
274
  module.exports = __toCommonJS(index_exports);
271
275
 
272
- // ../../node_modules/.pnpm/@angular+compiler@19.2.10/node_modules/@angular/compiler/fesm2022/compiler.mjs
276
+ // ../../node_modules/.pnpm/@angular+compiler@19.2.13/node_modules/@angular/compiler/fesm2022/compiler.mjs
273
277
  var _SELECTOR_REGEXP = new RegExp(
274
278
  `(\\:not\\()|(([\\.\\#]?)[-\\w]+)|(?:\\[([-.\\w*\\\\$]+)(?:=(["']?)([^\\]"']*)\\5)?\\])|(\\))|(\\s*,\\s*)`,
275
279
  // 8: ","
@@ -657,12 +661,12 @@ var SelectorContext = class {
657
661
  }
658
662
  };
659
663
  var emitDistinctChangesOnlyDefaultValue = true;
660
- var ViewEncapsulation;
664
+ var ViewEncapsulation$1;
661
665
  (function(ViewEncapsulation2) {
662
666
  ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
663
667
  ViewEncapsulation2[ViewEncapsulation2["None"] = 2] = "None";
664
668
  ViewEncapsulation2[ViewEncapsulation2["ShadowDom"] = 3] = "ShadowDom";
665
- })(ViewEncapsulation || (ViewEncapsulation = {}));
669
+ })(ViewEncapsulation$1 || (ViewEncapsulation$1 = {}));
666
670
  var ChangeDetectionStrategy;
667
671
  (function(ChangeDetectionStrategy2) {
668
672
  ChangeDetectionStrategy2[ChangeDetectionStrategy2["OnPush"] = 0] = "OnPush";
@@ -746,11 +750,31 @@ var core = /* @__PURE__ */ Object.freeze({
746
750
  },
747
751
  Type: Type$1,
748
752
  get ViewEncapsulation() {
749
- return ViewEncapsulation;
753
+ return ViewEncapsulation$1;
750
754
  },
751
755
  emitDistinctChangesOnlyDefaultValue,
752
756
  parseSelectorToR3Selector
753
757
  });
758
+ var FactoryTarget;
759
+ (function(FactoryTarget2) {
760
+ FactoryTarget2[FactoryTarget2["Directive"] = 0] = "Directive";
761
+ FactoryTarget2[FactoryTarget2["Component"] = 1] = "Component";
762
+ FactoryTarget2[FactoryTarget2["Injectable"] = 2] = "Injectable";
763
+ FactoryTarget2[FactoryTarget2["Pipe"] = 3] = "Pipe";
764
+ FactoryTarget2[FactoryTarget2["NgModule"] = 4] = "NgModule";
765
+ })(FactoryTarget || (FactoryTarget = {}));
766
+ var R3TemplateDependencyKind$1;
767
+ (function(R3TemplateDependencyKind2) {
768
+ R3TemplateDependencyKind2[R3TemplateDependencyKind2["Directive"] = 0] = "Directive";
769
+ R3TemplateDependencyKind2[R3TemplateDependencyKind2["Pipe"] = 1] = "Pipe";
770
+ R3TemplateDependencyKind2[R3TemplateDependencyKind2["NgModule"] = 2] = "NgModule";
771
+ })(R3TemplateDependencyKind$1 || (R3TemplateDependencyKind$1 = {}));
772
+ var ViewEncapsulation;
773
+ (function(ViewEncapsulation2) {
774
+ ViewEncapsulation2[ViewEncapsulation2["Emulated"] = 0] = "Emulated";
775
+ ViewEncapsulation2[ViewEncapsulation2["None"] = 2] = "None";
776
+ ViewEncapsulation2[ViewEncapsulation2["ShadowDom"] = 3] = "ShadowDom";
777
+ })(ViewEncapsulation || (ViewEncapsulation = {}));
754
778
  var textEncoder;
755
779
  function digest$1(message) {
756
780
  return message.id || computeDigest(message);
@@ -3193,6 +3217,10 @@ var Identifiers = class {
3193
3217
  static forwardRef = { name: "forwardRef", moduleName: CORE };
3194
3218
  static resolveForwardRef = { name: "resolveForwardRef", moduleName: CORE };
3195
3219
  static replaceMetadata = { name: "\u0275\u0275replaceMetadata", moduleName: CORE };
3220
+ static getReplaceMetadataURL = {
3221
+ name: "\u0275\u0275getReplaceMetadataURL",
3222
+ moduleName: CORE
3223
+ };
3196
3224
  static \u0275\u0275defineInjectable = { name: "\u0275\u0275defineInjectable", moduleName: CORE };
3197
3225
  static declareInjectable = { name: "\u0275\u0275ngDeclareInjectable", moduleName: CORE };
3198
3226
  static InjectableDeclaration = {
@@ -3365,6 +3393,10 @@ function noUndefined(val) {
3365
3393
  return val === void 0 ? null : val;
3366
3394
  }
3367
3395
  __name(noUndefined, "noUndefined");
3396
+ function escapeRegExp(s) {
3397
+ return s.replace(/([.*+?^=!:${}()|[\]\/\\])/g, "\\$1");
3398
+ }
3399
+ __name(escapeRegExp, "escapeRegExp");
3368
3400
  function utf8Encode(str) {
3369
3401
  let encoded = [];
3370
3402
  for (let index = 0; index < str.length; index++) {
@@ -4173,14 +4205,6 @@ var R3FactoryDelegateType;
4173
4205
  R3FactoryDelegateType2[R3FactoryDelegateType2["Class"] = 0] = "Class";
4174
4206
  R3FactoryDelegateType2[R3FactoryDelegateType2["Function"] = 1] = "Function";
4175
4207
  })(R3FactoryDelegateType || (R3FactoryDelegateType = {}));
4176
- var FactoryTarget$1;
4177
- (function(FactoryTarget2) {
4178
- FactoryTarget2[FactoryTarget2["Directive"] = 0] = "Directive";
4179
- FactoryTarget2[FactoryTarget2["Component"] = 1] = "Component";
4180
- FactoryTarget2[FactoryTarget2["Injectable"] = 2] = "Injectable";
4181
- FactoryTarget2[FactoryTarget2["Pipe"] = 3] = "Pipe";
4182
- FactoryTarget2[FactoryTarget2["NgModule"] = 4] = "NgModule";
4183
- })(FactoryTarget$1 || (FactoryTarget$1 = {}));
4184
4208
  function compileFactoryFunction(meta) {
4185
4209
  const t = variable("__ngFactoryType__");
4186
4210
  let baseFactoryVar = null;
@@ -4255,7 +4279,7 @@ function compileInjectDependency(dep, target, index) {
4255
4279
  if (dep.token === null) {
4256
4280
  return importExpr(Identifiers.invalidFactoryDep).callFn([literal(index)]);
4257
4281
  } else if (dep.attributeNameType === null) {
4258
- const flags = 0 | (dep.self ? 2 : 0) | (dep.skipSelf ? 4 : 0) | (dep.host ? 1 : 0) | (dep.optional ? 8 : 0) | (target === FactoryTarget$1.Pipe ? 16 : 0);
4282
+ const flags = 0 | (dep.self ? 2 : 0) | (dep.skipSelf ? 4 : 0) | (dep.host ? 1 : 0) | (dep.optional ? 8 : 0) | (target === FactoryTarget.Pipe ? 16 : 0);
4259
4283
  let flagsParam = flags !== 0 || dep.optional ? literal(flags) : null;
4260
4284
  const injectArgs = [dep.token];
4261
4285
  if (flagsParam) {
@@ -4316,12 +4340,12 @@ function isExpressionFactoryMetadata(meta) {
4316
4340
  __name(isExpressionFactoryMetadata, "isExpressionFactoryMetadata");
4317
4341
  function getInjectFn(target) {
4318
4342
  switch (target) {
4319
- case FactoryTarget$1.Component:
4320
- case FactoryTarget$1.Directive:
4321
- case FactoryTarget$1.Pipe:
4343
+ case FactoryTarget.Component:
4344
+ case FactoryTarget.Directive:
4345
+ case FactoryTarget.Pipe:
4322
4346
  return Identifiers.directiveInject;
4323
- case FactoryTarget$1.NgModule:
4324
- case FactoryTarget$1.Injectable:
4347
+ case FactoryTarget.NgModule:
4348
+ case FactoryTarget.Injectable:
4325
4349
  default:
4326
4350
  return Identifiers.inject;
4327
4351
  }
@@ -6610,7 +6634,7 @@ function compileInjectable(meta, resolveForwardRefs) {
6610
6634
  type: meta.type,
6611
6635
  typeArgumentCount: meta.typeArgumentCount,
6612
6636
  deps: [],
6613
- target: FactoryTarget$1.Injectable
6637
+ target: FactoryTarget.Injectable
6614
6638
  };
6615
6639
  if (meta.useClass !== void 0) {
6616
6640
  const useClassOnSelf = meta.useClass.expression.isEquivalent(meta.type.value);
@@ -23918,6 +23942,10 @@ function ingestControlFlowInsertionPoint(unit, xref, node) {
23918
23942
  }
23919
23943
  __name(ingestControlFlowInsertionPoint, "ingestControlFlowInsertionPoint");
23920
23944
  var ENABLE_TEMPLATE_SOURCE_LOCATIONS = false;
23945
+ function setEnableTemplateSourceLocations(value) {
23946
+ ENABLE_TEMPLATE_SOURCE_LOCATIONS = value;
23947
+ }
23948
+ __name(setEnableTemplateSourceLocations, "setEnableTemplateSourceLocations");
23921
23949
  function getTemplateSourceLocationsEnabled() {
23922
23950
  return ENABLE_TEMPLATE_SOURCE_LOCATIONS;
23923
23951
  }
@@ -26104,11 +26132,11 @@ function compileComponentFromMetadata(meta, constantPool, bindingParser) {
26104
26132
  definitionMap.set("dependencies", importExpr(Identifiers.getComponentDepsFactory).callFn(args));
26105
26133
  }
26106
26134
  if (meta.encapsulation === null) {
26107
- meta.encapsulation = ViewEncapsulation.Emulated;
26135
+ meta.encapsulation = ViewEncapsulation$1.Emulated;
26108
26136
  }
26109
26137
  let hasStyles = !!meta.externalStyles?.length;
26110
26138
  if (meta.styles && meta.styles.length) {
26111
- const styleValues = meta.encapsulation == ViewEncapsulation.Emulated ? compileStyles(meta.styles, CONTENT_ATTR, HOST_ATTR) : meta.styles;
26139
+ const styleValues = meta.encapsulation == ViewEncapsulation$1.Emulated ? compileStyles(meta.styles, CONTENT_ATTR, HOST_ATTR) : meta.styles;
26112
26140
  const styleNodes = styleValues.reduce((result, style) => {
26113
26141
  if (style.trim().length > 0) {
26114
26142
  result.push(constantPool.getConstLiteral(literal(style)));
@@ -26120,10 +26148,10 @@ function compileComponentFromMetadata(meta, constantPool, bindingParser) {
26120
26148
  definitionMap.set("styles", literalArr(styleNodes));
26121
26149
  }
26122
26150
  }
26123
- if (!hasStyles && meta.encapsulation === ViewEncapsulation.Emulated) {
26124
- meta.encapsulation = ViewEncapsulation.None;
26151
+ if (!hasStyles && meta.encapsulation === ViewEncapsulation$1.Emulated) {
26152
+ meta.encapsulation = ViewEncapsulation$1.None;
26125
26153
  }
26126
- if (meta.encapsulation !== ViewEncapsulation.Emulated) {
26154
+ if (meta.encapsulation !== ViewEncapsulation$1.Emulated) {
26127
26155
  definitionMap.set("encapsulation", literal(meta.encapsulation));
26128
26156
  }
26129
26157
  if (meta.animations !== null) {
@@ -27221,7 +27249,7 @@ var CompilerFacadeImpl = class {
27221
27249
  __name(this, "CompilerFacadeImpl");
27222
27250
  }
27223
27251
  jitEvaluator;
27224
- FactoryTarget = FactoryTarget$1;
27252
+ FactoryTarget = FactoryTarget;
27225
27253
  ResourceLoader = ResourceLoader;
27226
27254
  elementSchemaRegistry = new DomElementSchemaRegistry();
27227
27255
  constructor(jitEvaluator = new JitEvaluator()) {
@@ -27600,7 +27628,7 @@ function convertDeclareComponentFacadeToMetadata(decl, typeSourceSpan, sourceMap
27600
27628
  animations: decl.animations !== void 0 ? new WrappedNodeExpr(decl.animations) : null,
27601
27629
  defer: defer2,
27602
27630
  changeDetection: decl.changeDetection ?? ChangeDetectionStrategy.Default,
27603
- encapsulation: decl.encapsulation ?? ViewEncapsulation.Emulated,
27631
+ encapsulation: decl.encapsulation ?? ViewEncapsulation$1.Emulated,
27604
27632
  interpolation,
27605
27633
  declarationListEmitMode: 2,
27606
27634
  relativeContextFilePath: "",
@@ -27869,7 +27897,7 @@ function publishFacade(global) {
27869
27897
  ng.\u0275compilerFacade = new CompilerFacadeImpl();
27870
27898
  }
27871
27899
  __name(publishFacade, "publishFacade");
27872
- var VERSION = new Version("19.2.10");
27900
+ var VERSION = new Version("19.2.13");
27873
27901
  var CompilerConfig = class {
27874
27902
  static {
27875
27903
  __name(this, "CompilerConfig");
@@ -27877,7 +27905,7 @@ var CompilerConfig = class {
27877
27905
  defaultEncapsulation;
27878
27906
  preserveWhitespaces;
27879
27907
  strictInjectionParameters;
27880
- constructor({ defaultEncapsulation = ViewEncapsulation.Emulated, preserveWhitespaces, strictInjectionParameters } = {}) {
27908
+ constructor({ defaultEncapsulation = ViewEncapsulation$1.Emulated, preserveWhitespaces, strictInjectionParameters } = {}) {
27881
27909
  this.defaultEncapsulation = defaultEncapsulation;
27882
27910
  this.preserveWhitespaces = preserveWhitespacesDefault(noUndefined(preserveWhitespaces));
27883
27911
  this.strictInjectionParameters = strictInjectionParameters === true;
@@ -29509,14 +29537,6 @@ var MapPlaceholderNames = class extends CloneVisitor {
29509
29537
  return new IcuPlaceholder(ph.value, mapper.toPublicName(ph.name), ph.sourceSpan);
29510
29538
  }
29511
29539
  };
29512
- var FactoryTarget;
29513
- (function(FactoryTarget2) {
29514
- FactoryTarget2[FactoryTarget2["Directive"] = 0] = "Directive";
29515
- FactoryTarget2[FactoryTarget2["Component"] = 1] = "Component";
29516
- FactoryTarget2[FactoryTarget2["Injectable"] = 2] = "Injectable";
29517
- FactoryTarget2[FactoryTarget2["Pipe"] = 3] = "Pipe";
29518
- FactoryTarget2[FactoryTarget2["NgModule"] = 4] = "NgModule";
29519
- })(FactoryTarget || (FactoryTarget = {}));
29520
29540
  function compileClassMetadata(metadata) {
29521
29541
  const fnCall = internalCompileClassMetadata(metadata);
29522
29542
  return arrowFn([], [devOnlyGuardedExpression(fnCall).toStmt()]).callFn([]);
@@ -29595,14 +29615,16 @@ function compileHmrInitializer(meta) {
29595
29615
  variable(idName)
29596
29616
  ]);
29597
29617
  const replaceCallback = arrowFn([new FnParam(moduleName)], defaultRead.and(replaceCall));
29598
- const urlValue = literal(`./@ng/component?c=`).plus(variable(idName)).plus(literal("&t=")).plus(variable("encodeURIComponent").callFn([variable(timestampName)]));
29599
- const urlBase = variable("import").prop("meta").prop("url");
29600
- const urlHref = new InstantiateExpr(variable("URL"), [urlValue, urlBase]).prop("href");
29618
+ const url = importExpr(Identifiers.getReplaceMetadataURL).callFn([
29619
+ variable(idName),
29620
+ variable(timestampName),
29621
+ variable("import").prop("meta").prop("url")
29622
+ ]);
29601
29623
  const importCallback = new DeclareFunctionStmt(importCallbackName, [new FnParam(timestampName)], [
29602
29624
  // The vite-ignore special comment is required to prevent Vite from generating a superfluous
29603
29625
  // warning for each usage within the development code. If Vite provides a method to
29604
29626
  // programmatically avoid this warning in the future, this added comment can be removed here.
29605
- new DynamicImportExpr(urlHref, null, "@vite-ignore").prop("then").callFn([replaceCallback]).toStmt()
29627
+ new DynamicImportExpr(url, null, "@vite-ignore").prop("then").callFn([replaceCallback]).toStmt()
29606
29628
  ], null, StmtModifier.Final);
29607
29629
  const updateCallback = arrowFn([new FnParam(dataName)], variable(dataName).prop("id").identical(variable(idName)).and(variable(importCallbackName).callFn([variable(dataName).prop("timestamp")])));
29608
29630
  const initialCall = variable(importCallbackName).callFn([variable("Date").prop("now").callFn([])]);
@@ -29647,7 +29669,7 @@ var MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = "18.0.0";
29647
29669
  function compileDeclareClassMetadata(metadata) {
29648
29670
  const definitionMap = new DefinitionMap();
29649
29671
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
29650
- definitionMap.set("version", literal("19.2.10"));
29672
+ definitionMap.set("version", literal("19.2.13"));
29651
29673
  definitionMap.set("ngImport", importExpr(Identifiers.core));
29652
29674
  definitionMap.set("type", metadata.type);
29653
29675
  definitionMap.set("decorators", metadata.decorators);
@@ -29666,7 +29688,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
29666
29688
  callbackReturnDefinitionMap.set("ctorParameters", metadata.ctorParameters ?? literal(null));
29667
29689
  callbackReturnDefinitionMap.set("propDecorators", metadata.propDecorators ?? literal(null));
29668
29690
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
29669
- definitionMap.set("version", literal("19.2.10"));
29691
+ definitionMap.set("version", literal("19.2.13"));
29670
29692
  definitionMap.set("ngImport", importExpr(Identifiers.core));
29671
29693
  definitionMap.set("type", metadata.type);
29672
29694
  definitionMap.set("resolveDeferredDeps", compileComponentMetadataAsyncResolver(dependencies));
@@ -29735,7 +29757,7 @@ function createDirectiveDefinitionMap(meta) {
29735
29757
  const definitionMap = new DefinitionMap();
29736
29758
  const minVersion = getMinimumVersionForPartialOutput(meta);
29737
29759
  definitionMap.set("minVersion", literal(minVersion));
29738
- definitionMap.set("version", literal("19.2.10"));
29760
+ definitionMap.set("version", literal("19.2.13"));
29739
29761
  definitionMap.set("type", meta.type.value);
29740
29762
  if (meta.isStandalone !== void 0) {
29741
29763
  definitionMap.set("isStandalone", literal(meta.isStandalone));
@@ -29932,8 +29954,8 @@ function createComponentDefinitionMap(meta, template2, templateInfo) {
29932
29954
  }
29933
29955
  definitionMap.set("changeDetection", importExpr(Identifiers.ChangeDetectionStrategy).prop(ChangeDetectionStrategy[meta.changeDetection]));
29934
29956
  }
29935
- if (meta.encapsulation !== ViewEncapsulation.Emulated) {
29936
- definitionMap.set("encapsulation", importExpr(Identifiers.ViewEncapsulation).prop(ViewEncapsulation[meta.encapsulation]));
29957
+ if (meta.encapsulation !== ViewEncapsulation$1.Emulated) {
29958
+ definitionMap.set("encapsulation", importExpr(Identifiers.ViewEncapsulation).prop(ViewEncapsulation$1[meta.encapsulation]));
29937
29959
  }
29938
29960
  if (meta.interpolation !== DEFAULT_INTERPOLATION_CONFIG) {
29939
29961
  definitionMap.set("interpolation", literalArr([literal(meta.interpolation.start), literal(meta.interpolation.end)]));
@@ -30062,11 +30084,11 @@ var MINIMUM_PARTIAL_LINKER_VERSION$4 = "12.0.0";
30062
30084
  function compileDeclareFactoryFunction(meta) {
30063
30085
  const definitionMap = new DefinitionMap();
30064
30086
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
30065
- definitionMap.set("version", literal("19.2.10"));
30087
+ definitionMap.set("version", literal("19.2.13"));
30066
30088
  definitionMap.set("ngImport", importExpr(Identifiers.core));
30067
30089
  definitionMap.set("type", meta.type.value);
30068
30090
  definitionMap.set("deps", compileDependencies(meta.deps));
30069
- definitionMap.set("target", importExpr(Identifiers.FactoryTarget).prop(FactoryTarget$1[meta.target]));
30091
+ definitionMap.set("target", importExpr(Identifiers.FactoryTarget).prop(FactoryTarget[meta.target]));
30070
30092
  return {
30071
30093
  expression: importExpr(Identifiers.declareFactory).callFn([definitionMap.toLiteralMap()]),
30072
30094
  statements: [],
@@ -30085,7 +30107,7 @@ __name(compileDeclareInjectableFromMetadata, "compileDeclareInjectableFromMetada
30085
30107
  function createInjectableDefinitionMap(meta) {
30086
30108
  const definitionMap = new DefinitionMap();
30087
30109
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
30088
- definitionMap.set("version", literal("19.2.10"));
30110
+ definitionMap.set("version", literal("19.2.13"));
30089
30111
  definitionMap.set("ngImport", importExpr(Identifiers.core));
30090
30112
  definitionMap.set("type", meta.type.value);
30091
30113
  if (meta.providedIn !== void 0) {
@@ -30123,7 +30145,7 @@ __name(compileDeclareInjectorFromMetadata, "compileDeclareInjectorFromMetadata")
30123
30145
  function createInjectorDefinitionMap(meta) {
30124
30146
  const definitionMap = new DefinitionMap();
30125
30147
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
30126
- definitionMap.set("version", literal("19.2.10"));
30148
+ definitionMap.set("version", literal("19.2.13"));
30127
30149
  definitionMap.set("ngImport", importExpr(Identifiers.core));
30128
30150
  definitionMap.set("type", meta.type.value);
30129
30151
  definitionMap.set("providers", meta.providers);
@@ -30147,7 +30169,7 @@ function createNgModuleDefinitionMap(meta) {
30147
30169
  throw new Error("Invalid path! Local compilation mode should not get into the partial compilation path");
30148
30170
  }
30149
30171
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
30150
- definitionMap.set("version", literal("19.2.10"));
30172
+ definitionMap.set("version", literal("19.2.13"));
30151
30173
  definitionMap.set("ngImport", importExpr(Identifiers.core));
30152
30174
  definitionMap.set("type", meta.type.value);
30153
30175
  if (meta.bootstrap.length > 0) {
@@ -30182,7 +30204,7 @@ __name(compileDeclarePipeFromMetadata, "compileDeclarePipeFromMetadata");
30182
30204
  function createPipeDefinitionMap(meta) {
30183
30205
  const definitionMap = new DefinitionMap();
30184
30206
  definitionMap.set("minVersion", literal(MINIMUM_PARTIAL_LINKER_VERSION));
30185
- definitionMap.set("version", literal("19.2.10"));
30207
+ definitionMap.set("version", literal("19.2.13"));
30186
30208
  definitionMap.set("ngImport", importExpr(Identifiers.core));
30187
30209
  definitionMap.set("type", meta.type.value);
30188
30210
  if (meta.isStandalone !== void 0) {
@@ -30222,6 +30244,7 @@ publishFacade(_global);
30222
30244
  CommaExpr,
30223
30245
  Comment,
30224
30246
  CompilerConfig,
30247
+ CompilerFacadeImpl,
30225
30248
  Conditional,
30226
30249
  ConditionalExpr,
30227
30250
  ConstantPool,
@@ -30307,6 +30330,7 @@ publishFacade(_global);
30307
30330
  RecursiveVisitor,
30308
30331
  ResourceLoader,
30309
30332
  ReturnStatement,
30333
+ SECURITY_SCHEMA,
30310
30334
  STRING_TYPE,
30311
30335
  SafeCall,
30312
30336
  SafeKeyedRead,
@@ -30418,6 +30442,7 @@ publishFacade(_global);
30418
30442
  devOnlyGuardedExpression,
30419
30443
  emitDistinctChangesOnlyDefaultValue,
30420
30444
  encapsulateStyle,
30445
+ escapeRegExp,
30421
30446
  findMatchingDirectivesAndPipes,
30422
30447
  getHtmlTagDefinition,
30423
30448
  getNsPrefix,
@@ -30439,6 +30464,7 @@ publishFacade(_global);
30439
30464
  publishFacade,
30440
30465
  r3JitTypeSourceSpan,
30441
30466
  sanitizeIdentifier,
30467
+ setEnableTemplateSourceLocations,
30442
30468
  splitNsName,
30443
30469
  tmplAstVisitAll,
30444
30470
  verifyHostBindings,
@@ -30448,7 +30474,7 @@ publishFacade(_global);
30448
30474
 
30449
30475
  @angular/compiler/fesm2022/compiler.mjs:
30450
30476
  (**
30451
- * @license Angular v19.2.10
30477
+ * @license Angular v19.2.13
30452
30478
  * (c) 2010-2025 Google LLC. https://angular.io/
30453
30479
  * License: MIT
30454
30480
  *)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-eslint/bundled-angular-compiler",
3
- "version": "19.4.1-alpha.0",
3
+ "version": "19.4.1-alpha.10",
4
4
  "description": "A CJS bundled version of @angular/compiler",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",