typescript 5.3.3 → 5.4.2
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 +1 -1
- package/lib/cancellationToken.js +0 -1
- package/lib/cs/diagnosticMessages.generated.json +1 -1
- package/lib/de/diagnosticMessages.generated.json +1 -1
- package/lib/es/diagnosticMessages.generated.json +1 -1
- package/lib/fr/diagnosticMessages.generated.json +1 -1
- package/lib/it/diagnosticMessages.generated.json +1 -1
- package/lib/ja/diagnosticMessages.generated.json +1 -1
- package/lib/ko/diagnosticMessages.generated.json +1 -1
- package/lib/lib.dom.asynciterable.d.ts +28 -0
- package/lib/lib.dom.d.ts +363 -153
- package/lib/lib.dom.iterable.d.ts +35 -28
- package/lib/lib.es2016.d.ts +1 -0
- package/lib/lib.es2016.intl.d.ts +31 -0
- package/lib/lib.es2018.full.d.ts +1 -0
- package/lib/lib.es2018.intl.d.ts +6 -5
- package/lib/lib.es2019.full.d.ts +1 -0
- package/lib/lib.es2020.full.d.ts +1 -0
- package/lib/lib.es2020.intl.d.ts +36 -16
- package/lib/lib.es2020.string.d.ts +15 -1
- package/lib/lib.es2021.full.d.ts +1 -0
- package/lib/lib.es2021.intl.d.ts +2 -2
- package/lib/lib.es2022.full.d.ts +1 -0
- package/lib/lib.es2022.intl.d.ts +2 -2
- package/lib/lib.es2023.full.d.ts +1 -0
- package/lib/lib.es5.d.ts +21 -6
- package/lib/lib.esnext.collection.d.ts +29 -0
- package/lib/lib.esnext.d.ts +3 -0
- package/lib/lib.esnext.disposable.d.ts +1 -1
- package/lib/lib.esnext.full.d.ts +1 -0
- package/lib/lib.esnext.object.d.ts +29 -0
- package/lib/lib.esnext.promise.d.ts +35 -0
- package/lib/lib.webworker.asynciterable.d.ts +28 -0
- package/lib/lib.webworker.d.ts +202 -111
- package/lib/lib.webworker.iterable.d.ts +29 -28
- package/lib/pl/diagnosticMessages.generated.json +1 -1
- package/lib/pt-br/diagnosticMessages.generated.json +1 -1
- package/lib/ru/diagnosticMessages.generated.json +1 -1
- package/lib/tr/diagnosticMessages.generated.json +1 -1
- package/lib/tsc.js +2685 -1330
- package/lib/tsserver.js +4611 -2423
- package/lib/typescript.d.ts +95 -30
- package/lib/typescript.js +4568 -2219
- package/lib/typingsInstaller.js +501 -218
- package/lib/zh-cn/diagnosticMessages.generated.json +1 -1
- package/lib/zh-tw/diagnosticMessages.generated.json +1 -1
- package/package.json +28 -29
|
@@ -1628,7 +1628,7 @@
|
|
|
1628
1628
|
"Unexpected_token_1012": "意外的标记。",
|
|
1629
1629
|
"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068": "意外的标记。应为构造函数、方法、访问器或属性。",
|
|
1630
1630
|
"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069": "意外的标记。类型参数名不应包含大括号。",
|
|
1631
|
-
"Unexpected_token_Did_you_mean_or_gt_1382": "意外的标记。你是想使用 `{'>'}` 还是
|
|
1631
|
+
"Unexpected_token_Did_you_mean_or_gt_1382": "意外的标记。你是想使用 `{'>'}` 还是 `>`?",
|
|
1632
1632
|
"Unexpected_token_Did_you_mean_or_rbrace_1381": "意外的标记。你是想使用 `{'}'}` 还是 `}`?",
|
|
1633
1633
|
"Unexpected_token_expected_1179": "意外标记。应为 \"{\"。",
|
|
1634
1634
|
"Unknown_build_option_0_5072": "未知的生成选项 \"{0}\"。",
|
|
@@ -1628,7 +1628,7 @@
|
|
|
1628
1628
|
"Unexpected_token_1012": "未預期的語彙基元。",
|
|
1629
1629
|
"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068": "未預期的語彙基元。必須是建構函式、方法、存取子或屬性。",
|
|
1630
1630
|
"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069": "權杖錯誤。類型參數名稱不應有大括號。",
|
|
1631
|
-
"Unexpected_token_Did_you_mean_or_gt_1382": "未預期的語彙基元。您是指 `{'>'}` 或
|
|
1631
|
+
"Unexpected_token_Did_you_mean_or_gt_1382": "未預期的語彙基元。您是指 `{'>'}` 或 `>` 嗎?",
|
|
1632
1632
|
"Unexpected_token_Did_you_mean_or_rbrace_1381": "未預期的語彙基元。您是指 `{'}'}` 或 `}` 嗎?",
|
|
1633
1633
|
"Unexpected_token_expected_1179": "未預期的語彙基元。必須是 '{'。",
|
|
1634
1634
|
"Unknown_build_option_0_5072": "未知的組建選項 '{0}'。",
|
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.4.2",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -40,46 +40,46 @@
|
|
|
40
40
|
],
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@esfx/canceltoken": "^1.0.0",
|
|
43
|
-
"@octokit/rest": "^
|
|
44
|
-
"@types/chai": "^4.3.
|
|
43
|
+
"@octokit/rest": "^20.0.2",
|
|
44
|
+
"@types/chai": "^4.3.11",
|
|
45
45
|
"@types/glob": "^8.1.0",
|
|
46
|
-
"@types/microsoft__typescript-etw": "^0.1.
|
|
47
|
-
"@types/minimist": "^1.2.
|
|
48
|
-
"@types/mocha": "^10.0.
|
|
49
|
-
"@types/ms": "^0.7.
|
|
46
|
+
"@types/microsoft__typescript-etw": "^0.1.3",
|
|
47
|
+
"@types/minimist": "^1.2.5",
|
|
48
|
+
"@types/mocha": "^10.0.6",
|
|
49
|
+
"@types/ms": "^0.7.34",
|
|
50
50
|
"@types/node": "latest",
|
|
51
|
-
"@types/source-map-support": "^0.5.
|
|
52
|
-
"@types/which": "^
|
|
53
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
54
|
-
"@typescript-eslint/parser": "^6.
|
|
55
|
-
"@typescript-eslint/utils": "^6.
|
|
56
|
-
"azure-devops-node-api": "^12.
|
|
57
|
-
"c8": "^
|
|
58
|
-
"chai": "^4.
|
|
51
|
+
"@types/source-map-support": "^0.5.10",
|
|
52
|
+
"@types/which": "^3.0.3",
|
|
53
|
+
"@typescript-eslint/eslint-plugin": "^6.19.0",
|
|
54
|
+
"@typescript-eslint/parser": "^6.19.0",
|
|
55
|
+
"@typescript-eslint/utils": "^6.19.0",
|
|
56
|
+
"azure-devops-node-api": "^12.3.0",
|
|
57
|
+
"c8": "^9.1.0",
|
|
58
|
+
"chai": "^4.4.1",
|
|
59
59
|
"chalk": "^4.1.2",
|
|
60
60
|
"chokidar": "^3.5.3",
|
|
61
61
|
"diff": "^5.1.0",
|
|
62
|
-
"dprint": "^0.
|
|
63
|
-
"esbuild": "^0.
|
|
64
|
-
"eslint": "^8.
|
|
65
|
-
"eslint-formatter-autolinkable-stylish": "^1.
|
|
66
|
-
"eslint-plugin-local": "^1.0
|
|
62
|
+
"dprint": "^0.45.0",
|
|
63
|
+
"esbuild": "^0.20.0",
|
|
64
|
+
"eslint": "^8.56.0",
|
|
65
|
+
"eslint-formatter-autolinkable-stylish": "^1.3.0",
|
|
66
|
+
"eslint-plugin-local": "^3.1.0",
|
|
67
67
|
"eslint-plugin-no-null": "^1.0.2",
|
|
68
68
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
69
|
-
"fast-xml-parser": "^4.
|
|
70
|
-
"glob": "^
|
|
71
|
-
"hereby": "^1.
|
|
69
|
+
"fast-xml-parser": "^4.3.3",
|
|
70
|
+
"glob": "^10.3.10",
|
|
71
|
+
"hereby": "^1.8.9",
|
|
72
72
|
"jsonc-parser": "^3.2.0",
|
|
73
73
|
"minimist": "^1.2.8",
|
|
74
74
|
"mocha": "^10.2.0",
|
|
75
75
|
"mocha-fivemat-progress-reporter": "^0.1.0",
|
|
76
76
|
"ms": "^2.1.3",
|
|
77
|
-
"node-fetch": "^3.2
|
|
78
|
-
"playwright": "^1.
|
|
77
|
+
"node-fetch": "^3.3.2",
|
|
78
|
+
"playwright": "^1.41.0",
|
|
79
79
|
"source-map-support": "^0.5.21",
|
|
80
|
-
"tslib": "^2.
|
|
81
|
-
"typescript": "
|
|
82
|
-
"which": "^
|
|
80
|
+
"tslib": "^2.6.2",
|
|
81
|
+
"typescript": "5.4.0-dev.20240119",
|
|
82
|
+
"which": "^3.0.1"
|
|
83
83
|
},
|
|
84
84
|
"overrides": {
|
|
85
85
|
"typescript@*": "$typescript"
|
|
@@ -91,7 +91,6 @@
|
|
|
91
91
|
"build:compiler": "hereby local",
|
|
92
92
|
"build:tests": "hereby tests",
|
|
93
93
|
"build:tests:notypecheck": "hereby tests --no-typecheck",
|
|
94
|
-
"start": "node lib/tsc",
|
|
95
94
|
"clean": "hereby clean",
|
|
96
95
|
"gulp": "hereby",
|
|
97
96
|
"lint": "hereby lint",
|