@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.
- package/bundles/{chunk-42ADUVYG.js → chunk-AIIYON4K.js} +4 -4
- package/bundles/{chunk-QYCH2357.js → chunk-EJSJTIHK.js} +2 -2
- package/bundles/{chunk-Y4VU3VP2.js → chunk-KC52PQKJ.js} +56 -21
- package/bundles/chunk-KC52PQKJ.js.map +6 -0
- package/bundles/{chunk-I2HNYMSV.js → chunk-T6QD5I2A.js} +2 -1
- package/bundles/{chunk-I2HNYMSV.js.map → chunk-T6QD5I2A.js.map} +1 -1
- package/bundles/{chunk-I7GHEGCH.js → chunk-UYFEPQRA.js} +11 -11
- package/bundles/{chunk-I7GHEGCH.js.map → chunk-UYFEPQRA.js.map} +1 -1
- package/bundles/{chunk-BK7TBDB4.js → chunk-VISOZQNG.js} +2 -2
- package/bundles/{chunk-JXVNXZIV.js → chunk-WPCCXY7F.js} +2 -2
- package/bundles/index.js +6 -6
- package/bundles/linker/babel/index.js +3 -3
- package/bundles/linker/index.js +3 -3
- package/bundles/private/migrations.js +3 -3
- package/bundles/private/tooling.js +2 -2
- package/bundles/src/bin/ng_xi18n.js +5 -5
- package/bundles/src/bin/ngc.js +5 -5
- package/bundles_metadata.json +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/component/src/handler.d.ts +1 -1
- package/src/ngtsc/diagnostics/src/error_code.d.ts +2 -0
- package/bundles/chunk-Y4VU3VP2.js.map +0 -6
- /package/bundles/{chunk-42ADUVYG.js.map → chunk-AIIYON4K.js.map} +0 -0
- /package/bundles/{chunk-QYCH2357.js.map → chunk-EJSJTIHK.js.map} +0 -0
- /package/bundles/{chunk-BK7TBDB4.js.map → chunk-VISOZQNG.js.map} +0 -0
- /package/bundles/{chunk-JXVNXZIV.js.map → chunk-WPCCXY7F.js.map} +0 -0
|
@@ -36,12 +36,12 @@ import {
|
|
|
36
36
|
aliasTransformFactory,
|
|
37
37
|
declarationTransformFactory,
|
|
38
38
|
ivyTransformFactory
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-KC52PQKJ.js";
|
|
40
40
|
import {
|
|
41
41
|
ImportManager,
|
|
42
42
|
translateExpression,
|
|
43
43
|
translateType
|
|
44
|
-
} from "./chunk-
|
|
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-
|
|
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
|
|
6668
|
-
this.enabledBlockTypes = new Set((_b = options
|
|
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
|
|
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
|
|
7128
|
-
const supportTestBed = (_b = this.options
|
|
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
|
|
7768
|
+
if (!(options["skipMetadataEmit"] || options["flatModuleOutFile"])) {
|
|
7769
7769
|
emitFlags |= EmitFlags.Metadata;
|
|
7770
7770
|
}
|
|
7771
|
-
if (options
|
|
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-
|
|
7920
|
+
//# sourceMappingURL=chunk-UYFEPQRA.js.map
|