@artel/artc 0.6.25227 → 0.6.25229
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/build/Cli.js +3 -3
- package/build/api/Api.js +4 -2
- package/build/api/ApiNodeJS.js +3 -3
- package/build/api/ApiServices.js +297 -284
- package/build/{chunk-74TFH7TE.js → chunk-2FHW6RUS.js} +3 -3
- package/build/{chunk-VD6OPILI.js → chunk-4UBNOTKC.js} +3 -3
- package/build/{chunk-NOECPQMV.js → chunk-6YPLDA76.js} +2612 -2072
- package/build/types/analysis/Analyzer.d.ts +12 -5
- package/build/types/analysis/DeclarationsUsageCounter.d.ts +8 -3
- package/build/types/analysis/DiagnosticCollector.d.ts +9 -2
- package/build/types/analysis/ModifierFlags.d.ts +5 -6
- package/build/types/analysis/NodeTypeUtils.d.ts +2 -2
- package/build/types/analysis/PackageMemberNameConflictsValidator.d.ts +24 -0
- package/build/types/analysis/SourceFileMembers.d.ts +6 -1
- package/build/types/analysis/SourcePackageMembersCreator.d.ts +2 -1
- package/build/types/analysis/TypeInferrer.d.ts +2 -0
- package/build/types/analysis/control-flow/GraphBuilder.d.ts +5 -2
- package/build/types/analysis/semantic-context/SemanticContext.d.ts +1 -1
- package/build/types/analysis/semantic-context/SemanticContextValidatingNameConflicts.d.ts +1 -80
- package/build/types/analysis/semantic-context/SourceFileSemanticContext.d.ts +1 -1
- package/build/types/analysis/semantic-context/SubprogramBodyAndParametersSemanticContext.d.ts +89 -0
- package/build/types/analysis/semantic-context/SubprogramSemanticContext.d.ts +0 -8
- package/build/types/analysis/semantic-context/TypeSemanticContext.d.ts +9 -24
- package/build/types/analysis/semantic-context/index.d.ts +1 -0
- package/build/types/common/Cached.d.ts +1 -0
- package/build/types/diagnostic/DiagnosticCode.d.ts +86 -72
- package/build/types/emitter/Entities.d.ts +4 -4
- package/build/types/emitter/IrBuilder.d.ts +0 -1
- package/build/types/entities/DereferenceOperatorEntity.d.ts +4 -4
- package/build/types/entities/FunctionEntity.d.ts +8 -8
- package/build/types/entities/IndexerEntity.d.ts +4 -4
- package/build/types/entities/OperatorEntity.d.ts +4 -4
- package/build/types/entities/VariableEntity.d.ts +25 -12
- package/build/types/entities/index.d.ts +4 -0
- package/build/types/project/SourcePackage.d.ts +3 -1
- package/build/types/project/configuration/ConfigurationConverter.d.ts +1 -1
- package/build/types/project/configuration/types/PackageConfigurationEn.d.ts +2 -0
- package/build/types/project/configuration/types/PackageConfigurationRu.d.ts +2 -0
- package/build/types/tree/KeywordKind.d.ts +21 -22
- package/build/types/tree/NodeKind.d.ts +81 -82
- package/build/types/tree/green/BaseNode.d.ts +3 -1
- package/build/types/tree/green/Nodes.d.ts +3 -21
- package/build/types/tree/red/BaseNode.d.ts +2 -1
- package/build/types/tree/red/Nodes.d.ts +4 -19
- package/build/types/ts-interop/Entities.d.ts +12 -12
- package/package.json +1 -1
@@ -10,7 +10,7 @@ import {
|
|
10
10
|
WellKnownDeclarationsLoadError,
|
11
11
|
__async,
|
12
12
|
createTsInteropInputsForCompilation
|
13
|
-
} from "./chunk-
|
13
|
+
} from "./chunk-6YPLDA76.js";
|
14
14
|
|
15
15
|
// source/executor/Compiler.ts
|
16
16
|
var Compiler = class {
|
@@ -69,7 +69,7 @@ var Compiler = class {
|
|
69
69
|
return __async(this, null, function* () {
|
70
70
|
if (analyzer.compilation.mainPackage === void 0) {
|
71
71
|
_diagnostics?.addDiagnostic(new Diagnostic(DiagnosticData.withCode(
|
72
|
-
|
72
|
+
403 /* ProgramWithoutMainPackageCannotBeCompiled */
|
73
73
|
), void 0));
|
74
74
|
return void 0;
|
75
75
|
}
|
@@ -83,7 +83,7 @@ var Compiler = class {
|
|
83
83
|
return __async(this, null, function* () {
|
84
84
|
if (analyzer.compilation.mainPackage === void 0) {
|
85
85
|
_diagnostics?.addDiagnostic(new Diagnostic(DiagnosticData.withCode(
|
86
|
-
|
86
|
+
403 /* ProgramWithoutMainPackageCannotBeCompiled */
|
87
87
|
), void 0));
|
88
88
|
return "";
|
89
89
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import {
|
2
2
|
Compiler
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-2FHW6RUS.js";
|
4
4
|
import {
|
5
5
|
ArtelVersion,
|
6
6
|
Cached,
|
@@ -14,7 +14,7 @@ import {
|
|
14
14
|
__async,
|
15
15
|
performanceMeasurementStageNames,
|
16
16
|
performanceMeasurementStages
|
17
|
-
} from "./chunk-
|
17
|
+
} from "./chunk-6YPLDA76.js";
|
18
18
|
|
19
19
|
// source/executor/FileSystemUri.ts
|
20
20
|
import { platform } from "os";
|
@@ -216,7 +216,7 @@ var NodeCompiler = class {
|
|
216
216
|
const standardLibraryUri = yield this.findStandardTypeScriptLibrary(nodeModulesSearchPaths, defaultTsLibraryPath);
|
217
217
|
if (standardLibraryUri === void 0) {
|
218
218
|
const diagnostic = new Diagnostic(DiagnosticData.withCode(
|
219
|
-
|
219
|
+
401 /* CannotFindTsLibDirectoryBaseSearchPaths0 */,
|
220
220
|
[nodeModulesSearchPaths.map((p) => `'${p}'`).join(", ")]
|
221
221
|
), void 0);
|
222
222
|
diagnostics?.addDiagnostic(diagnostic);
|