typescript 5.9.2 → 6.0.0-dev.20250801

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
@@ -17,8 +17,8 @@ and limitations under the License.
17
17
  "use strict";
18
18
 
19
19
  // src/compiler/corePublic.ts
20
- var versionMajorMinor = "5.9";
21
- var version = "5.9.2";
20
+ var versionMajorMinor = "6.0";
21
+ var version = `${versionMajorMinor}.0-dev.20250801`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -15850,6 +15850,9 @@ function getSymbolNameForPrivateIdentifier(containingClassSymbol, description) {
15850
15850
  function isKnownSymbol(symbol) {
15851
15851
  return startsWith(symbol.escapedName, "__@");
15852
15852
  }
15853
+ function isPrivateIdentifierSymbol(symbol) {
15854
+ return startsWith(symbol.escapedName, "__#");
15855
+ }
15853
15856
  function isProtoSetter(node) {
15854
15857
  return isIdentifier(node) ? idText(node) === "__proto__" : isStringLiteral(node) && node.text === "__proto__";
15855
15858
  }
@@ -52068,6 +52071,9 @@ function createTypeChecker(host) {
52068
52071
  if (getDeclarationModifierFlagsFromSymbol(propertySymbol) & (2 /* Private */ | 4 /* Protected */) && context.tracker.reportPrivateInBaseOfClassExpression) {
52069
52072
  context.tracker.reportPrivateInBaseOfClassExpression(unescapeLeadingUnderscores(propertySymbol.escapedName));
52070
52073
  }
52074
+ if (isPrivateIdentifierSymbol(propertySymbol) && context.tracker.reportPrivateInBaseOfClassExpression) {
52075
+ context.tracker.reportPrivateInBaseOfClassExpression(idText(propertySymbol.valueDeclaration.name));
52076
+ }
52071
52077
  }
52072
52078
  if (checkTruncationLength(context) && i + 2 < properties.length - 1) {
52073
52079
  context.out.truncated = true;
@@ -3646,7 +3646,7 @@ declare namespace ts {
3646
3646
  readDirectory(rootDir: string, extensions: readonly string[], excludes: readonly string[] | undefined, includes: readonly string[] | undefined, depth?: number): string[];
3647
3647
  }
3648
3648
  }
3649
- const versionMajorMinor = "5.9";
3649
+ const versionMajorMinor = "6.0";
3650
3650
  /** The version of the TypeScript compiler release */
3651
3651
  const version: string;
3652
3652
  /**
package/lib/typescript.js CHANGED
@@ -2284,8 +2284,8 @@ __export(typescript_exports, {
2284
2284
  module.exports = __toCommonJS(typescript_exports);
2285
2285
 
2286
2286
  // src/compiler/corePublic.ts
2287
- var versionMajorMinor = "5.9";
2288
- var version = "5.9.2";
2287
+ var versionMajorMinor = "6.0";
2288
+ var version = `${versionMajorMinor}.0-dev.20250801`;
2289
2289
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2290
2290
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2291
2291
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -56679,6 +56679,9 @@ function createTypeChecker(host) {
56679
56679
  if (getDeclarationModifierFlagsFromSymbol(propertySymbol) & (2 /* Private */ | 4 /* Protected */) && context.tracker.reportPrivateInBaseOfClassExpression) {
56680
56680
  context.tracker.reportPrivateInBaseOfClassExpression(unescapeLeadingUnderscores(propertySymbol.escapedName));
56681
56681
  }
56682
+ if (isPrivateIdentifierSymbol(propertySymbol) && context.tracker.reportPrivateInBaseOfClassExpression) {
56683
+ context.tracker.reportPrivateInBaseOfClassExpression(idText(propertySymbol.valueDeclaration.name));
56684
+ }
56682
56685
  }
56683
56686
  if (checkTruncationLength(context) && i + 2 < properties.length - 1) {
56684
56687
  context.out.truncated = true;
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.9.2",
5
+ "version": "6.0.0-dev.20250801",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -116,5 +116,5 @@
116
116
  "node": "20.1.0",
117
117
  "npm": "8.19.4"
118
118
  },
119
- "gitHead": "5be33469d551655d878876faa9e30aa3b49f8ee9"
119
+ "gitHead": "c6a1812e0cc5e0c878d222fa80bc3225f72c136d"
120
120
  }