typescript 6.0.0-dev.20250910 → 6.0.0-dev.20250912

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 CHANGED
@@ -18,7 +18,7 @@ and limitations under the License.
18
18
 
19
19
  // src/compiler/corePublic.ts
20
20
  var versionMajorMinor = "6.0";
21
- var version = `${versionMajorMinor}.0-dev.20250910`;
21
+ var version = `${versionMajorMinor}.0-dev.20250912`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -37054,7 +37054,7 @@ var commandOptionsWithoutBuild = [
37054
37054
  affectsProgramStructure: true,
37055
37055
  category: Diagnostics.Language_and_Environment,
37056
37056
  description: Diagnostics.Enable_lib_replacement,
37057
- defaultValueDescription: true
37057
+ defaultValueDescription: false
37058
37058
  },
37059
37059
  // Strict Type Checks
37060
37060
  {
@@ -124010,7 +124010,7 @@ function createProgram(_rootNamesOrOptions, _options, _host, _oldProgram, _confi
124010
124010
  var _a2, _b2, _c2, _d2, _e2;
124011
124011
  const existing = resolvedLibProcessing == null ? void 0 : resolvedLibProcessing.get(libFileName);
124012
124012
  if (existing) return existing;
124013
- if (options.libReplacement === false) {
124013
+ if (!options.libReplacement) {
124014
124014
  const result2 = {
124015
124015
  resolution: {
124016
124016
  resolvedModule: void 0
@@ -124216,10 +124216,9 @@ function createProgram(_rootNamesOrOptions, _options, _host, _oldProgram, _confi
124216
124216
  }
124217
124217
  const getCommonSourceDirectory3 = memoize(() => getCommonSourceDirectoryOfConfig(resolvedRef.commandLine, !host.useCaseSensitiveFileNames()));
124218
124218
  commandLine.fileNames.forEach((fileName) => {
124219
- if (isDeclarationFileName(fileName)) return;
124220
124219
  const path = toPath3(fileName);
124221
124220
  let outputDts;
124222
- if (!fileExtensionIs(fileName, ".json" /* Json */)) {
124221
+ if (!isDeclarationFileName(fileName) && !fileExtensionIs(fileName, ".json" /* Json */)) {
124223
124222
  if (!commandLine.options.outFile) {
124224
124223
  outputDts = getOutputDeclarationFileName(fileName, resolvedRef.commandLine, !host.useCaseSensitiveFileNames(), getCommonSourceDirectory3);
124225
124224
  mapOutputFileToResolvedRef.set(toPath3(outputDts), { resolvedRef, source: fileName });
package/lib/typescript.js CHANGED
@@ -2286,7 +2286,7 @@ module.exports = __toCommonJS(typescript_exports);
2286
2286
 
2287
2287
  // src/compiler/corePublic.ts
2288
2288
  var versionMajorMinor = "6.0";
2289
- var version = `${versionMajorMinor}.0-dev.20250910`;
2289
+ var version = `${versionMajorMinor}.0-dev.20250912`;
2290
2290
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2291
2291
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2292
2292
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -41313,7 +41313,7 @@ var commandOptionsWithoutBuild = [
41313
41313
  affectsProgramStructure: true,
41314
41314
  category: Diagnostics.Language_and_Environment,
41315
41315
  description: Diagnostics.Enable_lib_replacement,
41316
- defaultValueDescription: true
41316
+ defaultValueDescription: false
41317
41317
  },
41318
41318
  // Strict Type Checks
41319
41319
  {
@@ -128858,7 +128858,7 @@ function createProgram(_rootNamesOrOptions, _options, _host, _oldProgram, _confi
128858
128858
  var _a2, _b2, _c2, _d2, _e2;
128859
128859
  const existing = resolvedLibProcessing == null ? void 0 : resolvedLibProcessing.get(libFileName);
128860
128860
  if (existing) return existing;
128861
- if (options.libReplacement === false) {
128861
+ if (!options.libReplacement) {
128862
128862
  const result2 = {
128863
128863
  resolution: {
128864
128864
  resolvedModule: void 0
@@ -129064,10 +129064,9 @@ function createProgram(_rootNamesOrOptions, _options, _host, _oldProgram, _confi
129064
129064
  }
129065
129065
  const getCommonSourceDirectory3 = memoize(() => getCommonSourceDirectoryOfConfig(resolvedRef.commandLine, !host.useCaseSensitiveFileNames()));
129066
129066
  commandLine.fileNames.forEach((fileName) => {
129067
- if (isDeclarationFileName(fileName)) return;
129068
129067
  const path = toPath3(fileName);
129069
129068
  let outputDts;
129070
- if (!fileExtensionIs(fileName, ".json" /* Json */)) {
129069
+ if (!isDeclarationFileName(fileName) && !fileExtensionIs(fileName, ".json" /* Json */)) {
129071
129070
  if (!commandLine.options.outFile) {
129072
129071
  outputDts = getOutputDeclarationFileName(fileName, resolvedRef.commandLine, !host.useCaseSensitiveFileNames(), getCommonSourceDirectory3);
129073
129072
  mapOutputFileToResolvedRef.set(toPath3(outputDts), { resolvedRef, source: fileName });
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": "6.0.0-dev.20250910",
5
+ "version": "6.0.0-dev.20250912",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -115,5 +115,5 @@
115
115
  "node": "20.1.0",
116
116
  "npm": "8.19.4"
117
117
  },
118
- "gitHead": "3320dfdfcf17cdcdbfccb8040ea73cf110d94ba3"
118
+ "gitHead": "e9bcbe6ef706e0b5a34678964988eb6a9cd86cc6"
119
119
  }