typescript 4.8.4 → 4.9.3
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 +0 -53
- package/lib/cs/diagnosticMessages.generated.json +31 -6
- package/lib/de/diagnosticMessages.generated.json +31 -6
- package/lib/es/diagnosticMessages.generated.json +31 -6
- package/lib/fr/diagnosticMessages.generated.json +31 -6
- package/lib/it/diagnosticMessages.generated.json +31 -6
- package/lib/ja/diagnosticMessages.generated.json +31 -6
- package/lib/ko/diagnosticMessages.generated.json +31 -6
- package/lib/lib.dom.d.ts +308 -70
- package/lib/lib.dom.iterable.d.ts +6 -2
- package/lib/lib.es2015.promise.d.ts +9 -4
- package/lib/lib.es2015.proxy.d.ts +1 -1
- package/lib/lib.es2015.reflect.d.ts +25 -2
- package/lib/lib.es2015.symbol.wellknown.d.ts +3 -3
- package/lib/lib.es2019.d.ts +1 -0
- package/{CopyrightNotice.txt → lib/lib.es2019.intl.d.ts} +10 -0
- package/lib/lib.es2020.intl.d.ts +1 -1
- package/lib/lib.es5.d.ts +26 -13
- package/lib/lib.webworker.d.ts +266 -30
- package/lib/lib.webworker.iterable.d.ts +10 -2
- package/lib/pl/diagnosticMessages.generated.json +31 -6
- package/lib/protocol.d.ts +20 -5
- package/lib/pt-br/diagnosticMessages.generated.json +31 -6
- package/lib/ru/diagnosticMessages.generated.json +31 -6
- package/lib/tr/diagnosticMessages.generated.json +31 -6
- package/lib/tsc.js +7997 -6668
- package/lib/tsserver.js +11511 -9679
- package/lib/tsserverlibrary.d.ts +312 -266
- package/lib/tsserverlibrary.js +11508 -9860
- package/lib/typescript.d.ts +294 -260
- package/lib/typescript.js +11433 -9805
- package/lib/typescriptServices.d.ts +294 -260
- package/lib/typescriptServices.js +11433 -9805
- package/lib/typingsInstaller.js +8705 -7320
- package/lib/zh-cn/diagnosticMessages.generated.json +77 -52
- package/lib/zh-tw/diagnosticMessages.generated.json +31 -6
- package/package.json +29 -29
- package/AUTHORS.md +0 -481
- package/CODE_OF_CONDUCT.md +0 -1
- package/loc/lcl/CHS/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/CHS/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/CHS/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/CHS/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/CHS/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/CHS/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/CHT/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/CHT/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/CHT/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/CHT/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/CHT/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/CHT/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/CSY/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/CSY/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/CSY/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/CSY/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/CSY/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/CSY/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/DEU/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/DEU/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/DEU/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/DEU/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/DEU/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/DEU/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/ESN/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/ESN/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/ESN/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/ESN/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/ESN/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/ESN/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/FRA/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/FRA/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/FRA/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/FRA/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/FRA/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/FRA/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/ITA/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/ITA/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/ITA/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/ITA/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/ITA/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/ITA/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/JPN/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/JPN/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/JPN/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/JPN/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/JPN/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/JPN/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/KOR/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/KOR/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/KOR/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/KOR/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/KOR/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/KOR/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/PLK/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/PLK/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/PLK/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/PLK/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/PLK/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/PLK/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/PTB/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/PTB/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/PTB/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/PTB/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/PTB/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/PTB/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/RUS/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/RUS/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/RUS/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/RUS/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -126
- package/loc/lcl/RUS/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -867
- package/loc/lcl/RUS/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -180
- package/loc/lcl/TRK/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/TRK/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/TRK/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/TRK/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/TRK/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/TRK/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
|
@@ -186,6 +186,7 @@
|
|
|
186
186
|
"An_abstract_accessor_cannot_have_an_implementation_1318": "抽象存取子無法實作。",
|
|
187
187
|
"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010": "協助工具修飾元不可搭配私人識別碼使用。",
|
|
188
188
|
"An_accessor_cannot_have_type_parameters_1094": "存取子不得有類型參數。",
|
|
189
|
+
"An_accessor_property_cannot_be_declared_optional_1276": "無法將 'accessor' 屬性宣告為選擇性。",
|
|
189
190
|
"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234": "環境模組宣告只可出現在檔案的最上層。",
|
|
190
191
|
"An_argument_for_0_was_not_provided_6210": "未提供 '{0}' 的引數。",
|
|
191
192
|
"An_argument_matching_this_binding_pattern_was_not_provided_6211": "未提供符合此繫結模式的引數。",
|
|
@@ -382,7 +383,7 @@
|
|
|
382
383
|
"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720": "類別 '{0}' 不當實作類別 '{1}'。您是否要擴充 '{1}',並繼承其成員以成為子類別?",
|
|
383
384
|
"Class_0_incorrectly_implements_interface_1_2420": "類別 '{0}' 不正確地實作介面 '{1}'。",
|
|
384
385
|
"Class_0_used_before_its_declaration_2449": "類別 '{0}' 的位置在其宣告之前。",
|
|
385
|
-
"
|
|
386
|
+
"Class_constructor_may_not_be_a_generator_1368": "類別建構函式可能不是產生器。",
|
|
386
387
|
"Class_constructor_may_not_be_an_accessor_1341": "類別建構函式可能不是存取子。",
|
|
387
388
|
"Class_declaration_cannot_implement_overload_list_for_0_2813": "類別宣告無法為 '{0}' 實作多載清單。",
|
|
388
389
|
"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025": "類別宣告不能有一個以上的 `@augments` 或 `@extends` 標籤。",
|
|
@@ -430,6 +431,7 @@
|
|
|
430
431
|
"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352": "將類型 '{0}' 轉換為類型 '{1}' 可能會發生錯誤,原因是這兩個類型彼此並未充分重疊。如果是故意轉換的,請先將運算式轉換為 'unknown'。",
|
|
431
432
|
"Convert_0_to_1_in_0_95003": "將 '{0}' 轉換成 '{1} in {0}'",
|
|
432
433
|
"Convert_0_to_mapped_object_type_95055": "將 '{0}' 轉換為對應的物件類型",
|
|
434
|
+
"Convert_all_const_to_let_95102": "將所有 'const' 轉換為 'let'",
|
|
433
435
|
"Convert_all_constructor_functions_to_classes_95045": "將所有建構函式轉換為類別",
|
|
434
436
|
"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374": "將所有未作為值使用的匯入轉換為僅限類型的匯入",
|
|
435
437
|
"Convert_all_invalid_characters_to_HTML_entity_code_95101": "將所有無效字元轉換為 HTML 實體代碼",
|
|
@@ -658,6 +660,8 @@
|
|
|
658
660
|
"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219": "裝飾項目的實驗性支援是未來版本中可能會變更的功能。在 'tsconfig' 或 'jsconfig' 中設定 'experimentalDecorators' 選項可移除此警告。",
|
|
659
661
|
"Explicitly_specified_module_resolution_kind_Colon_0_6087": "明確指定的模組解析種類: '{0}'。",
|
|
660
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": "匯出所有參考的本機",
|
|
661
665
|
"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203": "當目標為 ECMAScript 模組時,無法使用匯出指派。請考慮改用 'export default' 或其他模組格式。",
|
|
662
666
|
"Export_assignment_is_not_supported_when_module_flag_is_system_1218": "當 '--module' 旗標為 'system' 時,不支援匯出指派。",
|
|
663
667
|
"Export_declaration_conflicts_with_exported_declaration_of_0_2484": "匯出宣告與匯出的 '{0}' 宣告相衝突。",
|
|
@@ -906,6 +910,7 @@
|
|
|
906
910
|
"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650": "僅讓 keyof 傳回字串,而不是單一字串、數字或符號。舊版選項。",
|
|
907
911
|
"Make_super_call_the_first_statement_in_the_constructor_90002": "使 'super()' 呼叫成為建構函式中的第一個陳述式",
|
|
908
912
|
"Mapped_object_type_implicitly_has_an_any_template_type_7039": "對應的物件類型隱含具有 'any' 範本類型。",
|
|
913
|
+
"Matched_0_condition_1_6403": "符合 '{0}' 條件 '{1}'。",
|
|
909
914
|
"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457": "依預設比對包含模式 '**/*'",
|
|
910
915
|
"Matched_by_include_pattern_0_in_1_1407": "依 '{1}' 中的包含模式 '{0}' 比對",
|
|
911
916
|
"Member_0_implicitly_has_an_1_type_7008": "成員 '{0}' 隱含了 '{1}' 類型。",
|
|
@@ -919,7 +924,7 @@
|
|
|
919
924
|
"Method_not_implemented_95158": "未實作方法。",
|
|
920
925
|
"Modifiers_cannot_appear_here_1184": "此處不得出現修飾元。",
|
|
921
926
|
"Module_0_can_only_be_default_imported_using_the_1_flag_1259": "模組 '{0}' 只能依預設使用 '{1}' 旗標匯入",
|
|
922
|
-
"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471": "
|
|
927
|
+
"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471": "無法使用此建構匯入模組 '{0}'。指定名稱只能解析成無法以 'require' 匯入的 ES 模組。請改為使用 ECMAScript 匯入。",
|
|
923
928
|
"Module_0_declares_1_locally_but_it_is_exported_as_2_2460": "模組 '{0}' 區域性地宣告 '{1}',但卻將該模組匯出為 '{2}'。",
|
|
924
929
|
"Module_0_declares_1_locally_but_it_is_not_exported_2459": "模組 '{0}' 區域性地宣告 '{1}',但並未匯出該模組。",
|
|
925
930
|
"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340": "模組 '{0}' 不是類型,但在此處卻作為類型使用。您是指 'typeof import('{0}')' 嗎?",
|
|
@@ -1103,6 +1108,7 @@
|
|
|
1103
1108
|
"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352": "因為輸出檔案 '{1}' 不存在,所以專案 '{0}' 已過期",
|
|
1104
1109
|
"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381": "因為專案 '{0}' 的輸出使用版本 '{1}' 產生而成,與目前的版本 '{2}' 不同,所以該專案已過期",
|
|
1105
1110
|
"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372": "因為專案 '{0}' 的相依性 '{1}' 輸出已變更,所以該專案已過期",
|
|
1111
|
+
"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401": "專案 '{0}' 已過期,因為讀取檔案 '{1}' 時發生錯誤",
|
|
1106
1112
|
"Project_0_is_up_to_date_6361": "專案 '{0}' 為最新狀態",
|
|
1107
1113
|
"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351": "因為最新的輸入 '{1}' 早於最舊的輸出 '{2}',所以專案 '{0}' 為最新狀態",
|
|
1108
1114
|
"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400": "專案 '{0}' 為最新狀態,但需要更新比輸入檔案還舊的輸出檔案時間戳記",
|
|
@@ -1110,6 +1116,7 @@
|
|
|
1110
1116
|
"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202": "專案參考不會形成循環圖。但偵測到循環: {0}",
|
|
1111
1117
|
"Projects_6255": "專案",
|
|
1112
1118
|
"Projects_in_this_build_Colon_0_6355": "此組建中的專案: {0}",
|
|
1119
|
+
"Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher_18045": "只有以 ECMAScript 2015 及更新版本為目標時,才可使用具有 'accessor' 修飾詞的屬性。",
|
|
1113
1120
|
"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267": "屬性 '{0}' 已標記為抽象,因此不得有初始設定式。",
|
|
1114
1121
|
"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111": "屬性 '{0}' 來自索引簽章,因此必須使用 ['{0}'] 存取。",
|
|
1115
1122
|
"Property_0_does_not_exist_on_type_1_2339": "類型 '{1}' 沒有屬性 '{0}'。",
|
|
@@ -1216,6 +1223,7 @@
|
|
|
1216
1223
|
"Resolution_for_module_0_was_found_in_cache_from_location_1_6147": "從位置 '{1}' 的快取中找到模組 '{0}' 的解析。",
|
|
1217
1224
|
"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241": "從位置 '{0}' 的快取記憶體找到類型參照指示詞 '{1}'。",
|
|
1218
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} 模式中解析。",
|
|
1219
1227
|
"Resolving_module_0_from_1_6086": "======== 正在從 '{1}' 解析模組 '{0}'。========",
|
|
1220
1228
|
"Resolving_module_name_0_relative_to_base_url_1_2_6094": "正在解析與基底 URL '{1}' 相對的模組名稱 '{0}' - '{2}'。",
|
|
1221
1229
|
"Resolving_real_path_for_0_result_1_6130": "正在解析 '{0}' 的真實路徑,結果 '{1}'。",
|
|
@@ -1272,6 +1280,7 @@
|
|
|
1272
1280
|
"Root_file_specified_for_compilation_1427": "為編譯指定的根檔案",
|
|
1273
1281
|
"STRATEGY_6039": "策略",
|
|
1274
1282
|
"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642": "儲存 .tsbuildinfo 檔案,以允許對專案進行累加編譯。",
|
|
1283
|
+
"Saw_non_matching_condition_0_6405": "儲存不相符條件 '{0}'。",
|
|
1275
1284
|
"Scoped_package_detected_looking_in_0_6182": "偵測到範圍套件,正於 '{0}' 尋找",
|
|
1276
1285
|
"Selection_is_not_a_valid_statement_or_statements_95155": "選取項目非有效的一或多個陳述式",
|
|
1277
1286
|
"Selection_is_not_a_valid_type_node_95133": "選取範圍不是有效的類型節點",
|
|
@@ -1385,6 +1394,7 @@
|
|
|
1385
1394
|
"The_containing_arrow_function_captures_the_global_value_of_this_7041": "包含的箭號函式會擷取 'this' 的全域值。",
|
|
1386
1395
|
"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563": "內含的函式或模組主體對控制流程分析而言過大。",
|
|
1387
1396
|
"The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level_1309": "目前的檔案是 CommonJS 模組,無法在最上層使用 'await'。",
|
|
1397
|
+
"The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479": "目前的檔案是 CommonJS 模組,其匯入將會產生 'require' 呼叫;不過,參考的檔案是 ECMAScript 模組,無法以 'require' 匯入。請考慮改為撰寫動態 'import(\"{0}\")' 呼叫。",
|
|
1388
1398
|
"The_current_host_does_not_support_the_0_option_5001": "目前的主機不支援 '{0}' 選項。",
|
|
1389
1399
|
"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018": "您可能要使用的 '{0}' 宣告定義於此處",
|
|
1390
1400
|
"The_declaration_was_marked_as_deprecated_here_2798": "該宣告在這裡標示為已淘汰。",
|
|
@@ -1422,7 +1432,6 @@
|
|
|
1422
1432
|
"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362": "算術運算的左側內容必須屬於 'any'、'number'、'bigint' 或列舉類型。",
|
|
1423
1433
|
"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779": "指派運算式的左側不可為選擇性屬性存取。",
|
|
1424
1434
|
"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364": "指派運算式的左邊必須是變數或屬性存取。",
|
|
1425
|
-
"The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or__2360": "'in' 運算式的左側必須是私人識別碼或 'any'、'string'、'number' 或 'symbol' 類型。",
|
|
1426
1435
|
"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358": "'instanceof' 運算式左側必須是類型 'any'、物件類型或型別參數。",
|
|
1427
1436
|
"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156": "對使用者顯示訊息時所使用的地區設定 (例如 'zh-tw')",
|
|
1428
1437
|
"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136": "在 node_modules 及載入 JavaScript 檔案下搜尋時的最大相依性深度。",
|
|
@@ -1443,7 +1452,6 @@
|
|
|
1443
1452
|
"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064": "非同步函式或方法的傳回型別,必須為全域 Promise<T> 類型。是否要寫入 'Promise<{0}>'?",
|
|
1444
1453
|
"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407": "'for...in' 陳述式的右方必須是類型 'any'、物件類型或型別參數,但此處為類型 '{0}'。",
|
|
1445
1454
|
"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363": "算術運算的右側內容必須屬於 'any'、'number'、'bigint' 或列舉類型。",
|
|
1446
|
-
"The_right_hand_side_of_an_in_expression_must_not_be_a_primitive_2361": "'In' 運算式的右側不得為基元。",
|
|
1447
1455
|
"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359": "'instanceof' 運算式的右側必須是 'any' 類型,或是可指派給 'Function' 介面類型的類型。",
|
|
1448
1456
|
"The_root_value_of_a_0_file_must_be_an_object_5092": "'{0}' 檔案的根值必須是物件。",
|
|
1449
1457
|
"The_shadowing_declaration_of_0_is_defined_here_18017": "'{0}' 的隱蔽宣告定義於此處",
|
|
@@ -1464,13 +1472,15 @@
|
|
|
1464
1472
|
"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490": "迭代器 '{0}()' 方法所傳回的類型必須具有 'value' 屬性。",
|
|
1465
1473
|
"The_types_of_0_are_incompatible_between_these_types_2200": "'{0}' 的類型在這些類型之間不相容。",
|
|
1466
1474
|
"The_types_returned_by_0_are_incompatible_between_these_types_2201": "'{0}' 所傳回的類型在這些類型之間不相容。",
|
|
1475
|
+
"The_value_0_cannot_be_used_here_18050": "此處無法使用值 '{0}'。",
|
|
1467
1476
|
"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189": "'for...in' 陳述式的變數宣告不得有初始設定式。",
|
|
1468
1477
|
"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190": "'for...of' 陳述式的變數宣告不得有初始設定式。",
|
|
1469
1478
|
"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410": "不支援 'with' 陳述式。'with' 區塊中的所有符號都會有類型 'any'。",
|
|
1470
1479
|
"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "此 JSX 標籤的 '{0}' 屬性只能有一個 '{1}' 類型的子系,但提供的子系卻有多個。",
|
|
1471
1480
|
"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "此 JSX 標籤的 '{0}' 屬性需要必須有多個子系的類型 '{1}',但僅提供的子系只有一個。",
|
|
1481
|
+
"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "此比較似乎是無意的,因為類型 '{0}' 和 '{1}' 沒有重疊。",
|
|
1482
|
+
"This_condition_will_always_return_0_2845": "此條件一律傳回 '{0}'。",
|
|
1472
1483
|
"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "此條件一律會傳回 '{0}',因為 JavaScript 會依參照而非值比較物件。",
|
|
1473
|
-
"This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap_2367": "因為類型 '{1}' 與 '{2}' 未重疊,所以此條件永遠會傳回 '{0}'。",
|
|
1474
1484
|
"This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "因為此 '{0}' 一律會被定義,所以此條件一律傳回 True。",
|
|
1475
1485
|
"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "因為永遠會定義此函式,所以此條件永遠會傳回 true。您是要改為呼叫該條件嗎?",
|
|
1476
1486
|
"This_constructor_function_may_be_converted_to_a_class_declaration_80002": "此建構函式可轉換為類別宣告。",
|
|
@@ -1491,7 +1501,7 @@
|
|
|
1491
1501
|
"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114": "因為此成員會覆寫基底類別 '{0}' 中的成員,所以其必須具有 'override' 修飾元。",
|
|
1492
1502
|
"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116": "因為此成員會覆寫基底類別 '{0}' 中宣告的抽象方法,所以其必須具有 'override' 修飾元。",
|
|
1493
1503
|
"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497": "只能以 ECMAScript 匯入/匯出來參考此模組,方法為開啟 '{0}' 旗標並參考其預設匯出。",
|
|
1494
|
-
"
|
|
1504
|
+
"This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag_2594": "此模組使用 'export =' 宣告,只能在使用 '{0}' 旗標時搭配預設匯入使用。",
|
|
1495
1505
|
"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394": "此多載簽章與其實作簽章不相容。",
|
|
1496
1506
|
"This_parameter_is_not_allowed_with_use_strict_directive_1346": "不允許此參數搭配 'use strict' 指示詞使用。",
|
|
1497
1507
|
"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120": "此參數屬性必須包含具有 '@override' 標籤的 JSDoc 註解,因為其會覆寫基底類別 '{0}' 中的成員。",
|
|
@@ -1504,6 +1514,10 @@
|
|
|
1504
1514
|
"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807": "此語法需要名為 '{1}' 且具有 {2} 參數的匯入協助程式,其與 '{0}' 中的參數不相容。請考慮升級 '{0}' 的版本。",
|
|
1505
1515
|
"This_type_parameter_might_need_an_extends_0_constraint_2208": "此類型參數可能需要 'extends {0}' 限制式。",
|
|
1506
1516
|
"This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326": "此 'import' 的使用方式無效。'import()' 呼叫可以寫入,但必須有括弧,而且不能有類型引數。",
|
|
1517
|
+
"To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0_1482": "若要將此檔案轉換為 ECMAScript 模組,請將欄位 `{ \"type\": \"module\" }` 新增至 '{0}'。",
|
|
1518
|
+
"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481": "若要將此檔案轉換為 ECMAScript 模組,請將其副檔名變更為 '{0}',或將欄位 `\"type\": \"module\"` 新增至 '{1}'。",
|
|
1519
|
+
"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480": "若要將此檔案轉換為 ECMAScript 模組,請將其副檔名變更為 '{0}',或使用 `{ \"type\": \"module\" }` 建立本機 package.json 檔案。",
|
|
1520
|
+
"To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483": "若要將此檔案轉換為 ECMAScript 模組,請建立具有 `{ \"type\": \"module\" }` 的本機 package.json 檔案。",
|
|
1507
1521
|
"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378": "只有在 'module' 選項設定為 'es2022'、'esnext'、'system'、'node16' 或 'nodenext',而且 'target' 選項設定為 'es2017' 或更高版本時,才允許最上層的 'await' 運算式。",
|
|
1508
1522
|
"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046": ".d.ts 檔案中的最上層宣告必須以 'declare' 或 'export' 修飾元開頭。",
|
|
1509
1523
|
"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432": "只有在 'module' 選項設為 'es2022'、'esnext'、'system'、'node16' 或 'nodenext',而且 'target' 選項設為 'es2017' 或更高版本時,才允許最上層的 'for await' 迴圈。",
|
|
@@ -1519,6 +1533,7 @@
|
|
|
1519
1533
|
"Type_0_cannot_be_used_as_an_index_type_2538": "類型 '{0}' 無法作為索引類型。",
|
|
1520
1534
|
"Type_0_cannot_be_used_to_index_type_1_2536": "類型 '{0}' 無法用來為類型 '{1}' 編制索引。",
|
|
1521
1535
|
"Type_0_does_not_satisfy_the_constraint_1_2344": "類型 '{0}' 不符合條件約束 '{1}'。",
|
|
1536
|
+
"Type_0_does_not_satisfy_the_expected_type_1_1360": "類型 '{0}' 不符合預期類型 '{1}'。",
|
|
1522
1537
|
"Type_0_has_no_call_signatures_2757": "類型 '{0}' 沒有任何呼叫簽章。",
|
|
1523
1538
|
"Type_0_has_no_construct_signatures_2761": "類型 '{0}' 沒有任何建構簽章。",
|
|
1524
1539
|
"Type_0_has_no_matching_index_signature_for_type_1_2537": "類型 '{0}' 沒有與類型 '{1}' 相符的索引簽章。",
|
|
@@ -1540,6 +1555,7 @@
|
|
|
1540
1555
|
"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412": "類型 '{0}' 無法指派給類型為具有 'exactOptionalPropertyTypes: true' 的類型 '{1}'。請考慮將 'undefined' 新增到目標的類型。",
|
|
1541
1556
|
"Type_0_is_not_comparable_to_type_1_2678": "類型 '{0}' 無法和類型 '{1}' 比較。",
|
|
1542
1557
|
"Type_0_is_not_generic_2315": "'{0}' 不是泛型類型。",
|
|
1558
|
+
"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638": "類型 '{0}' 可能代表基本值,但不允許做為 'in' 運算子的右運算元。",
|
|
1543
1559
|
"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504": "類型 '{0}' 必須具備會傳回非同步迭代器的 '[Symbol.asyncIterator]()' 方法。",
|
|
1544
1560
|
"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488": "類型 '{0}' 必須具備會傳回迭代器的 '[Symbol.iterator]()' 方法。",
|
|
1545
1561
|
"Type_0_provides_no_match_for_the_signature_1_2658": "類型 '{0}' 沒有符合特徵標記 '{1}' 的項目。",
|
|
@@ -1596,6 +1612,7 @@
|
|
|
1596
1612
|
"Type_reference_directive_0_was_not_resolved_6120": "======== 類型參考指示詞 '{0}' 未解析。========",
|
|
1597
1613
|
"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119": "======== 類型參考指示詞 '{0}' 已成功解析為 '{1}',主要: {2}。========",
|
|
1598
1614
|
"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219": "======== 類型參考指示詞 '{0}' 已成功解析為 '{1}',套件識別碼為 '{2}',主要: {3}。========",
|
|
1615
|
+
"Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037": "類型滿足運算式只可用於 TypeScript 檔案。",
|
|
1599
1616
|
"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043": "類型不能出現在 JavaScript 檔案的匯出宣告中。",
|
|
1600
1617
|
"Types_have_separate_declarations_of_a_private_property_0_2442": "類型具有私用屬性 '{0}' 的個別宣告。",
|
|
1601
1618
|
"Types_of_construct_signatures_are_incompatible_2419": "建構簽章的類型不相容。",
|
|
@@ -1637,9 +1654,12 @@
|
|
|
1637
1654
|
"Updating_output_of_project_0_6373": "正在更新專案 '{0}' 的輸出...",
|
|
1638
1655
|
"Updating_output_timestamps_of_project_0_6359": "正在更新專案 '{0}' 的輸出時間戳記...",
|
|
1639
1656
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "正在更新專案 '{0}' 的未更變輸出時間戳記...",
|
|
1657
|
+
"Use_0_95174": "使用 `{0}`。",
|
|
1658
|
+
"Use_Number_isNaN_in_all_conditions_95175": "在所有條件中都使用 'Number.isNaN'。",
|
|
1640
1659
|
"Use_element_access_for_0_95145": "對 '{0}' 使用元素存取",
|
|
1641
1660
|
"Use_element_access_for_all_undeclared_properties_95146": "對所有未宣告的屬性使用元素存取。",
|
|
1642
1661
|
"Use_synthetic_default_member_95016": "使用綜合 'default' 成員。",
|
|
1662
|
+
"Using_0_subpath_1_with_target_2_6404": "使用 '{0}' 子路徑 '{1}' 與目標 '{2}'。",
|
|
1643
1663
|
"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "只有在 ECMAScript 5 及更高版本中,才可在 'for...of' 陳述式中使用字串。",
|
|
1644
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}",
|
|
1645
1665
|
"Using_compiler_options_of_project_reference_redirect_0_6215": "正在使用專案參考重新導向 '{0}' 的編譯器選項。",
|
|
@@ -1717,6 +1737,10 @@
|
|
|
1717
1737
|
"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012": "'{0}' 對關鍵字 '{1}' 而言不是有效的中繼屬性。您是指 '{2}' 嗎?",
|
|
1718
1738
|
"_0_is_not_allowed_as_a_parameter_name_1390": "不允許 '{0}' 做為參數名稱。",
|
|
1719
1739
|
"_0_is_not_allowed_as_a_variable_declaration_name_1389": "'{0}' 不能是變數宣告名稱。",
|
|
1740
|
+
"_0_is_of_type_unknown_18046": "'{0}' 的類型為 'unknown'。",
|
|
1741
|
+
"_0_is_possibly_null_18047": "'{0}' 可能是 'null'。",
|
|
1742
|
+
"_0_is_possibly_null_or_undefined_18049": "'{0}' 可能為「null」或「未定義」。",
|
|
1743
|
+
"_0_is_possibly_undefined_18048": "'{0}' 可能為「未定義」。",
|
|
1720
1744
|
"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506": "'{0}' 在其本身的基底運算式中直接或間接受到參考。",
|
|
1721
1745
|
"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502": "'{0}' 在其本身的類型註釋中直接或間接受到參考。",
|
|
1722
1746
|
"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783": "多次指定 '{0}',因此將會覆寫此使用方式。",
|
|
@@ -1752,6 +1776,7 @@
|
|
|
1752
1776
|
"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010": "缺少傳回型別註解的 '{0}' 隱含了 '{1}' 傳回型別。",
|
|
1753
1777
|
"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055": "缺少傳回型別註解的 '{0}' 隱含 '{1}' 產生類型。",
|
|
1754
1778
|
"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242": "'abstract' 修飾元只能出現在類別宣告、方法宣告或屬性宣告。",
|
|
1779
|
+
"accessor_modifier_can_only_appear_on_a_property_declaration_1275": "'accessor' 修飾詞只能出現在屬性宣告。",
|
|
1755
1780
|
"and_here_6204": "及此處。",
|
|
1756
1781
|
"arguments_cannot_be_referenced_in_property_initializers_2815": "屬性初始設定式中不得參考 'arguments'。",
|
|
1757
1782
|
"auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_w_1476": "\"auto\": 處理具有 imports、exports、import.meta, jsx (具有 jsx: react-jsx) 的檔案,或以 esm 格式 (具有 module: node16+) 作為模組。",
|
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.
|
|
5
|
+
"version": "4.9.3",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -28,10 +28,20 @@
|
|
|
28
28
|
"engines": {
|
|
29
29
|
"node": ">=4.2.0"
|
|
30
30
|
},
|
|
31
|
+
"files": [
|
|
32
|
+
"bin",
|
|
33
|
+
"lib",
|
|
34
|
+
"!lib/enu",
|
|
35
|
+
"LICENSE.txt",
|
|
36
|
+
"README.md",
|
|
37
|
+
"SECURITY.md",
|
|
38
|
+
"ThirdPartyNoticeText.txt",
|
|
39
|
+
"!**/.gitattributes"
|
|
40
|
+
],
|
|
31
41
|
"devDependencies": {
|
|
32
42
|
"@octokit/rest": "latest",
|
|
33
43
|
"@types/chai": "latest",
|
|
34
|
-
"@types/
|
|
44
|
+
"@types/fancy-log": "^2.0.0",
|
|
35
45
|
"@types/fs-extra": "^9.0.13",
|
|
36
46
|
"@types/glob": "latest",
|
|
37
47
|
"@types/gulp": "^4.0.9",
|
|
@@ -41,31 +51,28 @@
|
|
|
41
51
|
"@types/gulp-sourcemaps": "latest",
|
|
42
52
|
"@types/merge2": "latest",
|
|
43
53
|
"@types/microsoft__typescript-etw": "latest",
|
|
44
|
-
"@types/minimatch": "latest",
|
|
45
54
|
"@types/minimist": "latest",
|
|
46
55
|
"@types/mkdirp": "latest",
|
|
47
56
|
"@types/mocha": "latest",
|
|
48
57
|
"@types/ms": "latest",
|
|
49
58
|
"@types/node": "latest",
|
|
50
|
-
"@types/node-fetch": "^2.6.2",
|
|
51
|
-
"@types/q": "latest",
|
|
52
59
|
"@types/source-map-support": "latest",
|
|
60
|
+
"@types/which": "^2.0.1",
|
|
53
61
|
"@types/xml2js": "^0.4.11",
|
|
54
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
55
|
-
"@typescript-eslint/parser": "^5.
|
|
56
|
-
"@typescript-eslint/utils": "^5.
|
|
57
|
-
"
|
|
58
|
-
"azure-devops-node-api": "^11.1.1",
|
|
62
|
+
"@typescript-eslint/eslint-plugin": "^5.33.1",
|
|
63
|
+
"@typescript-eslint/parser": "^5.33.1",
|
|
64
|
+
"@typescript-eslint/utils": "^5.33.1",
|
|
65
|
+
"azure-devops-node-api": "^11.2.0",
|
|
59
66
|
"chai": "latest",
|
|
60
67
|
"chalk": "^4.1.2",
|
|
61
|
-
"
|
|
62
|
-
"del": "6.1.1",
|
|
68
|
+
"del": "^6.1.1",
|
|
63
69
|
"diff": "^5.1.0",
|
|
64
|
-
"eslint": "8.
|
|
65
|
-
"eslint-formatter-autolinkable-stylish": "1.2.0",
|
|
66
|
-
"eslint-plugin-import": "2.26.0",
|
|
67
|
-
"eslint-plugin-jsdoc": "39.3.
|
|
68
|
-
"eslint-plugin-
|
|
70
|
+
"eslint": "^8.22.0",
|
|
71
|
+
"eslint-formatter-autolinkable-stylish": "^1.2.0",
|
|
72
|
+
"eslint-plugin-import": "^2.26.0",
|
|
73
|
+
"eslint-plugin-jsdoc": "^39.3.6",
|
|
74
|
+
"eslint-plugin-local": "^1.0.0",
|
|
75
|
+
"eslint-plugin-no-null": "^1.0.2",
|
|
69
76
|
"fancy-log": "latest",
|
|
70
77
|
"fs-extra": "^9.1.0",
|
|
71
78
|
"glob": "latest",
|
|
@@ -81,21 +88,17 @@
|
|
|
81
88
|
"mocha": "latest",
|
|
82
89
|
"mocha-fivemat-progress-reporter": "latest",
|
|
83
90
|
"ms": "^2.1.3",
|
|
84
|
-
"node-fetch": "^2.
|
|
85
|
-
"prex": "^0.4.7",
|
|
86
|
-
"q": "latest",
|
|
91
|
+
"node-fetch": "^3.2.10",
|
|
87
92
|
"source-map-support": "latest",
|
|
88
|
-
"typescript": "^4.
|
|
93
|
+
"typescript": "^4.8.4",
|
|
89
94
|
"vinyl": "latest",
|
|
90
|
-
"
|
|
95
|
+
"which": "^2.0.2",
|
|
91
96
|
"xml2js": "^0.4.23"
|
|
92
97
|
},
|
|
93
98
|
"overrides": {
|
|
94
99
|
"es5-ext": "0.10.53"
|
|
95
100
|
},
|
|
96
101
|
"scripts": {
|
|
97
|
-
"prepare": "gulp build-eslint-rules",
|
|
98
|
-
"pretest": "gulp tests",
|
|
99
102
|
"test": "gulp runtests-parallel --light=false",
|
|
100
103
|
"test:eslint-rules": "gulp run-eslint-rules-tests",
|
|
101
104
|
"build": "npm run build:compiler && npm run build:tests",
|
|
@@ -105,10 +108,7 @@
|
|
|
105
108
|
"clean": "gulp clean",
|
|
106
109
|
"gulp": "gulp",
|
|
107
110
|
"lint": "gulp lint",
|
|
108
|
-
"
|
|
109
|
-
"lint:compiler": "gulp lint-compiler",
|
|
110
|
-
"lint:scripts": "gulp lint-scripts",
|
|
111
|
-
"setup-hooks": "node scripts/link-hooks.js"
|
|
111
|
+
"setup-hooks": "node scripts/link-hooks.mjs"
|
|
112
112
|
},
|
|
113
113
|
"browser": {
|
|
114
114
|
"fs": false,
|
|
@@ -125,4 +125,4 @@
|
|
|
125
125
|
"node": "14.20.0",
|
|
126
126
|
"npm": "8.15.0"
|
|
127
127
|
}
|
|
128
|
-
}
|
|
128
|
+
}
|