typescript 4.6.0-dev.20220118 → 4.6.0-dev.20220122
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/lib.dom.d.ts +144 -58
- package/lib/lib.dom.iterable.d.ts +7 -0
- package/lib/lib.es2015.iterable.d.ts +2 -1
- package/lib/lib.es2020.intl.d.ts +4 -0
- package/lib/lib.es5.d.ts +0 -2
- package/lib/lib.webworker.d.ts +80 -17
- package/lib/lib.webworker.iterable.d.ts +7 -0
- package/lib/protocol.d.ts +1 -0
- package/lib/tsc.js +131 -48
- package/lib/tsserver.js +202 -97
- package/lib/tsserverlibrary.d.ts +5 -3
- package/lib/tsserverlibrary.js +202 -97
- package/lib/typescript.d.ts +4 -3
- package/lib/typescript.js +188 -95
- package/lib/typescriptServices.d.ts +4 -3
- package/lib/typescriptServices.js +188 -95
- package/lib/typingsInstaller.js +146 -49
- package/package.json +2 -2
package/lib/typingsInstaller.js
CHANGED
|
@@ -89,7 +89,7 @@ var ts;
|
|
|
89
89
|
// The following is baselined as a literal template type without intervention
|
|
90
90
|
/** The version of the TypeScript compiler release */
|
|
91
91
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
92
|
-
ts.version = ts.versionMajorMinor + ".0-dev.
|
|
92
|
+
ts.version = ts.versionMajorMinor + ".0-dev.20220122";
|
|
93
93
|
/* @internal */
|
|
94
94
|
var Comparison;
|
|
95
95
|
(function (Comparison) {
|
|
@@ -6799,11 +6799,15 @@ var ts;
|
|
|
6799
6799
|
ts.getFileWatcherEventKind = getFileWatcherEventKind;
|
|
6800
6800
|
/*@internal*/
|
|
6801
6801
|
ts.ignoredPaths = ["/node_modules/.", "/.git", "/.#"];
|
|
6802
|
+
var curSysLog = ts.noop; // eslint-disable-line prefer-const
|
|
6802
6803
|
/*@internal*/
|
|
6803
|
-
|
|
6804
|
+
function sysLog(s) {
|
|
6805
|
+
return curSysLog(s);
|
|
6806
|
+
}
|
|
6807
|
+
ts.sysLog = sysLog;
|
|
6804
6808
|
/*@internal*/
|
|
6805
6809
|
function setSysLog(logger) {
|
|
6806
|
-
|
|
6810
|
+
curSysLog = logger;
|
|
6807
6811
|
}
|
|
6808
6812
|
ts.setSysLog = setSysLog;
|
|
6809
6813
|
/**
|
|
@@ -6938,7 +6942,7 @@ var ts;
|
|
|
6938
6942
|
}
|
|
6939
6943
|
function onTimerToUpdateChildWatches() {
|
|
6940
6944
|
timerToUpdateChildWatches = undefined;
|
|
6941
|
-
|
|
6945
|
+
sysLog("sysLog:: onTimerToUpdateChildWatches:: " + cacheToUpdateChildWatches.size);
|
|
6942
6946
|
var start = ts.timestamp();
|
|
6943
6947
|
var invokeMap = new ts.Map();
|
|
6944
6948
|
while (!timerToUpdateChildWatches && cacheToUpdateChildWatches.size) {
|
|
@@ -6951,7 +6955,7 @@ var ts;
|
|
|
6951
6955
|
var hasChanges = updateChildWatches(dirName, dirPath, options);
|
|
6952
6956
|
invokeCallbacks(dirPath, invokeMap, hasChanges ? undefined : fileNames);
|
|
6953
6957
|
}
|
|
6954
|
-
|
|
6958
|
+
sysLog("sysLog:: invokingWatchers:: Elapsed:: " + (ts.timestamp() - start) + "ms:: " + cacheToUpdateChildWatches.size);
|
|
6955
6959
|
callbackCache.forEach(function (callbacks, rootDirName) {
|
|
6956
6960
|
var existing = invokeMap.get(rootDirName);
|
|
6957
6961
|
if (existing) {
|
|
@@ -6967,7 +6971,7 @@ var ts;
|
|
|
6967
6971
|
}
|
|
6968
6972
|
});
|
|
6969
6973
|
var elapsed = ts.timestamp() - start;
|
|
6970
|
-
|
|
6974
|
+
sysLog("sysLog:: Elapsed:: " + elapsed + "ms:: onTimerToUpdateChildWatches:: " + cacheToUpdateChildWatches.size + " " + timerToUpdateChildWatches);
|
|
6971
6975
|
}
|
|
6972
6976
|
function removeChildWatches(parentWatcher) {
|
|
6973
6977
|
if (!parentWatcher)
|
|
@@ -7554,7 +7558,7 @@ var ts;
|
|
|
7554
7558
|
* @param createWatcher
|
|
7555
7559
|
*/
|
|
7556
7560
|
function invokeCallbackAndUpdateWatcher(createWatcher) {
|
|
7557
|
-
|
|
7561
|
+
sysLog("sysLog:: " + fileOrDirectory + ":: Changing watcher to " + (createWatcher === watchPresentFileSystemEntry ? "Present" : "Missing") + "FileSystemEntryWatcher");
|
|
7558
7562
|
// Call the callback for current directory
|
|
7559
7563
|
callback("rename", "");
|
|
7560
7564
|
// If watcher is not closed, update it
|
|
@@ -7579,7 +7583,7 @@ var ts;
|
|
|
7579
7583
|
}
|
|
7580
7584
|
}
|
|
7581
7585
|
if (hitSystemWatcherLimit) {
|
|
7582
|
-
|
|
7586
|
+
sysLog("sysLog:: " + fileOrDirectory + ":: Defaulting to fsWatchFile");
|
|
7583
7587
|
return watchPresentFileSystemEntryWithFsWatchFile();
|
|
7584
7588
|
}
|
|
7585
7589
|
try {
|
|
@@ -7595,7 +7599,7 @@ var ts;
|
|
|
7595
7599
|
// Eg. on linux the number of watches are limited and one could easily exhaust watches and the exception ENOSPC is thrown when creating watcher at that point
|
|
7596
7600
|
// so instead of throwing error, use fs.watchFile
|
|
7597
7601
|
hitSystemWatcherLimit || (hitSystemWatcherLimit = e.code === "ENOSPC");
|
|
7598
|
-
|
|
7602
|
+
sysLog("sysLog:: " + fileOrDirectory + ":: Changing to fsWatchFile");
|
|
7599
7603
|
return watchPresentFileSystemEntryWithFsWatchFile();
|
|
7600
7604
|
}
|
|
7601
7605
|
}
|
|
@@ -8194,6 +8198,7 @@ var ts;
|
|
|
8194
8198
|
Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression: diag(1451, ts.DiagnosticCategory.Error, "Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451", "Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression"),
|
|
8195
8199
|
The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output: diag(1470, ts.DiagnosticCategory.Error, "The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470", "The 'import.meta' meta-property is not allowed in files which will build into CommonJS output."),
|
|
8196
8200
|
Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_synchronously_Use_dynamic_import_instead: diag(1471, ts.DiagnosticCategory.Error, "Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471", "Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported synchronously. Use dynamic import instead."),
|
|
8201
|
+
catch_or_finally_expected: diag(1472, ts.DiagnosticCategory.Error, "catch_or_finally_expected_1472", "'catch' or 'finally' expected."),
|
|
8197
8202
|
The_types_of_0_are_incompatible_between_these_types: diag(2200, ts.DiagnosticCategory.Error, "The_types_of_0_are_incompatible_between_these_types_2200", "The types of '{0}' are incompatible between these types."),
|
|
8198
8203
|
The_types_returned_by_0_are_incompatible_between_these_types: diag(2201, ts.DiagnosticCategory.Error, "The_types_returned_by_0_are_incompatible_between_these_types_2201", "The types returned by '{0}' are incompatible between these types."),
|
|
8199
8204
|
Call_signature_return_types_0_and_1_are_incompatible: diag(2202, ts.DiagnosticCategory.Error, "Call_signature_return_types_0_and_1_are_incompatible_2202", "Call signature return types '{0}' and '{1}' are incompatible.", /*reportsUnnecessary*/ undefined, /*elidedInCompatabilityPyramid*/ true),
|
|
@@ -8681,6 +8686,7 @@ var ts;
|
|
|
8681
8686
|
Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Consider_adding_an_extension_to_the_import_path: diag(2834, ts.DiagnosticCategory.Error, "Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2834", "Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node12' or 'nodenext'. Consider adding an extension to the import path."),
|
|
8682
8687
|
Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_node12_or_nodenext_Did_you_mean_0: diag(2835, ts.DiagnosticCategory.Error, "Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2835", "Relative import paths need explicit file extensions in EcmaScript imports when '--moduleResolution' is 'node12' or 'nodenext'. Did you mean '{0}'?"),
|
|
8683
8688
|
Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls: diag(2836, ts.DiagnosticCategory.Error, "Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls_2836", "Import assertions are not allowed on statements that transpile to commonjs 'require' calls."),
|
|
8689
|
+
Import_assertion_values_must_be_string_literal_expressions: diag(2837, ts.DiagnosticCategory.Error, "Import_assertion_values_must_be_string_literal_expressions_2837", "Import assertion values must be string literal expressions."),
|
|
8684
8690
|
Import_declaration_0_is_using_private_name_1: diag(4000, ts.DiagnosticCategory.Error, "Import_declaration_0_is_using_private_name_1_4000", "Import declaration '{0}' is using private name '{1}'."),
|
|
8685
8691
|
Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: diag(4002, ts.DiagnosticCategory.Error, "Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002", "Type parameter '{0}' of exported class has or is using private name '{1}'."),
|
|
8686
8692
|
Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1: diag(4004, ts.DiagnosticCategory.Error, "Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004", "Type parameter '{0}' of exported interface has or is using private name '{1}'."),
|
|
@@ -9074,7 +9080,7 @@ var ts;
|
|
|
9074
9080
|
Completeness: diag(6257, ts.DiagnosticCategory.Message, "Completeness_6257", "Completeness"),
|
|
9075
9081
|
_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file: diag(6258, ts.DiagnosticCategory.Error, "_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258", "'{0}' should be set inside the 'compilerOptions' object of the config json file"),
|
|
9076
9082
|
Found_1_error_in_1: diag(6259, ts.DiagnosticCategory.Message, "Found_1_error_in_1_6259", "Found 1 error in {1}"),
|
|
9077
|
-
|
|
9083
|
+
Found_0_errors_in_the_same_file_starting_at_Colon_1: diag(6260, ts.DiagnosticCategory.Message, "Found_0_errors_in_the_same_file_starting_at_Colon_1_6260", "Found {0} errors in the same file, starting at: {1}"),
|
|
9078
9084
|
Found_0_errors_in_1_files: diag(6261, ts.DiagnosticCategory.Message, "Found_0_errors_in_1_files_6261", "Found {0} errors in {1} files."),
|
|
9079
9085
|
Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve: diag(6270, ts.DiagnosticCategory.Message, "Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270", "Directory '{0}' has no containing package.json scope. Imports will not resolve."),
|
|
9080
9086
|
Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1: diag(6271, ts.DiagnosticCategory.Message, "Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271", "Import specifier '{0}' does not exist in package.json scope at path '{1}'."),
|
|
@@ -15847,7 +15853,7 @@ var ts;
|
|
|
15847
15853
|
}
|
|
15848
15854
|
ts.getExternalModuleImportEqualsDeclarationExpression = getExternalModuleImportEqualsDeclarationExpression;
|
|
15849
15855
|
function getExternalModuleRequireArgument(node) {
|
|
15850
|
-
return
|
|
15856
|
+
return isVariableDeclarationInitializedToBareOrAccessedRequire(node) && getLeftmostAccessExpression(node.initializer).arguments[0];
|
|
15851
15857
|
}
|
|
15852
15858
|
ts.getExternalModuleRequireArgument = getExternalModuleRequireArgument;
|
|
15853
15859
|
function isInternalModuleImportEqualsDeclaration(node) {
|
|
@@ -15905,17 +15911,29 @@ var ts;
|
|
|
15905
15911
|
* Returns true if the node is a VariableDeclaration initialized to a require call (see `isRequireCall`).
|
|
15906
15912
|
* This function does not test if the node is in a JavaScript file or not.
|
|
15907
15913
|
*/
|
|
15908
|
-
function
|
|
15914
|
+
function isVariableDeclarationInitializedToRequire(node) {
|
|
15915
|
+
return isVariableDeclarationInitializedWithRequireHelper(node, /*allowAccessedRequire*/ false);
|
|
15916
|
+
}
|
|
15917
|
+
ts.isVariableDeclarationInitializedToRequire = isVariableDeclarationInitializedToRequire;
|
|
15918
|
+
/**
|
|
15919
|
+
* Like {@link isVariableDeclarationInitializedToRequire} but allows things like `require("...").foo.bar` or `require("...")["baz"]`.
|
|
15920
|
+
*/
|
|
15921
|
+
function isVariableDeclarationInitializedToBareOrAccessedRequire(node) {
|
|
15922
|
+
return isVariableDeclarationInitializedWithRequireHelper(node, /*allowAccessedRequire*/ true);
|
|
15923
|
+
}
|
|
15924
|
+
ts.isVariableDeclarationInitializedToBareOrAccessedRequire = isVariableDeclarationInitializedToBareOrAccessedRequire;
|
|
15925
|
+
function isVariableDeclarationInitializedWithRequireHelper(node, allowAccessedRequire) {
|
|
15909
15926
|
if (node.kind === 202 /* BindingElement */) {
|
|
15910
15927
|
node = node.parent.parent;
|
|
15911
15928
|
}
|
|
15912
|
-
return ts.isVariableDeclaration(node) &&
|
|
15929
|
+
return ts.isVariableDeclaration(node) &&
|
|
15930
|
+
!!node.initializer &&
|
|
15931
|
+
isRequireCall(allowAccessedRequire ? getLeftmostAccessExpression(node.initializer) : node.initializer, /*requireStringLiteralLikeArgument*/ true);
|
|
15913
15932
|
}
|
|
15914
|
-
ts.isRequireVariableDeclaration = isRequireVariableDeclaration;
|
|
15915
15933
|
function isRequireVariableStatement(node) {
|
|
15916
15934
|
return ts.isVariableStatement(node)
|
|
15917
15935
|
&& node.declarationList.declarations.length > 0
|
|
15918
|
-
&& ts.every(node.declarationList.declarations, function (decl) { return
|
|
15936
|
+
&& ts.every(node.declarationList.declarations, function (decl) { return isVariableDeclarationInitializedToRequire(decl); });
|
|
15919
15937
|
}
|
|
15920
15938
|
ts.isRequireVariableStatement = isRequireVariableStatement;
|
|
15921
15939
|
function isSingleOrDoubleQuote(charCode) {
|
|
@@ -19402,7 +19420,7 @@ var ts;
|
|
|
19402
19420
|
getSourceMapSourceConstructor: function () { return SourceMapSource; },
|
|
19403
19421
|
};
|
|
19404
19422
|
function setObjectAllocator(alloc) {
|
|
19405
|
-
ts.objectAllocator
|
|
19423
|
+
Object.assign(ts.objectAllocator, alloc);
|
|
19406
19424
|
}
|
|
19407
19425
|
ts.setObjectAllocator = setObjectAllocator;
|
|
19408
19426
|
function formatStringFromArgs(text, args, baseIndex) {
|
|
@@ -19410,13 +19428,22 @@ var ts;
|
|
|
19410
19428
|
return text.replace(/{(\d+)}/g, function (_match, index) { return "" + ts.Debug.checkDefined(args[+index + baseIndex]); });
|
|
19411
19429
|
}
|
|
19412
19430
|
ts.formatStringFromArgs = formatStringFromArgs;
|
|
19431
|
+
var localizedDiagnosticMessages;
|
|
19413
19432
|
/* @internal */
|
|
19414
19433
|
function setLocalizedDiagnosticMessages(messages) {
|
|
19415
|
-
|
|
19434
|
+
localizedDiagnosticMessages = messages;
|
|
19416
19435
|
}
|
|
19417
19436
|
ts.setLocalizedDiagnosticMessages = setLocalizedDiagnosticMessages;
|
|
19437
|
+
/* @internal */
|
|
19438
|
+
// If the localized messages json is unset, and if given function use it to set the json
|
|
19439
|
+
function maybeSetLocalizedDiagnosticMessages(getMessages) {
|
|
19440
|
+
if (!localizedDiagnosticMessages && getMessages) {
|
|
19441
|
+
localizedDiagnosticMessages = getMessages();
|
|
19442
|
+
}
|
|
19443
|
+
}
|
|
19444
|
+
ts.maybeSetLocalizedDiagnosticMessages = maybeSetLocalizedDiagnosticMessages;
|
|
19418
19445
|
function getLocaleSpecificMessage(message) {
|
|
19419
|
-
return
|
|
19446
|
+
return localizedDiagnosticMessages && localizedDiagnosticMessages[message.key] || message.message;
|
|
19420
19447
|
}
|
|
19421
19448
|
ts.getLocaleSpecificMessage = getLocaleSpecificMessage;
|
|
19422
19449
|
function createDetachedDiagnostic(fileName, start, length, message) {
|
|
@@ -35025,7 +35052,7 @@ var ts;
|
|
|
35025
35052
|
// one out no matter what.
|
|
35026
35053
|
var finallyBlock;
|
|
35027
35054
|
if (!catchClause || token() === 96 /* FinallyKeyword */) {
|
|
35028
|
-
parseExpected(96 /* FinallyKeyword
|
|
35055
|
+
parseExpected(96 /* FinallyKeyword */, ts.Diagnostics.catch_or_finally_expected);
|
|
35029
35056
|
finallyBlock = parseBlock(/*ignoreMissingOpenBrace*/ false);
|
|
35030
35057
|
}
|
|
35031
35058
|
return withJSDoc(finishNode(factory.createTryStatement(tryBlock, catchClause, finallyBlock), pos), hasJSDoc);
|
|
@@ -36069,7 +36096,7 @@ var ts;
|
|
|
36069
36096
|
var pos = getNodePos();
|
|
36070
36097
|
var name = ts.tokenIsIdentifierOrKeyword(token()) ? parseIdentifierName() : parseLiteralLikeNode(10 /* StringLiteral */);
|
|
36071
36098
|
parseExpected(58 /* ColonToken */);
|
|
36072
|
-
var value =
|
|
36099
|
+
var value = parseAssignmentExpressionOrHigher();
|
|
36073
36100
|
return finishNode(factory.createAssertEntry(name, value), pos);
|
|
36074
36101
|
}
|
|
36075
36102
|
function parseAssertClause() {
|
|
@@ -44486,7 +44513,7 @@ var ts;
|
|
|
44486
44513
|
maybeBindExpressionFlowIfCall(node.expression);
|
|
44487
44514
|
}
|
|
44488
44515
|
function maybeBindExpressionFlowIfCall(node) {
|
|
44489
|
-
// A top level or
|
|
44516
|
+
// A top level or comma expression call expression with a dotted function name and at least one argument
|
|
44490
44517
|
// is potentially an assertion and is therefore included in the control flow.
|
|
44491
44518
|
if (node.kind === 207 /* CallExpression */) {
|
|
44492
44519
|
var call = node;
|
|
@@ -44654,22 +44681,27 @@ var ts;
|
|
|
44654
44681
|
}
|
|
44655
44682
|
return state;
|
|
44656
44683
|
}
|
|
44657
|
-
function onLeft(left, state,
|
|
44684
|
+
function onLeft(left, state, node) {
|
|
44658
44685
|
if (!state.skip) {
|
|
44659
|
-
|
|
44686
|
+
var maybeBound = maybeBind(left);
|
|
44687
|
+
if (node.operatorToken.kind === 27 /* CommaToken */) {
|
|
44688
|
+
maybeBindExpressionFlowIfCall(left);
|
|
44689
|
+
}
|
|
44690
|
+
return maybeBound;
|
|
44660
44691
|
}
|
|
44661
44692
|
}
|
|
44662
|
-
function onOperator(operatorToken, state,
|
|
44693
|
+
function onOperator(operatorToken, state, _node) {
|
|
44663
44694
|
if (!state.skip) {
|
|
44664
|
-
if (operatorToken.kind === 27 /* CommaToken */) {
|
|
44665
|
-
maybeBindExpressionFlowIfCall(node.left);
|
|
44666
|
-
}
|
|
44667
44695
|
bind(operatorToken);
|
|
44668
44696
|
}
|
|
44669
44697
|
}
|
|
44670
|
-
function onRight(right, state,
|
|
44698
|
+
function onRight(right, state, node) {
|
|
44671
44699
|
if (!state.skip) {
|
|
44672
|
-
|
|
44700
|
+
var maybeBound = maybeBind(right);
|
|
44701
|
+
if (node.operatorToken.kind === 27 /* CommaToken */) {
|
|
44702
|
+
maybeBindExpressionFlowIfCall(right);
|
|
44703
|
+
}
|
|
44704
|
+
return maybeBound;
|
|
44673
44705
|
}
|
|
44674
44706
|
}
|
|
44675
44707
|
function onExit(node, state) {
|
|
@@ -45412,6 +45444,8 @@ var ts;
|
|
|
45412
45444
|
return;
|
|
45413
45445
|
}
|
|
45414
45446
|
ts.setParent(node, parent);
|
|
45447
|
+
if (ts.tracing)
|
|
45448
|
+
node.tracingPath = file.path;
|
|
45415
45449
|
var saveInStrictMode = inStrictMode;
|
|
45416
45450
|
// Even though in the AST the jsdoc @typedef node belongs to the current node,
|
|
45417
45451
|
// its symbol might be in the same scope with the current node's symbol. Consider:
|
|
@@ -46232,7 +46266,7 @@ var ts;
|
|
|
46232
46266
|
checkStrictModeEvalOrArguments(node, node.name);
|
|
46233
46267
|
}
|
|
46234
46268
|
if (!ts.isBindingPattern(node.name)) {
|
|
46235
|
-
if (ts.isInJSFile(node) && ts.
|
|
46269
|
+
if (ts.isInJSFile(node) && ts.isVariableDeclarationInitializedToBareOrAccessedRequire(node) && !ts.getJSDocTypeTag(node)) {
|
|
46236
46270
|
declareSymbolAndAddToSymbolTable(node, 2097152 /* Alias */, 2097152 /* AliasExcludes */);
|
|
46237
46271
|
}
|
|
46238
46272
|
else if (ts.isBlockOrCatchScoped(node)) {
|
|
@@ -46743,6 +46777,9 @@ var ts;
|
|
|
46743
46777
|
TypeFacts[TypeFacts["EmptyObjectStrictFacts"] = 16318463] = "EmptyObjectStrictFacts";
|
|
46744
46778
|
TypeFacts[TypeFacts["AllTypeofNE"] = 556800] = "AllTypeofNE";
|
|
46745
46779
|
TypeFacts[TypeFacts["EmptyObjectFacts"] = 16777215] = "EmptyObjectFacts";
|
|
46780
|
+
// Masks
|
|
46781
|
+
TypeFacts[TypeFacts["OrFactsMask"] = 8288] = "OrFactsMask";
|
|
46782
|
+
TypeFacts[TypeFacts["AndFactsMask"] = 16768927] = "AndFactsMask";
|
|
46746
46783
|
})(TypeFacts || (TypeFacts = {}));
|
|
46747
46784
|
var typeofEQFacts = new ts.Map(ts.getEntries({
|
|
46748
46785
|
string: 1 /* TypeofEQString */,
|
|
@@ -49015,7 +49052,7 @@ var ts;
|
|
|
49015
49052
|
&& isAliasableOrJsExpression(node.parent.right)
|
|
49016
49053
|
|| node.kind === 295 /* ShorthandPropertyAssignment */
|
|
49017
49054
|
|| node.kind === 294 /* PropertyAssignment */ && isAliasableOrJsExpression(node.initializer)
|
|
49018
|
-
|| ts.
|
|
49055
|
+
|| ts.isVariableDeclarationInitializedToBareOrAccessedRequire(node);
|
|
49019
49056
|
}
|
|
49020
49057
|
function isAliasableOrJsExpression(e) {
|
|
49021
49058
|
return ts.isAliasableExpression(e) || ts.isFunctionExpression(e) && isJSConstructor(e);
|
|
@@ -49803,8 +49840,14 @@ var ts;
|
|
|
49803
49840
|
var mode = contextSpecifier && ts.isStringLiteralLike(contextSpecifier) ? ts.getModeForUsageLocation(currentSourceFile, contextSpecifier) : currentSourceFile.impliedNodeFormat;
|
|
49804
49841
|
var resolvedModule = ts.getResolvedModule(currentSourceFile, moduleReference, mode);
|
|
49805
49842
|
var resolutionDiagnostic = resolvedModule && ts.getResolutionDiagnostic(compilerOptions, resolvedModule);
|
|
49806
|
-
var sourceFile = resolvedModule
|
|
49843
|
+
var sourceFile = resolvedModule
|
|
49844
|
+
&& (!resolutionDiagnostic || resolutionDiagnostic === ts.Diagnostics.Module_0_was_resolved_to_1_but_jsx_is_not_set)
|
|
49845
|
+
&& host.getSourceFile(resolvedModule.resolvedFileName);
|
|
49807
49846
|
if (sourceFile) {
|
|
49847
|
+
// If there's a resolutionDiagnostic we need to report it even if a sourceFile is found.
|
|
49848
|
+
if (resolutionDiagnostic) {
|
|
49849
|
+
error(errorNode, resolutionDiagnostic, moduleReference, resolvedModule.resolvedFileName);
|
|
49850
|
+
}
|
|
49808
49851
|
if (sourceFile.symbol) {
|
|
49809
49852
|
if (resolvedModule.isExternalLibraryImport && !ts.resolutionExtensionIsTSOrJson(resolvedModule.extension)) {
|
|
49810
49853
|
errorOnImplicitAnyModule(/*isError*/ false, errorNode, resolvedModule, moduleReference);
|
|
@@ -50946,6 +50989,7 @@ var ts;
|
|
|
50946
50989
|
getCommonSourceDirectory: !!host.getCommonSourceDirectory ? function () { return host.getCommonSourceDirectory(); } : function () { return ""; },
|
|
50947
50990
|
getCurrentDirectory: function () { return host.getCurrentDirectory(); },
|
|
50948
50991
|
getSymlinkCache: ts.maybeBind(host, host.getSymlinkCache),
|
|
50992
|
+
getPackageJsonInfoCache: function () { var _a; return (_a = host.getPackageJsonInfoCache) === null || _a === void 0 ? void 0 : _a.call(host); },
|
|
50949
50993
|
useCaseSensitiveFileNames: ts.maybeBind(host, host.useCaseSensitiveFileNames),
|
|
50950
50994
|
redirectTargetsMap: host.redirectTargetsMap,
|
|
50951
50995
|
getProjectReferenceRedirect: function (fileName) { return host.getProjectReferenceRedirect(fileName); },
|
|
@@ -67877,10 +67921,23 @@ var ts;
|
|
|
67877
67921
|
// When an intersection contains a primitive type we ignore object type constituents as they are
|
|
67878
67922
|
// presumably type tags. For example, in string & { __kind__: "name" } we ignore the object type.
|
|
67879
67923
|
ignoreObjects || (ignoreObjects = maybeTypeOfKind(type, 131068 /* Primitive */));
|
|
67880
|
-
return
|
|
67924
|
+
return getIntersectionTypeFacts(type, ignoreObjects);
|
|
67881
67925
|
}
|
|
67882
67926
|
return 16777215 /* All */;
|
|
67883
67927
|
}
|
|
67928
|
+
function getIntersectionTypeFacts(type, ignoreObjects) {
|
|
67929
|
+
// When computing the type facts of an intersection type, certain type facts are computed as `and`
|
|
67930
|
+
// and others are computed as `or`.
|
|
67931
|
+
var oredFacts = 0 /* None */;
|
|
67932
|
+
var andedFacts = 16777215 /* All */;
|
|
67933
|
+
for (var _i = 0, _a = type.types; _i < _a.length; _i++) {
|
|
67934
|
+
var t = _a[_i];
|
|
67935
|
+
var f = getTypeFacts(t, ignoreObjects);
|
|
67936
|
+
oredFacts |= f;
|
|
67937
|
+
andedFacts &= f;
|
|
67938
|
+
}
|
|
67939
|
+
return oredFacts & 8288 /* OrFactsMask */ | andedFacts & 16768927 /* AndFactsMask */;
|
|
67940
|
+
}
|
|
67884
67941
|
function getTypeWithFacts(type, include) {
|
|
67885
67942
|
return filterType(type, function (t) { return (getTypeFacts(t) & include) !== 0; });
|
|
67886
67943
|
}
|
|
@@ -77892,7 +77949,7 @@ var ts;
|
|
|
77892
77949
|
}
|
|
77893
77950
|
}
|
|
77894
77951
|
function checkExpression(node, checkMode, forceTuple) {
|
|
77895
|
-
ts.tracing === null || ts.tracing === void 0 ? void 0 : ts.tracing.push("check" /* Check */, "checkExpression", { kind: node.kind, pos: node.pos, end: node.end });
|
|
77952
|
+
ts.tracing === null || ts.tracing === void 0 ? void 0 : ts.tracing.push("check" /* Check */, "checkExpression", { kind: node.kind, pos: node.pos, end: node.end, path: node.tracingPath });
|
|
77896
77953
|
var saveCurrentNode = currentNode;
|
|
77897
77954
|
currentNode = node;
|
|
77898
77955
|
instantiationCount = 0;
|
|
@@ -80573,7 +80630,7 @@ var ts;
|
|
|
80573
80630
|
}
|
|
80574
80631
|
// For a commonjs `const x = require`, validate the alias and exit
|
|
80575
80632
|
var symbol = getSymbolOfNode(node);
|
|
80576
|
-
if (symbol.flags & 2097152 /* Alias */ && ts.
|
|
80633
|
+
if (symbol.flags & 2097152 /* Alias */ && ts.isVariableDeclarationInitializedToBareOrAccessedRequire(node)) {
|
|
80577
80634
|
checkAliasSymbol(node);
|
|
80578
80635
|
return;
|
|
80579
80636
|
}
|
|
@@ -80651,7 +80708,7 @@ var ts;
|
|
|
80651
80708
|
return ts.getSelectedEffectiveModifierFlags(left, interestingFlags) === ts.getSelectedEffectiveModifierFlags(right, interestingFlags);
|
|
80652
80709
|
}
|
|
80653
80710
|
function checkVariableDeclaration(node) {
|
|
80654
|
-
ts.tracing === null || ts.tracing === void 0 ? void 0 : ts.tracing.push("check" /* Check */, "checkVariableDeclaration", { kind: node.kind, pos: node.pos, end: node.end });
|
|
80711
|
+
ts.tracing === null || ts.tracing === void 0 ? void 0 : ts.tracing.push("check" /* Check */, "checkVariableDeclaration", { kind: node.kind, pos: node.pos, end: node.end, path: node.tracingPath });
|
|
80655
80712
|
checkGrammarVariableDeclaration(node);
|
|
80656
80713
|
checkVariableLikeDeclaration(node);
|
|
80657
80714
|
ts.tracing === null || ts.tracing === void 0 ? void 0 : ts.tracing.pop();
|
|
@@ -83041,6 +83098,17 @@ var ts;
|
|
|
83041
83098
|
return false;
|
|
83042
83099
|
}
|
|
83043
83100
|
}
|
|
83101
|
+
if (!ts.isImportEqualsDeclaration(node) && node.assertClause) {
|
|
83102
|
+
var hasError = false;
|
|
83103
|
+
for (var _i = 0, _a = node.assertClause.elements; _i < _a.length; _i++) {
|
|
83104
|
+
var clause = _a[_i];
|
|
83105
|
+
if (!ts.isStringLiteral(clause.value)) {
|
|
83106
|
+
hasError = true;
|
|
83107
|
+
error(clause.value, ts.Diagnostics.Import_assertion_values_must_be_string_literal_expressions);
|
|
83108
|
+
}
|
|
83109
|
+
}
|
|
83110
|
+
return !hasError;
|
|
83111
|
+
}
|
|
83044
83112
|
return true;
|
|
83045
83113
|
}
|
|
83046
83114
|
function checkAliasSymbol(node) {
|
|
@@ -83734,7 +83802,7 @@ var ts;
|
|
|
83734
83802
|
}
|
|
83735
83803
|
}
|
|
83736
83804
|
function checkDeferredNode(node) {
|
|
83737
|
-
ts.tracing === null || ts.tracing === void 0 ? void 0 : ts.tracing.push("check" /* Check */, "checkDeferredNode", { kind: node.kind, pos: node.pos, end: node.end });
|
|
83805
|
+
ts.tracing === null || ts.tracing === void 0 ? void 0 : ts.tracing.push("check" /* Check */, "checkDeferredNode", { kind: node.kind, pos: node.pos, end: node.end, path: node.tracingPath });
|
|
83738
83806
|
var saveCurrentNode = currentNode;
|
|
83739
83807
|
currentNode = node;
|
|
83740
83808
|
instantiationCount = 0;
|
|
@@ -87668,7 +87736,7 @@ var ts;
|
|
|
87668
87736
|
return factory.updateAssertClause(node, nodesVisitor(node.elements, visitor, ts.isAssertEntry), node.multiLine);
|
|
87669
87737
|
case 293 /* AssertEntry */:
|
|
87670
87738
|
ts.Debug.type(node);
|
|
87671
|
-
return factory.updateAssertEntry(node, nodeVisitor(node.name, visitor, ts.isAssertionKey), nodeVisitor(node.value, visitor, ts.
|
|
87739
|
+
return factory.updateAssertEntry(node, nodeVisitor(node.name, visitor, ts.isAssertionKey), nodeVisitor(node.value, visitor, ts.isExpressionNode));
|
|
87672
87740
|
case 266 /* ImportClause */:
|
|
87673
87741
|
ts.Debug.type(node);
|
|
87674
87742
|
return factory.updateImportClause(node, node.isTypeOnly, nodeVisitor(node.name, visitor, ts.isIdentifier), nodeVisitor(node.namedBindings, visitor, ts.isNamedImportBindings));
|
|
@@ -95518,10 +95586,19 @@ var ts;
|
|
|
95518
95586
|
var _a;
|
|
95519
95587
|
var nonWhitespaceChildren = ts.getSemanticJsxChildren(children);
|
|
95520
95588
|
var isStaticChildren = ts.length(nonWhitespaceChildren) > 1 || !!((_a = nonWhitespaceChildren[0]) === null || _a === void 0 ? void 0 : _a.dotDotDotToken);
|
|
95521
|
-
var args = [tagName, objectProperties
|
|
95589
|
+
var args = [tagName, objectProperties];
|
|
95590
|
+
// function jsx(type, config, maybeKey) {}
|
|
95591
|
+
// "maybeKey" is optional. It is acceptable to use "_jsx" without a third argument
|
|
95592
|
+
if (keyAttr) {
|
|
95593
|
+
args.push(transformJsxAttributeInitializer(keyAttr.initializer));
|
|
95594
|
+
}
|
|
95522
95595
|
if (compilerOptions.jsx === 5 /* ReactJSXDev */) {
|
|
95523
95596
|
var originalFile = ts.getOriginalNode(currentSourceFile);
|
|
95524
95597
|
if (originalFile && ts.isSourceFile(originalFile)) {
|
|
95598
|
+
// "maybeKey" has to be replaced with "void 0" to not break the jsxDEV signature
|
|
95599
|
+
if (keyAttr === undefined) {
|
|
95600
|
+
args.push(factory.createVoidZero());
|
|
95601
|
+
}
|
|
95525
95602
|
// isStaticChildren development flag
|
|
95526
95603
|
args.push(isStaticChildren ? factory.createTrue() : factory.createFalse());
|
|
95527
95604
|
// __source development flag
|
|
@@ -119386,11 +119463,12 @@ var ts;
|
|
|
119386
119463
|
};
|
|
119387
119464
|
}
|
|
119388
119465
|
function isFormatRequiringExtensions(compilerOptions, importingSourceFileName, host) {
|
|
119466
|
+
var _a;
|
|
119389
119467
|
if (ts.getEmitModuleResolutionKind(compilerOptions) !== ts.ModuleResolutionKind.Node12
|
|
119390
119468
|
&& ts.getEmitModuleResolutionKind(compilerOptions) !== ts.ModuleResolutionKind.NodeNext) {
|
|
119391
119469
|
return false;
|
|
119392
119470
|
}
|
|
119393
|
-
return ts.getImpliedNodeFormatForFile(importingSourceFileName,
|
|
119471
|
+
return ts.getImpliedNodeFormatForFile(importingSourceFileName, (_a = host.getPackageJsonInfoCache) === null || _a === void 0 ? void 0 : _a.call(host), getModuleResolutionHost(host), compilerOptions) !== ts.ModuleKind.CommonJS;
|
|
119394
119472
|
}
|
|
119395
119473
|
function getModuleResolutionHost(host) {
|
|
119396
119474
|
var _a;
|
|
@@ -119950,11 +120028,13 @@ var ts;
|
|
|
119950
120028
|
// For classic resolution, only allow importing from node_modules/@types, not other node_modules
|
|
119951
120029
|
return ts.getEmitModuleResolutionKind(options) === ts.ModuleResolutionKind.Classic && packageName === nodeModulesDirectoryName ? undefined : packageName;
|
|
119952
120030
|
function tryDirectoryWithPackageJson(packageRootIndex) {
|
|
120031
|
+
var _a, _b;
|
|
119953
120032
|
var packageRootPath = path.substring(0, packageRootIndex);
|
|
119954
120033
|
var packageJsonPath = ts.combinePaths(packageRootPath, "package.json");
|
|
119955
120034
|
var moduleFileToTry = path;
|
|
119956
|
-
|
|
119957
|
-
|
|
120035
|
+
var cachedPackageJson = (_b = (_a = host.getPackageJsonInfoCache) === null || _a === void 0 ? void 0 : _a.call(host)) === null || _b === void 0 ? void 0 : _b.getPackageJsonInfo(packageJsonPath);
|
|
120036
|
+
if (typeof cachedPackageJson === "object" || cachedPackageJson === undefined && host.fileExists(packageJsonPath)) {
|
|
120037
|
+
var packageJsonContent = (cachedPackageJson === null || cachedPackageJson === void 0 ? void 0 : cachedPackageJson.packageJsonContent) || JSON.parse(host.readFile(packageJsonPath));
|
|
119958
120038
|
if (ts.getEmitModuleResolutionKind(options) === ts.ModuleResolutionKind.Node12 || ts.getEmitModuleResolutionKind(options) === ts.ModuleResolutionKind.NodeNext) {
|
|
119959
120039
|
// `conditions` *could* be made to go against `importingSourceFile.impliedNodeFormat` if something wanted to generate
|
|
119960
120040
|
// an ImportEqualsDeclaration in an ESM-implied file or an ImportCall in a CJS-implied file. But since this function is
|
|
@@ -120254,22 +120334,31 @@ var ts;
|
|
|
120254
120334
|
ts.Diagnostics.Found_0_errors_Watching_for_file_changes;
|
|
120255
120335
|
}
|
|
120256
120336
|
ts.getWatchErrorSummaryDiagnosticMessage = getWatchErrorSummaryDiagnosticMessage;
|
|
120337
|
+
function prettyPathForFileError(error, cwd) {
|
|
120338
|
+
var line = ts.formatColorAndReset(":" + error.line, ts.ForegroundColorEscapeSequences.Grey);
|
|
120339
|
+
if (ts.pathIsAbsolute(error.fileName) && ts.pathIsAbsolute(cwd)) {
|
|
120340
|
+
return ts.getRelativePathFromDirectory(cwd, error.fileName, /* ignoreCase */ false) + line;
|
|
120341
|
+
}
|
|
120342
|
+
return error.fileName + line;
|
|
120343
|
+
}
|
|
120257
120344
|
function getErrorSummaryText(errorCount, filesInError, newLine, host) {
|
|
120258
120345
|
if (errorCount === 0)
|
|
120259
120346
|
return "";
|
|
120260
120347
|
var nonNilFiles = filesInError.filter(function (fileInError) { return fileInError !== undefined; });
|
|
120261
120348
|
var distinctFileNamesWithLines = nonNilFiles.map(function (fileInError) { return fileInError.fileName + ":" + fileInError.line; })
|
|
120262
120349
|
.filter(function (value, index, self) { return self.indexOf(value) === index; });
|
|
120350
|
+
var firstFileReference = nonNilFiles[0] && prettyPathForFileError(nonNilFiles[0], host.getCurrentDirectory());
|
|
120263
120351
|
var d = errorCount === 1 ?
|
|
120264
120352
|
ts.createCompilerDiagnostic(filesInError[0] !== undefined ?
|
|
120265
120353
|
ts.Diagnostics.Found_1_error_in_1 :
|
|
120266
|
-
ts.Diagnostics.Found_1_error, errorCount,
|
|
120354
|
+
ts.Diagnostics.Found_1_error, errorCount, firstFileReference) :
|
|
120267
120355
|
ts.createCompilerDiagnostic(distinctFileNamesWithLines.length === 0 ?
|
|
120268
120356
|
ts.Diagnostics.Found_0_errors :
|
|
120269
120357
|
distinctFileNamesWithLines.length === 1 ?
|
|
120270
|
-
ts.Diagnostics.
|
|
120271
|
-
ts.Diagnostics.Found_0_errors_in_1_files, errorCount, distinctFileNamesWithLines.length);
|
|
120272
|
-
|
|
120358
|
+
ts.Diagnostics.Found_0_errors_in_the_same_file_starting_at_Colon_1 :
|
|
120359
|
+
ts.Diagnostics.Found_0_errors_in_1_files, errorCount, distinctFileNamesWithLines.length === 1 ? firstFileReference : distinctFileNamesWithLines.length);
|
|
120360
|
+
var suffix = distinctFileNamesWithLines.length > 1 ? createTabularErrorsDisplay(nonNilFiles, host) : "";
|
|
120361
|
+
return "" + newLine + ts.flattenDiagnosticMessageText(d.messageText, newLine) + newLine + newLine + suffix;
|
|
120273
120362
|
}
|
|
120274
120363
|
ts.getErrorSummaryText = getErrorSummaryText;
|
|
120275
120364
|
function createTabularErrorsDisplay(filesInError, host) {
|
|
@@ -120291,8 +120380,8 @@ var ts;
|
|
|
120291
120380
|
var leftPadding = errorCountDigitsLength < leftPaddingGoal ?
|
|
120292
120381
|
" ".repeat(leftPaddingGoal - errorCountDigitsLength)
|
|
120293
120382
|
: "";
|
|
120294
|
-
var
|
|
120295
|
-
tabularData += "" + leftPadding + errorCount + " " +
|
|
120383
|
+
var fileRef = prettyPathForFileError(file, host.getCurrentDirectory());
|
|
120384
|
+
tabularData += "" + leftPadding + errorCount + " " + fileRef + "\n";
|
|
120296
120385
|
});
|
|
120297
120386
|
return tabularData;
|
|
120298
120387
|
}
|
|
@@ -120793,6 +120882,7 @@ var ts;
|
|
|
120793
120882
|
var sharedExtendedConfigFileWatchers; // Map of file watchers for extended files, shared between different referenced projects
|
|
120794
120883
|
var extendedConfigCache = host.extendedConfigCache; // Cache for extended config evaluation
|
|
120795
120884
|
var changesAffectResolution = false; // Flag for indicating non-config changes affect module resolution
|
|
120885
|
+
var reportFileChangeDetectedOnCreateProgram = false; // True if synchronizeProgram should report "File change detected..." when a new program is created
|
|
120796
120886
|
var sourceFilesCache = new ts.Map(); // Cache that stores the source file and version info
|
|
120797
120887
|
var missingFilePathsRequestedForRelease; // These paths are held temporarily so that we can remove the entry from source file cache if the file is not tracked by missing files
|
|
120798
120888
|
var hasChangedCompilerOptions = false; // True if the compiler options have changed between compilations
|
|
@@ -120955,14 +121045,21 @@ var ts;
|
|
|
120955
121045
|
var hasInvalidatedResolution = resolutionCache.createHasInvalidatedResolution(userProvidedResolution || changesAffectResolution);
|
|
120956
121046
|
if (ts.isProgramUptoDate(getCurrentProgram(), rootFileNames, compilerOptions, getSourceVersion, fileExists, hasInvalidatedResolution, hasChangedAutomaticTypeDirectiveNames, getParsedCommandLine, projectReferences)) {
|
|
120957
121047
|
if (hasChangedConfigFileParsingErrors) {
|
|
121048
|
+
if (reportFileChangeDetectedOnCreateProgram) {
|
|
121049
|
+
reportWatchDiagnostic(ts.Diagnostics.File_change_detected_Starting_incremental_compilation);
|
|
121050
|
+
}
|
|
120958
121051
|
builderProgram = createProgram(/*rootNames*/ undefined, /*options*/ undefined, compilerHost, builderProgram, configFileParsingDiagnostics, projectReferences);
|
|
120959
121052
|
hasChangedConfigFileParsingErrors = false;
|
|
120960
121053
|
}
|
|
120961
121054
|
}
|
|
120962
121055
|
else {
|
|
121056
|
+
if (reportFileChangeDetectedOnCreateProgram) {
|
|
121057
|
+
reportWatchDiagnostic(ts.Diagnostics.File_change_detected_Starting_incremental_compilation);
|
|
121058
|
+
}
|
|
120963
121059
|
createNewProgram(hasInvalidatedResolution);
|
|
120964
121060
|
}
|
|
120965
121061
|
changesAffectResolution = false; // reset for next sync
|
|
121062
|
+
reportFileChangeDetectedOnCreateProgram = false;
|
|
120966
121063
|
if (host.afterProgramCreate && program !== builderProgram) {
|
|
120967
121064
|
host.afterProgramCreate(builderProgram);
|
|
120968
121065
|
}
|
|
@@ -121164,7 +121261,7 @@ var ts;
|
|
|
121164
121261
|
}
|
|
121165
121262
|
function updateProgramWithWatchStatus() {
|
|
121166
121263
|
timerToUpdateProgram = undefined;
|
|
121167
|
-
|
|
121264
|
+
reportFileChangeDetectedOnCreateProgram = true;
|
|
121168
121265
|
updateProgram();
|
|
121169
121266
|
}
|
|
121170
121267
|
function updateProgram() {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "typescript",
|
|
3
3
|
"author": "Microsoft Corp.",
|
|
4
4
|
"homepage": "https://www.typescriptlang.org/",
|
|
5
|
-
"version": "4.6.0-dev.
|
|
5
|
+
"version": "4.6.0-dev.20220122",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
"q": "latest",
|
|
94
94
|
"source-map-support": "latest",
|
|
95
95
|
"through2": "latest",
|
|
96
|
-
"typescript": "^4.
|
|
96
|
+
"typescript": "^4.5.5",
|
|
97
97
|
"vinyl": "latest",
|
|
98
98
|
"vinyl-sourcemaps-apply": "latest",
|
|
99
99
|
"xml2js": "^0.4.19"
|