@angular/compiler-cli 17.0.0-next.3 → 17.0.0-next.4

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.
@@ -36,12 +36,12 @@ import {
36
36
  aliasTransformFactory,
37
37
  declarationTransformFactory,
38
38
  ivyTransformFactory
39
- } from "./chunk-Y4VU3VP2.js";
39
+ } from "./chunk-KC52PQKJ.js";
40
40
  import {
41
41
  ImportManager,
42
42
  translateExpression,
43
43
  translateType
44
- } from "./chunk-QYCH2357.js";
44
+ } from "./chunk-EJSJTIHK.js";
45
45
  import {
46
46
  AbsoluteModuleStrategy,
47
47
  AliasStrategy,
@@ -83,7 +83,7 @@ import {
83
83
  relativePathBetween,
84
84
  replaceTsWithNgInErrors,
85
85
  toUnredirectedSourceFile
86
- } from "./chunk-I2HNYMSV.js";
86
+ } from "./chunk-T6QD5I2A.js";
87
87
  import {
88
88
  ActivePerfRecorder,
89
89
  DelegatingPerfRecorder,
@@ -6664,8 +6664,8 @@ var NgCompiler = class {
6664
6664
  this.constructionDiagnostics = [];
6665
6665
  this.nonTemplateDiagnostics = null;
6666
6666
  this.delegatingPerfRecorder = new DelegatingPerfRecorder(this.perfRecorder);
6667
- this.enableTemplateTypeChecker = enableTemplateTypeChecker || ((_a = options._enableTemplateTypeChecker) != null ? _a : false);
6668
- this.enabledBlockTypes = new Set((_b = options._enabledBlockTypes) != null ? _b : []);
6667
+ this.enableTemplateTypeChecker = enableTemplateTypeChecker || ((_a = options["_enableTemplateTypeChecker"]) != null ? _a : false);
6668
+ this.enabledBlockTypes = new Set((_b = options["_enabledBlockTypes"]) != null ? _b : []);
6669
6669
  this.constructionDiagnostics.push(...this.adapter.constructionDiagnostics, ...verifyCompatibleTypeCheckOptions(this.options));
6670
6670
  this.currentProgram = inputProgram;
6671
6671
  this.closureCompilerEnabled = !!this.options.annotateForClosureCompiler;
@@ -7057,7 +7057,7 @@ var NgCompiler = class {
7057
7057
  const reflector = new TypeScriptReflectionHost(checker);
7058
7058
  let refEmitter;
7059
7059
  let aliasingHost = null;
7060
- if (this.adapter.unifiedModulesHost === null || !this.options._useHostForImportGeneration) {
7060
+ if (this.adapter.unifiedModulesHost === null || !this.options["_useHostForImportGeneration"]) {
7061
7061
  let localImportStrategy;
7062
7062
  if (this.options.rootDir !== void 0 || this.options.rootDirs !== void 0 && this.options.rootDirs.length > 0) {
7063
7063
  localImportStrategy = new LogicalProjectStrategy(reflector, new LogicalFileSystem([...this.adapter.rootDirs], this.adapter));
@@ -7124,8 +7124,8 @@ var NgCompiler = class {
7124
7124
  }
7125
7125
  const cycleHandlingStrategy = compilationMode === CompilationMode.FULL ? 0 : 1;
7126
7126
  const strictCtorDeps = this.options.strictInjectionParameters || false;
7127
- const supportJitMode = (_a = this.options.supportJitMode) != null ? _a : true;
7128
- const supportTestBed = (_b = this.options.supportTestBed) != null ? _b : true;
7127
+ const supportJitMode = (_a = this.options["supportJitMode"]) != null ? _a : true;
7128
+ const supportTestBed = (_b = this.options["supportTestBed"]) != null ? _b : true;
7129
7129
  if (supportTestBed === false && compilationMode === CompilationMode.PARTIAL) {
7130
7130
  throw new Error('TestBed support ("supportTestBed" option) cannot be disabled in partial compilation mode.');
7131
7131
  }
@@ -7765,10 +7765,10 @@ function readConfiguration(project, existingOptions, host = getFileSystem()) {
7765
7765
  const parseConfigHost = createParseConfigHost(host, fs);
7766
7766
  const { options, errors, fileNames: rootNames, projectReferences } = ts34.parseJsonConfigFileContent(config, parseConfigHost, basePath, existingCompilerOptions, configFileName);
7767
7767
  let emitFlags = EmitFlags.Default;
7768
- if (!(options.skipMetadataEmit || options.flatModuleOutFile)) {
7768
+ if (!(options["skipMetadataEmit"] || options["flatModuleOutFile"])) {
7769
7769
  emitFlags |= EmitFlags.Metadata;
7770
7770
  }
7771
- if (options.skipTemplateCodegen) {
7771
+ if (options["skipTemplateCodegen"]) {
7772
7772
  emitFlags = emitFlags & ~EmitFlags.Codegen;
7773
7773
  }
7774
7774
  return { project: projectFile, rootNames, projectReferences, options, errors, emitFlags };
@@ -7917,4 +7917,4 @@ export {
7917
7917
  * Use of this source code is governed by an MIT-style license that can be
7918
7918
  * found in the LICENSE file at https://angular.io/license
7919
7919
  */
7920
- //# sourceMappingURL=chunk-I7GHEGCH.js.map
7920
+ //# sourceMappingURL=chunk-UYFEPQRA.js.map