@golar/vue 0.0.1 → 0.0.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.
@@ -2384,8 +2384,8 @@ var require_source_map_support = __commonJS({ "../../thirdparty/typescript/node_
2384
2384
  retrieveFile = handlerExec(retrieveFileHandlers);
2385
2385
  };
2386
2386
  } });
2387
- var versionMajorMinor = "6.0";
2388
- var version = `${versionMajorMinor}.0-dev`;
2387
+ var versionMajorMinor = "5.9";
2388
+ var version = "5.9.3";
2389
2389
  var Comparison = /* @__PURE__ */ ((Comparison2) => {
2390
2390
  Comparison2[Comparison2["LessThan"] = -1] = "LessThan";
2391
2391
  Comparison2[Comparison2["EqualTo"] = 0] = "EqualTo";
@@ -4629,7 +4629,6 @@ var NodeFlags = /* @__PURE__ */ ((NodeFlags3) => {
4629
4629
  NodeFlags3[NodeFlags3["JsonFile"] = 134217728] = "JsonFile";
4630
4630
  NodeFlags3[NodeFlags3["TypeCached"] = 268435456] = "TypeCached";
4631
4631
  NodeFlags3[NodeFlags3["Deprecated"] = 536870912] = "Deprecated";
4632
- NodeFlags3[NodeFlags3["Unreachable"] = 1073741824] = "Unreachable";
4633
4632
  NodeFlags3[NodeFlags3["BlockScoped"] = 7] = "BlockScoped";
4634
4633
  NodeFlags3[NodeFlags3["Constant"] = 6] = "Constant";
4635
4634
  NodeFlags3[NodeFlags3["ReachabilityCheckFlags"] = 1536] = "ReachabilityCheckFlags";
@@ -4845,7 +4844,7 @@ var ContextFlags = /* @__PURE__ */ ((ContextFlags2) => {
4845
4844
  ContextFlags2[ContextFlags2["None"] = 0] = "None";
4846
4845
  ContextFlags2[ContextFlags2["Signature"] = 1] = "Signature";
4847
4846
  ContextFlags2[ContextFlags2["NoConstraints"] = 2] = "NoConstraints";
4848
- ContextFlags2[ContextFlags2["IgnoreNodeInferences"] = 4] = "IgnoreNodeInferences";
4847
+ ContextFlags2[ContextFlags2["Completions"] = 4] = "Completions";
4849
4848
  ContextFlags2[ContextFlags2["SkipBindingPatterns"] = 8] = "SkipBindingPatterns";
4850
4849
  return ContextFlags2;
4851
4850
  })(ContextFlags || {});
@@ -5164,7 +5163,7 @@ var TypeFlags = /* @__PURE__ */ ((TypeFlags2) => {
5164
5163
  TypeFlags2[TypeFlags2["Instantiable"] = 465829888] = "Instantiable";
5165
5164
  TypeFlags2[TypeFlags2["StructuredOrInstantiable"] = 469499904] = "StructuredOrInstantiable";
5166
5165
  TypeFlags2[TypeFlags2["ObjectFlagsType"] = 3899393] = "ObjectFlagsType";
5167
- TypeFlags2[TypeFlags2["Simplifiable"] = 29360128] = "Simplifiable";
5166
+ TypeFlags2[TypeFlags2["Simplifiable"] = 25165824] = "Simplifiable";
5168
5167
  TypeFlags2[TypeFlags2["Singleton"] = 67358815] = "Singleton";
5169
5168
  TypeFlags2[TypeFlags2["Narrowable"] = 536624127] = "Narrowable";
5170
5169
  TypeFlags2[TypeFlags2["IncludesMask"] = 473694207] = "IncludesMask";
@@ -7693,7 +7692,7 @@ var Diagnostics = {
7693
7692
  A_bigint_literal_cannot_use_exponential_notation: diag(1352, 1, "A_bigint_literal_cannot_use_exponential_notation_1352", "A bigint literal cannot use exponential notation."),
7694
7693
  A_bigint_literal_must_be_an_integer: diag(1353, 1, "A_bigint_literal_must_be_an_integer_1353", "A bigint literal must be an integer."),
7695
7694
  readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types: diag(1354, 1, "readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354", "'readonly' type modifier is only permitted on array and tuple literal types."),
7696
- A_const_assertion_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals: diag(1355, 1, "A_const_assertion_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_o_1355", "A 'const' assertion can only be applied to references to enum members, or string, number, boolean, array, or object literals."),
7695
+ A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals: diag(1355, 1, "A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355", "A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),
7697
7696
  Did_you_mean_to_mark_this_function_as_async: diag(1356, 1, "Did_you_mean_to_mark_this_function_as_async_1356", "Did you mean to mark this function as 'async'?"),
7698
7697
  An_enum_member_name_must_be_followed_by_a_or: diag(1357, 1, "An_enum_member_name_must_be_followed_by_a_or_1357", "An enum member name must be followed by a ',', '=', or '}'."),
7699
7698
  Tagged_template_expressions_are_not_permitted_in_an_optional_chain: diag(1358, 1, "Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358", "Tagged template expressions are not permitted in an optional chain."),
@@ -7859,16 +7858,13 @@ var Diagnostics = {
7859
7858
  Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class: diag(1537, 1, "Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_1537", "Decimal escape sequences and backreferences are not allowed in a character class."),
7860
7859
  Unicode_escape_sequences_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_set: diag(1538, 1, "Unicode_escape_sequences_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_se_1538", "Unicode escape sequences are only available when the Unicode (u) flag or the Unicode Sets (v) flag is set."),
7861
7860
  A_bigint_literal_cannot_be_used_as_a_property_name: diag(1539, 1, "A_bigint_literal_cannot_be_used_as_a_property_name_1539", "A 'bigint' literal cannot be used as a property name."),
7862
- A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_keyword_instead: diag(1540, 1, "A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_key_1540", "A 'namespace' declaration should not be declared using the 'module' keyword. Please use the 'namespace' keyword instead."),
7861
+ A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_keyword_instead: diag(1540, 2, "A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_key_1540", "A 'namespace' declaration should not be declared using the 'module' keyword. Please use the 'namespace' keyword instead.", void 0, void 0, true),
7863
7862
  Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute: diag(1541, 1, "Type_only_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribut_1541", "Type-only import of an ECMAScript module from a CommonJS module must have a 'resolution-mode' attribute."),
7864
7863
  Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute: diag(1542, 1, "Type_import_of_an_ECMAScript_module_from_a_CommonJS_module_must_have_a_resolution_mode_attribute_1542", "Type import of an ECMAScript module from a CommonJS module must have a 'resolution-mode' attribute."),
7865
7864
  Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_module_is_set_to_0: diag(1543, 1, "Importing_a_JSON_file_into_an_ECMAScript_module_requires_a_type_Colon_json_import_attribute_when_mod_1543", `Importing a JSON file into an ECMAScript module requires a 'type: "json"' import attribute when 'module' is set to '{0}'.`),
7866
7865
  Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0: diag(1544, 1, "Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544", "Named imports from a JSON file into an ECMAScript module are not allowed when 'module' is set to '{0}'."),
7867
7866
  using_declarations_are_not_allowed_in_ambient_contexts: diag(1545, 1, "using_declarations_are_not_allowed_in_ambient_contexts_1545", "'using' declarations are not allowed in ambient contexts."),
7868
7867
  await_using_declarations_are_not_allowed_in_ambient_contexts: diag(1546, 1, "await_using_declarations_are_not_allowed_in_ambient_contexts_1546", "'await using' declarations are not allowed in ambient contexts."),
7869
- using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block: diag(1547, 1, "using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1547", "'using' declarations are not allowed in 'case' or 'default' clauses unless contained within a block."),
7870
- await_using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block: diag(1548, 1, "await_using_declarations_are_not_allowed_in_case_or_default_clauses_unless_contained_within_a_block_1548", "'await using' declarations are not allowed in 'case' or 'default' clauses unless contained within a block."),
7871
- Ignore_the_tsconfig_found_and_build_with_commandline_options_and_files: diag(1549, 3, "Ignore_the_tsconfig_found_and_build_with_commandline_options_and_files_1549", "Ignore the tsconfig found and build with commandline options and files."),
7872
7868
  The_types_of_0_are_incompatible_between_these_types: diag(2200, 1, "The_types_of_0_are_incompatible_between_these_types_2200", "The types of '{0}' are incompatible between these types."),
7873
7869
  The_types_returned_by_0_are_incompatible_between_these_types: diag(2201, 1, "The_types_returned_by_0_are_incompatible_between_these_types_2201", "The types returned by '{0}' are incompatible between these types."),
7874
7870
  Call_signature_return_types_0_and_1_are_incompatible: diag(2202, 1, "Call_signature_return_types_0_and_1_are_incompatible_2202", "Call signature return types '{0}' and '{1}' are incompatible.", void 0, true),
@@ -8406,7 +8402,6 @@ var Diagnostics = {
8406
8402
  Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found: diag(2879, 1, "Using_JSX_fragments_requires_fragment_factory_0_to_be_in_scope_but_it_could_not_be_found_2879", "Using JSX fragments requires fragment factory '{0}' to be in scope, but it could not be found."),
8407
8403
  Import_assertions_have_been_replaced_by_import_attributes_Use_with_instead_of_assert: diag(2880, 1, "Import_assertions_have_been_replaced_by_import_attributes_Use_with_instead_of_assert_2880", "Import assertions have been replaced by import attributes. Use 'with' instead of 'assert'."),
8408
8404
  This_expression_is_never_nullish: diag(2881, 1, "This_expression_is_never_nullish_2881", "This expression is never nullish."),
8409
- Cannot_find_module_or_type_declarations_for_side_effect_import_of_0: diag(2882, 1, "Cannot_find_module_or_type_declarations_for_side_effect_import_of_0_2882", "Cannot find module or type declarations for side-effect import of '{0}'."),
8410
8405
  Import_declaration_0_is_using_private_name_1: diag(4e3, 1, "Import_declaration_0_is_using_private_name_1_4000", "Import declaration '{0}' is using private name '{1}'."),
8411
8406
  Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: diag(4002, 1, "Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002", "Type parameter '{0}' of exported class has or is using private name '{1}'."),
8412
8407
  Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1: diag(4004, 1, "Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004", "Type parameter '{0}' of exported interface has or is using private name '{1}'."),
@@ -8521,7 +8516,6 @@ var Diagnostics = {
8521
8516
  The_current_host_does_not_support_the_0_option: diag(5001, 1, "The_current_host_does_not_support_the_0_option_5001", "The current host does not support the '{0}' option."),
8522
8517
  Cannot_find_the_common_subdirectory_path_for_the_input_files: diag(5009, 1, "Cannot_find_the_common_subdirectory_path_for_the_input_files_5009", "Cannot find the common subdirectory path for the input files."),
8523
8518
  File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0: diag(5010, 1, "File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010", "File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),
8524
- The_common_source_directory_of_0_is_1_The_rootDir_setting_must_be_explicitly_set_to_this_or_another_path_to_adjust_your_output_s_file_layout: diag(5011, 1, "The_common_source_directory_of_0_is_1_The_rootDir_setting_must_be_explicitly_set_to_this_or_another__5011", "The common source directory of '{0}' is '{1}'. The 'rootDir' setting must be explicitly set to this or another path to adjust your output's file layout."),
8525
8519
  Cannot_read_file_0_Colon_1: diag(5012, 1, "Cannot_read_file_0_Colon_1_5012", "Cannot read file '{0}': {1}."),
8526
8520
  Unknown_compiler_option_0: diag(5023, 1, "Unknown_compiler_option_0_5023", "Unknown compiler option '{0}'."),
8527
8521
  Compiler_option_0_requires_a_value_of_type_1: diag(5024, 1, "Compiler_option_0_requires_a_value_of_type_1_5024", "Compiler option '{0}' requires a value of type {1}."),
@@ -8571,8 +8565,8 @@ var Diagnostics = {
8571
8565
  The_root_value_of_a_0_file_must_be_an_object: diag(5092, 1, "The_root_value_of_a_0_file_must_be_an_object_5092", "The root value of a '{0}' file must be an object."),
8572
8566
  Compiler_option_0_may_only_be_used_with_build: diag(5093, 1, "Compiler_option_0_may_only_be_used_with_build_5093", "Compiler option '--{0}' may only be used with '--build'."),
8573
8567
  Compiler_option_0_may_not_be_used_with_build: diag(5094, 1, "Compiler_option_0_may_not_be_used_with_build_5094", "Compiler option '--{0}' may not be used with '--build'."),
8574
- Option_0_can_only_be_used_when_module_is_set_to_preserve_commonjs_or_es2015_or_later: diag(5095, 1, "Option_0_can_only_be_used_when_module_is_set_to_preserve_commonjs_or_es2015_or_later_5095", "Option '{0}' can only be used when 'module' is set to 'preserve', 'commonjs', or 'es2015' or later."),
8575
- Option_allowImportingTsExtensions_can_only_be_used_when_one_of_noEmit_emitDeclarationOnly_or_rewriteRelativeImportExtensions_is_set: diag(5096, 1, "Option_allowImportingTsExtensions_can_only_be_used_when_one_of_noEmit_emitDeclarationOnly_or_rewrite_5096", "Option 'allowImportingTsExtensions' can only be used when one of 'noEmit', 'emitDeclarationOnly', or 'rewriteRelativeImportExtensions' is set."),
8568
+ Option_0_can_only_be_used_when_module_is_set_to_preserve_or_to_es2015_or_later: diag(5095, 1, "Option_0_can_only_be_used_when_module_is_set_to_preserve_or_to_es2015_or_later_5095", "Option '{0}' can only be used when 'module' is set to 'preserve' or to 'es2015' or later."),
8569
+ Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set: diag(5096, 1, "Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set_5096", "Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set."),
8576
8570
  An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled: diag(5097, 1, "An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled_5097", "An import path can only end with a '{0}' extension when 'allowImportingTsExtensions' is enabled."),
8577
8571
  Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler: diag(5098, 1, "Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler_5098", "Option '{0}' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'."),
8578
8572
  Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error: diag(5101, 1, "Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprec_5101", `Option '{0}' is deprecated and will stop functioning in TypeScript {1}. Specify compilerOption '"ignoreDeprecations": "{2}"' to silence this error.`),
@@ -8585,8 +8579,6 @@ var Diagnostics = {
8585
8579
  Option_0_1_has_been_removed_Please_remove_it_from_your_configuration: diag(5108, 1, "Option_0_1_has_been_removed_Please_remove_it_from_your_configuration_5108", "Option '{0}={1}' has been removed. Please remove it from your configuration."),
8586
8580
  Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1: diag(5109, 1, "Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1_5109", "Option 'moduleResolution' must be set to '{0}' (or left unspecified) when option 'module' is set to '{1}'."),
8587
8581
  Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1: diag(5110, 1, "Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1_5110", "Option 'module' must be set to '{0}' when option 'moduleResolution' is set to '{1}'."),
8588
- Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information: diag(5111, 3, "Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information_5111", "Visit https://aka.ms/ts6 for migration information."),
8589
- tsconfig_json_is_present_but_will_not_be_loaded_if_files_are_specified_on_commandline_Use_ignoreConfig_to_skip_this_error: diag(5112, 1, "tsconfig_json_is_present_but_will_not_be_loaded_if_files_are_specified_on_commandline_Use_ignoreConf_5112", "tsconfig.json is present but will not be loaded if files are specified on commandline. Use '--ignoreConfig' to skip this error."),
8590
8582
  Generates_a_sourcemap_for_each_corresponding_d_ts_file: diag(6e3, 3, "Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000", "Generates a sourcemap for each corresponding '.d.ts' file."),
8591
8583
  Concatenate_and_emit_output_to_single_file: diag(6001, 3, "Concatenate_and_emit_output_to_single_file_6001", "Concatenate and emit output to single file."),
8592
8584
  Generates_corresponding_d_ts_file: diag(6002, 3, "Generates_corresponding_d_ts_file_6002", "Generates corresponding '.d.ts' file."),
@@ -9049,12 +9041,13 @@ var Diagnostics = {
9049
9041
  one_or_more_Colon: diag(6901, 3, "one_or_more_Colon_6901", "one or more:"),
9050
9042
  type_Colon: diag(6902, 3, "type_Colon_6902", "type:"),
9051
9043
  default_Colon: diag(6903, 3, "default_Colon_6903", "default:"),
9044
+ module_system_or_esModuleInterop: diag(6904, 3, "module_system_or_esModuleInterop_6904", "module === \"system\" or esModuleInterop"),
9052
9045
  false_unless_strict_is_set: diag(6905, 3, "false_unless_strict_is_set_6905", "`false`, unless `strict` is set"),
9053
9046
  false_unless_composite_is_set: diag(6906, 3, "false_unless_composite_is_set_6906", "`false`, unless `composite` is set"),
9054
9047
  node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified: diag(6907, 3, "node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907", "`[\"node_modules\", \"bower_components\", \"jspm_packages\"]`, plus the value of `outDir` if one is specified."),
9055
9048
  if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk: diag(6908, 3, "if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908", "`[]` if `files` is specified, otherwise `[\"**/*\"]`"),
9056
9049
  true_if_composite_false_otherwise: diag(6909, 3, "true_if_composite_false_otherwise_6909", "`true` if `composite`, `false` otherwise"),
9057
- nodenext_if_module_is_nodenext_node16_if_module_is_node16_or_node18_otherwise_bundler: diag(69010, 3, "nodenext_if_module_is_nodenext_node16_if_module_is_node16_or_node18_otherwise_bundler_69010", "`nodenext` if `module` is `nodenext`; `node16` if `module` is `node16` or `node18`; otherwise, `bundler`."),
9050
+ module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node: diag(69010, 3, "module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010", "module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`"),
9058
9051
  Computed_from_the_list_of_input_files: diag(6911, 3, "Computed_from_the_list_of_input_files_6911", "Computed from the list of input files"),
9059
9052
  Platform_specific: diag(6912, 3, "Platform_specific_6912", "Platform specific"),
9060
9053
  You_can_learn_about_all_of_the_compiler_options_at_0: diag(6913, 3, "You_can_learn_about_all_of_the_compiler_options_at_0_6913", "You can learn about all of the compiler options at {0}"),
@@ -9076,7 +9069,6 @@ var Diagnostics = {
9076
9069
  Compiles_the_current_project_with_additional_settings: diag(6929, 3, "Compiles_the_current_project_with_additional_settings_6929", "Compiles the current project, with additional settings."),
9077
9070
  true_for_ES2022_and_above_including_ESNext: diag(6930, 3, "true_for_ES2022_and_above_including_ESNext_6930", "`true` for ES2022 and above, including ESNext."),
9078
9071
  List_of_file_name_suffixes_to_search_when_resolving_a_module: diag(6931, 1, "List_of_file_name_suffixes_to_search_when_resolving_a_module_6931", "List of file name suffixes to search when resolving a module."),
9079
- false_unless_checkJs_is_set: diag(6932, 3, "false_unless_checkJs_is_set_6932", "`false`, unless `checkJs` is set"),
9080
9072
  Variable_0_implicitly_has_an_1_type: diag(7005, 1, "Variable_0_implicitly_has_an_1_type_7005", "Variable '{0}' implicitly has an '{1}' type."),
9081
9073
  Parameter_0_implicitly_has_an_1_type: diag(7006, 1, "Parameter_0_implicitly_has_an_1_type_7006", "Parameter '{0}' implicitly has an '{1}' type."),
9082
9074
  Member_0_implicitly_has_an_1_type: diag(7008, 1, "Member_0_implicitly_has_an_1_type_7008", "Member '{0}' implicitly has an '{1}' type."),
@@ -19618,17 +19610,27 @@ var _computedOptions = createComputedCompilerOptions({
19618
19610
  moduleResolution: {
19619
19611
  dependencies: ["module", "target"],
19620
19612
  computeValue: (compilerOptions) => {
19621
- if (compilerOptions.moduleResolution !== void 0) return compilerOptions.moduleResolution;
19622
- const moduleKind = _computedOptions.module.computeValue(compilerOptions);
19623
- switch (moduleKind) {
19624
- case 0:
19625
- case 2:
19626
- case 3:
19627
- case 4: return 1;
19628
- case 199: return 99;
19613
+ let moduleResolution = compilerOptions.moduleResolution;
19614
+ if (moduleResolution === void 0) switch (_computedOptions.module.computeValue(compilerOptions)) {
19615
+ case 1:
19616
+ moduleResolution = 2;
19617
+ break;
19618
+ case 100:
19619
+ case 101:
19620
+ case 102:
19621
+ moduleResolution = 3;
19622
+ break;
19623
+ case 199:
19624
+ moduleResolution = 99;
19625
+ break;
19626
+ case 200:
19627
+ moduleResolution = 100;
19628
+ break;
19629
+ default:
19630
+ moduleResolution = 1;
19631
+ break;
19629
19632
  }
19630
- if (100 <= moduleKind && moduleKind < 199) return 3;
19631
- return 100;
19633
+ return moduleResolution;
19632
19634
  }
19633
19635
  },
19634
19636
  moduleDetection: {
@@ -19646,25 +19648,32 @@ var _computedOptions = createComputedCompilerOptions({
19646
19648
  }
19647
19649
  },
19648
19650
  esModuleInterop: {
19649
- dependencies: [],
19651
+ dependencies: ["module", "target"],
19650
19652
  computeValue: (compilerOptions) => {
19651
19653
  if (compilerOptions.esModuleInterop !== void 0) return compilerOptions.esModuleInterop;
19652
- return true;
19654
+ switch (_computedOptions.module.computeValue(compilerOptions)) {
19655
+ case 100:
19656
+ case 101:
19657
+ case 102:
19658
+ case 199:
19659
+ case 200: return true;
19660
+ }
19661
+ return false;
19653
19662
  }
19654
19663
  },
19655
19664
  allowSyntheticDefaultImports: {
19656
- dependencies: [],
19665
+ dependencies: [
19666
+ "module",
19667
+ "target",
19668
+ "moduleResolution"
19669
+ ],
19657
19670
  computeValue: (compilerOptions) => {
19658
19671
  if (compilerOptions.allowSyntheticDefaultImports !== void 0) return compilerOptions.allowSyntheticDefaultImports;
19659
- return true;
19672
+ return _computedOptions.esModuleInterop.computeValue(compilerOptions) || _computedOptions.module.computeValue(compilerOptions) === 4 || _computedOptions.moduleResolution.computeValue(compilerOptions) === 100;
19660
19673
  }
19661
19674
  },
19662
19675
  resolvePackageJsonExports: {
19663
- dependencies: [
19664
- "moduleResolution",
19665
- "module",
19666
- "target"
19667
- ],
19676
+ dependencies: ["moduleResolution"],
19668
19677
  computeValue: (compilerOptions) => {
19669
19678
  const moduleResolution = _computedOptions.moduleResolution.computeValue(compilerOptions);
19670
19679
  if (!moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) return false;
@@ -19678,12 +19687,7 @@ var _computedOptions = createComputedCompilerOptions({
19678
19687
  }
19679
19688
  },
19680
19689
  resolvePackageJsonImports: {
19681
- dependencies: [
19682
- "moduleResolution",
19683
- "resolvePackageJsonExports",
19684
- "module",
19685
- "target"
19686
- ],
19690
+ dependencies: ["moduleResolution", "resolvePackageJsonExports"],
19687
19691
  computeValue: (compilerOptions) => {
19688
19692
  const moduleResolution = _computedOptions.moduleResolution.computeValue(compilerOptions);
19689
19693
  if (!moduleResolutionSupportsPackageJsonExportsAndImports(moduleResolution)) return false;
@@ -20300,6 +20304,7 @@ var unprefixedNodeCoreModulesList = [
20300
20304
  "stream/web",
20301
20305
  "string_decoder",
20302
20306
  "sys",
20307
+ "test/mock_loader",
20303
20308
  "timers",
20304
20309
  "timers/promises",
20305
20310
  "tls",
@@ -20315,7 +20320,6 @@ var unprefixedNodeCoreModulesList = [
20315
20320
  "zlib"
20316
20321
  ];
20317
20322
  var exclusivelyPrefixedNodeCoreModules = /* @__PURE__ */ new Set([
20318
- "node:quic",
20319
20323
  "node:sea",
20320
20324
  "node:sqlite",
20321
20325
  "node:test",
@@ -23972,8 +23976,8 @@ function createNodeFactory(flags, baseFactory2) {
23972
23976
  node.transformFlags = propagateChildrenFlags(node.statements) | propagateChildFlags(node.endOfFileToken);
23973
23977
  return node;
23974
23978
  }
23975
- function updateSourceFile2(node, statements, isDeclarationFile = node.isDeclarationFile, referencedFiles = node.referencedFiles, typeReferenceDirectives = node.typeReferenceDirectives, _hasNoDefaultLib = false, libReferenceDirectives = node.libReferenceDirectives) {
23976
- return node.statements !== statements || node.isDeclarationFile !== isDeclarationFile || node.referencedFiles !== referencedFiles || node.typeReferenceDirectives !== typeReferenceDirectives || node.libReferenceDirectives !== libReferenceDirectives ? update(cloneSourceFileWithChanges(node, statements, isDeclarationFile, referencedFiles, typeReferenceDirectives, false, libReferenceDirectives), node) : node;
23979
+ function updateSourceFile2(node, statements, isDeclarationFile = node.isDeclarationFile, referencedFiles = node.referencedFiles, typeReferenceDirectives = node.typeReferenceDirectives, hasNoDefaultLib = node.hasNoDefaultLib, libReferenceDirectives = node.libReferenceDirectives) {
23980
+ return node.statements !== statements || node.isDeclarationFile !== isDeclarationFile || node.referencedFiles !== referencedFiles || node.typeReferenceDirectives !== typeReferenceDirectives || node.hasNoDefaultLib !== hasNoDefaultLib || node.libReferenceDirectives !== libReferenceDirectives ? update(cloneSourceFileWithChanges(node, statements, isDeclarationFile, referencedFiles, typeReferenceDirectives, hasNoDefaultLib, libReferenceDirectives), node) : node;
23977
23981
  }
23978
23982
  function createBundle(sourceFiles) {
23979
23983
  const node = createBaseNode(309);
@@ -23981,6 +23985,7 @@ function createNodeFactory(flags, baseFactory2) {
23981
23985
  node.syntheticFileReferences = void 0;
23982
23986
  node.syntheticTypeReferences = void 0;
23983
23987
  node.syntheticLibReferences = void 0;
23988
+ node.hasNoDefaultLib = void 0;
23984
23989
  return node;
23985
23990
  }
23986
23991
  function updateBundle(node, sourceFiles) {
@@ -29396,10 +29401,8 @@ var Parser;
29396
29401
  case 115:
29397
29402
  case 121:
29398
29403
  case 87:
29399
- case 160: return parseVariableStatement(pos, hasJSDoc, modifiersIn);
29400
- case 135:
29401
- if (!isAwaitUsingDeclaration()) break;
29402
- return parseVariableStatement(pos, hasJSDoc, modifiersIn);
29404
+ case 160:
29405
+ case 135: return parseVariableStatement(pos, hasJSDoc, modifiersIn);
29403
29406
  case 100: return parseFunctionDeclaration(pos, hasJSDoc, modifiersIn);
29404
29407
  case 86: return parseClassDeclaration(pos, hasJSDoc, modifiersIn);
29405
29408
  case 120: return parseInterfaceDeclaration(pos, hasJSDoc, modifiersIn);
@@ -29417,12 +29420,14 @@ var Parser;
29417
29420
  case 130: return parseNamespaceExportDeclaration(pos, hasJSDoc, modifiersIn);
29418
29421
  default: return parseExportDeclaration(pos, hasJSDoc, modifiersIn);
29419
29422
  }
29420
- }
29421
- if (modifiersIn) {
29422
- const missing = createMissingNode(283, true, Diagnostics.Declaration_expected);
29423
- setTextRangePos(missing, pos);
29424
- missing.modifiers = modifiersIn;
29425
- return missing;
29423
+ default:
29424
+ if (modifiersIn) {
29425
+ const missing = createMissingNode(283, true, Diagnostics.Declaration_expected);
29426
+ setTextRangePos(missing, pos);
29427
+ missing.modifiers = modifiersIn;
29428
+ return missing;
29429
+ }
29430
+ return;
29426
29431
  }
29427
29432
  }
29428
29433
  function nextTokenIsStringLiteral() {
@@ -29523,7 +29528,7 @@ var Parser;
29523
29528
  flags |= 4;
29524
29529
  break;
29525
29530
  case 135:
29526
- if (!isAwaitUsingDeclaration()) break;
29531
+ Debug.assert(isAwaitUsingDeclaration());
29527
29532
  flags |= 6;
29528
29533
  nextToken();
29529
29534
  break;
@@ -29933,7 +29938,7 @@ var Parser;
29933
29938
  }
29934
29939
  function tryParseImportAttributes() {
29935
29940
  const currentToken2 = token();
29936
- if (currentToken2 === 118 || currentToken2 === 132 && !scanner.hasPrecedingLineBreak()) return parseImportAttributes(currentToken2);
29941
+ if ((currentToken2 === 118 || currentToken2 === 132) && !scanner.hasPrecedingLineBreak()) return parseImportAttributes(currentToken2);
29937
29942
  }
29938
29943
  function parseImportAttribute() {
29939
29944
  const pos = getNodePos();
@@ -31273,6 +31278,7 @@ function processPragmasIntoFields(context, reportDiagnostic) {
31273
31278
  context.typeReferenceDirectives = [];
31274
31279
  context.libReferenceDirectives = [];
31275
31280
  context.amdDependencies = [];
31281
+ context.hasNoDefaultLib = false;
31276
31282
  context.pragmas.forEach((entryOrList, key) => {
31277
31283
  switch (key) {
31278
31284
  case "reference": {
@@ -31282,7 +31288,8 @@ function processPragmasIntoFields(context, reportDiagnostic) {
31282
31288
  forEach(toArray(entryOrList), (arg) => {
31283
31289
  const { types, lib, path, ["resolution-mode"]: res, preserve: _preserve } = arg.arguments;
31284
31290
  const preserve = _preserve === "true" ? true : void 0;
31285
- if (arg.arguments["no-default-lib"] === "true") {} else if (types) {
31291
+ if (arg.arguments["no-default-lib"] === "true") context.hasNoDefaultLib = true;
31292
+ else if (types) {
31286
31293
  const parsed = parseResolutionMode(res, types.pos, types.end, reportDiagnostic);
31287
31294
  typeReferenceDirectives.push({
31288
31295
  pos: types.pos,
@@ -31694,7 +31701,7 @@ function tryResolveJSModuleWorker(moduleName, initialDir, host) {
31694
31701
  }, host, void 0, 2, false, void 0, void 0);
31695
31702
  }
31696
31703
  function nodeNextJsonConfigResolver(moduleName, containingFile, host) {
31697
- return nodeModuleNameResolverWorker(94, moduleName, getDirectoryPath(containingFile), { moduleResolution: 99 }, host, void 0, 8, true, void 0, void 0);
31704
+ return nodeModuleNameResolverWorker(30, moduleName, getDirectoryPath(containingFile), { moduleResolution: 99 }, host, void 0, 8, true, void 0, void 0);
31698
31705
  }
31699
31706
  function nodeModuleNameResolverWorker(features, moduleName, containingDirectory, compilerOptions, host, cache, extensions, isConfigLookup, redirectedReference, conditions) {
31700
31707
  const traceEnabled = isTraceEnabled(compilerOptions, host);
@@ -31746,7 +31753,7 @@ function nodeModuleNameResolverWorker(features, moduleName, containingDirectory,
31746
31753
  const diagnosticState = {
31747
31754
  ...state,
31748
31755
  compilerOptions: diagnosticsCompilerOptions,
31749
- features: 94,
31756
+ features: 30,
31750
31757
  conditions: getConditions(diagnosticsCompilerOptions),
31751
31758
  reportDiagnostic: noop
31752
31759
  };
@@ -32094,7 +32101,7 @@ function loadModuleFromExports(scope, extensions, subpath, state, cache, redirec
32094
32101
  return toSearchResult(void 0);
32095
32102
  }
32096
32103
  function loadModuleFromImports(extensions, moduleName, directory, state, cache, redirectedReference) {
32097
- if (moduleName === "#" || startsWith(moduleName, "#/") && !(state.features & 64)) {
32104
+ if (moduleName === "#" || startsWith(moduleName, "#/")) {
32098
32105
  if (state.traceEnabled) trace(state.host, Diagnostics.Invalid_import_specifier_0_has_no_possible_resolutions, moduleName);
32099
32106
  return toSearchResult(void 0);
32100
32107
  }
@@ -32205,7 +32212,7 @@ function getLoadModuleFromTargetExportOrImport(extensions, state, cache, redirec
32205
32212
  const subTarget = target[condition];
32206
32213
  const result = loadModuleFromTargetExportOrImport(subTarget, subpath, pattern, key);
32207
32214
  if (result) {
32208
- if (result.value) traceIfEnabled(state, Diagnostics.Resolved_under_condition_0, condition);
32215
+ traceIfEnabled(state, Diagnostics.Resolved_under_condition_0, condition);
32209
32216
  traceIfEnabled(state, Diagnostics.Exiting_conditional_exports);
32210
32217
  return result;
32211
32218
  } else traceIfEnabled(state, Diagnostics.Failed_to_resolve_under_condition_0, condition);
@@ -32224,7 +32231,7 @@ function getLoadModuleFromTargetExportOrImport(extensions, state, cache, redirec
32224
32231
  }
32225
32232
  else if (target === null) {
32226
32233
  if (state.traceEnabled) trace(state.host, Diagnostics.package_json_scope_0_explicitly_maps_specifier_1_to_null, scope.packageDirectory, moduleName);
32227
- return { value: void 0 };
32234
+ return toSearchResult(void 0);
32228
32235
  }
32229
32236
  if (state.traceEnabled) trace(state.host, Diagnostics.package_json_scope_0_has_invalid_type_for_target_of_specifier_1, scope.packageDirectory, moduleName);
32230
32237
  return toSearchResult(void 0);
@@ -32239,7 +32246,7 @@ function getLoadModuleFromTargetExportOrImport(extensions, state, cache, redirec
32239
32246
  if (!state.isConfigLookup && (state.compilerOptions.declarationDir || state.compilerOptions.outDir) && !finalPath.includes("/node_modules/") && (state.compilerOptions.configFile ? containsPath(scope.packageDirectory, toAbsolutePath(state.compilerOptions.configFile.fileName), !useCaseSensitiveFileNames(state)) : true)) {
32240
32247
  const getCanonicalFileName = hostGetCanonicalFileName({ useCaseSensitiveFileNames: () => useCaseSensitiveFileNames(state) });
32241
32248
  const commonSourceDirGuesses = [];
32242
- if (state.compilerOptions.rootDir || state.compilerOptions.configFilePath) {
32249
+ if (state.compilerOptions.rootDir || state.compilerOptions.composite && state.compilerOptions.configFilePath) {
32243
32250
  const commonDir = toAbsolutePath(getCommonSourceDirectory(state.compilerOptions, () => [], state.host.getCurrentDirectory?.() || "", getCanonicalFileName));
32244
32251
  commonSourceDirGuesses.push(commonDir);
32245
32252
  } else if (state.requestContainingDirectory) {
@@ -32891,7 +32898,7 @@ function getCommonSourceDirectory(options, emittedFiles, currentDirectory, getCa
32891
32898
  if (options.rootDir) {
32892
32899
  commonSourceDirectory = getNormalizedAbsolutePath(options.rootDir, currentDirectory);
32893
32900
  checkSourceFilesBelongToPath?.(options.rootDir);
32894
- } else if (options.configFilePath) {
32901
+ } else if (options.composite && options.configFilePath) {
32895
32902
  commonSourceDirectory = getDirectoryPath(normalizeSlashes(options.configFilePath));
32896
32903
  checkSourceFilesBelongToPath?.(commonSourceDirectory);
32897
32904
  } else commonSourceDirectory = computeCommonSourceDirectoryOfFilenames(emittedFiles(), currentDirectory, getCanonicalFileName);
@@ -33332,7 +33339,6 @@ var libEntries = [
33332
33339
  ["esnext.iterator", "lib.esnext.iterator.d.ts"],
33333
33340
  ["esnext.promise", "lib.esnext.promise.d.ts"],
33334
33341
  ["esnext.float16", "lib.esnext.float16.d.ts"],
33335
- ["esnext.typedarrays", "lib.esnext.typedarrays.d.ts"],
33336
33342
  ["esnext.error", "lib.esnext.error.d.ts"],
33337
33343
  ["esnext.sharedmemory", "lib.esnext.sharedmemory.d.ts"],
33338
33344
  ["decorators", "lib.decorators.d.ts"],
@@ -33660,12 +33666,6 @@ var moduleOptionDeclaration = {
33660
33666
  nodenext: 199,
33661
33667
  preserve: 200
33662
33668
  })),
33663
- deprecatedKeys: /* @__PURE__ */ new Set([
33664
- "none",
33665
- "amd",
33666
- "system",
33667
- "umd"
33668
- ]),
33669
33669
  affectsSourceFile: true,
33670
33670
  affectsModuleResolution: true,
33671
33671
  affectsEmit: true,
@@ -33729,15 +33729,6 @@ var commandOptionsWithoutBuild = [
33729
33729
  description: Diagnostics.Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing,
33730
33730
  defaultValueDescription: false
33731
33731
  },
33732
- {
33733
- name: "ignoreConfig",
33734
- type: "boolean",
33735
- showInSimplifiedHelpView: true,
33736
- category: Diagnostics.Command_line_Options,
33737
- isCommandLineOnly: true,
33738
- description: Diagnostics.Ignore_the_tsconfig_found_and_build_with_commandline_options_and_files,
33739
- defaultValueDescription: false
33740
- },
33741
33732
  targetOptionDeclaration,
33742
33733
  moduleOptionDeclaration,
33743
33734
  {
@@ -33762,7 +33753,7 @@ var commandOptionsWithoutBuild = [
33762
33753
  showInSimplifiedHelpView: true,
33763
33754
  category: Diagnostics.JavaScript_Support,
33764
33755
  description: Diagnostics.Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJs_option_to_get_errors_from_these_files,
33765
- defaultValueDescription: Diagnostics.false_unless_checkJs_is_set
33756
+ defaultValueDescription: false
33766
33757
  },
33767
33758
  {
33768
33759
  name: "checkJs",
@@ -33933,7 +33924,7 @@ var commandOptionsWithoutBuild = [
33933
33924
  affectsProgramStructure: true,
33934
33925
  category: Diagnostics.Language_and_Environment,
33935
33926
  description: Diagnostics.Enable_lib_replacement,
33936
- defaultValueDescription: false
33927
+ defaultValueDescription: true
33937
33928
  },
33938
33929
  {
33939
33930
  name: "strict",
@@ -34119,17 +34110,13 @@ var commandOptionsWithoutBuild = [
34119
34110
  nodenext: 99,
34120
34111
  bundler: 100
34121
34112
  })),
34122
- deprecatedKeys: /* @__PURE__ */ new Set([
34123
- "node",
34124
- "node10",
34125
- "classic"
34126
- ]),
34113
+ deprecatedKeys: /* @__PURE__ */ new Set(["node"]),
34127
34114
  affectsSourceFile: true,
34128
34115
  affectsModuleResolution: true,
34129
34116
  paramType: Diagnostics.STRATEGY,
34130
34117
  category: Diagnostics.Modules,
34131
34118
  description: Diagnostics.Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier,
34132
- defaultValueDescription: Diagnostics.nodenext_if_module_is_nodenext_node16_if_module_is_node16_or_node18_otherwise_bundler
34119
+ defaultValueDescription: Diagnostics.module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node
34133
34120
  },
34134
34121
  {
34135
34122
  name: "baseUrl",
@@ -34198,7 +34185,7 @@ var commandOptionsWithoutBuild = [
34198
34185
  affectsBuildInfo: true,
34199
34186
  category: Diagnostics.Interop_Constraints,
34200
34187
  description: Diagnostics.Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export,
34201
- defaultValueDescription: true
34188
+ defaultValueDescription: Diagnostics.module_system_or_esModuleInterop
34202
34189
  },
34203
34190
  {
34204
34191
  name: "esModuleInterop",
@@ -34209,7 +34196,7 @@ var commandOptionsWithoutBuild = [
34209
34196
  showInSimplifiedHelpView: true,
34210
34197
  category: Diagnostics.Interop_Constraints,
34211
34198
  description: Diagnostics.Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility,
34212
- defaultValueDescription: true
34199
+ defaultValueDescription: false
34213
34200
  },
34214
34201
  {
34215
34202
  name: "preserveSymlinks",
@@ -34292,7 +34279,7 @@ var commandOptionsWithoutBuild = [
34292
34279
  affectsBuildInfo: true,
34293
34280
  category: Diagnostics.Modules,
34294
34281
  description: Diagnostics.Check_side_effect_imports,
34295
- defaultValueDescription: true
34282
+ defaultValueDescription: false
34296
34283
  },
34297
34284
  {
34298
34285
  name: "sourceRoot",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@golar/vue",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "type": "module",
5
5
  "bin": "./dist/bin.js",
6
6
  "files": [
@@ -24,7 +24,7 @@
24
24
  "dependencies": {
25
25
  "@vue/compiler-dom": "^3.5.0",
26
26
  "@vue/language-core": "3.2.2",
27
- "@golar/volar": "0.0.1"
27
+ "@golar/volar": "0.0.3"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@vue/compiler-sfc": "^3.5.27",