typescript 4.9.1-beta → 4.9.2-rc

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.
@@ -660,6 +660,8 @@
660
660
  "Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219": "对修饰器的实验支持功能在将来的版本中可能更改。在 \"tsconfig\" 或 \"jsconfig\" 中设置 \"experimentalDecorators\" 选项以删除此警告。",
661
661
  "Explicitly_specified_module_resolution_kind_Colon_0_6087": "显示指定了模块解析类型:“{0}”。",
662
662
  "Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791": "除非 \"target\" 选项设置为 \"es2016\" 或更高版本,否则不能对 \"bigint\" 值执行求幂运算。",
663
+ "Export_0_from_module_1_90059": "从模块“{1}”导出“{0}”",
664
+ "Export_all_referenced_locals_90060": "导出所有引用的局部变量",
663
665
  "Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203": "面向 ECMAScript 模块时,不能使用导出分配。请考虑改用 \"export default\" 或另一种模块格式。",
664
666
  "Export_assignment_is_not_supported_when_module_flag_is_system_1218": "当 \"--module\" 标志是 \"system\" 时不支持导出分配。",
665
667
  "Export_declaration_conflicts_with_exported_declaration_of_0_2484": "导出声明与“{0}”的导出声明冲突。",
@@ -908,6 +910,7 @@
908
910
  "Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650": "使 keyof 仅返回字符串,而不是字符串、数字或符号。旧版选项。",
909
911
  "Make_super_call_the_first_statement_in_the_constructor_90002": "在构造函数中,使 \"super()\" 调用第一个语句",
910
912
  "Mapped_object_type_implicitly_has_an_any_template_type_7039": "映射的对象类型隐式地含有 \"any\" 模板类型。",
913
+ "Matched_0_condition_1_6403": "匹配的“{0}”条件“{1}”。",
911
914
  "Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457": "默认情况下匹配包括模式 “**/*”",
912
915
  "Matched_by_include_pattern_0_in_1_1407": "通过在 \"{1}\" 中的包含模式 \"{0}\" 匹配",
913
916
  "Member_0_implicitly_has_an_1_type_7008": "成员“{0}”隐式包含类型“{1}”。",
@@ -1220,6 +1223,7 @@
1220
1223
  "Resolution_for_module_0_was_found_in_cache_from_location_1_6147": "在位置“{1}”的缓存中找到模块“{0}”的解析。",
1221
1224
  "Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241": "在位置“{1}”的缓存中找到类型引用指令“{0}”的解析。",
1222
1225
  "Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195": "只将 \"keyof\" 解析为字符串值的属性名称(不含数字或符号)。",
1226
+ "Resolving_in_0_mode_with_conditions_1_6402": "正在 {0} 模式下解析,条件为 {1}。",
1223
1227
  "Resolving_module_0_from_1_6086": "======== 正在从“{1}”解析模块“{0}”。========",
1224
1228
  "Resolving_module_name_0_relative_to_base_url_1_2_6094": "正在相对于基 URL“{1}”-“{2}”解析模块名“{0}”。",
1225
1229
  "Resolving_real_path_for_0_result_1_6130": "正在解析“{0}”的真实路径,结果为“{1}”。",
@@ -1276,6 +1280,7 @@
1276
1280
  "Root_file_specified_for_compilation_1427": "为编译指定的根文件",
1277
1281
  "STRATEGY_6039": "策略",
1278
1282
  "Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642": "保存 .tsbuildinfo 文件以允许项目增量编译。",
1283
+ "Saw_non_matching_condition_0_6405": "看到了不匹配的条件“{0}”。",
1279
1284
  "Scoped_package_detected_looking_in_0_6182": "检测到范围包,请在“{0}”中查看",
1280
1285
  "Selection_is_not_a_valid_statement_or_statements_95155": "所选内容不是有效的语句",
1281
1286
  "Selection_is_not_a_valid_type_node_95133": "所选内容不是有效的类型节点",
@@ -1654,6 +1659,7 @@
1654
1659
  "Use_element_access_for_0_95145": "对“{0}”使用元素访问",
