@angular/compiler-cli 17.0.0-rc.3 → 17.0.1

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.
@@ -12,7 +12,7 @@ import {
12
12
  formatDiagnostics,
13
13
  performCompilation,
14
14
  readConfiguration
15
- } from "./chunk-SKLJR6LO.js";
15
+ } from "./chunk-VBLBTWOL.js";
16
16
 
17
17
  // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/main.mjs
18
18
  import ts2 from "typescript";
@@ -342,4 +342,4 @@ export {
342
342
  * Use of this source code is governed by an MIT-style license that can be
343
343
  * found in the LICENSE file at https://angular.io/license
344
344
  */
345
- //# sourceMappingURL=chunk-N7FTHCOD.js.map
345
+ //# sourceMappingURL=chunk-3L3QP7PC.js.map
@@ -5959,7 +5959,8 @@ function parseExtractedTemplate(template, sourceStr, sourceParseRange, escapedSt
5959
5959
  escapedString,
5960
5960
  enableI18nLegacyMessageIdFormat: options.enableI18nLegacyMessageIdFormat,
5961
5961
  i18nNormalizeLineEndingsInICUs,
5962
- alwaysAttemptHtmlToR3AstConversion: options.usePoisonedData
5962
+ alwaysAttemptHtmlToR3AstConversion: options.usePoisonedData,
5963
+ enableBlockSyntax: options.enableBlockSyntax
5963
5964
  });
5964
5965
  const { nodes: diagNodes } = parseTemplate(sourceStr, sourceMapUrl != null ? sourceMapUrl : "", {
5965
5966
  preserveWhitespaces: true,
@@ -5970,7 +5971,8 @@ function parseExtractedTemplate(template, sourceStr, sourceParseRange, escapedSt
5970
5971
  enableI18nLegacyMessageIdFormat: options.enableI18nLegacyMessageIdFormat,
5971
5972
  i18nNormalizeLineEndingsInICUs,
5972
5973
  leadingTriviaChars: [],
5973
- alwaysAttemptHtmlToR3AstConversion: options.usePoisonedData
5974
+ alwaysAttemptHtmlToR3AstConversion: options.usePoisonedData,
5975
+ enableBlockSyntax: options.enableBlockSyntax
5974
5976
  });
5975
5977
  return {
5976
5978
  ...parsedTemplate,
@@ -6343,7 +6345,7 @@ var EMPTY_ARRAY2 = [];
6343
6345
  var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
6344
6346
  var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
6345
6347
  var ComponentDecoratorHandler = class {
6346
- constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver, includeClassMetadata, compilationMode, deferredSymbolTracker, forbidOrphanRendering) {
6348
+ constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver, includeClassMetadata, compilationMode, deferredSymbolTracker, forbidOrphanRendering, enableBlockSyntax) {
6347
6349
  this.reflector = reflector;
6348
6350
  this.evaluator = evaluator;
6349
6351
  this.metaRegistry = metaRegistry;
@@ -6377,6 +6379,7 @@ var ComponentDecoratorHandler = class {
6377
6379
  this.compilationMode = compilationMode;
6378
6380
  this.deferredSymbolTracker = deferredSymbolTracker;
6379
6381
  this.forbidOrphanRendering = forbidOrphanRendering;
6382
+ this.enableBlockSyntax = enableBlockSyntax;
6380
6383
  this.literalCache = /* @__PURE__ */ new Map();
6381
6384
  this.elementSchemaRegistry = new DomElementSchemaRegistry();
6382
6385
  this.preanalyzeTemplateCache = /* @__PURE__ */ new Map();
@@ -6386,7 +6389,8 @@ var ComponentDecoratorHandler = class {
6386
6389
  this.extractTemplateOptions = {
6387
6390
  enableI18nLegacyMessageIdFormat: this.enableI18nLegacyMessageIdFormat,
6388
6391
  i18nNormalizeLineEndingsInICUs: this.i18nNormalizeLineEndingsInICUs,
6389
- usePoisonedData: this.usePoisonedData
6392
+ usePoisonedData: this.usePoisonedData,
6393
+ enableBlockSyntax: this.enableBlockSyntax
6390
6394
  };
6391
6395
  }
6392
6396
  detect(node, decorators) {
@@ -6539,7 +6543,8 @@ var ComponentDecoratorHandler = class {
6539
6543
  template = extractTemplate(node, templateDecl, this.evaluator, this.depTracker, this.resourceLoader, {
6540
6544
  enableI18nLegacyMessageIdFormat: this.enableI18nLegacyMessageIdFormat,
6541
6545
  i18nNormalizeLineEndingsInICUs: this.i18nNormalizeLineEndingsInICUs,
6542
- usePoisonedData: this.usePoisonedData
6546
+ usePoisonedData: this.usePoisonedData,
6547
+ enableBlockSyntax: this.enableBlockSyntax
6543
6548
  }, this.compilationMode);
6544
6549
  }
6545
6550
  const templateResource = template.declaration.isInline ? { path: null, expression: component.get("template") } : {
@@ -7619,4 +7624,4 @@ export {
7619
7624
  * Use of this source code is governed by an MIT-style license that can be
7620
7625
  * found in the LICENSE file at https://angular.io/license
7621
7626
  */
7622
- //# sourceMappingURL=chunk-2I2I3FLR.js.map
7627
+ //# sourceMappingURL=chunk-HKIDKKUJ.js.map