@typescript-deploys/pr-build 5.1.0-pr-53034-6 → 5.1.0-pr-53040-3
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/README.md +2 -0
- package/lib/tsc.js +22 -18
- package/lib/tsserver.js +23 -19
- package/lib/tsserverlibrary.d.ts +5 -7
- package/lib/tsserverlibrary.js +23 -19
- package/lib/typescript.d.ts +5 -7
- package/lib/typescript.js +23 -19
- package/lib/typingsInstaller.js +1 -1
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
[](https://dev.azure.com/typescript/TypeScript/_build?definitionId=7)
|
|
6
6
|
[](https://www.npmjs.com/package/typescript)
|
|
7
7
|
[](https://www.npmjs.com/package/typescript)
|
|
8
|
+
[](https://api.securityscorecards.dev/projects/github.com/microsoft/TypeScript)
|
|
9
|
+
|
|
8
10
|
|
|
9
11
|
[TypeScript](https://www.typescriptlang.org/) is a language for application-scale JavaScript. TypeScript adds optional types to JavaScript that support tools for large-scale JavaScript applications for any browser, for any host, on any OS. TypeScript compiles to readable, standards-based JavaScript. Try it out at the [playground](https://www.typescriptlang.org/play/), and stay up to date via [our blog](https://blogs.msdn.microsoft.com/typescript) and [Twitter account](https://twitter.com/typescript).
|
|
10
12
|
|
package/lib/tsc.js
CHANGED
|
@@ -23,7 +23,7 @@ var __export = (target, all) => {
|
|
|
23
23
|
|
|
24
24
|
// src/compiler/corePublic.ts
|
|
25
25
|
var versionMajorMinor = "5.1";
|
|
26
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
26
|
+
var version = `${versionMajorMinor}.0-insiders.20230301`;
|
|
27
27
|
|
|
28
28
|
// src/compiler/core.ts
|
|
29
29
|
var emptyArray = [];
|
|
@@ -45905,10 +45905,6 @@ function createTypeChecker(host) {
|
|
|
45905
45905
|
return;
|
|
45906
45906
|
merged.exports.set(name, merged.exports.has(name) ? mergeSymbol(merged.exports.get(name), s) : s);
|
|
45907
45907
|
});
|
|
45908
|
-
if (merged === exported) {
|
|
45909
|
-
getSymbolLinks(merged).resolvedExports = void 0;
|
|
45910
|
-
getSymbolLinks(merged).resolvedMembers = void 0;
|
|
45911
|
-
}
|
|
45912
45908
|
getSymbolLinks(merged).cjsExportMerged = merged;
|
|
45913
45909
|
return links.cjsExportMerged = merged;
|
|
45914
45910
|
}
|
|
@@ -46265,9 +46261,21 @@ function createTypeChecker(host) {
|
|
|
46265
46261
|
});
|
|
46266
46262
|
}
|
|
46267
46263
|
function getSymbolIfSameReference(s1, s2) {
|
|
46268
|
-
if (
|
|
46269
|
-
return
|
|
46270
|
-
|
|
46264
|
+
if (s1 === s2)
|
|
46265
|
+
return true;
|
|
46266
|
+
s1 = getMergedSymbol(s1);
|
|
46267
|
+
s2 = getMergedSymbol(s2);
|
|
46268
|
+
if (s1 === s2)
|
|
46269
|
+
return true;
|
|
46270
|
+
s1 = resolveSymbol(s1);
|
|
46271
|
+
s2 = resolveSymbol(s2);
|
|
46272
|
+
if (s1 === s2)
|
|
46273
|
+
return true;
|
|
46274
|
+
s1 = getMergedSymbol(s1);
|
|
46275
|
+
s2 = getMergedSymbol(s2);
|
|
46276
|
+
if (s1 === s2)
|
|
46277
|
+
return true;
|
|
46278
|
+
return false;
|
|
46271
46279
|
}
|
|
46272
46280
|
function getExportSymbolOfValueSymbolIfExported(symbol) {
|
|
46273
46281
|
return getMergedSymbol(symbol && (symbol.flags & 1048576 /* ExportValue */) !== 0 && symbol.exportSymbol || symbol);
|
|
@@ -49362,8 +49370,7 @@ function createTypeChecker(host) {
|
|
|
49362
49370
|
), modifierFlags);
|
|
49363
49371
|
}
|
|
49364
49372
|
function getNamespaceMembersForSerialization(symbol) {
|
|
49365
|
-
|
|
49366
|
-
return !exports ? [] : filter(arrayFrom(exports.values()), (m) => isNamespaceMember(m) && isIdentifierText(m.escapedName, 99 /* ESNext */));
|
|
49373
|
+
return !symbol.exports ? [] : filter(arrayFrom(symbol.exports.values()), isNamespaceMember);
|
|
49367
49374
|
}
|
|
49368
49375
|
function isTypeOnlyNamespace(symbol) {
|
|
49369
49376
|
return every(getNamespaceMembersForSerialization(symbol), (m) => !(getAllSymbolFlags(resolveSymbol(m)) & 111551 /* Value */));
|
|
@@ -103839,7 +103846,7 @@ function transformNodeModule(context) {
|
|
|
103839
103846
|
|
|
103840
103847
|
// src/compiler/transformers/declarations/diagnostics.ts
|
|
103841
103848
|
function canProduceDiagnostics(node) {
|
|
103842
|
-
return isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isBindingElement(node) || isSetAccessor(node) || isGetAccessor(node) || isConstructSignatureDeclaration(node) || isCallSignatureDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isFunctionDeclaration(node) || isParameter(node) || isTypeParameterDeclaration(node) || isExpressionWithTypeArguments(node) || isImportEqualsDeclaration(node) || isTypeAliasDeclaration(node) || isConstructorDeclaration(node) || isIndexSignatureDeclaration(node) || isPropertyAccessExpression(node) ||
|
|
103849
|
+
return isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isBindingElement(node) || isSetAccessor(node) || isGetAccessor(node) || isConstructSignatureDeclaration(node) || isCallSignatureDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isFunctionDeclaration(node) || isParameter(node) || isTypeParameterDeclaration(node) || isExpressionWithTypeArguments(node) || isImportEqualsDeclaration(node) || isTypeAliasDeclaration(node) || isConstructorDeclaration(node) || isIndexSignatureDeclaration(node) || isPropertyAccessExpression(node) || isJSDocTypeAlias(node);
|
|
103843
103850
|
}
|
|
103844
103851
|
function createGetSymbolAccessibilityDiagnosticForNodeName(node) {
|
|
103845
103852
|
if (isSetAccessor(node) || isGetAccessor(node)) {
|
|
@@ -103885,7 +103892,7 @@ function createGetSymbolAccessibilityDiagnosticForNodeName(node) {
|
|
|
103885
103892
|
}
|
|
103886
103893
|
}
|
|
103887
103894
|
function createGetSymbolAccessibilityDiagnosticForNode(node) {
|
|
103888
|
-
if (isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isPropertyAccessExpression(node) ||
|
|
103895
|
+
if (isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isPropertyAccessExpression(node) || isBindingElement(node) || isConstructorDeclaration(node)) {
|
|
103889
103896
|
return getVariableDeclarationTypeVisibilityError;
|
|
103890
103897
|
} else if (isSetAccessor(node) || isGetAccessor(node)) {
|
|
103891
103898
|
return getAccessorDeclarationTypeVisibilityError;
|
|
@@ -103910,7 +103917,7 @@ function createGetSymbolAccessibilityDiagnosticForNode(node) {
|
|
|
103910
103917
|
function getVariableDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult) {
|
|
103911
103918
|
if (node.kind === 257 /* VariableDeclaration */ || node.kind === 205 /* BindingElement */) {
|
|
103912
103919
|
return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Exported_variable_0_has_or_is_using_private_name_1;
|
|
103913
|
-
} else if (node.kind === 169 /* PropertyDeclaration */ || node.kind === 208 /* PropertyAccessExpression */ || node.kind ===
|
|
103920
|
+
} else if (node.kind === 169 /* PropertyDeclaration */ || node.kind === 208 /* PropertyAccessExpression */ || node.kind === 168 /* PropertySignature */ || node.kind === 166 /* Parameter */ && hasSyntacticModifier(node.parent, 8 /* Private */)) {
|
|
103914
103921
|
if (isStatic(node)) {
|
|
103915
103922
|
return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1;
|
|
103916
103923
|
} else if (node.parent.kind === 260 /* ClassDeclaration */ || node.kind === 166 /* Parameter */) {
|
|
@@ -105363,16 +105370,13 @@ function transformDeclarations(context) {
|
|
|
105363
105370
|
fakespace.symbol = props[0].parent;
|
|
105364
105371
|
const exportMappings = [];
|
|
105365
105372
|
let declarations = mapDefined(props, (p) => {
|
|
105366
|
-
if (!p.valueDeclaration || !
|
|
105367
|
-
return void 0;
|
|
105368
|
-
}
|
|
105369
|
-
const nameStr = unescapeLeadingUnderscores(p.escapedName);
|
|
105370
|
-
if (!isIdentifierText(nameStr, 99 /* ESNext */)) {
|
|
105373
|
+
if (!p.valueDeclaration || !isPropertyAccessExpression(p.valueDeclaration)) {
|
|
105371
105374
|
return void 0;
|
|
105372
105375
|
}
|
|
105373
105376
|
getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(p.valueDeclaration);
|
|
105374
105377
|
const type = resolver.createTypeOfDeclaration(p.valueDeclaration, fakespace, declarationEmitNodeBuilderFlags, symbolTracker);
|
|
105375
105378
|
getSymbolAccessibilityDiagnostic = oldDiag;
|
|
105379
|
+
const nameStr = unescapeLeadingUnderscores(p.escapedName);
|
|
105376
105380
|
const isNonContextualKeywordName = isStringANonContextualKeyword(nameStr);
|
|
105377
105381
|
const name = isNonContextualKeywordName ? factory2.getGeneratedNameForNode(p.valueDeclaration) : factory2.createIdentifier(nameStr);
|
|
105378
105382
|
if (isNonContextualKeywordName) {
|
package/lib/tsserver.js
CHANGED
|
@@ -2287,7 +2287,7 @@ module.exports = __toCommonJS(server_exports);
|
|
|
2287
2287
|
|
|
2288
2288
|
// src/compiler/corePublic.ts
|
|
2289
2289
|
var versionMajorMinor = "5.1";
|
|
2290
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
2290
|
+
var version = `${versionMajorMinor}.0-insiders.20230301`;
|
|
2291
2291
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
2292
2292
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
2293
2293
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -50511,10 +50511,6 @@ function createTypeChecker(host) {
|
|
|
50511
50511
|
return;
|
|
50512
50512
|
merged.exports.set(name, merged.exports.has(name) ? mergeSymbol(merged.exports.get(name), s) : s);
|
|
50513
50513
|
});
|
|
50514
|
-
if (merged === exported) {
|
|
50515
|
-
getSymbolLinks(merged).resolvedExports = void 0;
|
|
50516
|
-
getSymbolLinks(merged).resolvedMembers = void 0;
|
|
50517
|
-
}
|
|
50518
50514
|
getSymbolLinks(merged).cjsExportMerged = merged;
|
|
50519
50515
|
return links.cjsExportMerged = merged;
|
|
50520
50516
|
}
|
|
@@ -50871,9 +50867,21 @@ function createTypeChecker(host) {
|
|
|
50871
50867
|
});
|
|
50872
50868
|
}
|
|
50873
50869
|
function getSymbolIfSameReference(s1, s2) {
|
|
50874
|
-
if (
|
|
50875
|
-
return
|
|
50876
|
-
|
|
50870
|
+
if (s1 === s2)
|
|
50871
|
+
return true;
|
|
50872
|
+
s1 = getMergedSymbol(s1);
|
|
50873
|
+
s2 = getMergedSymbol(s2);
|
|
50874
|
+
if (s1 === s2)
|
|
50875
|
+
return true;
|
|
50876
|
+
s1 = resolveSymbol(s1);
|
|
50877
|
+
s2 = resolveSymbol(s2);
|
|
50878
|
+
if (s1 === s2)
|
|
50879
|
+
return true;
|
|
50880
|
+
s1 = getMergedSymbol(s1);
|
|
50881
|
+
s2 = getMergedSymbol(s2);
|
|
50882
|
+
if (s1 === s2)
|
|
50883
|
+
return true;
|
|
50884
|
+
return false;
|
|
50877
50885
|
}
|
|
50878
50886
|
function getExportSymbolOfValueSymbolIfExported(symbol) {
|
|
50879
50887
|
return getMergedSymbol(symbol && (symbol.flags & 1048576 /* ExportValue */) !== 0 && symbol.exportSymbol || symbol);
|
|
@@ -53968,8 +53976,7 @@ function createTypeChecker(host) {
|
|
|
53968
53976
|
), modifierFlags);
|
|
53969
53977
|
}
|
|
53970
53978
|
function getNamespaceMembersForSerialization(symbol) {
|
|
53971
|
-
|
|
53972
|
-
return !exports ? [] : filter(arrayFrom(exports.values()), (m) => isNamespaceMember(m) && isIdentifierText(m.escapedName, 99 /* ESNext */));
|
|
53979
|
+
return !symbol.exports ? [] : filter(arrayFrom(symbol.exports.values()), isNamespaceMember);
|
|
53973
53980
|
}
|
|
53974
53981
|
function isTypeOnlyNamespace(symbol) {
|
|
53975
53982
|
return every(getNamespaceMembersForSerialization(symbol), (m) => !(getAllSymbolFlags(resolveSymbol(m)) & 111551 /* Value */));
|
|
@@ -108616,7 +108623,7 @@ function transformNodeModule(context) {
|
|
|
108616
108623
|
|
|
108617
108624
|
// src/compiler/transformers/declarations/diagnostics.ts
|
|
108618
108625
|
function canProduceDiagnostics(node) {
|
|
108619
|
-
return isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isBindingElement(node) || isSetAccessor(node) || isGetAccessor(node) || isConstructSignatureDeclaration(node) || isCallSignatureDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isFunctionDeclaration(node) || isParameter(node) || isTypeParameterDeclaration(node) || isExpressionWithTypeArguments(node) || isImportEqualsDeclaration(node) || isTypeAliasDeclaration(node) || isConstructorDeclaration(node) || isIndexSignatureDeclaration(node) || isPropertyAccessExpression(node) ||
|
|
108626
|
+
return isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isBindingElement(node) || isSetAccessor(node) || isGetAccessor(node) || isConstructSignatureDeclaration(node) || isCallSignatureDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isFunctionDeclaration(node) || isParameter(node) || isTypeParameterDeclaration(node) || isExpressionWithTypeArguments(node) || isImportEqualsDeclaration(node) || isTypeAliasDeclaration(node) || isConstructorDeclaration(node) || isIndexSignatureDeclaration(node) || isPropertyAccessExpression(node) || isJSDocTypeAlias(node);
|
|
108620
108627
|
}
|
|
108621
108628
|
function createGetSymbolAccessibilityDiagnosticForNodeName(node) {
|
|
108622
108629
|
if (isSetAccessor(node) || isGetAccessor(node)) {
|
|
@@ -108662,7 +108669,7 @@ function createGetSymbolAccessibilityDiagnosticForNodeName(node) {
|
|
|
108662
108669
|
}
|
|
108663
108670
|
}
|
|
108664
108671
|
function createGetSymbolAccessibilityDiagnosticForNode(node) {
|
|
108665
|
-
if (isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isPropertyAccessExpression(node) ||
|
|
108672
|
+
if (isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isPropertyAccessExpression(node) || isBindingElement(node) || isConstructorDeclaration(node)) {
|
|
108666
108673
|
return getVariableDeclarationTypeVisibilityError;
|
|
108667
108674
|
} else if (isSetAccessor(node) || isGetAccessor(node)) {
|
|
108668
108675
|
return getAccessorDeclarationTypeVisibilityError;
|
|
@@ -108687,7 +108694,7 @@ function createGetSymbolAccessibilityDiagnosticForNode(node) {
|
|
|
108687
108694
|
function getVariableDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult) {
|
|
108688
108695
|
if (node.kind === 257 /* VariableDeclaration */ || node.kind === 205 /* BindingElement */) {
|
|
108689
108696
|
return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Exported_variable_0_has_or_is_using_private_name_1;
|
|
108690
|
-
} else if (node.kind === 169 /* PropertyDeclaration */ || node.kind === 208 /* PropertyAccessExpression */ || node.kind ===
|
|
108697
|
+
} else if (node.kind === 169 /* PropertyDeclaration */ || node.kind === 208 /* PropertyAccessExpression */ || node.kind === 168 /* PropertySignature */ || node.kind === 166 /* Parameter */ && hasSyntacticModifier(node.parent, 8 /* Private */)) {
|
|
108691
108698
|
if (isStatic(node)) {
|
|
108692
108699
|
return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1;
|
|
108693
108700
|
} else if (node.parent.kind === 260 /* ClassDeclaration */ || node.kind === 166 /* Parameter */) {
|
|
@@ -110140,16 +110147,13 @@ function transformDeclarations(context) {
|
|
|
110140
110147
|
fakespace.symbol = props[0].parent;
|
|
110141
110148
|
const exportMappings = [];
|
|
110142
110149
|
let declarations = mapDefined(props, (p) => {
|
|
110143
|
-
if (!p.valueDeclaration || !
|
|
110144
|
-
return void 0;
|
|
110145
|
-
}
|
|
110146
|
-
const nameStr = unescapeLeadingUnderscores(p.escapedName);
|
|
110147
|
-
if (!isIdentifierText(nameStr, 99 /* ESNext */)) {
|
|
110150
|
+
if (!p.valueDeclaration || !isPropertyAccessExpression(p.valueDeclaration)) {
|
|
110148
110151
|
return void 0;
|
|
110149
110152
|
}
|
|
110150
110153
|
getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(p.valueDeclaration);
|
|
110151
110154
|
const type = resolver.createTypeOfDeclaration(p.valueDeclaration, fakespace, declarationEmitNodeBuilderFlags, symbolTracker);
|
|
110152
110155
|
getSymbolAccessibilityDiagnostic = oldDiag;
|
|
110156
|
+
const nameStr = unescapeLeadingUnderscores(p.escapedName);
|
|
110153
110157
|
const isNonContextualKeywordName = isStringANonContextualKeyword(nameStr);
|
|
110154
110158
|
const name = isNonContextualKeywordName ? factory2.getGeneratedNameForNode(p.valueDeclaration) : factory2.createIdentifier(nameStr);
|
|
110155
110159
|
if (isNonContextualKeywordName) {
|
|
@@ -146255,7 +146259,7 @@ function inferTypeFromReferences(program, references, cancellationToken) {
|
|
|
146255
146259
|
const props = createMultiMap();
|
|
146256
146260
|
for (const anon2 of anons) {
|
|
146257
146261
|
for (const p of checker.getPropertiesOfType(anon2)) {
|
|
146258
|
-
props.add(p.
|
|
146262
|
+
props.add(p.escapedName, p.valueDeclaration ? checker.getTypeOfSymbolAtLocation(p, p.valueDeclaration) : checker.getAnyType());
|
|
146259
146263
|
}
|
|
146260
146264
|
calls.push(...checker.getSignaturesOfType(anon2, 0 /* Call */));
|
|
146261
146265
|
constructs.push(...checker.getSignaturesOfType(anon2, 1 /* Construct */));
|
package/lib/tsserverlibrary.d.ts
CHANGED
|
@@ -6636,14 +6636,12 @@ declare namespace ts {
|
|
|
6636
6636
|
}) | (void & {
|
|
6637
6637
|
__escapedIdentifier: void;
|
|
6638
6638
|
}) | InternalSymbolName;
|
|
6639
|
-
/**
|
|
6640
|
-
|
|
6641
|
-
|
|
6642
|
-
|
|
6643
|
-
interface UnderscoreEscapedMap<T> extends Map<__String, T> {
|
|
6644
|
-
}
|
|
6639
|
+
/** @deprecated Use ReadonlyMap<__String, T> instead. */
|
|
6640
|
+
type ReadonlyUnderscoreEscapedMap<T> = ReadonlyMap<__String, T>;
|
|
6641
|
+
/** @deprecated Use Map<__String, T> instead. */
|
|
6642
|
+
type UnderscoreEscapedMap<T> = Map<__String, T>;
|
|
6645
6643
|
/** SymbolTable based on ES6 Map interface. */
|
|
6646
|
-
type SymbolTable =
|
|
6644
|
+
type SymbolTable = Map<__String, Symbol>;
|
|
6647
6645
|
enum TypeFlags {
|
|
6648
6646
|
Any = 1,
|
|
6649
6647
|
Unknown = 2,
|
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.1";
|
|
38
|
-
version = `${versionMajorMinor}.0-insiders.
|
|
38
|
+
version = `${versionMajorMinor}.0-insiders.20230301`;
|
|
39
39
|
Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
40
40
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
41
41
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -48320,10 +48320,6 @@ ${lanes.join("\n")}
|
|
|
48320
48320
|
return;
|
|
48321
48321
|
merged.exports.set(name, merged.exports.has(name) ? mergeSymbol(merged.exports.get(name), s) : s);
|
|
48322
48322
|
});
|
|
48323
|
-
if (merged === exported) {
|
|
48324
|
-
getSymbolLinks(merged).resolvedExports = void 0;
|
|
48325
|
-
getSymbolLinks(merged).resolvedMembers = void 0;
|
|
48326
|
-
}
|
|
48327
48323
|
getSymbolLinks(merged).cjsExportMerged = merged;
|
|
48328
48324
|
return links.cjsExportMerged = merged;
|
|
48329
48325
|
}
|
|
@@ -48680,9 +48676,21 @@ ${lanes.join("\n")}
|
|
|
48680
48676
|
});
|
|
48681
48677
|
}
|
|
48682
48678
|
function getSymbolIfSameReference(s1, s2) {
|
|
48683
|
-
if (
|
|
48684
|
-
return
|
|
48685
|
-
|
|
48679
|
+
if (s1 === s2)
|
|
48680
|
+
return true;
|
|
48681
|
+
s1 = getMergedSymbol(s1);
|
|
48682
|
+
s2 = getMergedSymbol(s2);
|
|
48683
|
+
if (s1 === s2)
|
|
48684
|
+
return true;
|
|
48685
|
+
s1 = resolveSymbol(s1);
|
|
48686
|
+
s2 = resolveSymbol(s2);
|
|
48687
|
+
if (s1 === s2)
|
|
48688
|
+
return true;
|
|
48689
|
+
s1 = getMergedSymbol(s1);
|
|
48690
|
+
s2 = getMergedSymbol(s2);
|
|
48691
|
+
if (s1 === s2)
|
|
48692
|
+
return true;
|
|
48693
|
+
return false;
|
|
48686
48694
|
}
|
|
48687
48695
|
function getExportSymbolOfValueSymbolIfExported(symbol) {
|
|
48688
48696
|
return getMergedSymbol(symbol && (symbol.flags & 1048576 /* ExportValue */) !== 0 && symbol.exportSymbol || symbol);
|
|
@@ -51777,8 +51785,7 @@ ${lanes.join("\n")}
|
|
|
51777
51785
|
), modifierFlags);
|
|
51778
51786
|
}
|
|
51779
51787
|
function getNamespaceMembersForSerialization(symbol) {
|
|
51780
|
-
|
|
51781
|
-
return !exports ? [] : filter(arrayFrom(exports.values()), (m) => isNamespaceMember(m) && isIdentifierText(m.escapedName, 99 /* ESNext */));
|
|
51788
|
+
return !symbol.exports ? [] : filter(arrayFrom(symbol.exports.values()), isNamespaceMember);
|
|
51782
51789
|
}
|
|
51783
51790
|
function isTypeOnlyNamespace(symbol) {
|
|
51784
51791
|
return every(getNamespaceMembersForSerialization(symbol), (m) => !(getAllSymbolFlags(resolveSymbol(m)) & 111551 /* Value */));
|
|
@@ -106716,7 +106723,7 @@ ${lanes.join("\n")}
|
|
|
106716
106723
|
|
|
106717
106724
|
// src/compiler/transformers/declarations/diagnostics.ts
|
|
106718
106725
|
function canProduceDiagnostics(node) {
|
|
106719
|
-
return isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isBindingElement(node) || isSetAccessor(node) || isGetAccessor(node) || isConstructSignatureDeclaration(node) || isCallSignatureDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isFunctionDeclaration(node) || isParameter(node) || isTypeParameterDeclaration(node) || isExpressionWithTypeArguments(node) || isImportEqualsDeclaration(node) || isTypeAliasDeclaration(node) || isConstructorDeclaration(node) || isIndexSignatureDeclaration(node) || isPropertyAccessExpression(node) ||
|
|
106726
|
+
return isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isBindingElement(node) || isSetAccessor(node) || isGetAccessor(node) || isConstructSignatureDeclaration(node) || isCallSignatureDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isFunctionDeclaration(node) || isParameter(node) || isTypeParameterDeclaration(node) || isExpressionWithTypeArguments(node) || isImportEqualsDeclaration(node) || isTypeAliasDeclaration(node) || isConstructorDeclaration(node) || isIndexSignatureDeclaration(node) || isPropertyAccessExpression(node) || isJSDocTypeAlias(node);
|
|
106720
106727
|
}
|
|
106721
106728
|
function createGetSymbolAccessibilityDiagnosticForNodeName(node) {
|
|
106722
106729
|
if (isSetAccessor(node) || isGetAccessor(node)) {
|
|
@@ -106762,7 +106769,7 @@ ${lanes.join("\n")}
|
|
|
106762
106769
|
}
|
|
106763
106770
|
}
|
|
106764
106771
|
function createGetSymbolAccessibilityDiagnosticForNode(node) {
|
|
106765
|
-
if (isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isPropertyAccessExpression(node) ||
|
|
106772
|
+
if (isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isPropertyAccessExpression(node) || isBindingElement(node) || isConstructorDeclaration(node)) {
|
|
106766
106773
|
return getVariableDeclarationTypeVisibilityError;
|
|
106767
106774
|
} else if (isSetAccessor(node) || isGetAccessor(node)) {
|
|
106768
106775
|
return getAccessorDeclarationTypeVisibilityError;
|
|
@@ -106787,7 +106794,7 @@ ${lanes.join("\n")}
|
|
|
106787
106794
|
function getVariableDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult) {
|
|
106788
106795
|
if (node.kind === 257 /* VariableDeclaration */ || node.kind === 205 /* BindingElement */) {
|
|
106789
106796
|
return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Exported_variable_0_has_or_is_using_private_name_1;
|
|
106790
|
-
} else if (node.kind === 169 /* PropertyDeclaration */ || node.kind === 208 /* PropertyAccessExpression */ || node.kind ===
|
|
106797
|
+
} else if (node.kind === 169 /* PropertyDeclaration */ || node.kind === 208 /* PropertyAccessExpression */ || node.kind === 168 /* PropertySignature */ || node.kind === 166 /* Parameter */ && hasSyntacticModifier(node.parent, 8 /* Private */)) {
|
|
106791
106798
|
if (isStatic(node)) {
|
|
106792
106799
|
return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1;
|
|
106793
106800
|
} else if (node.parent.kind === 260 /* ClassDeclaration */ || node.kind === 166 /* Parameter */) {
|
|
@@ -108245,16 +108252,13 @@ ${lanes.join("\n")}
|
|
|
108245
108252
|
fakespace.symbol = props[0].parent;
|
|
108246
108253
|
const exportMappings = [];
|
|
108247
108254
|
let declarations = mapDefined(props, (p) => {
|
|
108248
|
-
if (!p.valueDeclaration || !
|
|
108249
|
-
return void 0;
|
|
108250
|
-
}
|
|
108251
|
-
const nameStr = unescapeLeadingUnderscores(p.escapedName);
|
|
108252
|
-
if (!isIdentifierText(nameStr, 99 /* ESNext */)) {
|
|
108255
|
+
if (!p.valueDeclaration || !isPropertyAccessExpression(p.valueDeclaration)) {
|
|
108253
108256
|
return void 0;
|
|
108254
108257
|
}
|
|
108255
108258
|
getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(p.valueDeclaration);
|
|
108256
108259
|
const type = resolver.createTypeOfDeclaration(p.valueDeclaration, fakespace, declarationEmitNodeBuilderFlags, symbolTracker);
|
|
108257
108260
|
getSymbolAccessibilityDiagnostic = oldDiag;
|
|
108261
|
+
const nameStr = unescapeLeadingUnderscores(p.escapedName);
|
|
108258
108262
|
const isNonContextualKeywordName = isStringANonContextualKeyword(nameStr);
|
|
108259
108263
|
const name = isNonContextualKeywordName ? factory2.getGeneratedNameForNode(p.valueDeclaration) : factory2.createIdentifier(nameStr);
|
|
108260
108264
|
if (isNonContextualKeywordName) {
|
|
@@ -145041,7 +145045,7 @@ ${lanes.join("\n")}
|
|
|
145041
145045
|
const props = createMultiMap();
|
|
145042
145046
|
for (const anon2 of anons) {
|
|
145043
145047
|
for (const p of checker.getPropertiesOfType(anon2)) {
|
|
145044
|
-
props.add(p.
|
|
145048
|
+
props.add(p.escapedName, p.valueDeclaration ? checker.getTypeOfSymbolAtLocation(p, p.valueDeclaration) : checker.getAnyType());
|
|
145045
145049
|
}
|
|
145046
145050
|
calls.push(...checker.getSignaturesOfType(anon2, 0 /* Call */));
|
|
145047
145051
|
constructs.push(...checker.getSignaturesOfType(anon2, 1 /* Construct */));
|
package/lib/typescript.d.ts
CHANGED
|
@@ -2661,14 +2661,12 @@ declare namespace ts {
|
|
|
2661
2661
|
}) | (void & {
|
|
2662
2662
|
__escapedIdentifier: void;
|
|
2663
2663
|
}) | InternalSymbolName;
|
|
2664
|
-
/**
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
interface UnderscoreEscapedMap<T> extends Map<__String, T> {
|
|
2669
|
-
}
|
|
2664
|
+
/** @deprecated Use ReadonlyMap<__String, T> instead. */
|
|
2665
|
+
type ReadonlyUnderscoreEscapedMap<T> = ReadonlyMap<__String, T>;
|
|
2666
|
+
/** @deprecated Use Map<__String, T> instead. */
|
|
2667
|
+
type UnderscoreEscapedMap<T> = Map<__String, T>;
|
|
2670
2668
|
/** SymbolTable based on ES6 Map interface. */
|
|
2671
|
-
type SymbolTable =
|
|
2669
|
+
type SymbolTable = Map<__String, Symbol>;
|
|
2672
2670
|
enum TypeFlags {
|
|
2673
2671
|
Any = 1,
|
|
2674
2672
|
Unknown = 2,
|
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.1";
|
|
38
|
-
version = `${versionMajorMinor}.0-insiders.
|
|
38
|
+
version = `${versionMajorMinor}.0-insiders.20230301`;
|
|
39
39
|
Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
40
40
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
41
41
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -48320,10 +48320,6 @@ ${lanes.join("\n")}
|
|
|
48320
48320
|
return;
|
|
48321
48321
|
merged.exports.set(name, merged.exports.has(name) ? mergeSymbol(merged.exports.get(name), s) : s);
|
|
48322
48322
|
});
|
|
48323
|
-
if (merged === exported) {
|
|
48324
|
-
getSymbolLinks(merged).resolvedExports = void 0;
|
|
48325
|
-
getSymbolLinks(merged).resolvedMembers = void 0;
|
|
48326
|
-
}
|
|
48327
48323
|
getSymbolLinks(merged).cjsExportMerged = merged;
|
|
48328
48324
|
return links.cjsExportMerged = merged;
|
|
48329
48325
|
}
|
|
@@ -48680,9 +48676,21 @@ ${lanes.join("\n")}
|
|
|
48680
48676
|
});
|
|
48681
48677
|
}
|
|
48682
48678
|
function getSymbolIfSameReference(s1, s2) {
|
|
48683
|
-
if (
|
|
48684
|
-
return
|
|
48685
|
-
|
|
48679
|
+
if (s1 === s2)
|
|
48680
|
+
return true;
|
|
48681
|
+
s1 = getMergedSymbol(s1);
|
|
48682
|
+
s2 = getMergedSymbol(s2);
|
|
48683
|
+
if (s1 === s2)
|
|
48684
|
+
return true;
|
|
48685
|
+
s1 = resolveSymbol(s1);
|
|
48686
|
+
s2 = resolveSymbol(s2);
|
|
48687
|
+
if (s1 === s2)
|
|
48688
|
+
return true;
|
|
48689
|
+
s1 = getMergedSymbol(s1);
|
|
48690
|
+
s2 = getMergedSymbol(s2);
|
|
48691
|
+
if (s1 === s2)
|
|
48692
|
+
return true;
|
|
48693
|
+
return false;
|
|
48686
48694
|
}
|
|
48687
48695
|
function getExportSymbolOfValueSymbolIfExported(symbol) {
|
|
48688
48696
|
return getMergedSymbol(symbol && (symbol.flags & 1048576 /* ExportValue */) !== 0 && symbol.exportSymbol || symbol);
|
|
@@ -51777,8 +51785,7 @@ ${lanes.join("\n")}
|
|
|
51777
51785
|
), modifierFlags);
|
|
51778
51786
|
}
|
|
51779
51787
|
function getNamespaceMembersForSerialization(symbol) {
|
|
51780
|
-
|
|
51781
|
-
return !exports ? [] : filter(arrayFrom(exports.values()), (m) => isNamespaceMember(m) && isIdentifierText(m.escapedName, 99 /* ESNext */));
|
|
51788
|
+
return !symbol.exports ? [] : filter(arrayFrom(symbol.exports.values()), isNamespaceMember);
|
|
51782
51789
|
}
|
|
51783
51790
|
function isTypeOnlyNamespace(symbol) {
|
|
51784
51791
|
return every(getNamespaceMembersForSerialization(symbol), (m) => !(getAllSymbolFlags(resolveSymbol(m)) & 111551 /* Value */));
|
|
@@ -106716,7 +106723,7 @@ ${lanes.join("\n")}
|
|
|
106716
106723
|
|
|
106717
106724
|
// src/compiler/transformers/declarations/diagnostics.ts
|
|
106718
106725
|
function canProduceDiagnostics(node) {
|
|
106719
|
-
return isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isBindingElement(node) || isSetAccessor(node) || isGetAccessor(node) || isConstructSignatureDeclaration(node) || isCallSignatureDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isFunctionDeclaration(node) || isParameter(node) || isTypeParameterDeclaration(node) || isExpressionWithTypeArguments(node) || isImportEqualsDeclaration(node) || isTypeAliasDeclaration(node) || isConstructorDeclaration(node) || isIndexSignatureDeclaration(node) || isPropertyAccessExpression(node) ||
|
|
106726
|
+
return isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isBindingElement(node) || isSetAccessor(node) || isGetAccessor(node) || isConstructSignatureDeclaration(node) || isCallSignatureDeclaration(node) || isMethodDeclaration(node) || isMethodSignature(node) || isFunctionDeclaration(node) || isParameter(node) || isTypeParameterDeclaration(node) || isExpressionWithTypeArguments(node) || isImportEqualsDeclaration(node) || isTypeAliasDeclaration(node) || isConstructorDeclaration(node) || isIndexSignatureDeclaration(node) || isPropertyAccessExpression(node) || isJSDocTypeAlias(node);
|
|
106720
106727
|
}
|
|
106721
106728
|
function createGetSymbolAccessibilityDiagnosticForNodeName(node) {
|
|
106722
106729
|
if (isSetAccessor(node) || isGetAccessor(node)) {
|
|
@@ -106762,7 +106769,7 @@ ${lanes.join("\n")}
|
|
|
106762
106769
|
}
|
|
106763
106770
|
}
|
|
106764
106771
|
function createGetSymbolAccessibilityDiagnosticForNode(node) {
|
|
106765
|
-
if (isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isPropertyAccessExpression(node) ||
|
|
106772
|
+
if (isVariableDeclaration(node) || isPropertyDeclaration(node) || isPropertySignature(node) || isPropertyAccessExpression(node) || isBindingElement(node) || isConstructorDeclaration(node)) {
|
|
106766
106773
|
return getVariableDeclarationTypeVisibilityError;
|
|
106767
106774
|
} else if (isSetAccessor(node) || isGetAccessor(node)) {
|
|
106768
106775
|
return getAccessorDeclarationTypeVisibilityError;
|
|
@@ -106787,7 +106794,7 @@ ${lanes.join("\n")}
|
|
|
106787
106794
|
function getVariableDeclarationTypeVisibilityDiagnosticMessage(symbolAccessibilityResult) {
|
|
106788
106795
|
if (node.kind === 257 /* VariableDeclaration */ || node.kind === 205 /* BindingElement */) {
|
|
106789
106796
|
return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Exported_variable_0_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Exported_variable_0_has_or_is_using_private_name_1;
|
|
106790
|
-
} else if (node.kind === 169 /* PropertyDeclaration */ || node.kind === 208 /* PropertyAccessExpression */ || node.kind ===
|
|
106797
|
+
} else if (node.kind === 169 /* PropertyDeclaration */ || node.kind === 208 /* PropertyAccessExpression */ || node.kind === 168 /* PropertySignature */ || node.kind === 166 /* Parameter */ && hasSyntacticModifier(node.parent, 8 /* Private */)) {
|
|
106791
106798
|
if (isStatic(node)) {
|
|
106792
106799
|
return symbolAccessibilityResult.errorModuleName ? symbolAccessibilityResult.accessibility === 2 /* CannotBeNamed */ ? Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2 : Diagnostics.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1;
|
|
106793
106800
|
} else if (node.parent.kind === 260 /* ClassDeclaration */ || node.kind === 166 /* Parameter */) {
|
|
@@ -108245,16 +108252,13 @@ ${lanes.join("\n")}
|
|
|
108245
108252
|
fakespace.symbol = props[0].parent;
|
|
108246
108253
|
const exportMappings = [];
|
|
108247
108254
|
let declarations = mapDefined(props, (p) => {
|
|
108248
|
-
if (!p.valueDeclaration || !
|
|
108249
|
-
return void 0;
|
|
108250
|
-
}
|
|
108251
|
-
const nameStr = unescapeLeadingUnderscores(p.escapedName);
|
|
108252
|
-
if (!isIdentifierText(nameStr, 99 /* ESNext */)) {
|
|
108255
|
+
if (!p.valueDeclaration || !isPropertyAccessExpression(p.valueDeclaration)) {
|
|
108253
108256
|
return void 0;
|
|
108254
108257
|
}
|
|
108255
108258
|
getSymbolAccessibilityDiagnostic = createGetSymbolAccessibilityDiagnosticForNode(p.valueDeclaration);
|
|
108256
108259
|
const type = resolver.createTypeOfDeclaration(p.valueDeclaration, fakespace, declarationEmitNodeBuilderFlags, symbolTracker);
|
|
108257
108260
|
getSymbolAccessibilityDiagnostic = oldDiag;
|
|
108261
|
+
const nameStr = unescapeLeadingUnderscores(p.escapedName);
|
|
108258
108262
|
const isNonContextualKeywordName = isStringANonContextualKeyword(nameStr);
|
|
108259
108263
|
const name = isNonContextualKeywordName ? factory2.getGeneratedNameForNode(p.valueDeclaration) : factory2.createIdentifier(nameStr);
|
|
108260
108264
|
if (isNonContextualKeywordName) {
|
|
@@ -145055,7 +145059,7 @@ ${lanes.join("\n")}
|
|
|
145055
145059
|
const props = createMultiMap();
|
|
145056
145060
|
for (const anon2 of anons) {
|
|
145057
145061
|
for (const p of checker.getPropertiesOfType(anon2)) {
|
|
145058
|
-
props.add(p.
|
|
145062
|
+
props.add(p.escapedName, p.valueDeclaration ? checker.getTypeOfSymbolAtLocation(p, p.valueDeclaration) : checker.getAnyType());
|
|
145059
145063
|
}
|
|
145060
145064
|
calls.push(...checker.getSignaturesOfType(anon2, 0 /* Call */));
|
|
145061
145065
|
constructs.push(...checker.getSignaturesOfType(anon2, 1 /* Construct */));
|
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.1";
|
|
57
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
57
|
+
var version = `${versionMajorMinor}.0-insiders.20230301`;
|
|
58
58
|
|
|
59
59
|
// src/compiler/core.ts
|
|
60
60
|
var emptyArray = [];
|
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.1.0-pr-
|
|
5
|
+
"version": "5.1.0-pr-53040-3",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -41,21 +41,21 @@
|
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@esfx/canceltoken": "^1.0.0",
|
|
43
43
|
"@octokit/rest": "latest",
|
|
44
|
-
"@types/chai": "
|
|
44
|
+
"@types/chai": "^4.3.4",
|
|
45
45
|
"@types/fs-extra": "^9.0.13",
|
|
46
|
-
"@types/glob": "
|
|
47
|
-
"@types/microsoft__typescript-etw": "
|
|
48
|
-
"@types/minimist": "
|
|
49
|
-
"@types/mocha": "
|
|
50
|
-
"@types/ms": "
|
|
46
|
+
"@types/glob": "^8.1.0",
|
|
47
|
+
"@types/microsoft__typescript-etw": "^0.1.1",
|
|
48
|
+
"@types/minimist": "^1.2.2",
|
|
49
|
+
"@types/mocha": "^10.0.1",
|
|
50
|
+
"@types/ms": "^0.7.31",
|
|
51
51
|
"@types/node": "latest",
|
|
52
|
-
"@types/source-map-support": "
|
|
52
|
+
"@types/source-map-support": "^0.5.6",
|
|
53
53
|
"@types/which": "^2.0.1",
|
|
54
54
|
"@typescript-eslint/eslint-plugin": "^5.33.1",
|
|
55
55
|
"@typescript-eslint/parser": "^5.33.1",
|
|
56
56
|
"@typescript-eslint/utils": "^5.33.1",
|
|
57
57
|
"azure-devops-node-api": "^11.2.0",
|
|
58
|
-
"chai": "
|
|
58
|
+
"chai": "^4.3.7",
|
|
59
59
|
"chalk": "^4.1.2",
|
|
60
60
|
"chokidar": "^3.5.3",
|
|
61
61
|
"del": "^6.1.1",
|
|
@@ -72,12 +72,12 @@
|
|
|
72
72
|
"glob": "^8.1.0",
|
|
73
73
|
"hereby": "^1.6.4",
|
|
74
74
|
"jsonc-parser": "^3.2.0",
|
|
75
|
-
"minimist": "
|
|
76
|
-
"mocha": "
|
|
77
|
-
"mocha-fivemat-progress-reporter": "
|
|
75
|
+
"minimist": "^1.2.8",
|
|
76
|
+
"mocha": "^10.2.0",
|
|
77
|
+
"mocha-fivemat-progress-reporter": "^0.1.0",
|
|
78
78
|
"ms": "^2.1.3",
|
|
79
79
|
"node-fetch": "^3.2.10",
|
|
80
|
-
"source-map-support": "
|
|
80
|
+
"source-map-support": "^0.5.21",
|
|
81
81
|
"typescript": "5.0.0-dev.20230112",
|
|
82
82
|
"which": "^2.0.2"
|
|
83
83
|
},
|