typescript 5.5.4 → 5.6.0-beta
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/lib.dom.asynciterable.d.ts +6 -6
- package/lib/lib.dom.d.ts +349 -858
- package/lib/lib.dom.iterable.d.ts +75 -79
- package/lib/lib.es2015.generator.d.ts +2 -2
- package/lib/lib.es2015.iterable.d.ts +74 -68
- package/lib/lib.es2017.object.d.ts +4 -4
- package/lib/lib.es2018.asyncgenerator.d.ts +2 -2
- package/lib/lib.es2018.asynciterable.d.ts +10 -6
- package/lib/lib.es2020.bigint.d.ts +8 -8
- package/lib/lib.es2020.string.d.ts +1 -1
- package/lib/lib.es2020.symbol.wellknown.d.ts +1 -1
- package/lib/lib.es2022.intl.d.ts +1 -1
- package/lib/lib.esnext.d.ts +1 -0
- package/lib/lib.esnext.iterator.d.ts +148 -0
- package/lib/lib.webworker.asynciterable.d.ts +6 -6
- package/lib/lib.webworker.d.ts +79 -100
- package/lib/lib.webworker.iterable.d.ts +31 -35
- package/lib/tsc.js +2207 -1576
- package/lib/tsserver.js +31 -29
- package/lib/typescript.d.ts +215 -154
- package/lib/typescript.js +3425 -2857
- package/lib/typingsInstaller.js +2 -2
- package/package.json +28 -26
package/lib/typingsInstaller.js
CHANGED
|
@@ -50,6 +50,7 @@ __export(nodeTypingsInstaller_exports, {
|
|
|
50
50
|
NodeTypingsInstaller: () => NodeTypingsInstaller
|
|
51
51
|
});
|
|
52
52
|
module.exports = __toCommonJS(nodeTypingsInstaller_exports);
|
|
53
|
+
var import_child_process = require("child_process");
|
|
53
54
|
var fs = __toESM(require("fs"));
|
|
54
55
|
var path = __toESM(require("path"));
|
|
55
56
|
|
|
@@ -127,7 +128,6 @@ var NodeTypingsInstaller = class extends typescript_exports.server.typingsInstal
|
|
|
127
128
|
this.log.writeLine(`NPM location: ${this.npmPath} (explicit '${typescript_exports.server.Arguments.NpmLocation}' ${npmLocation2 === void 0 ? "not " : ""} provided)`);
|
|
128
129
|
this.log.writeLine(`validateDefaultNpmLocation: ${validateDefaultNpmLocation2}`);
|
|
129
130
|
}
|
|
130
|
-
({ execSync: this.nodeExecSync } = require("child_process"));
|
|
131
131
|
this.ensurePackageDirectoryExists(globalTypingsCacheLocation2);
|
|
132
132
|
try {
|
|
133
133
|
if (this.log.isEnabled()) {
|
|
@@ -182,7 +182,7 @@ var NodeTypingsInstaller = class extends typescript_exports.server.typingsInstal
|
|
|
182
182
|
this.log.writeLine(`Exec: ${command}`);
|
|
183
183
|
}
|
|
184
184
|
try {
|
|
185
|
-
const stdout =
|
|
185
|
+
const stdout = (0, import_child_process.execFileSync)(command, { ...options, encoding: "utf-8" });
|
|
186
186
|
if (this.log.isEnabled()) {
|
|
187
187
|
this.log.writeLine(` Succeeded. stdout:${indent(typescript_exports.sys.newLine, stdout)}`);
|
|
188
188
|
}
|
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.
|
|
5
|
+
"version": "5.6.0-beta",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
"javascript"
|
|
14
14
|
],
|
|
15
15
|
"bugs": {
|
|
16
|
-
"url": "https://github.com/
|
|
16
|
+
"url": "https://github.com/microsoft/TypeScript/issues"
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
19
19
|
"type": "git",
|
|
20
|
-
"url": "https://github.com/
|
|
20
|
+
"url": "https://github.com/microsoft/TypeScript.git"
|
|
21
21
|
},
|
|
22
22
|
"main": "./lib/typescript.js",
|
|
23
23
|
"typings": "./lib/typescript.d.ts",
|
|
@@ -39,45 +39,47 @@
|
|
|
39
39
|
"!**/.gitattributes"
|
|
40
40
|
],
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@dprint/formatter": "^0.
|
|
43
|
-
"@dprint/typescript": "0.91.
|
|
42
|
+
"@dprint/formatter": "^0.4.1",
|
|
43
|
+
"@dprint/typescript": "0.91.4",
|
|
44
44
|
"@esfx/canceltoken": "^1.0.0",
|
|
45
|
-
"@
|
|
45
|
+
"@eslint/js": "^8.57.0",
|
|
46
|
+
"@octokit/rest": "^21.0.1",
|
|
46
47
|
"@types/chai": "^4.3.16",
|
|
47
|
-
"@types/
|
|
48
|
+
"@types/diff": "^5.2.1",
|
|
48
49
|
"@types/minimist": "^1.2.5",
|
|
49
|
-
"@types/mocha": "^10.0.
|
|
50
|
+
"@types/mocha": "^10.0.7",
|
|
50
51
|
"@types/ms": "^0.7.34",
|
|
51
52
|
"@types/node": "latest",
|
|
52
53
|
"@types/source-map-support": "^0.5.10",
|
|
53
|
-
"@types/which": "^3.0.
|
|
54
|
-
"@typescript-eslint/
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"azure-devops-node-api": "^13.0.0",
|
|
58
|
-
"c8": "^9.1.0",
|
|
54
|
+
"@types/which": "^3.0.4",
|
|
55
|
+
"@typescript-eslint/utils": "^7.17.0",
|
|
56
|
+
"azure-devops-node-api": "^14.0.1",
|
|
57
|
+
"c8": "^10.1.2",
|
|
59
58
|
"chai": "^4.4.1",
|
|
60
59
|
"chalk": "^4.1.2",
|
|
61
60
|
"chokidar": "^3.6.0",
|
|
62
61
|
"diff": "^5.2.0",
|
|
63
|
-
"dprint": "^0.
|
|
64
|
-
"esbuild": "^0.
|
|
62
|
+
"dprint": "^0.47.2",
|
|
63
|
+
"esbuild": "^0.23.0",
|
|
65
64
|
"eslint": "^8.57.0",
|
|
66
65
|
"eslint-formatter-autolinkable-stylish": "^1.3.0",
|
|
67
|
-
"eslint-plugin-local": "^4.2.2",
|
|
68
66
|
"fast-xml-parser": "^4.4.0",
|
|
69
|
-
"glob": "^10.4.
|
|
70
|
-
"
|
|
71
|
-
"
|
|
67
|
+
"glob": "^10.4.5",
|
|
68
|
+
"globals": "^13.24.0",
|
|
69
|
+
"hereby": "^1.9.0",
|
|
70
|
+
"jsonc-parser": "^3.3.1",
|
|
71
|
+
"knip": "^5.26.0",
|
|
72
72
|
"minimist": "^1.2.8",
|
|
73
|
-
"mocha": "^10.
|
|
73
|
+
"mocha": "^10.7.0",
|
|
74
74
|
"mocha-fivemat-progress-reporter": "^0.1.0",
|
|
75
|
+
"monocart-coverage-reports": "^2.9.3",
|
|
75
76
|
"ms": "^2.1.3",
|
|
76
77
|
"node-fetch": "^3.3.2",
|
|
77
|
-
"playwright": "^1.
|
|
78
|
+
"playwright": "^1.45.3",
|
|
78
79
|
"source-map-support": "^0.5.21",
|
|
79
|
-
"tslib": "^2.6.
|
|
80
|
-
"typescript": "^5.4
|
|
80
|
+
"tslib": "^2.6.3",
|
|
81
|
+
"typescript": "^5.5.4",
|
|
82
|
+
"typescript-eslint": "^7.17.0",
|
|
81
83
|
"which": "^3.0.1"
|
|
82
84
|
},
|
|
83
85
|
"overrides": {
|
|
@@ -93,6 +95,7 @@
|
|
|
93
95
|
"clean": "hereby clean",
|
|
94
96
|
"gulp": "hereby",
|
|
95
97
|
"lint": "hereby lint",
|
|
98
|
+
"knip": "hereby knip",
|
|
96
99
|
"format": "dprint fmt",
|
|
97
100
|
"setup-hooks": "node scripts/link-hooks.mjs"
|
|
98
101
|
},
|
|
@@ -102,7 +105,6 @@
|
|
|
102
105
|
"path": false,
|
|
103
106
|
"crypto": false,
|
|
104
107
|
"buffer": false,
|
|
105
|
-
"@microsoft/typescript-etw": false,
|
|
106
108
|
"source-map-support": false,
|
|
107
109
|
"inspector": false,
|
|
108
110
|
"perf_hooks": false
|
|
@@ -112,5 +114,5 @@
|
|
|
112
114
|
"node": "20.1.0",
|
|
113
115
|
"npm": "8.19.4"
|
|
114
116
|
},
|
|
115
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "b4732bdd6199ec353ec0873f334515f391d80d3b"
|
|
116
118
|
}
|