typescript 5.6.0-dev.20240619 → 5.6.0-dev.20240620
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/typescript.js +4 -3
- package/package.json +2 -2
package/lib/tsc.js
CHANGED
|
@@ -18,7 +18,7 @@ and limitations under the License.
|
|
|
18
18
|
|
|
19
19
|
// src/compiler/corePublic.ts
|
|
20
20
|
var versionMajorMinor = "5.6";
|
|
21
|
-
var version = `${versionMajorMinor}.0-dev.
|
|
21
|
+
var version = `${versionMajorMinor}.0-dev.20240620`;
|
|
22
22
|
|
|
23
23
|
// src/compiler/core.ts
|
|
24
24
|
var emptyArray = [];
|
|
@@ -120136,7 +120136,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
|
|
|
120136
120136
|
if (file.hasNoDefaultLib) {
|
|
120137
120137
|
return true;
|
|
120138
120138
|
}
|
|
120139
|
-
if (options.noLib) {
|
|
120139
|
+
if (!options.noLib) {
|
|
120140
120140
|
return false;
|
|
120141
120141
|
}
|
|
120142
120142
|
const equalityComparer = host.useCaseSensitiveFileNames() ? equateStringsCaseSensitive : equateStringsCaseInsensitive;
|
package/lib/typescript.js
CHANGED
|
@@ -2377,7 +2377,7 @@ module.exports = __toCommonJS(typescript_exports);
|
|
|
2377
2377
|
|
|
2378
2378
|
// src/compiler/corePublic.ts
|
|
2379
2379
|
var versionMajorMinor = "5.6";
|
|
2380
|
-
var version = `${versionMajorMinor}.0-dev.
|
|
2380
|
+
var version = `${versionMajorMinor}.0-dev.20240620`;
|
|
2381
2381
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
2382
2382
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
2383
2383
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -125255,7 +125255,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
|
|
|
125255
125255
|
if (file.hasNoDefaultLib) {
|
|
125256
125256
|
return true;
|
|
125257
125257
|
}
|
|
125258
|
-
if (options.noLib) {
|
|
125258
|
+
if (!options.noLib) {
|
|
125259
125259
|
return false;
|
|
125260
125260
|
}
|
|
125261
125261
|
const equalityComparer = host.useCaseSensitiveFileNames() ? equateStringsCaseSensitive : equateStringsCaseInsensitive;
|
|
@@ -141758,8 +141758,9 @@ interface Symbol {
|
|
|
141758
141758
|
readonly [Symbol.toStringTag]: string;
|
|
141759
141759
|
}`;
|
|
141760
141760
|
var barebonesLibName = "lib.d.ts";
|
|
141761
|
-
var barebonesLibSourceFile
|
|
141761
|
+
var barebonesLibSourceFile;
|
|
141762
141762
|
function transpileWorker(input, transpileOptions, declaration) {
|
|
141763
|
+
barebonesLibSourceFile ?? (barebonesLibSourceFile = createSourceFile(barebonesLibName, barebonesLibContent, { languageVersion: 99 /* Latest */ }));
|
|
141763
141764
|
const diagnostics = [];
|
|
141764
141765
|
const options = transpileOptions.compilerOptions ? fixupCompilerOptions(transpileOptions.compilerOptions, diagnostics) : {};
|
|
141765
141766
|
const defaultOptions = getDefaultCompilerOptions2();
|
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": "5.6.0-dev.
|
|
5
|
+
"version": "5.6.0-dev.20240620",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -110,5 +110,5 @@
|
|
|
110
110
|
"node": "20.1.0",
|
|
111
111
|
"npm": "8.19.4"
|
|
112
112
|
},
|
|
113
|
-
"gitHead": "
|
|
113
|
+
"gitHead": "aa249c094b9b96c86025e964469ed4c803190cca"
|
|
114
114
|
}
|