1655
1660
  "Use_element_access_for_all_undeclared_properties_95146": "对所有未声明的属性使用元素访问。",
1656
1661
  "Use_synthetic_default_member_95016": "使用综合的“默认”成员。",
1662
+ "Using_0_subpath_1_with_target_2_6404": "将“{0}”子路径“{1}”与目标“{2}”一起使用",
1657
1663
  "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "仅 ECMAScript 5 和更高版本支持在 \"for...of\" 语句中使用字符串。",
1658
1664
  "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "使用 --build,-b 将使 tsc 的行为更像生成业务流程协调程序,而非编译器。这可用于触发生成复合项目,你可以在 {0} 详细了解这些项目",
1659
1665
  "Using_compiler_options_of_project_reference_redirect_0_6215": "使用项目引用重定向“{0}”的编译器选项。",
@@ -660,6 +660,8 @@
660
660
  "Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219": "裝飾項目的實驗性支援是未來版本中可能會變更的功能。在 'tsconfig' 或 'jsconfig' 中設定 'experimentalDecorators' 選項可移除此警告。",
661
661
  "Explicitly_specified_module_resolution_kind_Colon_0_6087": "明確指定的模組解析種類: '{0}'。",
662
662
  "Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791": "'target' 選項必須設定為 'es2016' 或更新版本,才可以對 'bigint' 值執行乘冪運算。",
663
+ "Export_0_from_module_1_90059": "從模組 '{1}' 匯出 '{0}'",
664
+ "Export_all_referenced_locals_90060": "匯出所有參考的本機",
663
665
  "Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203": "當目標為 ECMAScript 模組時,無法使用匯出指派。請考慮改用 'export default' 或其他模組格式。",
664
666
  "Export_assignment_is_not_supported_when_module_flag_is_system_1218": "當 '--module' 旗標為 'system' 時,不支援匯出指派。",
665
667
  "Export_declaration_conflicts_with_exported_declaration_of_0_2484": "匯出宣告與匯出的 '{0}' 宣告相衝突。",
@@ -908,6 +910,7 @@
908
910
  "Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650": "僅讓 keyof 傳回字串,而不是單一字串、數字或符號。舊版選項。",
909
911
  "Make_super_call_the_first_statement_in_the_constructor_90002": "使 'super()' 呼叫成為建構函式中的第一個陳述式",
910
912
  "Mapped_object_type_implicitly_has_an_any_template_type_7039": "對應的物件類型隱含具有 'any' 範本類型。",
913
+ "Matched_0_condition_1_6403": "符合 '{0}' 條件 '{1}'。",
911
914
  "Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457": "依預設比對包含模式 '**/*'",
912
915
  "Matched_by_include_pattern_0_in_1_1407": "依 '{1}' 中的包含模式 '{0}' 比對",
913
916
  "Member_0_implicitly_has_an_1_type_7008": "成員 '{0}' 隱含了 '{1}' 類型。",
@@ -1220,6 +1223,7 @@
1220
1223
  "Resolution_for_module_0_was_found_in_cache_from_location_1_6147": "從位置 '{1}' 的快取中找到模組 '{0}' 的解析。",
1221
1224
  "Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241": "從位置 '{0}' 的快取記憶體找到類型參照指示詞 '{1}'。",
1222
1225
  "Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195": "只將 'keyof' 解析為字串值的屬性名稱 (無任何數字或符號)。",
1226
+ "Resolving_in_0_mode_with_conditions_1_6402": "正在以條件 {1} 在 {0} 模式中解析。",
1223
1227
  "Resolving_module_0_from_1_6086": "======== 正在從 '{1}' 解析模組 '{0}'。========",
1224
1228
  "Resolving_module_name_0_relative_to_base_url_1_2_6094": "正在解析與基底 URL '{1}' 相對的模組名稱 '{0}' - '{2}'。",
1225
1229
  "Resolving_real_path_for_0_result_1_6130": "正在解析 '{0}' 的真實路徑,結果 '{1}'。",
