@typescript-deploys/pr-build 5.7.0-pr-59767-2 → 5.7.0-pr-59860-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/lib/cs/diagnosticMessages.generated.json +4 -0
- package/lib/de/diagnosticMessages.generated.json +4 -0
- package/lib/es/diagnosticMessages.generated.json +4 -0
- package/lib/fr/diagnosticMessages.generated.json +4 -0
- package/lib/it/diagnosticMessages.generated.json +4 -0
- package/lib/ja/diagnosticMessages.generated.json +4 -0
- package/lib/ko/diagnosticMessages.generated.json +4 -0
- package/lib/lib.esnext.array.d.ts +1 -1
- package/lib/pl/diagnosticMessages.generated.json +4 -0
- package/lib/pt-br/diagnosticMessages.generated.json +4 -0
- package/lib/ru/diagnosticMessages.generated.json +4 -0
- package/lib/tr/diagnosticMessages.generated.json +4 -0
- package/lib/tsc.js +484 -186
- package/lib/typescript.d.ts +9 -5
- package/lib/typescript.js +640 -195
- package/lib/zh-cn/diagnosticMessages.generated.json +4 -0
- package/lib/zh-tw/diagnosticMessages.generated.json +4 -0
- package/package.json +16 -16
|
@@ -179,6 +179,8 @@
|
|
|
179
179
|
"Add_override_modifier_95160": "添加 \"override\" 修饰符",
|
|
180
180
|
"Add_parameter_name_90034": "添加参数名称",
|
|
181
181
|
"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "将限定符添加到匹配成员名称的所有未解析变量",
|
|
182
|
+
"Add_resolution_mode_import_attribute_95196": "添加 \"resolution-mode\" 导入属性",
|
|
183
|
+
"Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197": "向所有需要 \"resolution-mode\" 导入属性的仅类型导入添加该属性",
|
|
182
184
|
"Add_return_type_0_90063": "添加返回类型“{0}”",
|
|
183
185
|
"Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035": "将 satisfies 和类型断言添加到此表达式 (satisfies T as T) 以使类型显式。",
|
|
184
186
|
"Add_satisfies_and_an_inline_type_assertion_with_0_90068": "使用“{0}”添加 satisfies 和内联类型断言",
|
|
@@ -1748,6 +1750,7 @@
|
|
|
1748
1750
|
"Type_expected_1110": "应为类型。",
|
|
1749
1751
|
"Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "类型导入断言应恰好有一个键 - \"resolution-mode\" - 值为 \"import\" 或 \"require\"。",
|
|
1750
1752
|
"Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464": "类型导入属性应只有一个键 \"resolution-mode\",值为 \"import\" 或 \"require\"。",
|
|
1753
|
+
"Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542": "从 CommonJS 模块导入 ECMAScript 模块的类型导入必须具有 \"resolution-mode\" 属性。",
|
|
1751
1754
|
"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589": "类型实例化过深,且可能无限。",
|
|
1752
1755
|
"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062": "类型在其自身的 \"then\" 方法的 fulfillment 回调中被直接或间接引用。",
|
|
1753
1756
|
"Type_library_referenced_via_0_from_file_1_1402": "通过 \"{0}\" 从文件 \"{1}\" 引用了库类型",
|
|
@@ -1758,6 +1761,7 @@
|
|
|
1758
1761
|
"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322": "\"yield*\" 操作数的迭代元素的类型必须是有效承诺,或不得包含可调用的 \"then\" 成员。",
|
|
1759
1762
|
"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615": "属性“{0}”的类型在已映射的类型“{1}”中循环引用其自身。",
|
|
1760
1763
|
"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321": "异步生成器中 \"yield\" 操作数的类型必须是有效承诺,或不得包含可调用的 \"then\" 成员。",
|
|
1764
|
+
"Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541": "从 CommonJS 模块导入 ECMAScript 模块的仅类型导入必须具有 \"resolution-mode\" 属性。",
|
|
1761
1765
|
"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038": "此导入产生的类型。无法调用或构造命名空间样式的导入,这类导入将在运行时导致失败。请考虑改为使用默认导入或此处需要的导入。",
|
|
1762
1766
|
"Type_parameter_0_has_a_circular_constraint_2313": "类型参数“{0}”具有循环约束。",
|
|
1763
1767
|
"Type_parameter_0_has_a_circular_default_2716": "类型参数“{0}”具有循环默认值。",
|
|
@@ -179,6 +179,8 @@
|
|
|
179
179
|
"Add_override_modifier_95160": "新增 'override' 修飾元",
|
|
180
180
|
"Add_parameter_name_90034": "新增參數名稱",
|
|
181
181
|
"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "對所有比對成員名稱的未解析變數新增限定詞",
|
|
182
|
+
"Add_resolution_mode_import_attribute_95196": "新增 'resolution-mode' 匯入屬性",
|
|
183
|
+
"Add_resolution_mode_import_attribute_to_all_type_only_imports_that_need_it_95197": "將 'resolution-mode' 匯入屬性新增至所有需要該屬性的僅限類型匯入",
|
|
182
184
|
"Add_return_type_0_90063": "新增傳回類型 '{0}'",
|
|
183
185
|
"Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035": "在此運算式中新增 satisfies 和類型判斷提示 (將 T 視為 T),使類型明確顯示。",
|
|
184
186
|
"Add_satisfies_and_an_inline_type_assertion_with_0_90068": "新增 satisfies 和具有 '{0}' 的內嵌類型判斷提示",
|
|
@@ -1748,6 +1750,7 @@
|
|
|
1748
1750
|
"Type_expected_1110": "必須是類型。",
|
|
1749
1751
|
"Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "輸入匯入判斷提示應該只有一個索引鍵 - 'resolution-mode' - 值為 'import' 或 'require'。",
|
|
1750
1752
|
"Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464": "型別匯入屬性應只有一個索引鍵 'resolution-mode',且值為 'import' 或 'require'。",
|
|
1753
|
+
"Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542": "從 CommonJS 模組匯入 ECMAScript 模組的類型必須有 'resolution-mode' 屬性。",
|
|
1751
1754
|
"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589": "類型具現化過深,可能會有無限深度。",
|
|
1752
1755
|
"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062": "類型在其本身 'then' 方法的完成回撥中直接或間接受到參考。",
|
|
1753
1756
|
"Type_library_referenced_via_0_from_file_1_1402": "透過 '{0}' 從檔案 '{1}' 參考的型別程式庫",
|
|
@@ -1758,6 +1761,7 @@
|
|
|
1758
1761
|
"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322": "'yield*' 運算元的反覆項目類型必須是有效的 Promise,或不得包含可呼叫的 'then' 成員。",
|
|
1759
1762
|
"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615": "屬性 '{0}' 的類型在對應的類型 '{1}' 中會循環參考自己。",
|
|
1760
1763
|
"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321": "非同步產生器中的 'yield' 運算元類型必須是有效的 Promise,或不得包含可呼叫的 'then' 成員。",
|
|
1764
|
+
"Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541": "從 CommonJS 模組進行僅限類型匯入 ECMAScript 模組時,必須有 'resolution-mode' 屬性。",
|
|
1761
1765
|
"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038": "類型源自此匯入。無法呼叫或建構命名空間樣式的匯入,而且可能會在執行階段導致失敗。請考慮改用預設匯入或於此處匯入 require。",
|
|
1762
1766
|
"Type_parameter_0_has_a_circular_constraint_2313": "類型參數 '{0}' 具有循環條件約束。",
|
|
1763
1767
|
"Type_parameter_0_has_a_circular_default_2716": "型別參數 '{0}' 包含循環的預設值。",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@typescript-deploys/pr-build",
|
|
3
3
|
"author": "Microsoft Corp.",
|
|
4
4
|
"homepage": "https://www.typescriptlang.org/",
|
|
5
|
-
"version": "5.7.0-pr-
|
|
5
|
+
"version": "5.7.0-pr-59860-2",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -40,21 +40,21 @@
|
|
|
40
40
|
],
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@dprint/formatter": "^0.4.1",
|
|
43
|
-
"@dprint/typescript": "0.91.
|
|
43
|
+
"@dprint/typescript": "0.91.7",
|
|
44
44
|
"@esfx/canceltoken": "^1.0.0",
|
|
45
|
-
"@eslint/js": "^9.9.
|
|
46
|
-
"@octokit/rest": "^21.0.
|
|
47
|
-
"@types/chai": "^4.3.
|
|
48
|
-
"@types/diff": "^5.2.
|
|
45
|
+
"@eslint/js": "^9.9.1",
|
|
46
|
+
"@octokit/rest": "^21.0.2",
|
|
47
|
+
"@types/chai": "^4.3.19",
|
|
48
|
+
"@types/diff": "^5.2.2",
|
|
49
49
|
"@types/minimist": "^1.2.5",
|
|
50
50
|
"@types/mocha": "^10.0.7",
|
|
51
51
|
"@types/ms": "^0.7.34",
|
|
52
52
|
"@types/node": "latest",
|
|
53
53
|
"@types/source-map-support": "^0.5.10",
|
|
54
54
|
"@types/which": "^3.0.4",
|
|
55
|
-
"@typescript-eslint/rule-tester": "^8.
|
|
56
|
-
"@typescript-eslint/type-utils": "^8.
|
|
57
|
-
"@typescript-eslint/utils": "^8.
|
|
55
|
+
"@typescript-eslint/rule-tester": "^8.3.0",
|
|
56
|
+
"@typescript-eslint/type-utils": "^8.3.0",
|
|
57
|
+
"@typescript-eslint/utils": "^8.3.0",
|
|
58
58
|
"azure-devops-node-api": "^14.0.2",
|
|
59
59
|
"c8": "^10.1.2",
|
|
60
60
|
"chai": "^4.5.0",
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"chokidar": "^3.6.0",
|
|
63
63
|
"diff": "^5.2.0",
|
|
64
64
|
"dprint": "^0.47.2",
|
|
65
|
-
"esbuild": "^0.23.
|
|
66
|
-
"eslint": "^9.9.
|
|
65
|
+
"esbuild": "^0.23.1",
|
|
66
|
+
"eslint": "^9.9.1",
|
|
67
67
|
"eslint-formatter-autolinkable-stylish": "^1.4.0",
|
|
68
68
|
"eslint-plugin-regexp": "^2.6.0",
|
|
69
69
|
"fast-xml-parser": "^4.4.1",
|
|
@@ -71,18 +71,18 @@
|
|
|
71
71
|
"globals": "^15.9.0",
|
|
72
72
|
"hereby": "^1.9.0",
|
|
73
73
|
"jsonc-parser": "^3.3.1",
|
|
74
|
-
"knip": "^5.27.
|
|
74
|
+
"knip": "^5.27.5",
|
|
75
75
|
"minimist": "^1.2.8",
|
|
76
76
|
"mocha": "^10.7.3",
|
|
77
77
|
"mocha-fivemat-progress-reporter": "^0.1.0",
|
|
78
|
-
"monocart-coverage-reports": "^2.10.
|
|
78
|
+
"monocart-coverage-reports": "^2.10.3",
|
|
79
79
|
"ms": "^2.1.3",
|
|
80
80
|
"node-fetch": "^3.3.2",
|
|
81
|
-
"playwright": "^1.46.
|
|
81
|
+
"playwright": "^1.46.1",
|
|
82
82
|
"source-map-support": "^0.5.21",
|
|
83
|
-
"tslib": "^2.
|
|
83
|
+
"tslib": "^2.7.0",
|
|
84
84
|
"typescript": "^5.5.4",
|
|
85
|
-
"typescript-eslint": "^8.
|
|
85
|
+
"typescript-eslint": "^8.3.0",
|
|
86
86
|
"which": "^3.0.1"
|
|
87
87
|
},
|
|
88
88
|
"overrides": {
|