typescript 4.9.4 → 4.9.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 +8 -3
- package/lib/tsserver.js +13 -3
- package/lib/tsserverlibrary.js +13 -3
- package/lib/typescript.js +13 -3
- package/lib/typescriptServices.js +13 -3
- package/lib/typingsInstaller.js +13 -3
- package/package.json +1 -1
package/lib/tsc.js
CHANGED
|
@@ -69,7 +69,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
69
69
|
var ts;
|
|
70
70
|
(function (ts) {
|
|
71
71
|
ts.versionMajorMinor = "4.9";
|
|
72
|
-
ts.version = "".concat(ts.versionMajorMinor, ".
|
|
72
|
+
ts.version = "".concat(ts.versionMajorMinor, ".5");
|
|
73
73
|
var NativeCollections;
|
|
74
74
|
(function (NativeCollections) {
|
|
75
75
|
var globals = typeof globalThis !== "undefined" ? globalThis :
|
|
@@ -33654,7 +33654,12 @@ var ts;
|
|
|
33654
33654
|
description: ts.Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
|
|
33655
33655
|
category: ts.Diagnostics.Language_and_Environment,
|
|
33656
33656
|
defaultValueDescription: ts.Diagnostics.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules,
|
|
33657
|
-
}
|
|
33657
|
+
},
|
|
33658
|
+
{
|
|
33659
|
+
name: "ignoreDeprecations",
|
|
33660
|
+
type: "string",
|
|
33661
|
+
defaultValueDescription: undefined,
|
|
33662
|
+
},
|
|
33658
33663
|
];
|
|
33659
33664
|
ts.optionDeclarations = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), commandOptionsWithoutBuild, true);
|
|
33660
33665
|
ts.semanticDiagnosticsOptionDeclarations = ts.optionDeclarations.filter(function (option) { return !!option.affectsSemanticDiagnostics; });
|
|
@@ -104329,7 +104334,7 @@ var ts;
|
|
|
104329
104334
|
function getLocaleTimeString(system) {
|
|
104330
104335
|
return !system.now ?
|
|
104331
104336
|
new Date().toLocaleTimeString() :
|
|
104332
|
-
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" });
|
|
104337
|
+
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202f", " ");
|
|
104333
104338
|
}
|
|
104334
104339
|
ts.getLocaleTimeString = getLocaleTimeString;
|
|
104335
104340
|
function createWatchStatusReporter(system, pretty) {
|
package/lib/tsserver.js
CHANGED
|
@@ -109,7 +109,7 @@ var ts;
|
|
|
109
109
|
// The following is baselined as a literal template type without intervention
|
|
110
110
|
/** The version of the TypeScript compiler release */
|
|
111
111
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
112
|
-
ts.version = "".concat(ts.versionMajorMinor, ".
|
|
112
|
+
ts.version = "".concat(ts.versionMajorMinor, ".5");
|
|
113
113
|
/* @internal */
|
|
114
114
|
var Comparison;
|
|
115
115
|
(function (Comparison) {
|
|
@@ -41291,7 +41291,12 @@ var ts;
|
|
|
41291
41291
|
description: ts.Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
|
|
41292
41292
|
category: ts.Diagnostics.Language_and_Environment,
|
|
41293
41293
|
defaultValueDescription: ts.Diagnostics.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules,
|
|
41294
|
-
}
|
|
41294
|
+
},
|
|
41295
|
+
{
|
|
41296
|
+
name: "ignoreDeprecations",
|
|
41297
|
+
type: "string",
|
|
41298
|
+
defaultValueDescription: undefined,
|
|
41299
|
+
},
|
|
41295
41300
|
];
|
|
41296
41301
|
/* @internal */
|
|
41297
41302
|
ts.optionDeclarations = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), commandOptionsWithoutBuild, true);
|
|
@@ -125798,7 +125803,12 @@ var ts;
|
|
|
125798
125803
|
function getLocaleTimeString(system) {
|
|
125799
125804
|
return !system.now ?
|
|
125800
125805
|
new Date().toLocaleTimeString() :
|
|
125801
|
-
|
|
125806
|
+
// On some systems / builds of Node, there's a non-breaking space between the time and AM/PM.
|
|
125807
|
+
// This branch is solely for testing, so just switch it to a normal space for baseline stability.
|
|
125808
|
+
// See:
|
|
125809
|
+
// - https://github.com/nodejs/node/issues/45171
|
|
125810
|
+
// - https://github.com/nodejs/node/issues/45753
|
|
125811
|
+
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202f", " ");
|
|
125802
125812
|
}
|
|
125803
125813
|
ts.getLocaleTimeString = getLocaleTimeString;
|
|
125804
125814
|
/**
|
package/lib/tsserverlibrary.js
CHANGED
|
@@ -108,7 +108,7 @@ var ts;
|
|
|
108
108
|
// The following is baselined as a literal template type without intervention
|
|
109
109
|
/** The version of the TypeScript compiler release */
|
|
110
110
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
111
|
-
ts.version = "".concat(ts.versionMajorMinor, ".
|
|
111
|
+
ts.version = "".concat(ts.versionMajorMinor, ".5");
|
|
112
112
|
/* @internal */
|
|
113
113
|
var Comparison;
|
|
114
114
|
(function (Comparison) {
|
|
@@ -41290,7 +41290,12 @@ var ts;
|
|
|
41290
41290
|
description: ts.Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
|
|
41291
41291
|
category: ts.Diagnostics.Language_and_Environment,
|
|
41292
41292
|
defaultValueDescription: ts.Diagnostics.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules,
|
|
41293
|
-
}
|
|
41293
|
+
},
|
|
41294
|
+
{
|
|
41295
|
+
name: "ignoreDeprecations",
|
|
41296
|
+
type: "string",
|
|
41297
|
+
defaultValueDescription: undefined,
|
|
41298
|
+
},
|
|
41294
41299
|
];
|
|
41295
41300
|
/* @internal */
|
|
41296
41301
|
ts.optionDeclarations = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), commandOptionsWithoutBuild, true);
|
|
@@ -125797,7 +125802,12 @@ var ts;
|
|
|
125797
125802
|
function getLocaleTimeString(system) {
|
|
125798
125803
|
return !system.now ?
|
|
125799
125804
|
new Date().toLocaleTimeString() :
|
|
125800
|
-
|
|
125805
|
+
// On some systems / builds of Node, there's a non-breaking space between the time and AM/PM.
|
|
125806
|
+
// This branch is solely for testing, so just switch it to a normal space for baseline stability.
|
|
125807
|
+
// See:
|
|
125808
|
+
// - https://github.com/nodejs/node/issues/45171
|
|
125809
|
+
// - https://github.com/nodejs/node/issues/45753
|
|
125810
|
+
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202f", " ");
|
|
125801
125811
|
}
|
|
125802
125812
|
ts.getLocaleTimeString = getLocaleTimeString;
|
|
125803
125813
|
/**
|
package/lib/typescript.js
CHANGED
|
@@ -99,7 +99,7 @@ var ts;
|
|
|
99
99
|
// The following is baselined as a literal template type without intervention
|
|
100
100
|
/** The version of the TypeScript compiler release */
|
|
101
101
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
102
|
-
ts.version = "".concat(ts.versionMajorMinor, ".
|
|
102
|
+
ts.version = "".concat(ts.versionMajorMinor, ".5");
|
|
103
103
|
/* @internal */
|
|
104
104
|
var Comparison;
|
|
105
105
|
(function (Comparison) {
|
|
@@ -41281,7 +41281,12 @@ var ts;
|
|
|
41281
41281
|
description: ts.Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
|
|
41282
41282
|
category: ts.Diagnostics.Language_and_Environment,
|
|
41283
41283
|
defaultValueDescription: ts.Diagnostics.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules,
|
|
41284
|
-
}
|
|
41284
|
+
},
|
|
41285
|
+
{
|
|
41286
|
+
name: "ignoreDeprecations",
|
|
41287
|
+
type: "string",
|
|
41288
|
+
defaultValueDescription: undefined,
|
|
41289
|
+
},
|
|
41285
41290
|
];
|
|
41286
41291
|
/* @internal */
|
|
41287
41292
|
ts.optionDeclarations = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), commandOptionsWithoutBuild, true);
|
|
@@ -125788,7 +125793,12 @@ var ts;
|
|
|
125788
125793
|
function getLocaleTimeString(system) {
|
|
125789
125794
|
return !system.now ?
|
|
125790
125795
|
new Date().toLocaleTimeString() :
|
|
125791
|
-
|
|
125796
|
+
// On some systems / builds of Node, there's a non-breaking space between the time and AM/PM.
|
|
125797
|
+
// This branch is solely for testing, so just switch it to a normal space for baseline stability.
|
|
125798
|
+
// See:
|
|
125799
|
+
// - https://github.com/nodejs/node/issues/45171
|
|
125800
|
+
// - https://github.com/nodejs/node/issues/45753
|
|
125801
|
+
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202f", " ");
|
|
125792
125802
|
}
|
|
125793
125803
|
ts.getLocaleTimeString = getLocaleTimeString;
|
|
125794
125804
|
/**
|
|
@@ -99,7 +99,7 @@ var ts;
|
|
|
99
99
|
// The following is baselined as a literal template type without intervention
|
|
100
100
|
/** The version of the TypeScript compiler release */
|
|
101
101
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
102
|
-
ts.version = "".concat(ts.versionMajorMinor, ".
|
|
102
|
+
ts.version = "".concat(ts.versionMajorMinor, ".5");
|
|
103
103
|
/* @internal */
|
|
104
104
|
var Comparison;
|
|
105
105
|
(function (Comparison) {
|
|
@@ -41281,7 +41281,12 @@ var ts;
|
|
|
41281
41281
|
description: ts.Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
|
|
41282
41282
|
category: ts.Diagnostics.Language_and_Environment,
|
|
41283
41283
|
defaultValueDescription: ts.Diagnostics.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules,
|
|
41284
|
-
}
|
|
41284
|
+
},
|
|
41285
|
+
{
|
|
41286
|
+
name: "ignoreDeprecations",
|
|
41287
|
+
type: "string",
|
|
41288
|
+
defaultValueDescription: undefined,
|
|
41289
|
+
},
|
|
41285
41290
|
];
|
|
41286
41291
|
/* @internal */
|
|
41287
41292
|
ts.optionDeclarations = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), commandOptionsWithoutBuild, true);
|
|
@@ -125788,7 +125793,12 @@ var ts;
|
|
|
125788
125793
|
function getLocaleTimeString(system) {
|
|
125789
125794
|
return !system.now ?
|
|
125790
125795
|
new Date().toLocaleTimeString() :
|
|
125791
|
-
|
|
125796
|
+
// On some systems / builds of Node, there's a non-breaking space between the time and AM/PM.
|
|
125797
|
+
// This branch is solely for testing, so just switch it to a normal space for baseline stability.
|
|
125798
|
+
// See:
|
|
125799
|
+
// - https://github.com/nodejs/node/issues/45171
|
|
125800
|
+
// - https://github.com/nodejs/node/issues/45753
|
|
125801
|
+
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202f", " ");
|
|
125792
125802
|
}
|
|
125793
125803
|
ts.getLocaleTimeString = getLocaleTimeString;
|
|
125794
125804
|
/**
|
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 = "".concat(ts.versionMajorMinor, ".
|
|
92
|
+
ts.version = "".concat(ts.versionMajorMinor, ".5");
|
|
93
93
|
/* @internal */
|
|
94
94
|
var Comparison;
|
|
95
95
|
(function (Comparison) {
|
|
@@ -41271,7 +41271,12 @@ var ts;
|
|
|
41271
41271
|
description: ts.Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files,
|
|
41272
41272
|
category: ts.Diagnostics.Language_and_Environment,
|
|
41273
41273
|
defaultValueDescription: ts.Diagnostics.auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules,
|
|
41274
|
-
}
|
|
41274
|
+
},
|
|
41275
|
+
{
|
|
41276
|
+
name: "ignoreDeprecations",
|
|
41277
|
+
type: "string",
|
|
41278
|
+
defaultValueDescription: undefined,
|
|
41279
|
+
},
|
|
41275
41280
|
];
|
|
41276
41281
|
/* @internal */
|
|
41277
41282
|
ts.optionDeclarations = __spreadArray(__spreadArray([], ts.commonOptionsWithBuild, true), commandOptionsWithoutBuild, true);
|
|
@@ -125778,7 +125783,12 @@ var ts;
|
|
|
125778
125783
|
function getLocaleTimeString(system) {
|
|
125779
125784
|
return !system.now ?
|
|
125780
125785
|
new Date().toLocaleTimeString() :
|
|
125781
|
-
|
|
125786
|
+
// On some systems / builds of Node, there's a non-breaking space between the time and AM/PM.
|
|
125787
|
+
// This branch is solely for testing, so just switch it to a normal space for baseline stability.
|
|
125788
|
+
// See:
|
|
125789
|
+
// - https://github.com/nodejs/node/issues/45171
|
|
125790
|
+
// - https://github.com/nodejs/node/issues/45753
|
|
125791
|
+
system.now().toLocaleTimeString("en-US", { timeZone: "UTC" }).replace("\u202f", " ");
|
|
125782
125792
|
}
|
|
125783
125793
|
ts.getLocaleTimeString = getLocaleTimeString;
|
|
125784
125794
|
/**
|
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.9.
|
|
5
|
+
"version": "4.9.5",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|