typescript 4.6.2-insiders.20220225 → 4.6.2
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 +2 -2
- package/lib/tsserver.js +2 -2
- package/lib/tsserverlibrary.js +2 -2
- package/lib/typescript.js +2 -2
- package/lib/typescriptServices.js +2 -2
- package/lib/typingsInstaller.js +2 -2
- package/package.json +2 -2
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.6";
|
|
72
|
-
ts.version = "
|
|
72
|
+
ts.version = "4.6.2";
|
|
73
73
|
var NativeCollections;
|
|
74
74
|
(function (NativeCollections) {
|
|
75
75
|
var globals = typeof globalThis !== "undefined" ? globalThis :
|
|
@@ -96226,7 +96226,7 @@ var ts;
|
|
|
96226
96226
|
return resolvedRef;
|
|
96227
96227
|
}
|
|
96228
96228
|
function verifyCompilerOptions() {
|
|
96229
|
-
var isNightly = ts.stringContains(ts.version, "-dev");
|
|
96229
|
+
var isNightly = ts.stringContains(ts.version, "-dev") || ts.stringContains(ts.version, "-insiders");
|
|
96230
96230
|
if (!isNightly) {
|
|
96231
96231
|
if (ts.getEmitModuleKind(options) === ts.ModuleKind.Node12) {
|
|
96232
96232
|
createOptionValueDiagnostic("module", ts.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next, "module", "node12");
|
package/lib/tsserver.js
CHANGED
|
@@ -100,7 +100,7 @@ var ts;
|
|
|
100
100
|
// The following is baselined as a literal template type without intervention
|
|
101
101
|
/** The version of the TypeScript compiler release */
|
|
102
102
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
103
|
-
ts.version = "
|
|
103
|
+
ts.version = "4.6.2";
|
|
104
104
|
/* @internal */
|
|
105
105
|
var Comparison;
|
|
106
106
|
(function (Comparison) {
|
|
@@ -116573,7 +116573,7 @@ var ts;
|
|
|
116573
116573
|
return resolvedRef;
|
|
116574
116574
|
}
|
|
116575
116575
|
function verifyCompilerOptions() {
|
|
116576
|
-
var isNightly = ts.stringContains(ts.version, "-dev");
|
|
116576
|
+
var isNightly = ts.stringContains(ts.version, "-dev") || ts.stringContains(ts.version, "-insiders");
|
|
116577
116577
|
if (!isNightly) {
|
|
116578
116578
|
if (ts.getEmitModuleKind(options) === ts.ModuleKind.Node12) {
|
|
116579
116579
|
createOptionValueDiagnostic("module", ts.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next, "module", "node12");
|
package/lib/tsserverlibrary.js
CHANGED
|
@@ -294,7 +294,7 @@ var ts;
|
|
|
294
294
|
// The following is baselined as a literal template type without intervention
|
|
295
295
|
/** The version of the TypeScript compiler release */
|
|
296
296
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
297
|
-
ts.version = "
|
|
297
|
+
ts.version = "4.6.2";
|
|
298
298
|
/* @internal */
|
|
299
299
|
var Comparison;
|
|
300
300
|
(function (Comparison) {
|
|
@@ -116767,7 +116767,7 @@ var ts;
|
|
|
116767
116767
|
return resolvedRef;
|
|
116768
116768
|
}
|
|
116769
116769
|
function verifyCompilerOptions() {
|
|
116770
|
-
var isNightly = ts.stringContains(ts.version, "-dev");
|
|
116770
|
+
var isNightly = ts.stringContains(ts.version, "-dev") || ts.stringContains(ts.version, "-insiders");
|
|
116771
116771
|
if (!isNightly) {
|
|
116772
116772
|
if (ts.getEmitModuleKind(options) === ts.ModuleKind.Node12) {
|
|
116773
116773
|
createOptionValueDiagnostic("module", ts.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next, "module", "node12");
|
package/lib/typescript.js
CHANGED
|
@@ -294,7 +294,7 @@ var ts;
|
|
|
294
294
|
// The following is baselined as a literal template type without intervention
|
|
295
295
|
/** The version of the TypeScript compiler release */
|
|
296
296
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
297
|
-
ts.version = "
|
|
297
|
+
ts.version = "4.6.2";
|
|
298
298
|
/* @internal */
|
|
299
299
|
var Comparison;
|
|
300
300
|
(function (Comparison) {
|
|
@@ -116767,7 +116767,7 @@ var ts;
|
|
|
116767
116767
|
return resolvedRef;
|
|
116768
116768
|
}
|
|
116769
116769
|
function verifyCompilerOptions() {
|
|
116770
|
-
var isNightly = ts.stringContains(ts.version, "-dev");
|
|
116770
|
+
var isNightly = ts.stringContains(ts.version, "-dev") || ts.stringContains(ts.version, "-insiders");
|
|
116771
116771
|
if (!isNightly) {
|
|
116772
116772
|
if (ts.getEmitModuleKind(options) === ts.ModuleKind.Node12) {
|
|
116773
116773
|
createOptionValueDiagnostic("module", ts.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next, "module", "node12");
|
|
@@ -294,7 +294,7 @@ var ts;
|
|
|
294
294
|
// The following is baselined as a literal template type without intervention
|
|
295
295
|
/** The version of the TypeScript compiler release */
|
|
296
296
|
// eslint-disable-next-line @typescript-eslint/no-inferrable-types
|
|
297
|
-
ts.version = "
|
|
297
|
+
ts.version = "4.6.2";
|
|
298
298
|
/* @internal */
|
|
299
299
|
var Comparison;
|
|
300
300
|
(function (Comparison) {
|
|
@@ -116767,7 +116767,7 @@ var ts;
|
|
|
116767
116767
|
return resolvedRef;
|
|
116768
116768
|
}
|
|
116769
116769
|
function verifyCompilerOptions() {
|
|
116770
|
-
var isNightly = ts.stringContains(ts.version, "-dev");
|
|
116770
|
+
var isNightly = ts.stringContains(ts.version, "-dev") || ts.stringContains(ts.version, "-insiders");
|
|
116771
116771
|
if (!isNightly) {
|
|
116772
116772
|
if (ts.getEmitModuleKind(options) === ts.ModuleKind.Node12) {
|
|
116773
116773
|
createOptionValueDiagnostic("module", ts.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next, "module", "node12");
|
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 = "
|
|
92
|
+
ts.version = "4.6.2";
|
|
93
93
|
/* @internal */
|
|
94
94
|
var Comparison;
|
|
95
95
|
(function (Comparison) {
|
|
@@ -116562,7 +116562,7 @@ var ts;
|
|
|
116562
116562
|
return resolvedRef;
|
|
116563
116563
|
}
|
|
116564
116564
|
function verifyCompilerOptions() {
|
|
116565
|
-
var isNightly = ts.stringContains(ts.version, "-dev");
|
|
116565
|
+
var isNightly = ts.stringContains(ts.version, "-dev") || ts.stringContains(ts.version, "-insiders");
|
|
116566
116566
|
if (!isNightly) {
|
|
116567
116567
|
if (ts.getEmitModuleKind(options) === ts.ModuleKind.Node12) {
|
|
116568
116568
|
createOptionValueDiagnostic("module", ts.Diagnostics.Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next, "module", "node12");
|
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.2
|
|
5
|
+
"version": "4.6.2",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -129,4 +129,4 @@
|
|
|
129
129
|
"volta": {
|
|
130
130
|
"node": "14.15.5"
|
|
131
131
|
}
|
|
132
|
-
}
|
|
132
|
+
}
|