@@ -1276,6 +1280,7 @@
1276
1280
  "Root_file_specified_for_compilation_1427": "為編譯指定的根檔案",
1277
1281
  "STRATEGY_6039": "策略",
1278
1282
  "Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642": "儲存 .tsbuildinfo 檔案,以允許對專案進行累加編譯。",
1283
+ "Saw_non_matching_condition_0_6405": "儲存不相符條件 '{0}'。",
1279
1284
  "Scoped_package_detected_looking_in_0_6182": "偵測到範圍套件,正於 '{0}' 尋找",
1280
1285
  "Selection_is_not_a_valid_statement_or_statements_95155": "選取項目非有效的一或多個陳述式",
1281
1286
  "Selection_is_not_a_valid_type_node_95133": "選取範圍不是有效的類型節點",
@@ -1654,6 +1659,7 @@
1654
1659
  "Use_element_access_for_0_95145": "對 '{0}' 使用元素存取",
1655
1660
  "Use_element_access_for_all_undeclared_properties_95146": "對所有未宣告的屬性使用元素存取。",
1656
1661
  "Use_synthetic_default_member_95016": "使用綜合 'default' 成員。",
1662
+ "Using_0_subpath_1_with_target_2_6404": "使用 '{0}' 子路徑 '{1}' 與目標 '{2}'。",
1657
1663
  "Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "只有在 ECMAScript 5 及更高版本中,才可在 'for...of' 陳述式中使用字串。",
1658
1664
  "Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "使用 --build、-b 會讓 tsc 的行為較編譯器更像是建置協調器。這可用於觸發建置複合專案,您可以在以下位置深入了解: {0}",
1659
1665
  "Using_compiler_options_of_project_reference_redirect_0_6215": "正在使用專案參考重新導向 '{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": "4.9.1-beta",
5
+ "version": "4.9.2-rc",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -40,8 +40,8 @@
40
40
  ],
41
41
  "devDependencies": {
42
42
  "@octokit/rest": "latest",
43
- "@types/async": "latest",
44
43
  "@types/chai": "latest",
44
+ "@types/fancy-log": "^2.0.0",
45
45
  "@types/fs-extra": "^9.0.13",
46
46
  "@types/glob": "latest",
47
47
  "@types/gulp": "^4.0.9",
@@ -56,13 +56,12 @@
56
56
  "@types/mocha": "latest",
57
57
  "@types/ms": "latest",
58
58
  "@types/node": "latest",
59
- "@types/node-fetch": "^2.6.2",
60
59
  "@types/source-map-support": "latest",
60
+ "@types/which": "^2.0.1",
61
61
  "@types/xml2js": "^0.4.11",
62
62
  "@typescript-eslint/eslint-plugin": "^5.33.1",
63
63
  "@typescript-eslint/parser": "^5.33.1",
64
64
  "@typescript-eslint/utils": "^5.33.1",
65
- "async": "latest",
66
65
  "azure-devops-node-api": "^11.2.0",
67
66
  "chai": "latest",
68
67
  "chalk": "^4.1.2",
@@ -89,9 +88,9 @@
89
88
  "mocha": "latest",
90
89
  "mocha-fivemat-progress-reporter": "latest",
91
90
  "ms": "^2.1.3",
92
- "node-fetch": "^2.6.7",
91
+ "node-fetch": "^3.2.10",
93
92
  "source-map-support": "latest",
94
- "typescript": "^4.8.3",
93
+ "typescript": "^4.8.4",
95
94
  "vinyl": "latest",
96
95
  "which": "^2.0.2",
97
96
  "xml2js": "^0.4.23"
@@ -109,7 +108,7 @@
109
108
  "clean": "gulp clean",
110
109
  "gulp": "gulp",
111
110
  "lint": "gulp lint",
112
- "setup-hooks": "node scripts/link-hooks.js"
111
+ "setup-hooks": "node scripts/link-hooks.mjs"
113
112
  },
114
113
  "browser": {
115
114
  "fs": false,