typescript 6.0.0-dev.20260324 → 6.0.0-dev.20260401
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/README.md +12 -1
- package/lib/_tsc.js +3 -1
- package/lib/typescript.js +3 -1
- package/package.json +14 -14
package/README.md
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
|
|
2
1
|
# TypeScript
|
|
3
2
|
|
|
3
|
+
<!-- CODING AGENTS: READ AGENTS.md BEFORE WRITING CODE -->
|
|
4
|
+
|
|
4
5
|
[](https://github.com/microsoft/TypeScript/actions/workflows/ci.yml)
|
|
5
6
|
[](https://www.npmjs.com/package/typescript)
|
|
6
7
|
[](https://www.npmjs.com/package/typescript)
|
|
@@ -27,6 +28,16 @@ npm install -D typescript@next
|
|
|
27
28
|
|
|
28
29
|
## Contribute
|
|
29
30
|
|
|
31
|
+
**NOTE: Code changes in this repo are now limited to a small category of fixes**:
|
|
32
|
+
|
|
33
|
+
* Crashes that were introduced in 5.9 or 6.0 that *also* repro in 7.0 *and* have a portable fix *and* don't incur other behavioral changes
|
|
34
|
+
* Security issues
|
|
35
|
+
* Language service crashes that substantially impact mainline usage
|
|
36
|
+
* Serious regressions from 5.9 (these must *seriously* impact a *large* proportion of users)
|
|
37
|
+
|
|
38
|
+
Most bug fixes should be submitted to the [typescript-go](https://github.com/microsoft/TypeScript-go) repository.
|
|
39
|
+
Feature additions and behavorial changes are currently on pause until TypeScript 7.0 is completed.
|
|
40
|
+
|
|
30
41
|
There are many ways to [contribute](https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md) to TypeScript.
|
|
31
42
|
* [Submit bugs](https://github.com/microsoft/TypeScript/issues) and help us verify fixes as they are checked in.
|
|
32
43
|
* Review the [source code changes](https://github.com/microsoft/TypeScript/pulls).
|
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.
|
|
21
|
+
var version = `${versionMajorMinor}.0-dev.20260401`;
|
|
22
22
|
|
|
23
23
|
// src/compiler/core.ts
|
|
24
24
|
var emptyArray = [];
|
|
@@ -45186,6 +45186,8 @@ function getContainerFlags(node) {
|
|
|
45186
45186
|
return 1 /* IsContainer */ | 4 /* IsControlFlowContainer */ | 32 /* HasLocals */ | 8 /* IsFunctionLike */ | 16 /* IsFunctionExpression */ | 256 /* PropagatesThisKeyword */;
|
|
45187
45187
|
case 269 /* ModuleBlock */:
|
|
45188
45188
|
return 4 /* IsControlFlowContainer */;
|
|
45189
|
+
case 173 /* PropertyDeclaration */:
|
|
45190
|
+
return node.initializer ? 4 /* IsControlFlowContainer */ : 0 /* None */;
|
|
45189
45191
|
case 300 /* CatchClause */:
|
|
45190
45192
|
case 249 /* ForStatement */:
|
|
45191
45193
|
case 250 /* ForInStatement */:
|
package/lib/typescript.js
CHANGED
|
@@ -2289,7 +2289,7 @@ module.exports = __toCommonJS(typescript_exports);
|
|
|
2289
2289
|
|
|
2290
2290
|
// src/compiler/corePublic.ts
|
|
2291
2291
|
var versionMajorMinor = "6.0";
|
|
2292
|
-
var version = `${versionMajorMinor}.0-dev.
|
|
2292
|
+
var version = `${versionMajorMinor}.0-dev.20260401`;
|
|
2293
2293
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
2294
2294
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
2295
2295
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -49721,6 +49721,8 @@ function getContainerFlags(node) {
|
|
|
49721
49721
|
return 1 /* IsContainer */ | 4 /* IsControlFlowContainer */ | 32 /* HasLocals */ | 8 /* IsFunctionLike */ | 16 /* IsFunctionExpression */ | 256 /* PropagatesThisKeyword */;
|
|
49722
49722
|
case 269 /* ModuleBlock */:
|
|
49723
49723
|
return 4 /* IsControlFlowContainer */;
|
|
49724
|
+
case 173 /* PropertyDeclaration */:
|
|
49725
|
+
return node.initializer ? 4 /* IsControlFlowContainer */ : 0 /* None */;
|
|
49724
49726
|
case 300 /* CatchClause */:
|
|
49725
49727
|
case 249 /* ForStatement */:
|
|
49726
49728
|
case 250 /* ForInStatement */:
|
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.
|
|
5
|
+
"version": "6.0.0-dev.20260401",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -51,24 +51,24 @@
|
|
|
51
51
|
"@types/node": "latest",
|
|
52
52
|
"@types/source-map-support": "^0.5.10",
|
|
53
53
|
"@types/which": "^3.0.4",
|
|
54
|
-
"@typescript-eslint/rule-tester": "^8.
|
|
55
|
-
"@typescript-eslint/type-utils": "^8.
|
|
56
|
-
"@typescript-eslint/utils": "^8.
|
|
54
|
+
"@typescript-eslint/rule-tester": "^8.57.2",
|
|
55
|
+
"@typescript-eslint/type-utils": "^8.57.2",
|
|
56
|
+
"@typescript-eslint/utils": "^8.57.2",
|
|
57
57
|
"azure-devops-node-api": "^15.1.3",
|
|
58
58
|
"c8": "^10.1.3",
|
|
59
59
|
"chai": "^4.5.0",
|
|
60
60
|
"chokidar": "^4.0.3",
|
|
61
|
-
"diff": "^8.0.
|
|
61
|
+
"diff": "^8.0.4",
|
|
62
62
|
"dprint": "^0.49.1",
|
|
63
|
-
"esbuild": "^0.27.
|
|
64
|
-
"eslint": "^10.0
|
|
65
|
-
"eslint-plugin-regexp": "^3.
|
|
66
|
-
"fast-xml-parser": "^5.
|
|
63
|
+
"esbuild": "^0.27.4",
|
|
64
|
+
"eslint": "^10.1.0",
|
|
65
|
+
"eslint-plugin-regexp": "^3.1.0",
|
|
66
|
+
"fast-xml-parser": "^5.5.9",
|
|
67
67
|
"glob": "^10.5.0",
|
|
68
68
|
"globals": "^17.4.0",
|
|
69
|
-
"hereby": "^1.
|
|
69
|
+
"hereby": "^1.14.0",
|
|
70
70
|
"jsonc-parser": "^3.3.1",
|
|
71
|
-
"knip": "^5.
|
|
71
|
+
"knip": "^5.88.1",
|
|
72
72
|
"minimist": "^1.2.8",
|
|
73
73
|
"mocha": "^10.8.2",
|
|
74
74
|
"mocha-fivemat-progress-reporter": "^0.1.0",
|
|
@@ -78,8 +78,8 @@
|
|
|
78
78
|
"playwright": "^1.58.2",
|
|
79
79
|
"source-map-support": "^0.5.21",
|
|
80
80
|
"tslib": "^2.8.1",
|
|
81
|
-
"typescript": "^
|
|
82
|
-
"typescript-eslint": "^8.
|
|
81
|
+
"typescript": "^6.0.2",
|
|
82
|
+
"typescript-eslint": "^8.57.2",
|
|
83
83
|
"which": "^3.0.1"
|
|
84
84
|
},
|
|
85
85
|
"overrides": {
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"node": "22.22.0",
|
|
115
115
|
"npm": "8.19.4"
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "0844c43d06801dfcb23888734474d81537e83834"
|
|
118
118
|
}
|