@typescript-deploys/pr-build 5.2.0-pr-54647-2 → 5.2.0-pr-48838-5
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/lib/tsc.js +9 -9
- package/lib/tsserver.js +47 -51
- package/lib/tsserverlibrary.js +43 -47
- package/lib/typescript.js +14 -18
- package/lib/typingsInstaller.js +6 -6
- package/package.json +2 -2
package/lib/tsc.js
CHANGED
|
@@ -18,7 +18,7 @@ and limitations under the License.
|
|
|
18
18
|
|
|
19
19
|
// src/compiler/corePublic.ts
|
|
20
20
|
var versionMajorMinor = "5.2";
|
|
21
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
21
|
+
var version = `${versionMajorMinor}.0-insiders.20230617`;
|
|
22
22
|
|
|
23
23
|
// src/compiler/core.ts
|
|
24
24
|
var emptyArray = [];
|
|
@@ -2315,7 +2315,7 @@ var prereleasePartRegExp = /^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)$/i;
|
|
|
2315
2315
|
var buildRegExp = /^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i;
|
|
2316
2316
|
var buildPartRegExp = /^[a-z0-9-]+$/i;
|
|
2317
2317
|
var numericIdentifierRegExp = /^(0|[1-9]\d*)$/;
|
|
2318
|
-
var _Version = class {
|
|
2318
|
+
var _Version = class _Version {
|
|
2319
2319
|
constructor(major, minor = 0, patch = 0, prerelease = "", build2 = "") {
|
|
2320
2320
|
if (typeof major === "string") {
|
|
2321
2321
|
const result = Debug.checkDefined(tryParseComponents(major), "Invalid version");
|
|
@@ -2379,8 +2379,8 @@ var _Version = class {
|
|
|
2379
2379
|
return result;
|
|
2380
2380
|
}
|
|
2381
2381
|
};
|
|
2382
|
+
_Version.zero = new _Version(0, 0, 0, ["0"]);
|
|
2382
2383
|
var Version = _Version;
|
|
2383
|
-
Version.zero = new _Version(0, 0, 0, ["0"]);
|
|
2384
2384
|
function tryParseComponents(text) {
|
|
2385
2385
|
const match = versionRegExp.exec(text);
|
|
2386
2386
|
if (!match)
|
|
@@ -2427,14 +2427,14 @@ function comparePrereleaseIdentifiers(left, right) {
|
|
|
2427
2427
|
}
|
|
2428
2428
|
return compareValues(left.length, right.length);
|
|
2429
2429
|
}
|
|
2430
|
-
var VersionRange = class {
|
|
2430
|
+
var VersionRange = class _VersionRange {
|
|
2431
2431
|
constructor(spec) {
|
|
2432
2432
|
this._alternatives = spec ? Debug.checkDefined(parseRange(spec), "Invalid range spec.") : emptyArray;
|
|
2433
2433
|
}
|
|
2434
2434
|
static tryParse(text) {
|
|
2435
2435
|
const sets = parseRange(text);
|
|
2436
2436
|
if (sets) {
|
|
2437
|
-
const range = new
|
|
2437
|
+
const range = new _VersionRange("");
|
|
2438
2438
|
range._alternatives = sets;
|
|
2439
2439
|
return range;
|
|
2440
2440
|
}
|
|
@@ -7699,7 +7699,7 @@ var Diagnostics = {
|
|
|
7699
7699
|
Could_not_convert_to_arrow_function: diag(95151, 3 /* Message */, "Could_not_convert_to_arrow_function_95151", "Could not convert to arrow function"),
|
|
7700
7700
|
Could_not_convert_to_named_function: diag(95152, 3 /* Message */, "Could_not_convert_to_named_function_95152", "Could not convert to named function"),
|
|
7701
7701
|
Could_not_convert_to_anonymous_function: diag(95153, 3 /* Message */, "Could_not_convert_to_anonymous_function_95153", "Could not convert to anonymous function"),
|
|
7702
|
-
|
|
7702
|
+
Can_only_convert_string_concatenation: diag(95154, 3 /* Message */, "Can_only_convert_string_concatenation_95154", "Can only convert string concatenation"),
|
|
7703
7703
|
Selection_is_not_a_valid_statement_or_statements: diag(95155, 3 /* Message */, "Selection_is_not_a_valid_statement_or_statements_95155", "Selection is not a valid statement or statements"),
|
|
7704
7704
|
Add_missing_function_declaration_0: diag(95156, 3 /* Message */, "Add_missing_function_declaration_0_95156", "Add missing function declaration '{0}'"),
|
|
7705
7705
|
Add_all_missing_function_declarations: diag(95157, 3 /* Message */, "Add_all_missing_function_declarations_95157", "Add all missing function declarations"),
|
|
@@ -67202,7 +67202,7 @@ function createTypeChecker(host) {
|
|
|
67202
67202
|
function instantiateContextualType(contextualType, node, contextFlags) {
|
|
67203
67203
|
if (contextualType && maybeTypeOfKind(contextualType, 465829888 /* Instantiable */)) {
|
|
67204
67204
|
const inferenceContext = getInferenceContext(node);
|
|
67205
|
-
if (inferenceContext && contextFlags & 1 /* Signature */ && some(inferenceContext.inferences, hasInferenceCandidatesOrDefault)) {
|
|
67205
|
+
if (inferenceContext && (contextFlags & 1 /* Signature */ || maybeTypeOfKind(contextualType, 25165824 /* Simplifiable */)) && some(inferenceContext.inferences, hasInferenceCandidatesOrDefault)) {
|
|
67206
67206
|
return instantiateInstantiableTypes(contextualType, inferenceContext.nonFixingMapper);
|
|
67207
67207
|
}
|
|
67208
67208
|
if (inferenceContext == null ? void 0 : inferenceContext.returnMapper) {
|
|
@@ -83358,13 +83358,13 @@ function createBasicNodeBuilderModuleSpecifierResolutionHost(host) {
|
|
|
83358
83358
|
readFile: host.readFile ? (fileName) => host.readFile(fileName) : void 0
|
|
83359
83359
|
};
|
|
83360
83360
|
}
|
|
83361
|
-
var SymbolTrackerImpl = class {
|
|
83361
|
+
var SymbolTrackerImpl = class _SymbolTrackerImpl {
|
|
83362
83362
|
constructor(context, tracker, moduleResolverHost) {
|
|
83363
83363
|
this.moduleResolverHost = void 0;
|
|
83364
83364
|
this.inner = void 0;
|
|
83365
83365
|
this.disableTrackSymbol = false;
|
|
83366
83366
|
var _a;
|
|
83367
|
-
while (tracker instanceof
|
|
83367
|
+
while (tracker instanceof _SymbolTrackerImpl) {
|
|
83368
83368
|
tracker = tracker.inner;
|
|
83369
83369
|
}
|
|
83370
83370
|
this.inner = tracker;
|
package/lib/tsserver.js
CHANGED
|
@@ -2305,7 +2305,7 @@ module.exports = __toCommonJS(server_exports);
|
|
|
2305
2305
|
|
|
2306
2306
|
// src/compiler/corePublic.ts
|
|
2307
2307
|
var versionMajorMinor = "5.2";
|
|
2308
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
2308
|
+
var version = `${versionMajorMinor}.0-insiders.20230617`;
|
|
2309
2309
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
2310
2310
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
2311
2311
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -4998,7 +4998,7 @@ var prereleasePartRegExp = /^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)$/i;
|
|
|
4998
4998
|
var buildRegExp = /^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i;
|
|
4999
4999
|
var buildPartRegExp = /^[a-z0-9-]+$/i;
|
|
5000
5000
|
var numericIdentifierRegExp = /^(0|[1-9]\d*)$/;
|
|
5001
|
-
var _Version = class {
|
|
5001
|
+
var _Version = class _Version {
|
|
5002
5002
|
constructor(major, minor = 0, patch = 0, prerelease = "", build2 = "") {
|
|
5003
5003
|
if (typeof major === "string") {
|
|
5004
5004
|
const result = Debug.checkDefined(tryParseComponents(major), "Invalid version");
|
|
@@ -5062,8 +5062,8 @@ var _Version = class {
|
|
|
5062
5062
|
return result;
|
|
5063
5063
|
}
|
|
5064
5064
|
};
|
|
5065
|
+
_Version.zero = new _Version(0, 0, 0, ["0"]);
|
|
5065
5066
|
var Version = _Version;
|
|
5066
|
-
Version.zero = new _Version(0, 0, 0, ["0"]);
|
|
5067
5067
|
function tryParseComponents(text) {
|
|
5068
5068
|
const match = versionRegExp.exec(text);
|
|
5069
5069
|
if (!match)
|
|
@@ -5110,14 +5110,14 @@ function comparePrereleaseIdentifiers(left, right) {
|
|
|
5110
5110
|
}
|
|
5111
5111
|
return compareValues(left.length, right.length);
|
|
5112
5112
|
}
|
|
5113
|
-
var VersionRange = class {
|
|
5113
|
+
var VersionRange = class _VersionRange {
|
|
5114
5114
|
constructor(spec) {
|
|
5115
5115
|
this._alternatives = spec ? Debug.checkDefined(parseRange(spec), "Invalid range spec.") : emptyArray;
|
|
5116
5116
|
}
|
|
5117
5117
|
static tryParse(text) {
|
|
5118
5118
|
const sets = parseRange(text);
|
|
5119
5119
|
if (sets) {
|
|
5120
|
-
const range = new
|
|
5120
|
+
const range = new _VersionRange("");
|
|
5121
5121
|
range._alternatives = sets;
|
|
5122
5122
|
return range;
|
|
5123
5123
|
}
|
|
@@ -11197,7 +11197,7 @@ var Diagnostics = {
|
|
|
11197
11197
|
Could_not_convert_to_arrow_function: diag(95151, 3 /* Message */, "Could_not_convert_to_arrow_function_95151", "Could not convert to arrow function"),
|
|
11198
11198
|
Could_not_convert_to_named_function: diag(95152, 3 /* Message */, "Could_not_convert_to_named_function_95152", "Could not convert to named function"),
|
|
11199
11199
|
Could_not_convert_to_anonymous_function: diag(95153, 3 /* Message */, "Could_not_convert_to_anonymous_function_95153", "Could not convert to anonymous function"),
|
|
11200
|
-
|
|
11200
|
+
Can_only_convert_string_concatenation: diag(95154, 3 /* Message */, "Can_only_convert_string_concatenation_95154", "Can only convert string concatenation"),
|
|
11201
11201
|
Selection_is_not_a_valid_statement_or_statements: diag(95155, 3 /* Message */, "Selection_is_not_a_valid_statement_or_statements_95155", "Selection is not a valid statement or statements"),
|
|
11202
11202
|
Add_missing_function_declaration_0: diag(95156, 3 /* Message */, "Add_missing_function_declaration_0_95156", "Add missing function declaration '{0}'"),
|
|
11203
11203
|
Add_all_missing_function_declarations: diag(95157, 3 /* Message */, "Add_all_missing_function_declarations_95157", "Add all missing function declarations"),
|
|
@@ -71843,7 +71843,7 @@ function createTypeChecker(host) {
|
|
|
71843
71843
|
function instantiateContextualType(contextualType, node, contextFlags) {
|
|
71844
71844
|
if (contextualType && maybeTypeOfKind(contextualType, 465829888 /* Instantiable */)) {
|
|
71845
71845
|
const inferenceContext = getInferenceContext(node);
|
|
71846
|
-
if (inferenceContext && contextFlags & 1 /* Signature */ && some(inferenceContext.inferences, hasInferenceCandidatesOrDefault)) {
|
|
71846
|
+
if (inferenceContext && (contextFlags & 1 /* Signature */ || maybeTypeOfKind(contextualType, 25165824 /* Simplifiable */)) && some(inferenceContext.inferences, hasInferenceCandidatesOrDefault)) {
|
|
71847
71847
|
return instantiateInstantiableTypes(contextualType, inferenceContext.nonFixingMapper);
|
|
71848
71848
|
}
|
|
71849
71849
|
if (inferenceContext == null ? void 0 : inferenceContext.returnMapper) {
|
|
@@ -87999,13 +87999,13 @@ function createBasicNodeBuilderModuleSpecifierResolutionHost(host) {
|
|
|
87999
87999
|
readFile: host.readFile ? (fileName) => host.readFile(fileName) : void 0
|
|
88000
88000
|
};
|
|
88001
88001
|
}
|
|
88002
|
-
var SymbolTrackerImpl = class {
|
|
88002
|
+
var SymbolTrackerImpl = class _SymbolTrackerImpl {
|
|
88003
88003
|
constructor(context, tracker, moduleResolverHost) {
|
|
88004
88004
|
this.moduleResolverHost = void 0;
|
|
88005
88005
|
this.inner = void 0;
|
|
88006
88006
|
this.disableTrackSymbol = false;
|
|
88007
88007
|
var _a;
|
|
88008
|
-
while (tracker instanceof
|
|
88008
|
+
while (tracker instanceof _SymbolTrackerImpl) {
|
|
88009
88009
|
tracker = tracker.inner;
|
|
88010
88010
|
}
|
|
88011
88011
|
this.inner = tracker;
|
|
@@ -138737,18 +138737,14 @@ function getRefactorActionsToConvertToTemplateString(context) {
|
|
|
138737
138737
|
const { file, startPosition } = context;
|
|
138738
138738
|
const node = getNodeOrParentOfParentheses(file, startPosition);
|
|
138739
138739
|
const maybeBinary = getParentBinaryExpression(node);
|
|
138740
|
-
const nodeIsStringLiteral = isStringLiteral(maybeBinary);
|
|
138741
138740
|
const refactorInfo = { name: refactorName10, description: refactorDescription6, actions: [] };
|
|
138742
|
-
if (
|
|
138743
|
-
return emptyArray;
|
|
138744
|
-
}
|
|
138745
|
-
if (nodeIsStringLiteral || isBinaryExpression(maybeBinary) && treeToArray(maybeBinary).isValidConcatenation) {
|
|
138741
|
+
if (isBinaryExpression(maybeBinary) && treeToArray(maybeBinary).isValidConcatenation) {
|
|
138746
138742
|
refactorInfo.actions.push(convertStringAction);
|
|
138747
138743
|
return [refactorInfo];
|
|
138748
138744
|
} else if (context.preferences.provideRefactorNotApplicableReason) {
|
|
138749
138745
|
refactorInfo.actions.push({
|
|
138750
138746
|
...convertStringAction,
|
|
138751
|
-
notApplicableReason: getLocaleSpecificMessage(Diagnostics.
|
|
138747
|
+
notApplicableReason: getLocaleSpecificMessage(Diagnostics.Can_only_convert_string_concatenation)
|
|
138752
138748
|
});
|
|
138753
138749
|
return [refactorInfo];
|
|
138754
138750
|
}
|
|
@@ -166247,7 +166243,7 @@ function isSeparator(node, candidate) {
|
|
|
166247
166243
|
function isThisTypeAnnotatable(containingFunction) {
|
|
166248
166244
|
return isFunctionExpression(containingFunction) || isFunctionDeclaration(containingFunction);
|
|
166249
166245
|
}
|
|
166250
|
-
var ChangeTracker = class {
|
|
166246
|
+
var ChangeTracker = class _ChangeTracker {
|
|
166251
166247
|
/** Public for tests only. Other callers should use `ChangeTracker.with`. */
|
|
166252
166248
|
constructor(newLineCharacter, formatContext) {
|
|
166253
166249
|
this.newLineCharacter = newLineCharacter;
|
|
@@ -166258,10 +166254,10 @@ var ChangeTracker = class {
|
|
|
166258
166254
|
this.deletedNodes = [];
|
|
166259
166255
|
}
|
|
166260
166256
|
static fromContext(context) {
|
|
166261
|
-
return new
|
|
166257
|
+
return new _ChangeTracker(getNewLineOrDefaultFromHost(context.host, context.formatContext.options), context.formatContext);
|
|
166262
166258
|
}
|
|
166263
166259
|
static with(context, cb) {
|
|
166264
|
-
const tracker =
|
|
166260
|
+
const tracker = _ChangeTracker.fromContext(context);
|
|
166265
166261
|
cb(tracker);
|
|
166266
166262
|
return tracker.getChanges();
|
|
166267
166263
|
}
|
|
@@ -173072,7 +173068,7 @@ function createSortedArray2() {
|
|
|
173072
173068
|
}
|
|
173073
173069
|
|
|
173074
173070
|
// src/server/utilities.ts
|
|
173075
|
-
var ThrottledOperations = class {
|
|
173071
|
+
var ThrottledOperations = class _ThrottledOperations {
|
|
173076
173072
|
constructor(host, logger) {
|
|
173077
173073
|
this.host = host;
|
|
173078
173074
|
this.pendingTimeouts = /* @__PURE__ */ new Map();
|
|
@@ -173089,7 +173085,7 @@ var ThrottledOperations = class {
|
|
|
173089
173085
|
if (pendingTimeout) {
|
|
173090
173086
|
this.host.clearTimeout(pendingTimeout);
|
|
173091
173087
|
}
|
|
173092
|
-
this.pendingTimeouts.set(operationId, this.host.setTimeout(
|
|
173088
|
+
this.pendingTimeouts.set(operationId, this.host.setTimeout(_ThrottledOperations.run, delay, operationId, this, cb));
|
|
173093
173089
|
if (this.logger) {
|
|
173094
173090
|
this.logger.info(`Scheduled: ${operationId}${pendingTimeout ? ", Cancelled earlier one" : ""}`);
|
|
173095
173091
|
}
|
|
@@ -173112,7 +173108,7 @@ var ThrottledOperations = class {
|
|
|
173112
173108
|
(_b = perfLogger) == null ? void 0 : _b.logStopScheduledOperation();
|
|
173113
173109
|
}
|
|
173114
173110
|
};
|
|
173115
|
-
var GcTimer = class {
|
|
173111
|
+
var GcTimer = class _GcTimer {
|
|
173116
173112
|
constructor(host, delay, logger) {
|
|
173117
173113
|
this.host = host;
|
|
173118
173114
|
this.delay = delay;
|
|
@@ -173122,7 +173118,7 @@ var GcTimer = class {
|
|
|
173122
173118
|
if (!this.host.gc || this.timerId !== void 0) {
|
|
173123
173119
|
return;
|
|
173124
173120
|
}
|
|
173125
|
-
this.timerId = this.host.setTimeout(
|
|
173121
|
+
this.timerId = this.host.setTimeout(_GcTimer.run, this.delay, this);
|
|
173126
173122
|
}
|
|
173127
173123
|
static run(self) {
|
|
173128
173124
|
var _a, _b;
|
|
@@ -174073,7 +174069,7 @@ function hasNoTypeScriptSource(fileNames) {
|
|
|
174073
174069
|
function isGeneratedFileWatcher(watch) {
|
|
174074
174070
|
return watch.generatedFilePath !== void 0;
|
|
174075
174071
|
}
|
|
174076
|
-
var Project3 = class {
|
|
174072
|
+
var Project3 = class _Project {
|
|
174077
174073
|
/** @internal */
|
|
174078
174074
|
constructor(projectName, projectKind, projectService, documentRegistry, hasExplicitListOfFiles, lastFileExceededProgramSize, compilerOptions, compileOnSaveEnabled, watchOptions, directoryStructureHost, currentDirectory) {
|
|
174079
174075
|
this.projectKind = projectKind;
|
|
@@ -174190,7 +174186,7 @@ var Project3 = class {
|
|
|
174190
174186
|
return hasOneOrMoreJsAndNoTsFiles(this);
|
|
174191
174187
|
}
|
|
174192
174188
|
static resolveModule(moduleName, initialDir, host, log) {
|
|
174193
|
-
return
|
|
174189
|
+
return _Project.importServicePluginSync({ name: moduleName }, [initialDir], host, log).resolvedModule;
|
|
174194
174190
|
}
|
|
174195
174191
|
/** @internal */
|
|
174196
174192
|
static importServicePluginSync(pluginConfigEntry, searchPaths, host, log) {
|
|
@@ -175795,7 +175791,7 @@ var AuxiliaryProject = class extends Project3 {
|
|
|
175795
175791
|
return;
|
|
175796
175792
|
}
|
|
175797
175793
|
};
|
|
175798
|
-
var _AutoImportProviderProject = class extends Project3 {
|
|
175794
|
+
var _AutoImportProviderProject = class _AutoImportProviderProject extends Project3 {
|
|
175799
175795
|
/** @internal */
|
|
175800
175796
|
constructor(hostProject, initialRootNames, documentRegistry, compilerOptions) {
|
|
175801
175797
|
super(
|
|
@@ -176019,11 +176015,10 @@ var _AutoImportProviderProject = class extends Project3 {
|
|
|
176019
176015
|
return (_a = this.hostProject.getCurrentProgram()) == null ? void 0 : _a.getModuleResolutionCache();
|
|
176020
176016
|
}
|
|
176021
176017
|
};
|
|
176022
|
-
var AutoImportProviderProject = _AutoImportProviderProject;
|
|
176023
176018
|
/** @internal */
|
|
176024
|
-
|
|
176019
|
+
_AutoImportProviderProject.maxDependencies = 10;
|
|
176025
176020
|
/** @internal */
|
|
176026
|
-
|
|
176021
|
+
_AutoImportProviderProject.compilerOptionsOverrides = {
|
|
176027
176022
|
diagnostics: false,
|
|
176028
176023
|
skipLibCheck: true,
|
|
176029
176024
|
sourceMap: false,
|
|
@@ -176031,6 +176026,7 @@ AutoImportProviderProject.compilerOptionsOverrides = {
|
|
|
176031
176026
|
lib: emptyArray,
|
|
176032
176027
|
noLib: true
|
|
176033
176028
|
};
|
|
176029
|
+
var AutoImportProviderProject = _AutoImportProviderProject;
|
|
176034
176030
|
var ConfiguredProject2 = class extends Project3 {
|
|
176035
176031
|
/** @internal */
|
|
176036
176032
|
constructor(configFileName, canonicalConfigFilePath, projectService, documentRegistry, cachedDirectoryStructureHost) {
|
|
@@ -176592,7 +176588,7 @@ function createProjectNameFactoryWithCounter(nameFactory) {
|
|
|
176592
176588
|
let nextId = 1;
|
|
176593
176589
|
return () => nameFactory(nextId++);
|
|
176594
176590
|
}
|
|
176595
|
-
var _ProjectService = class {
|
|
176591
|
+
var _ProjectService = class _ProjectService {
|
|
176596
176592
|
constructor(opts) {
|
|
176597
176593
|
/**
|
|
176598
176594
|
* Container of all known scripts
|
|
@@ -179575,9 +179571,9 @@ Dynamic files must always be opened with service's current directory or service
|
|
|
179575
179571
|
return this.incompleteCompletionsCache || (this.incompleteCompletionsCache = createIncompleteCompletionsCache());
|
|
179576
179572
|
}
|
|
179577
179573
|
};
|
|
179578
|
-
var ProjectService3 = _ProjectService;
|
|
179579
179574
|
/** Makes a filename safe to insert in a RegExp */
|
|
179580
|
-
|
|
179575
|
+
_ProjectService.filenameEscapeRegexp = /[-\/\\^$*+?.()|[\]{}]/g;
|
|
179576
|
+
var ProjectService3 = _ProjectService;
|
|
179581
179577
|
function createIncompleteCompletionsCache() {
|
|
179582
179578
|
let info;
|
|
179583
179579
|
return {
|
|
@@ -180244,7 +180240,7 @@ var invalidSyntacticModeCommands = [
|
|
|
180244
180240
|
"documentHighlights" /* DocumentHighlights */,
|
|
180245
180241
|
"documentHighlights-full" /* DocumentHighlightsFull */
|
|
180246
180242
|
];
|
|
180247
|
-
var Session3 = class {
|
|
180243
|
+
var Session3 = class _Session {
|
|
180248
180244
|
constructor(opts) {
|
|
180249
180245
|
this.changeSeq = 0;
|
|
180250
180246
|
this.handlers = new Map(Object.entries({
|
|
@@ -181347,7 +181343,7 @@ Project '${project.projectName}' (${ProjectKind[project.projectKind]}) ${counter
|
|
|
181347
181343
|
const { file, project } = this.getFileAndProject(args);
|
|
181348
181344
|
const position = this.getPositionInFile(args, file);
|
|
181349
181345
|
const definitions = this.mapDefinitionInfoLocations(project.getLanguageService().getDefinitionAtPosition(file, position) || emptyArray2, project);
|
|
181350
|
-
return simplifiedResult ? this.mapDefinitionInfo(definitions, project) : definitions.map(
|
|
181346
|
+
return simplifiedResult ? this.mapDefinitionInfo(definitions, project) : definitions.map(_Session.mapToOriginalLocation);
|
|
181351
181347
|
}
|
|
181352
181348
|
mapDefinitionInfoLocations(definitions, project) {
|
|
181353
181349
|
return definitions.map((info) => {
|
|
@@ -181384,7 +181380,7 @@ Project '${project.projectName}' (${ProjectKind[project.projectKind]}) ${counter
|
|
|
181384
181380
|
};
|
|
181385
181381
|
}
|
|
181386
181382
|
return {
|
|
181387
|
-
definitions: definitions.map(
|
|
181383
|
+
definitions: definitions.map(_Session.mapToOriginalLocation),
|
|
181388
181384
|
textSpan
|
|
181389
181385
|
};
|
|
181390
181386
|
}
|
|
@@ -181641,7 +181637,7 @@ Project '${project.projectName}' (${ProjectKind[project.projectKind]}) ${counter
|
|
|
181641
181637
|
const { file, project } = this.getFileAndProject(args);
|
|
181642
181638
|
const position = this.getPositionInFile(args, file);
|
|
181643
181639
|
const implementations = this.mapImplementationLocations(project.getLanguageService().getImplementationAtPosition(file, position) || emptyArray2, project);
|
|
181644
|
-
return simplifiedResult ? implementations.map(({ fileName, textSpan, contextSpan }) => this.toFileSpanWithContext(fileName, textSpan, contextSpan, project)) : implementations.map(
|
|
181640
|
+
return simplifiedResult ? implementations.map(({ fileName, textSpan, contextSpan }) => this.toFileSpanWithContext(fileName, textSpan, contextSpan, project)) : implementations.map(_Session.mapToOriginalLocation);
|
|
181645
181641
|
}
|
|
181646
181642
|
getSyntacticDiagnosticsSync(args) {
|
|
181647
181643
|
const { configFile } = this.getConfigFileAndProject(args);
|
|
@@ -183265,7 +183261,7 @@ var TextChange9 = class {
|
|
|
183265
183261
|
);
|
|
183266
183262
|
}
|
|
183267
183263
|
};
|
|
183268
|
-
var _ScriptVersionCache = class {
|
|
183264
|
+
var _ScriptVersionCache = class _ScriptVersionCache {
|
|
183269
183265
|
constructor() {
|
|
183270
183266
|
this.changes = [];
|
|
183271
183267
|
this.versions = new Array(_ScriptVersionCache.maxVersions);
|
|
@@ -183357,11 +183353,11 @@ var _ScriptVersionCache = class {
|
|
|
183357
183353
|
return svc;
|
|
183358
183354
|
}
|
|
183359
183355
|
};
|
|
183356
|
+
_ScriptVersionCache.changeNumberThreshold = 8;
|
|
183357
|
+
_ScriptVersionCache.changeLengthThreshold = 256;
|
|
183358
|
+
_ScriptVersionCache.maxVersions = 8;
|
|
183360
183359
|
var ScriptVersionCache = _ScriptVersionCache;
|
|
183361
|
-
|
|
183362
|
-
ScriptVersionCache.changeLengthThreshold = 256;
|
|
183363
|
-
ScriptVersionCache.maxVersions = 8;
|
|
183364
|
-
var LineIndexSnapshot = class {
|
|
183360
|
+
var LineIndexSnapshot = class _LineIndexSnapshot {
|
|
183365
183361
|
constructor(version2, cache, index, changesSincePreviousVersion = emptyArray2) {
|
|
183366
183362
|
this.version = version2;
|
|
183367
183363
|
this.cache = cache;
|
|
@@ -183375,7 +183371,7 @@ var LineIndexSnapshot = class {
|
|
|
183375
183371
|
return this.index.getLength();
|
|
183376
183372
|
}
|
|
183377
183373
|
getChangeRange(oldSnapshot) {
|
|
183378
|
-
if (oldSnapshot instanceof
|
|
183374
|
+
if (oldSnapshot instanceof _LineIndexSnapshot && this.cache === oldSnapshot.cache) {
|
|
183379
183375
|
if (this.version <= oldSnapshot.version) {
|
|
183380
183376
|
return unchangedTextChangeRange;
|
|
183381
183377
|
} else {
|
|
@@ -183384,7 +183380,7 @@ var LineIndexSnapshot = class {
|
|
|
183384
183380
|
}
|
|
183385
183381
|
}
|
|
183386
183382
|
};
|
|
183387
|
-
var LineIndex = class {
|
|
183383
|
+
var LineIndex = class _LineIndex {
|
|
183388
183384
|
constructor() {
|
|
183389
183385
|
// set this to true to check each edit for accuracy
|
|
183390
183386
|
this.checkEdits = false;
|
|
@@ -183417,7 +183413,7 @@ var LineIndex = class {
|
|
|
183417
183413
|
for (let i = 0; i < lines.length; i++) {
|
|
183418
183414
|
leaves[i] = new LineLeaf(lines[i]);
|
|
183419
183415
|
}
|
|
183420
|
-
this.root =
|
|
183416
|
+
this.root = _LineIndex.buildTreeFromBottom(leaves);
|
|
183421
183417
|
} else {
|
|
183422
183418
|
this.root = new LineNode();
|
|
183423
183419
|
}
|
|
@@ -183461,7 +183457,7 @@ var LineIndex = class {
|
|
|
183461
183457
|
if (this.root.charCount() === 0) {
|
|
183462
183458
|
Debug.assert(deleteLength === 0);
|
|
183463
183459
|
if (newText !== void 0) {
|
|
183464
|
-
this.load(
|
|
183460
|
+
this.load(_LineIndex.linesFromText(newText).lines);
|
|
183465
183461
|
return this;
|
|
183466
183462
|
}
|
|
183467
183463
|
return void 0;
|
|
@@ -183532,7 +183528,7 @@ var LineIndex = class {
|
|
|
183532
183528
|
return { lines, lineMap };
|
|
183533
183529
|
}
|
|
183534
183530
|
};
|
|
183535
|
-
var LineNode = class {
|
|
183531
|
+
var LineNode = class _LineNode {
|
|
183536
183532
|
constructor(children = []) {
|
|
183537
183533
|
this.children = children;
|
|
183538
183534
|
this.totalChars = 0;
|
|
@@ -183664,7 +183660,7 @@ var LineNode = class {
|
|
|
183664
183660
|
childIndex++;
|
|
183665
183661
|
const endLength = childIndex;
|
|
183666
183662
|
if (childIndex < clen) {
|
|
183667
|
-
splitNode = new
|
|
183663
|
+
splitNode = new _LineNode();
|
|
183668
183664
|
while (childIndex < clen) {
|
|
183669
183665
|
splitNode.add(this.children[childIndex]);
|
|
183670
183666
|
childIndex++;
|
|
@@ -183713,7 +183709,7 @@ var LineNode = class {
|
|
|
183713
183709
|
splitNodes = new Array(splitNodeCount);
|
|
183714
183710
|
let splitNodeIndex = 0;
|
|
183715
183711
|
for (let i = 0; i < splitNodeCount; i++) {
|
|
183716
|
-
splitNodes[i] = new
|
|
183712
|
+
splitNodes[i] = new _LineNode();
|
|
183717
183713
|
}
|
|
183718
183714
|
let splitNode = splitNodes[0];
|
|
183719
183715
|
while (nodeIndex < nodeCount) {
|
|
@@ -184196,7 +184192,7 @@ function startNodeSession(options, logger, cancellationToken) {
|
|
|
184196
184192
|
output: process.stdout,
|
|
184197
184193
|
terminal: false
|
|
184198
184194
|
});
|
|
184199
|
-
const _NodeTypingsInstaller = class {
|
|
184195
|
+
const _NodeTypingsInstaller = class _NodeTypingsInstaller {
|
|
184200
184196
|
constructor(telemetryEnabled2, logger2, host, globalTypingsCacheLocation, typingSafeListLocation2, typesMapLocation2, npmLocation2, validateDefaultNpmLocation2, event) {
|
|
184201
184197
|
this.telemetryEnabled = telemetryEnabled2;
|
|
184202
184198
|
this.logger = logger2;
|
|
@@ -184404,14 +184400,14 @@ function startNodeSession(options, logger, cancellationToken) {
|
|
|
184404
184400
|
this.host.setTimeout(request.operation, _NodeTypingsInstaller.requestDelayMillis);
|
|
184405
184401
|
}
|
|
184406
184402
|
};
|
|
184407
|
-
let NodeTypingsInstaller = _NodeTypingsInstaller;
|
|
184408
184403
|
// This number is essentially arbitrary. Processing more than one typings request
|
|
184409
184404
|
// at a time makes sense, but having too many in the pipe results in a hang
|
|
184410
184405
|
// (see https://github.com/nodejs/node/issues/7657).
|
|
184411
184406
|
// It would be preferable to base our limit on the amount of space left in the
|
|
184412
184407
|
// buffer, but we have yet to find a way to retrieve that value.
|
|
184413
|
-
|
|
184414
|
-
|
|
184408
|
+
_NodeTypingsInstaller.maxActiveRequestCount = 10;
|
|
184409
|
+
_NodeTypingsInstaller.requestDelayMillis = 100;
|
|
184410
|
+
let NodeTypingsInstaller = _NodeTypingsInstaller;
|
|
184415
184411
|
class IOSession extends Session3 {
|
|
184416
184412
|
constructor() {
|
|
184417
184413
|
const event = (body, eventName) => {
|
package/lib/tsserverlibrary.js
CHANGED
|
@@ -35,7 +35,7 @@ var ts = (() => {
|
|
|
35
35
|
"src/compiler/corePublic.ts"() {
|
|
36
36
|
"use strict";
|
|
37
37
|
versionMajorMinor = "5.2";
|
|
38
|
-
version = `${versionMajorMinor}.0-insiders.
|
|
38
|
+
version = `${versionMajorMinor}.0-insiders.20230617`;
|
|
39
39
|
Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
40
40
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
41
41
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -2942,7 +2942,7 @@ ${lanes.join("\n")}
|
|
|
2942
2942
|
buildRegExp = /^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i;
|
|
2943
2943
|
buildPartRegExp = /^[a-z0-9-]+$/i;
|
|
2944
2944
|
numericIdentifierRegExp = /^(0|[1-9]\d*)$/;
|
|
2945
|
-
_Version = class {
|
|
2945
|
+
_Version = class _Version {
|
|
2946
2946
|
constructor(major, minor = 0, patch = 0, prerelease = "", build2 = "") {
|
|
2947
2947
|
if (typeof major === "string") {
|
|
2948
2948
|
const result = Debug.checkDefined(tryParseComponents(major), "Invalid version");
|
|
@@ -3006,16 +3006,16 @@ ${lanes.join("\n")}
|
|
|
3006
3006
|
return result;
|
|
3007
3007
|
}
|
|
3008
3008
|
};
|
|
3009
|
+
_Version.zero = new _Version(0, 0, 0, ["0"]);
|
|
3009
3010
|
Version = _Version;
|
|
3010
|
-
|
|
3011
|
-
VersionRange = class {
|
|
3011
|
+
VersionRange = class _VersionRange {
|
|
3012
3012
|
constructor(spec) {
|
|
3013
3013
|
this._alternatives = spec ? Debug.checkDefined(parseRange(spec), "Invalid range spec.") : emptyArray;
|
|
3014
3014
|
}
|
|
3015
3015
|
static tryParse(text) {
|
|
3016
3016
|
const sets = parseRange(text);
|
|
3017
3017
|
if (sets) {
|
|
3018
|
-
const range = new
|
|
3018
|
+
const range = new _VersionRange("");
|
|
3019
3019
|
range._alternatives = sets;
|
|
3020
3020
|
return range;
|
|
3021
3021
|
}
|
|
@@ -9002,7 +9002,7 @@ ${lanes.join("\n")}
|
|
|
9002
9002
|
Could_not_convert_to_arrow_function: diag(95151, 3 /* Message */, "Could_not_convert_to_arrow_function_95151", "Could not convert to arrow function"),
|
|
9003
9003
|
Could_not_convert_to_named_function: diag(95152, 3 /* Message */, "Could_not_convert_to_named_function_95152", "Could not convert to named function"),
|
|
9004
9004
|
Could_not_convert_to_anonymous_function: diag(95153, 3 /* Message */, "Could_not_convert_to_anonymous_function_95153", "Could not convert to anonymous function"),
|
|
9005
|
-
|
|
9005
|
+
Can_only_convert_string_concatenation: diag(95154, 3 /* Message */, "Can_only_convert_string_concatenation_95154", "Can only convert string concatenation"),
|
|
9006
9006
|
Selection_is_not_a_valid_statement_or_statements: diag(95155, 3 /* Message */, "Selection_is_not_a_valid_statement_or_statements_95155", "Selection is not a valid statement or statements"),
|
|
9007
9007
|
Add_missing_function_declaration_0: diag(95156, 3 /* Message */, "Add_missing_function_declaration_0_95156", "Add missing function declaration '{0}'"),
|
|
9008
9008
|
Add_all_missing_function_declarations: diag(95157, 3 /* Message */, "Add_all_missing_function_declarations_95157", "Add all missing function declarations"),
|
|
@@ -69632,7 +69632,7 @@ ${lanes.join("\n")}
|
|
|
69632
69632
|
function instantiateContextualType(contextualType, node, contextFlags) {
|
|
69633
69633
|
if (contextualType && maybeTypeOfKind(contextualType, 465829888 /* Instantiable */)) {
|
|
69634
69634
|
const inferenceContext = getInferenceContext(node);
|
|
69635
|
-
if (inferenceContext && contextFlags & 1 /* Signature */ && some(inferenceContext.inferences, hasInferenceCandidatesOrDefault)) {
|
|
69635
|
+
if (inferenceContext && (contextFlags & 1 /* Signature */ || maybeTypeOfKind(contextualType, 25165824 /* Simplifiable */)) && some(inferenceContext.inferences, hasInferenceCandidatesOrDefault)) {
|
|
69636
69636
|
return instantiateInstantiableTypes(contextualType, inferenceContext.nonFixingMapper);
|
|
69637
69637
|
}
|
|
69638
69638
|
if (inferenceContext == null ? void 0 : inferenceContext.returnMapper) {
|
|
@@ -85920,13 +85920,13 @@ ${lanes.join("\n")}
|
|
|
85920
85920
|
JsxNames2.IntrinsicClassAttributes = "IntrinsicClassAttributes";
|
|
85921
85921
|
JsxNames2.LibraryManagedAttributes = "LibraryManagedAttributes";
|
|
85922
85922
|
})(JsxNames || (JsxNames = {}));
|
|
85923
|
-
SymbolTrackerImpl = class {
|
|
85923
|
+
SymbolTrackerImpl = class _SymbolTrackerImpl {
|
|
85924
85924
|
constructor(context, tracker, moduleResolverHost) {
|
|
85925
85925
|
this.moduleResolverHost = void 0;
|
|
85926
85926
|
this.inner = void 0;
|
|
85927
85927
|
this.disableTrackSymbol = false;
|
|
85928
85928
|
var _a;
|
|
85929
|
-
while (tracker instanceof
|
|
85929
|
+
while (tracker instanceof _SymbolTrackerImpl) {
|
|
85930
85930
|
tracker = tracker.inner;
|
|
85931
85931
|
}
|
|
85932
85932
|
this.inner = tracker;
|
|
@@ -137206,18 +137206,14 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
137206
137206
|
const { file, startPosition } = context;
|
|
137207
137207
|
const node = getNodeOrParentOfParentheses(file, startPosition);
|
|
137208
137208
|
const maybeBinary = getParentBinaryExpression(node);
|
|
137209
|
-
const nodeIsStringLiteral = isStringLiteral(maybeBinary);
|
|
137210
137209
|
const refactorInfo = { name: refactorName10, description: refactorDescription6, actions: [] };
|
|
137211
|
-
if (
|
|
137212
|
-
return emptyArray;
|
|
137213
|
-
}
|
|
137214
|
-
if (nodeIsStringLiteral || isBinaryExpression(maybeBinary) && treeToArray(maybeBinary).isValidConcatenation) {
|
|
137210
|
+
if (isBinaryExpression(maybeBinary) && treeToArray(maybeBinary).isValidConcatenation) {
|
|
137215
137211
|
refactorInfo.actions.push(convertStringAction);
|
|
137216
137212
|
return [refactorInfo];
|
|
137217
137213
|
} else if (context.preferences.provideRefactorNotApplicableReason) {
|
|
137218
137214
|
refactorInfo.actions.push({
|
|
137219
137215
|
...convertStringAction,
|
|
137220
|
-
notApplicableReason: getLocaleSpecificMessage(Diagnostics.
|
|
137216
|
+
notApplicableReason: getLocaleSpecificMessage(Diagnostics.Can_only_convert_string_concatenation)
|
|
137221
137217
|
});
|
|
137222
137218
|
return [refactorInfo];
|
|
137223
137219
|
}
|
|
@@ -166125,7 +166121,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
166125
166121
|
leadingTriviaOption: 0 /* Exclude */,
|
|
166126
166122
|
trailingTriviaOption: 0 /* Exclude */
|
|
166127
166123
|
};
|
|
166128
|
-
ChangeTracker = class {
|
|
166124
|
+
ChangeTracker = class _ChangeTracker {
|
|
166129
166125
|
/** Public for tests only. Other callers should use `ChangeTracker.with`. */
|
|
166130
166126
|
constructor(newLineCharacter, formatContext) {
|
|
166131
166127
|
this.newLineCharacter = newLineCharacter;
|
|
@@ -166136,10 +166132,10 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
166136
166132
|
this.deletedNodes = [];
|
|
166137
166133
|
}
|
|
166138
166134
|
static fromContext(context) {
|
|
166139
|
-
return new
|
|
166135
|
+
return new _ChangeTracker(getNewLineOrDefaultFromHost(context.host, context.formatContext.options), context.formatContext);
|
|
166140
166136
|
}
|
|
166141
166137
|
static with(context, cb) {
|
|
166142
|
-
const tracker =
|
|
166138
|
+
const tracker = _ChangeTracker.fromContext(context);
|
|
166143
166139
|
cb(tracker);
|
|
166144
166140
|
return tracker.getChanges();
|
|
166145
166141
|
}
|
|
@@ -170398,7 +170394,7 @@ ${options.prefix}` : "\n" : options.prefix
|
|
|
170398
170394
|
"use strict";
|
|
170399
170395
|
init_ts7();
|
|
170400
170396
|
init_ts_server3();
|
|
170401
|
-
ThrottledOperations = class {
|
|
170397
|
+
ThrottledOperations = class _ThrottledOperations {
|
|
170402
170398
|
constructor(host, logger) {
|
|
170403
170399
|
this.host = host;
|
|
170404
170400
|
this.pendingTimeouts = /* @__PURE__ */ new Map();
|
|
@@ -170415,7 +170411,7 @@ ${options.prefix}` : "\n" : options.prefix
|
|
|
170415
170411
|
if (pendingTimeout) {
|
|
170416
170412
|
this.host.clearTimeout(pendingTimeout);
|
|
170417
170413
|
}
|
|
170418
|
-
this.pendingTimeouts.set(operationId, this.host.setTimeout(
|
|
170414
|
+
this.pendingTimeouts.set(operationId, this.host.setTimeout(_ThrottledOperations.run, delay, operationId, this, cb));
|
|
170419
170415
|
if (this.logger) {
|
|
170420
170416
|
this.logger.info(`Scheduled: ${operationId}${pendingTimeout ? ", Cancelled earlier one" : ""}`);
|
|
170421
170417
|
}
|
|
@@ -170438,7 +170434,7 @@ ${options.prefix}` : "\n" : options.prefix
|
|
|
170438
170434
|
(_b = perfLogger) == null ? void 0 : _b.logStopScheduledOperation();
|
|
170439
170435
|
}
|
|
170440
170436
|
};
|
|
170441
|
-
GcTimer = class {
|
|
170437
|
+
GcTimer = class _GcTimer {
|
|
170442
170438
|
constructor(host, delay, logger) {
|
|
170443
170439
|
this.host = host;
|
|
170444
170440
|
this.delay = delay;
|
|
@@ -170448,7 +170444,7 @@ ${options.prefix}` : "\n" : options.prefix
|
|
|
170448
170444
|
if (!this.host.gc || this.timerId !== void 0) {
|
|
170449
170445
|
return;
|
|
170450
170446
|
}
|
|
170451
|
-
this.timerId = this.host.setTimeout(
|
|
170447
|
+
this.timerId = this.host.setTimeout(_GcTimer.run, this.delay, this);
|
|
170452
170448
|
}
|
|
170453
170449
|
static run(self) {
|
|
170454
170450
|
var _a, _b;
|
|
@@ -171444,7 +171440,7 @@ ${options.prefix}` : "\n" : options.prefix
|
|
|
171444
171440
|
ProjectKind2[ProjectKind2["Auxiliary"] = 4] = "Auxiliary";
|
|
171445
171441
|
return ProjectKind2;
|
|
171446
171442
|
})(ProjectKind || {});
|
|
171447
|
-
Project3 = class {
|
|
171443
|
+
Project3 = class _Project {
|
|
171448
171444
|
/** @internal */
|
|
171449
171445
|
constructor(projectName, projectKind, projectService, documentRegistry, hasExplicitListOfFiles, lastFileExceededProgramSize, compilerOptions, compileOnSaveEnabled, watchOptions, directoryStructureHost, currentDirectory) {
|
|
171450
171446
|
this.projectKind = projectKind;
|
|
@@ -171561,7 +171557,7 @@ ${options.prefix}` : "\n" : options.prefix
|
|
|
171561
171557
|
return hasOneOrMoreJsAndNoTsFiles(this);
|
|
171562
171558
|
}
|
|
171563
171559
|
static resolveModule(moduleName, initialDir, host, log) {
|
|
171564
|
-
return
|
|
171560
|
+
return _Project.importServicePluginSync({ name: moduleName }, [initialDir], host, log).resolvedModule;
|
|
171565
171561
|
}
|
|
171566
171562
|
/** @internal */
|
|
171567
171563
|
static importServicePluginSync(pluginConfigEntry, searchPaths, host, log) {
|
|
@@ -173144,7 +173140,7 @@ ${options.prefix}` : "\n" : options.prefix
|
|
|
173144
173140
|
return;
|
|
173145
173141
|
}
|
|
173146
173142
|
};
|
|
173147
|
-
_AutoImportProviderProject = class extends Project3 {
|
|
173143
|
+
_AutoImportProviderProject = class _AutoImportProviderProject extends Project3 {
|
|
173148
173144
|
/** @internal */
|
|
173149
173145
|
constructor(hostProject, initialRootNames, documentRegistry, compilerOptions) {
|
|
173150
173146
|
super(
|
|
@@ -173368,11 +173364,10 @@ ${options.prefix}` : "\n" : options.prefix
|
|
|
173368
173364
|
return (_a = this.hostProject.getCurrentProgram()) == null ? void 0 : _a.getModuleResolutionCache();
|
|
173369
173365
|
}
|
|
173370
173366
|
};
|
|
173371
|
-
AutoImportProviderProject = _AutoImportProviderProject;
|
|
173372
173367
|
/** @internal */
|
|
173373
|
-
|
|
173368
|
+
_AutoImportProviderProject.maxDependencies = 10;
|
|
173374
173369
|
/** @internal */
|
|
173375
|
-
|
|
173370
|
+
_AutoImportProviderProject.compilerOptionsOverrides = {
|
|
173376
173371
|
diagnostics: false,
|
|
173377
173372
|
skipLibCheck: true,
|
|
173378
173373
|
sourceMap: false,
|
|
@@ -173380,6 +173375,7 @@ ${options.prefix}` : "\n" : options.prefix
|
|
|
173380
173375
|
lib: emptyArray,
|
|
173381
173376
|
noLib: true
|
|
173382
173377
|
};
|
|
173378
|
+
AutoImportProviderProject = _AutoImportProviderProject;
|
|
173383
173379
|
ConfiguredProject2 = class extends Project3 {
|
|
173384
173380
|
/** @internal */
|
|
173385
173381
|
constructor(configFileName, canonicalConfigFilePath, projectService, documentRegistry, cachedDirectoryStructureHost) {
|
|
@@ -173967,7 +173963,7 @@ ${options.prefix}` : "\n" : options.prefix
|
|
|
173967
173963
|
ProjectReferenceProjectLoadKind2[ProjectReferenceProjectLoadKind2["FindCreateLoad"] = 2] = "FindCreateLoad";
|
|
173968
173964
|
return ProjectReferenceProjectLoadKind2;
|
|
173969
173965
|
})(ProjectReferenceProjectLoadKind || {});
|
|
173970
|
-
_ProjectService = class {
|
|
173966
|
+
_ProjectService = class _ProjectService {
|
|
173971
173967
|
constructor(opts) {
|
|
173972
173968
|
/**
|
|
173973
173969
|
* Container of all known scripts
|
|
@@ -176950,9 +176946,9 @@ Dynamic files must always be opened with service's current directory or service
|
|
|
176950
176946
|
return this.incompleteCompletionsCache || (this.incompleteCompletionsCache = createIncompleteCompletionsCache());
|
|
176951
176947
|
}
|
|
176952
176948
|
};
|
|
176953
|
-
ProjectService3 = _ProjectService;
|
|
176954
176949
|
/** Makes a filename safe to insert in a RegExp */
|
|
176955
|
-
|
|
176950
|
+
_ProjectService.filenameEscapeRegexp = /[-\/\\^$*+?.()|[\]{}]/g;
|
|
176951
|
+
ProjectService3 = _ProjectService;
|
|
176956
176952
|
}
|
|
176957
176953
|
});
|
|
176958
176954
|
|
|
@@ -177688,7 +177684,7 @@ ${json}${newLine}`;
|
|
|
177688
177684
|
"documentHighlights" /* DocumentHighlights */,
|
|
177689
177685
|
"documentHighlights-full" /* DocumentHighlightsFull */
|
|
177690
177686
|
];
|
|
177691
|
-
Session3 = class {
|
|
177687
|
+
Session3 = class _Session {
|
|
177692
177688
|
constructor(opts) {
|
|
177693
177689
|
this.changeSeq = 0;
|
|
177694
177690
|
this.handlers = new Map(Object.entries({
|
|
@@ -178791,7 +178787,7 @@ Project '${project.projectName}' (${ProjectKind[project.projectKind]}) ${counter
|
|
|
178791
178787
|
const { file, project } = this.getFileAndProject(args);
|
|
178792
178788
|
const position = this.getPositionInFile(args, file);
|
|
178793
178789
|
const definitions = this.mapDefinitionInfoLocations(project.getLanguageService().getDefinitionAtPosition(file, position) || emptyArray2, project);
|
|
178794
|
-
return simplifiedResult ? this.mapDefinitionInfo(definitions, project) : definitions.map(
|
|
178790
|
+
return simplifiedResult ? this.mapDefinitionInfo(definitions, project) : definitions.map(_Session.mapToOriginalLocation);
|
|
178795
178791
|
}
|
|
178796
178792
|
mapDefinitionInfoLocations(definitions, project) {
|
|
178797
178793
|
return definitions.map((info) => {
|
|
@@ -178828,7 +178824,7 @@ Project '${project.projectName}' (${ProjectKind[project.projectKind]}) ${counter
|
|
|
178828
178824
|
};
|
|
178829
178825
|
}
|
|
178830
178826
|
return {
|
|
178831
|
-
definitions: definitions.map(
|
|
178827
|
+
definitions: definitions.map(_Session.mapToOriginalLocation),
|
|
178832
178828
|
textSpan
|
|
178833
178829
|
};
|
|
178834
178830
|
}
|
|
@@ -179085,7 +179081,7 @@ Project '${project.projectName}' (${ProjectKind[project.projectKind]}) ${counter
|
|
|
179085
179081
|
const { file, project } = this.getFileAndProject(args);
|
|
179086
179082
|
const position = this.getPositionInFile(args, file);
|
|
179087
179083
|
const implementations = this.mapImplementationLocations(project.getLanguageService().getImplementationAtPosition(file, position) || emptyArray2, project);
|
|
179088
|
-
return simplifiedResult ? implementations.map(({ fileName, textSpan, contextSpan }) => this.toFileSpanWithContext(fileName, textSpan, contextSpan, project)) : implementations.map(
|
|
179084
|
+
return simplifiedResult ? implementations.map(({ fileName, textSpan, contextSpan }) => this.toFileSpanWithContext(fileName, textSpan, contextSpan, project)) : implementations.map(_Session.mapToOriginalLocation);
|
|
179089
179085
|
}
|
|
179090
179086
|
getSyntacticDiagnosticsSync(args) {
|
|
179091
179087
|
const { configFile } = this.getConfigFileAndProject(args);
|
|
@@ -180642,7 +180638,7 @@ ${e.message}`;
|
|
|
180642
180638
|
);
|
|
180643
180639
|
}
|
|
180644
180640
|
};
|
|
180645
|
-
_ScriptVersionCache = class {
|
|
180641
|
+
_ScriptVersionCache = class _ScriptVersionCache {
|
|
180646
180642
|
constructor() {
|
|
180647
180643
|
this.changes = [];
|
|
180648
180644
|
this.versions = new Array(_ScriptVersionCache.maxVersions);
|
|
@@ -180734,11 +180730,11 @@ ${e.message}`;
|
|
|
180734
180730
|
return svc;
|
|
180735
180731
|
}
|
|
180736
180732
|
};
|
|
180733
|
+
_ScriptVersionCache.changeNumberThreshold = 8;
|
|
180734
|
+
_ScriptVersionCache.changeLengthThreshold = 256;
|
|
180735
|
+
_ScriptVersionCache.maxVersions = 8;
|
|
180737
180736
|
ScriptVersionCache = _ScriptVersionCache;
|
|
180738
|
-
|
|
180739
|
-
ScriptVersionCache.changeLengthThreshold = 256;
|
|
180740
|
-
ScriptVersionCache.maxVersions = 8;
|
|
180741
|
-
LineIndexSnapshot = class {
|
|
180737
|
+
LineIndexSnapshot = class _LineIndexSnapshot {
|
|
180742
180738
|
constructor(version2, cache, index, changesSincePreviousVersion = emptyArray2) {
|
|
180743
180739
|
this.version = version2;
|
|
180744
180740
|
this.cache = cache;
|
|
@@ -180752,7 +180748,7 @@ ${e.message}`;
|
|
|
180752
180748
|
return this.index.getLength();
|
|
180753
180749
|
}
|
|
180754
180750
|
getChangeRange(oldSnapshot) {
|
|
180755
|
-
if (oldSnapshot instanceof
|
|
180751
|
+
if (oldSnapshot instanceof _LineIndexSnapshot && this.cache === oldSnapshot.cache) {
|
|
180756
180752
|
if (this.version <= oldSnapshot.version) {
|
|
180757
180753
|
return unchangedTextChangeRange;
|
|
180758
180754
|
} else {
|
|
@@ -180761,7 +180757,7 @@ ${e.message}`;
|
|
|
180761
180757
|
}
|
|
180762
180758
|
}
|
|
180763
180759
|
};
|
|
180764
|
-
LineIndex = class {
|
|
180760
|
+
LineIndex = class _LineIndex {
|
|
180765
180761
|
constructor() {
|
|
180766
180762
|
// set this to true to check each edit for accuracy
|
|
180767
180763
|
this.checkEdits = false;
|
|
@@ -180794,7 +180790,7 @@ ${e.message}`;
|
|
|
180794
180790
|
for (let i = 0; i < lines.length; i++) {
|
|
180795
180791
|
leaves[i] = new LineLeaf(lines[i]);
|
|
180796
180792
|
}
|
|
180797
|
-
this.root =
|
|
180793
|
+
this.root = _LineIndex.buildTreeFromBottom(leaves);
|
|
180798
180794
|
} else {
|
|
180799
180795
|
this.root = new LineNode();
|
|
180800
180796
|
}
|
|
@@ -180838,7 +180834,7 @@ ${e.message}`;
|
|
|
180838
180834
|
if (this.root.charCount() === 0) {
|
|
180839
180835
|
Debug.assert(deleteLength === 0);
|
|
180840
180836
|
if (newText !== void 0) {
|
|
180841
|
-
this.load(
|
|
180837
|
+
this.load(_LineIndex.linesFromText(newText).lines);
|
|
180842
180838
|
return this;
|
|
180843
180839
|
}
|
|
180844
180840
|
return void 0;
|
|
@@ -180909,7 +180905,7 @@ ${e.message}`;
|
|
|
180909
180905
|
return { lines, lineMap };
|
|
180910
180906
|
}
|
|
180911
180907
|
};
|
|
180912
|
-
LineNode = class {
|
|
180908
|
+
LineNode = class _LineNode {
|
|
180913
180909
|
constructor(children = []) {
|
|
180914
180910
|
this.children = children;
|
|
180915
180911
|
this.totalChars = 0;
|
|
@@ -181041,7 +181037,7 @@ ${e.message}`;
|
|
|
181041
181037
|
childIndex++;
|
|
181042
181038
|
const endLength = childIndex;
|
|
181043
181039
|
if (childIndex < clen) {
|
|
181044
|
-
splitNode = new
|
|
181040
|
+
splitNode = new _LineNode();
|
|
181045
181041
|
while (childIndex < clen) {
|
|
181046
181042
|
splitNode.add(this.children[childIndex]);
|
|
181047
181043
|
childIndex++;
|
|
@@ -181090,7 +181086,7 @@ ${e.message}`;
|
|
|
181090
181086
|
splitNodes = new Array(splitNodeCount);
|
|
181091
181087
|
let splitNodeIndex = 0;
|
|
181092
181088
|
for (let i = 0; i < splitNodeCount; i++) {
|
|
181093
|
-
splitNodes[i] = new
|
|
181089
|
+
splitNodes[i] = new _LineNode();
|
|
181094
181090
|
}
|
|
181095
181091
|
let splitNode = splitNodes[0];
|
|
181096
181092
|
while (nodeIndex < nodeCount) {
|
package/lib/typescript.js
CHANGED
|
@@ -35,7 +35,7 @@ var ts = (() => {
|
|
|
35
35
|
"src/compiler/corePublic.ts"() {
|
|
36
36
|
"use strict";
|
|
37
37
|
versionMajorMinor = "5.2";
|
|
38
|
-
version = `${versionMajorMinor}.0-insiders.
|
|
38
|
+
version = `${versionMajorMinor}.0-insiders.20230617`;
|
|
39
39
|
Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
40
40
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
41
41
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -2942,7 +2942,7 @@ ${lanes.join("\n")}
|
|
|
2942
2942
|
buildRegExp = /^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i;
|
|
2943
2943
|
buildPartRegExp = /^[a-z0-9-]+$/i;
|
|
2944
2944
|
numericIdentifierRegExp = /^(0|[1-9]\d*)$/;
|
|
2945
|
-
_Version = class {
|
|
2945
|
+
_Version = class _Version {
|
|
2946
2946
|
constructor(major, minor = 0, patch = 0, prerelease = "", build2 = "") {
|
|
2947
2947
|
if (typeof major === "string") {
|
|
2948
2948
|
const result = Debug.checkDefined(tryParseComponents(major), "Invalid version");
|
|
@@ -3006,16 +3006,16 @@ ${lanes.join("\n")}
|
|
|
3006
3006
|
return result;
|
|
3007
3007
|
}
|
|
3008
3008
|
};
|
|
3009
|
+
_Version.zero = new _Version(0, 0, 0, ["0"]);
|
|
3009
3010
|
Version = _Version;
|
|
3010
|
-
|
|
3011
|
-
VersionRange = class {
|
|
3011
|
+
VersionRange = class _VersionRange {
|
|
3012
3012
|
constructor(spec) {
|
|
3013
3013
|
this._alternatives = spec ? Debug.checkDefined(parseRange(spec), "Invalid range spec.") : emptyArray;
|
|
3014
3014
|
}
|
|
3015
3015
|
static tryParse(text) {
|
|
3016
3016
|
const sets = parseRange(text);
|
|
3017
3017
|
if (sets) {
|
|
3018
|
-
const range = new
|
|
3018
|
+
const range = new _VersionRange("");
|
|
3019
3019
|
range._alternatives = sets;
|
|
3020
3020
|
return range;
|
|
3021
3021
|
}
|
|
@@ -9002,7 +9002,7 @@ ${lanes.join("\n")}
|
|
|
9002
9002
|
Could_not_convert_to_arrow_function: diag(95151, 3 /* Message */, "Could_not_convert_to_arrow_function_95151", "Could not convert to arrow function"),
|
|
9003
9003
|
Could_not_convert_to_named_function: diag(95152, 3 /* Message */, "Could_not_convert_to_named_function_95152", "Could not convert to named function"),
|
|
9004
9004
|
Could_not_convert_to_anonymous_function: diag(95153, 3 /* Message */, "Could_not_convert_to_anonymous_function_95153", "Could not convert to anonymous function"),
|
|
9005
|
-
|
|
9005
|
+
Can_only_convert_string_concatenation: diag(95154, 3 /* Message */, "Can_only_convert_string_concatenation_95154", "Can only convert string concatenation"),
|
|
9006
9006
|
Selection_is_not_a_valid_statement_or_statements: diag(95155, 3 /* Message */, "Selection_is_not_a_valid_statement_or_statements_95155", "Selection is not a valid statement or statements"),
|
|
9007
9007
|
Add_missing_function_declaration_0: diag(95156, 3 /* Message */, "Add_missing_function_declaration_0_95156", "Add missing function declaration '{0}'"),
|
|
9008
9008
|
Add_all_missing_function_declarations: diag(95157, 3 /* Message */, "Add_all_missing_function_declarations_95157", "Add all missing function declarations"),
|
|
@@ -69632,7 +69632,7 @@ ${lanes.join("\n")}
|
|
|
69632
69632
|
function instantiateContextualType(contextualType, node, contextFlags) {
|
|
69633
69633
|
if (contextualType && maybeTypeOfKind(contextualType, 465829888 /* Instantiable */)) {
|
|
69634
69634
|
const inferenceContext = getInferenceContext(node);
|
|
69635
|
-
if (inferenceContext && contextFlags & 1 /* Signature */ && some(inferenceContext.inferences, hasInferenceCandidatesOrDefault)) {
|
|
69635
|
+
if (inferenceContext && (contextFlags & 1 /* Signature */ || maybeTypeOfKind(contextualType, 25165824 /* Simplifiable */)) && some(inferenceContext.inferences, hasInferenceCandidatesOrDefault)) {
|
|
69636
69636
|
return instantiateInstantiableTypes(contextualType, inferenceContext.nonFixingMapper);
|
|
69637
69637
|
}
|
|
69638
69638
|
if (inferenceContext == null ? void 0 : inferenceContext.returnMapper) {
|
|
@@ -85920,13 +85920,13 @@ ${lanes.join("\n")}
|
|
|
85920
85920
|
JsxNames2.IntrinsicClassAttributes = "IntrinsicClassAttributes";
|
|
85921
85921
|
JsxNames2.LibraryManagedAttributes = "LibraryManagedAttributes";
|
|
85922
85922
|
})(JsxNames || (JsxNames = {}));
|
|
85923
|
-
SymbolTrackerImpl = class {
|
|
85923
|
+
SymbolTrackerImpl = class _SymbolTrackerImpl {
|
|
85924
85924
|
constructor(context, tracker, moduleResolverHost) {
|
|
85925
85925
|
this.moduleResolverHost = void 0;
|
|
85926
85926
|
this.inner = void 0;
|
|
85927
85927
|
this.disableTrackSymbol = false;
|
|
85928
85928
|
var _a;
|
|
85929
|
-
while (tracker instanceof
|
|
85929
|
+
while (tracker instanceof _SymbolTrackerImpl) {
|
|
85930
85930
|
tracker = tracker.inner;
|
|
85931
85931
|
}
|
|
85932
85932
|
this.inner = tracker;
|
|
@@ -137221,18 +137221,14 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
137221
137221
|
const { file, startPosition } = context;
|
|
137222
137222
|
const node = getNodeOrParentOfParentheses(file, startPosition);
|
|
137223
137223
|
const maybeBinary = getParentBinaryExpression(node);
|
|
137224
|
-
const nodeIsStringLiteral = isStringLiteral(maybeBinary);
|
|
137225
137224
|
const refactorInfo = { name: refactorName10, description: refactorDescription6, actions: [] };
|
|
137226
|
-
if (
|
|
137227
|
-
return emptyArray;
|
|
137228
|
-
}
|
|
137229
|
-
if (nodeIsStringLiteral || isBinaryExpression(maybeBinary) && treeToArray(maybeBinary).isValidConcatenation) {
|
|
137225
|
+
if (isBinaryExpression(maybeBinary) && treeToArray(maybeBinary).isValidConcatenation) {
|
|
137230
137226
|
refactorInfo.actions.push(convertStringAction);
|
|
137231
137227
|
return [refactorInfo];
|
|
137232
137228
|
} else if (context.preferences.provideRefactorNotApplicableReason) {
|
|
137233
137229
|
refactorInfo.actions.push({
|
|
137234
137230
|
...convertStringAction,
|
|
137235
|
-
notApplicableReason: getLocaleSpecificMessage(Diagnostics.
|
|
137231
|
+
notApplicableReason: getLocaleSpecificMessage(Diagnostics.Can_only_convert_string_concatenation)
|
|
137236
137232
|
});
|
|
137237
137233
|
return [refactorInfo];
|
|
137238
137234
|
}
|
|
@@ -166140,7 +166136,7 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
166140
166136
|
leadingTriviaOption: 0 /* Exclude */,
|
|
166141
166137
|
trailingTriviaOption: 0 /* Exclude */
|
|
166142
166138
|
};
|
|
166143
|
-
ChangeTracker = class {
|
|
166139
|
+
ChangeTracker = class _ChangeTracker {
|
|
166144
166140
|
/** Public for tests only. Other callers should use `ChangeTracker.with`. */
|
|
166145
166141
|
constructor(newLineCharacter, formatContext) {
|
|
166146
166142
|
this.newLineCharacter = newLineCharacter;
|
|
@@ -166151,10 +166147,10 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
|
|
|
166151
166147
|
this.deletedNodes = [];
|
|
166152
166148
|
}
|
|
166153
166149
|
static fromContext(context) {
|
|
166154
|
-
return new
|
|
166150
|
+
return new _ChangeTracker(getNewLineOrDefaultFromHost(context.host, context.formatContext.options), context.formatContext);
|
|
166155
166151
|
}
|
|
166156
166152
|
static with(context, cb) {
|
|
166157
|
-
const tracker =
|
|
166153
|
+
const tracker = _ChangeTracker.fromContext(context);
|
|
166158
166154
|
cb(tracker);
|
|
166159
166155
|
return tracker.getChanges();
|
|
166160
166156
|
}
|
package/lib/typingsInstaller.js
CHANGED
|
@@ -54,7 +54,7 @@ var path = __toESM(require("path"));
|
|
|
54
54
|
|
|
55
55
|
// src/compiler/corePublic.ts
|
|
56
56
|
var versionMajorMinor = "5.2";
|
|
57
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
57
|
+
var version = `${versionMajorMinor}.0-insiders.20230617`;
|
|
58
58
|
|
|
59
59
|
// src/compiler/core.ts
|
|
60
60
|
var emptyArray = [];
|
|
@@ -1856,7 +1856,7 @@ var prereleasePartRegExp = /^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)$/i;
|
|
|
1856
1856
|
var buildRegExp = /^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i;
|
|
1857
1857
|
var buildPartRegExp = /^[a-z0-9-]+$/i;
|
|
1858
1858
|
var numericIdentifierRegExp = /^(0|[1-9]\d*)$/;
|
|
1859
|
-
var _Version = class {
|
|
1859
|
+
var _Version = class _Version {
|
|
1860
1860
|
constructor(major, minor = 0, patch = 0, prerelease = "", build = "") {
|
|
1861
1861
|
if (typeof major === "string") {
|
|
1862
1862
|
const result = Debug.checkDefined(tryParseComponents(major), "Invalid version");
|
|
@@ -1920,8 +1920,8 @@ var _Version = class {
|
|
|
1920
1920
|
return result;
|
|
1921
1921
|
}
|
|
1922
1922
|
};
|
|
1923
|
+
_Version.zero = new _Version(0, 0, 0, ["0"]);
|
|
1923
1924
|
var Version = _Version;
|
|
1924
|
-
Version.zero = new _Version(0, 0, 0, ["0"]);
|
|
1925
1925
|
function tryParseComponents(text) {
|
|
1926
1926
|
const match = versionRegExp.exec(text);
|
|
1927
1927
|
if (!match)
|
|
@@ -1968,14 +1968,14 @@ function comparePrereleaseIdentifiers(left, right) {
|
|
|
1968
1968
|
}
|
|
1969
1969
|
return compareValues(left.length, right.length);
|
|
1970
1970
|
}
|
|
1971
|
-
var VersionRange = class {
|
|
1971
|
+
var VersionRange = class _VersionRange {
|
|
1972
1972
|
constructor(spec) {
|
|
1973
1973
|
this._alternatives = spec ? Debug.checkDefined(parseRange(spec), "Invalid range spec.") : emptyArray;
|
|
1974
1974
|
}
|
|
1975
1975
|
static tryParse(text) {
|
|
1976
1976
|
const sets = parseRange(text);
|
|
1977
1977
|
if (sets) {
|
|
1978
|
-
const range = new
|
|
1978
|
+
const range = new _VersionRange("");
|
|
1979
1979
|
range._alternatives = sets;
|
|
1980
1980
|
return range;
|
|
1981
1981
|
}
|
|
@@ -7073,7 +7073,7 @@ var Diagnostics = {
|
|
|
7073
7073
|
Could_not_convert_to_arrow_function: diag(95151, 3 /* Message */, "Could_not_convert_to_arrow_function_95151", "Could not convert to arrow function"),
|
|
7074
7074
|
Could_not_convert_to_named_function: diag(95152, 3 /* Message */, "Could_not_convert_to_named_function_95152", "Could not convert to named function"),
|
|
7075
7075
|
Could_not_convert_to_anonymous_function: diag(95153, 3 /* Message */, "Could_not_convert_to_anonymous_function_95153", "Could not convert to anonymous function"),
|
|
7076
|
-
|
|
7076
|
+
Can_only_convert_string_concatenation: diag(95154, 3 /* Message */, "Can_only_convert_string_concatenation_95154", "Can only convert string concatenation"),
|
|
7077
7077
|
Selection_is_not_a_valid_statement_or_statements: diag(95155, 3 /* Message */, "Selection_is_not_a_valid_statement_or_statements_95155", "Selection is not a valid statement or statements"),
|
|
7078
7078
|
Add_missing_function_declaration_0: diag(95156, 3 /* Message */, "Add_missing_function_declaration_0_95156", "Add missing function declaration '{0}'"),
|
|
7079
7079
|
Add_all_missing_function_declarations: diag(95157, 3 /* Message */, "Add_all_missing_function_declarations_95157", "Add all missing function declarations"),
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@typescript-deploys/pr-build",
|
|
3
3
|
"author": "Microsoft Corp.",
|
|
4
4
|
"homepage": "https://www.typescriptlang.org/",
|
|
5
|
-
"version": "5.2.0-pr-
|
|
5
|
+
"version": "5.2.0-pr-48838-5",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -115,5 +115,5 @@
|
|
|
115
115
|
"node": "20.1.0",
|
|
116
116
|
"npm": "8.19.4"
|
|
117
117
|
},
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "7d382f0201ffe0197104aa622496dbc680f2d6df"
|
|
119
119
|
}
|