├── cli ├── lib │ └── version.txt ├── bench │ ├── fs │ │ └── .gitignore │ └── testdata │ │ └── npm │ │ └── hono │ │ └── dist │ │ └── utils │ │ └── jwt │ │ └── index.d.ts ├── deno.ico └── snapshot │ └── README.md ├── tests ├── testdata │ ├── unfurl │ │ ├── b.ts │ │ ├── c.d.ts │ │ ├── c.js │ │ └── baz │ │ │ └── index.js │ ├── assets │ │ ├── hello.txt │ │ └── unreachable.wasm │ ├── dynamic_import │ │ ├── empty_1.ts │ │ └── empty_2.ts │ ├── publish │ │ └── successful │ │ │ └── LICENSE │ ├── run │ │ ├── 023_no_ext.out │ │ ├── if_main.ts.out │ │ ├── fetch │ │ │ └── hello.txt │ │ ├── no_check_remote.ts.enabled.out │ │ ├── 001_hello.js │ │ ├── 002_hello.ts │ │ ├── 006_url_imports.ts.out │ │ ├── no_mem_cache.js.out │ │ ├── exec_path.ts │ │ ├── permission_broker │ │ │ ├── log.txt │ │ │ └── scratch.txt │ │ ├── extension_import.ts │ │ ├── permission_request_long.ts │ │ ├── top_level_await │ │ │ └── tla │ │ │ │ └── order.js │ │ ├── followup_dyn_import_resolves │ │ │ └── sub2.ts │ │ ├── webstorage │ │ │ ├── logger.ts │ │ │ ├── config_a.jsonc │ │ │ └── config_b.jsonc │ │ └── ts_type_imports_foo.ts │ ├── symlink_to_subdir │ ├── cache │ │ ├── check_local_by_default.out │ │ └── check_local_by_default2.out │ ├── lint │ │ └── watch │ │ │ ├── badly_linted_fixed2.js.out │ │ │ ├── badly_linted.js │ │ │ ├── badly_linted_fixed1.js │ │ │ └── badly_linted_fixed2.js │ ├── subdir │ │ ├── json_2.json │ │ ├── mod.mjs │ │ ├── types.d.mts │ │ ├── mod4.js │ │ ├── mod5.mjs │ │ ├── no_ext │ │ ├── emittable.d.ts │ │ ├── exports.ts │ │ ├── mod3.js │ │ ├── type_error.ts │ │ ├── form_urlencoded.txt │ │ ├── indirect_throws.js │ │ ├── json_3.json │ │ ├── mismatch_ext.ts │ │ ├── mod6.js │ │ ├── mt_javascript.js │ │ ├── mt_video_mp2t.t3.ts │ │ ├── mt_video_vdn.t2.ts │ │ ├── redirects │ │ │ ├── redirect2.js │ │ │ ├── redirect1.js │ │ │ └── redirect1.ts │ │ ├── single_module.ts │ │ ├── type_reference.d.ts │ │ ├── unknown_ext.deno │ │ ├── mt_text_ecmascript.j3.js │ │ ├── mt_text_javascript.j1.js │ │ ├── mt_text_typescript.t1.ts │ │ ├── mod2.ts │ │ ├── tla.ts │ │ ├── mt_application_ecmascript.j2.js │ │ ├── mt_application_x_javascript.j4.js │ │ └── mt_application_x_typescript.t4.ts │ ├── fmt │ │ ├── fmt_with_config.out │ │ ├── expected_fmt_check_ignore.out │ │ ├── fmt_with_config_and_flags.out │ │ ├── badly_formatted.css │ │ ├── glob │ │ │ ├── data │ │ │ │ ├── test1.js │ │ │ │ ├── test1.ts │ │ │ │ ├── tes.ts │ │ │ │ └── test12.ts │ │ │ ├── pages │ │ │ │ └── [id].ts │ │ │ └── nested │ │ │ │ ├── fizz │ │ │ │ ├── bar.ts │ │ │ │ ├── fizz.ts │ │ │ │ ├── foo.ts │ │ │ │ └── bazz.ts │ │ │ │ └── foo │ │ │ │ ├── bar.ts │ │ │ │ ├── fizz.ts │ │ │ │ ├── foo.ts │ │ │ │ └── bazz.ts │ │ ├── expected_fmt_check_formatted_files.out │ │ └── badly_formatted_fixed.css │ ├── malformed_config │ │ └── deno.json │ ├── node │ │ └── require_esm │ │ │ └── esm.js │ ├── npm │ │ ├── different_nested_dep │ │ │ └── main.out │ │ ├── deno_run_cjs.out │ │ ├── deno_run_esm.out │ │ ├── dual_cjs_esm │ │ │ └── main.out │ │ ├── exec_file │ │ │ └── main.ts │ │ └── binary_package │ │ │ └── main.js │ ├── test │ │ └── glob │ │ │ ├── data │ │ │ ├── tes.ts │ │ │ ├── test1.js │ │ │ ├── test1.ts │ │ │ └── test12.ts │ │ │ ├── pages │ │ │ └── [id].ts │ │ │ └── nested │ │ │ ├── fizz │ │ │ ├── bar.ts │ │ │ ├── bazz.ts │ │ │ ├── fizz.ts │ │ │ └── foo.ts │ │ │ └── foo │ │ │ ├── bar.ts │ │ │ ├── bazz.ts │ │ │ ├── fizz.ts │ │ │ └── foo.ts │ ├── tsc2 │ │ ├── file_main.ts │ │ ├── https_deno.land-x-b.ts │ │ ├── https_deno.land-x-c.js │ │ ├── https_deno.land-x-c.d.ts │ │ ├── https_deno.land-x-mod.ts │ │ └── file_exportc.ts │ ├── welcome.ts │ ├── cert │ │ └── cafile_ts_fetch.ts.out │ ├── check │ │ ├── cache_config_on_off │ │ │ └── main.ts │ │ └── declaration_header_file_with_no_exports_js.d.ts │ ├── commonjs │ │ └── data.json │ ├── compile │ │ ├── dynamic_imports │ │ │ ├── import_path │ │ │ └── import2.ts │ │ ├── standalone_import_map.ts │ │ ├── node_modules_symlink_outside │ │ │ └── main.out │ │ └── dynamic_imports_tmp_lit │ │ │ └── sub │ │ │ ├── a.js │ │ │ └── b.ts │ ├── encoding │ │ └── utf-8.ts │ ├── type_definitions │ │ ├── foo.js │ │ ├── qat.ts │ │ └── fizz.js │ ├── workers │ │ └── immediately_close_worker.js │ ├── lsp │ │ └── registries │ │ │ ├── a_v1.0.0_b.json │ │ │ ├── def_tags.json │ │ │ ├── a_latest_.json │ │ │ ├── a_v1.0.0_.json │ │ │ ├── a_v1.0.1_.json │ │ │ ├── a_v2.0.0_.json │ │ │ ├── b_latest_.json │ │ │ ├── b_v0.0.1_.json │ │ │ ├── b_v0.0.2_.json │ │ │ ├── b_v0.0.3_.json │ │ │ ├── cde_tags.json │ │ │ └── cdef_tags.json │ ├── module_graph │ │ ├── file_tests-b-mod.js │ │ ├── file_tests-b.ts │ │ ├── file_tests-c-mod.ts │ │ ├── file_typesref.d.ts │ │ ├── https_deno.land-x-a.ts │ │ ├── https_deno.land-x-lib-b.js │ │ └── https_deno.land-x-lib-c.d.ts │ ├── navigator_language.ts │ ├── tsc │ │ ├── node_modules │ │ │ ├── c.js │ │ │ └── b.js │ │ ├── d.ts │ │ └── a.js │ ├── import_maps │ │ └── vue.ts │ ├── navigator_languages.ts │ ├── import_attributes │ │ └── static_export.out │ ├── info │ │ ├── error_009_missing_js_module.js │ │ └── recursive_imports │ │ │ └── common.ts │ ├── lockfile │ │ └── no_dts │ │ │ └── mod.d.ts │ ├── task │ │ └── npx │ │ │ └── on_own.out │ └── inspector │ │ └── bar.js ├── specs │ ├── add │ │ ├── dist_tag │ │ │ └── deno.json │ │ ├── add_with_subpath │ │ │ └── deno.json │ │ ├── lockfile_only │ │ │ ├── package.json │ │ │ └── remove.out │ │ ├── missing_prefix │ │ │ └── deno.json │ │ ├── no_root_export │ │ │ └── deno.json │ │ ├── npm_jsr │ │ │ └── deno.json │ │ ├── exact_version │ │ │ └── deno.json │ │ ├── missing_npm_specifier │ │ │ └── deno.json │ │ ├── jsr_prefers_deno_json │ │ │ └── package.json │ │ ├── jsr_with_type_only_import │ │ │ └── deno.json │ │ ├── only_unstable_versions │ │ │ └── deno.json │ │ ├── package_json_and_deno_json │ │ │ ├── subdir │ │ │ │ └── mod.ts │ │ │ ├── deno.json │ │ │ └── package.json │ │ ├── error_import_map_field │ │ │ └── import_map.json │ │ ├── update_lockfile_if_package_json │ │ │ └── package.json │ │ ├── alias │ │ │ └── package.json │ │ └── dev │ │ │ └── deno.json │ ├── check │ │ ├── css_import │ │ │ ├── app.css │ │ │ ├── not_exists.ts │ │ │ └── exists.out │ │ ├── globbing │ │ │ ├── excluded.tsx │ │ │ ├── sub_dir │ │ │ │ └── main.ts │ │ │ └── main.ts │ │ ├── bytes_and_text_imports │ │ │ └── data.txt │ │ ├── isolated_declarations │ │ │ └── run.out │ │ ├── tsconfig_exclude │ │ │ └── deno.json │ │ ├── tsconfig_extends │ │ │ └── deno.json │ │ ├── tsconfig_files │ │ │ └── deno.json │ │ ├── tsconfig_include │ │ │ └── deno.json │ │ ├── tsconfig_no_config │ │ │ └── deno.json │ │ ├── tsconfig_root_dirs │ │ │ ├── deno.json │ │ │ └── subdir │ │ │ │ └── types │ │ │ │ └── foo.d.ts │ │ ├── check_non_normalized_specifier │ │ │ ├── other.ts │ │ │ └── main.ts │ │ ├── npm_pkg_empty_main_entry │ │ │ ├── run.out │ │ │ └── deno.json │ │ ├── ts_in_npm_pkg │ │ │ ├── package.json │ │ │ └── node_modules │ │ │ │ └── package │ │ │ │ └── main.ts │ │ ├── tsconfig_default_libs │ │ │ ├── deno.json │ │ │ └── tsconfig.json │ │ ├── tsconfig_extends_array │ │ │ └── deno.json │ │ ├── tsconfig_references_dir │ │ │ └── deno.json │ │ ├── types_resolved_relative_config │ │ │ └── main.ts │ │ ├── with_tsconfig_json │ │ │ ├── package.json │ │ │ └── main.out │ │ ├── tsconfig_files_for_globals │ │ │ └── deno.json │ │ ├── tsconfig_non_strict_defaults │ │ │ ├── deno.json │ │ │ └── tsconfig.json │ │ ├── ambient_modules │ │ │ ├── foo.out │ │ │ └── styles.module.css │ │ ├── byonm_import_missing_types │ │ │ ├── package.json │ │ │ ├── check.out │ │ │ ├── node_modules │ │ │ │ └── package │ │ │ │ │ ├── example.js │ │ │ │ │ └── package.json │ │ │ └── main.ts │ │ ├── package_json │ │ │ └── check.out │ │ ├── workspace │ │ │ ├── package_a.out │ │ │ ├── package-c │ │ │ │ ├── mod.ts │ │ │ │ └── check.js │ │ │ └── package-d │ │ │ │ ├── mod.ts │ │ │ │ └── check.js │ │ ├── check_types_dts │ │ │ └── main.out │ │ ├── compiler_options_paths_and_sloppy_imports │ │ │ ├── lib │ │ │ │ ├── foo.ts │ │ │ │ ├── index.ts │ │ │ │ └── bar │ │ │ │ │ └── mod.ts │ │ │ ├── src │ │ │ │ └── baz.ts │ │ │ └── types │ │ │ │ └── qux.ts │ │ ├── special_specifiers │ │ │ ├── check.out │ │ │ └── mod.ts │ │ ├── check_npm_install_diagnostics │ │ │ └── main.ts │ │ ├── workspace_compiler_option_types │ │ │ └── package-a │ │ │ │ └── other-globals.d.ts │ │ ├── check_exclude_option │ │ │ ├── deno.json │ │ │ └── ignored │ │ │ │ └── index.ts │ │ ├── jsx_import_source_not_in_graph │ │ │ ├── main.ts │ │ │ └── main.out │ │ ├── module_not_found_npm_pkg_entrypoint │ │ │ └── node_modules │ │ │ │ └── package │ │ │ │ └── index.js │ │ ├── module_not_found_npm_pkg_internal │ │ │ └── node_modules │ │ │ │ └── package │ │ │ │ └── index.js │ │ ├── with_bare_import │ │ │ └── 095_cache_with_bare_import.ts │ │ ├── check_workspace │ │ │ └── deno.json │ │ ├── lockfile_types_node_existing │ │ │ └── deno.json │ │ ├── compiler_options_types │ │ │ └── main.ts │ │ └── dts_importing_non_existent │ │ │ └── index.d.ts │ ├── compile │ │ ├── exclude │ │ │ ├── main.ts │ │ │ └── folder │ │ │ │ ├── a.txt │ │ │ │ ├── b.txt │ │ │ │ ├── sub_folder │ │ │ │ └── c.txt │ │ │ │ └── sub_folder2 │ │ │ │ └── d.txt │ │ ├── patch │ │ │ └── main.out │ │ ├── cjs │ │ │ ├── output.out │ │ │ ├── add.cjs │ │ │ └── reexport.cjs │ │ ├── npm_fs │ │ │ ├── main.out │ │ │ └── deno.json │ │ ├── redirects │ │ │ └── main.out │ │ ├── workspace │ │ │ └── main.out │ │ ├── byonm_main_sub_dir │ │ │ ├── main.out │ │ │ └── deno.json │ │ ├── include │ │ │ ├── folder │ │ │ │ ├── data │ │ │ │ │ ├── a.txt │ │ │ │ │ └── b.txt │ │ │ │ └── output.out │ │ │ ├── data_files │ │ │ │ ├── output.out │ │ │ │ └── data-file.txt │ │ │ └── folder_ts_file │ │ │ │ └── output.out │ │ ├── sloppy_imports │ │ │ ├── main.out │ │ │ ├── hello.ts │ │ │ └── main.ts │ │ ├── case_insensitive_building │ │ │ ├── file.txt │ │ │ └── main.out │ │ ├── package_json_type │ │ │ └── output.out │ │ ├── npmrc_byonm │ │ │ └── main.out │ │ ├── bytes_and_text_imports │ │ │ └── basic │ │ │ │ └── hello_bom.txt │ │ ├── npmrc_auto_install │ │ │ ├── main.out │ │ │ └── deno.json │ │ ├── npm_pkgs_lockfile_unused │ │ │ └── main.ts │ │ ├── default_v8_flags │ │ │ ├── main.out │ │ │ └── main.ts │ │ ├── repetitive_unstable_flag │ │ │ ├── .gitignore │ │ │ └── deno.json │ │ ├── no_code_cache │ │ │ └── main.out │ │ ├── npm_cjs_reexport_relative_parent_component │ │ │ └── main.out │ │ ├── two_times_compile_include_all │ │ │ └── main.ts │ │ ├── config_permissions │ │ │ └── empty │ │ │ │ └── main.ts │ │ └── permissions_denied │ │ │ └── main.ts │ ├── eval │ │ ├── eval_p │ │ │ └── main.out │ │ ├── eval_ts │ │ │ └── main.out │ │ ├── eval_basic │ │ │ └── main.out │ │ ├── env_file │ │ │ └── main.out │ │ ├── v8_flags_eval │ │ │ └── main.out │ │ ├── cjs │ │ │ └── say_hello.js │ │ ├── dyn_import_eval │ │ │ ├── mod4.js │ │ │ └── main.out │ │ ├── check_local │ │ │ └── main.out │ │ └── pkg_json_type_cjs │ │ │ └── package.json │ ├── fmt │ │ ├── non_workspace │ │ │ └── main.ts │ │ ├── gitignore │ │ │ └── .gitignore │ │ ├── strip_bom │ │ │ ├── main.ts │ │ │ └── format.out │ │ ├── ignore_unexplicit_files │ │ │ └── main.ts │ │ ├── sql │ │ │ ├── badly_formatted.sql │ │ │ ├── ignore_file.sql │ │ │ ├── ignore_file2.sql │ │ │ ├── well_formatted.sql │ │ │ └── ignore_file4.sql │ │ ├── workspace │ │ │ ├── a │ │ │ │ └── a.ts │ │ │ ├── b │ │ │ │ └── b.ts │ │ │ ├── root.ts │ │ │ └── a_fmt.out │ │ ├── default_ts │ │ │ ├── as_ts.js │ │ │ └── extensionless │ │ ├── css │ │ │ ├── badly_formatted.css │ │ │ └── well_formatted.css │ │ ├── html │ │ │ └── broken.html │ │ ├── no_error_deno_dir_not_exists │ │ │ └── main.ts │ │ ├── yaml │ │ │ ├── badly_formatted.yml │ │ │ ├── ignore_line.yml │ │ │ ├── well_formatted.yml │ │ │ ├── ignore_file.yaml │ │ │ └── ignore_file2.yaml │ │ └── mustache │ │ │ └── broken.mustache │ ├── publish │ │ ├── byonm_dep │ │ │ └── LICENSE │ │ ├── dry_run │ │ │ └── LICENSE │ │ ├── jsr_jsonc │ │ │ └── LICENSE │ │ ├── jsx_tsx │ │ │ └── LICENSE │ │ ├── no_check │ │ │ └── LICENSE │ │ ├── no_token │ │ │ └── LICENSE │ │ ├── successful │ │ │ └── LICENSE │ │ ├── symlink │ │ │ └── LICENSE │ │ ├── workspace │ │ │ ├── LICENSE │ │ │ └── bar │ │ │ │ └── LICENSE │ │ ├── has_slow_types │ │ │ └── LICENSE │ │ ├── invalid_import │ │ │ └── LICENSE │ │ ├── invalid_path │ │ │ ├── LICENSE │ │ │ └── path with spaces.txt │ │ ├── missing_exports │ │ │ └── LICENSE │ │ ├── node_specifier │ │ │ └── LICENSE │ │ ├── package_json │ │ │ └── LICENSE │ │ ├── sloppy_imports │ │ │ ├── LICENSE │ │ │ ├── mod.ts │ │ │ └── b │ │ │ │ └── index.ts │ │ ├── allow_slow_types │ │ │ └── LICENSE │ │ ├── bare_node_builtins │ │ │ └── LICENSE │ │ ├── config_file_jsonc │ │ │ └── LICENSE │ │ ├── dry_run_gitignored │ │ │ ├── LICENSE │ │ │ ├── gitignored.ts │ │ │ └── mod.ts │ │ ├── excluded_deno_jsonc │ │ │ ├── LICENSE │ │ │ └── mod.ts │ │ ├── missing_constraint │ │ │ └── LICENSE │ │ ├── npm_workspace │ │ │ ├── add │ │ │ │ └── LICENSE │ │ │ └── subtract │ │ │ │ └── LICENSE │ │ ├── package_json_imports │ │ │ └── LICENSE │ │ ├── raw_imports │ │ │ └── data.txt │ │ ├── set_version │ │ │ ├── success │ │ │ │ └── LICENSE │ │ │ └── multiple_packages │ │ │ │ └── LICENSE │ │ ├── byonm_with_package_json │ │ │ └── LICENSE │ │ ├── config_flag │ │ │ └── successful │ │ │ │ └── LICENSE │ │ ├── prefer_fast_check_graph │ │ │ └── LICENSE │ │ ├── publish_false │ │ │ ├── workspace │ │ │ │ ├── LICENSE │ │ │ │ └── b │ │ │ │ │ └── mod.ts │ │ │ └── single_package │ │ │ │ └── LICENSE │ │ ├── banned_triple_slash_directives │ │ │ └── LICENSE │ │ ├── javascript_missing_decl_file │ │ │ └── LICENSE │ │ ├── no_check_surfaces_syntax_error │ │ │ ├── LICENSE │ │ │ └── mod.ts │ │ ├── unanalyzable_dynamic_import │ │ │ └── LICENSE │ │ ├── invalid_import_esm_sh_suggestion │ │ │ └── LICENSE │ │ ├── npm_workspace_jsr_pkg_with_npm_dep │ │ │ └── LICENSE │ │ ├── missing_constraint_jsx_import_source │ │ │ └── LICENSE │ │ └── workspace_root_package │ │ │ └── package-b │ │ │ └── mod.ts │ ├── task │ │ ├── emoji │ │ │ └── main.out │ │ ├── cwd │ │ │ └── task_cwd.out │ │ ├── package_json_echo │ │ │ └── echo.out │ │ ├── deno_exe_no_env │ │ │ └── task_deno_exe_no_env.out │ │ ├── additional_args │ │ │ └── task_additional_args.out │ │ ├── init_cwd │ │ │ └── task_init_cwd.out │ │ ├── dependencies │ │ │ ├── cycle.out │ │ │ ├── cycle │ │ │ │ └── a.js │ │ │ ├── cycle_2 │ │ │ │ ├── a.js │ │ │ │ └── b.js │ │ │ ├── diamond │ │ │ │ ├── a.js │ │ │ │ ├── b.js │ │ │ │ ├── c.js │ │ │ │ └── d.js │ │ │ ├── run.js │ │ │ ├── cycle_2.out │ │ │ └── diamond_big │ │ │ │ ├── a.js │ │ │ │ ├── c.js │ │ │ │ ├── d.js │ │ │ │ └── e.js │ │ ├── eval │ │ │ ├── bin.out │ │ │ └── echo_pwd.out │ │ ├── workspace │ │ │ └── scripts │ │ │ │ └── main.ts │ │ ├── boolean_logic │ │ │ └── task_boolean_logic.out │ │ ├── deno_no_pre_post │ │ │ └── bin.out │ │ ├── filter │ │ │ ├── npm_exact.out │ │ │ └── npm_filter_recursive.out │ │ ├── init_cwd_already_set │ │ │ └── task_init_cwd_already_set.out │ │ ├── lockfile_frozen │ │ │ └── deno.lock │ │ └── bin_package │ │ │ └── deno.json │ ├── bench │ │ ├── collect │ │ │ └── collect │ │ │ │ ├── bench.ts │ │ │ │ └── include │ │ │ │ ├── 2_bench.ts │ │ │ │ └── bench.ts │ │ ├── no_check │ │ │ └── no_check.ts │ │ ├── config_permissions │ │ │ └── workspace │ │ │ │ └── b │ │ │ │ └── deno.json │ │ ├── no_files │ │ │ └── error.out │ │ ├── interval │ │ │ └── interval.ts │ │ └── file_protocol │ │ │ └── file_protocol.ts │ ├── jsr │ │ ├── no_unused_params │ │ │ └── LICENSE │ │ ├── excluded_export_module │ │ │ ├── LICENSE │ │ │ ├── excluded_file1.ts │ │ │ ├── excluded_file2.ts │ │ │ └── not_imported_excluded_file.ts │ │ ├── no_module_graph │ │ │ └── multiple.out │ │ └── import_meta_resolve_non_jsr_url │ │ │ └── main.out │ ├── lint │ │ ├── gitignore │ │ │ └── .gitignore │ │ ├── jsx │ │ │ └── react │ │ │ │ └── deno.json │ │ ├── ignore_unexplicit_files │ │ │ └── main.ts │ │ ├── stdin │ │ │ └── main.ts │ │ ├── stdin_json │ │ │ └── main.ts │ │ ├── lint_plugin │ │ │ ├── a.ts │ │ │ ├── lint_fixed.out │ │ │ └── lint_exclude.out │ │ ├── jsr_tag │ │ │ ├── non_package.out │ │ │ ├── package │ │ │ │ └── type.ts │ │ │ └── non_package │ │ │ │ └── type.ts │ │ ├── lint_fix │ │ │ └── lint_fixed.out │ │ ├── lint_plugin_utf16 │ │ │ ├── fix.out │ │ │ ├── fixed.out │ │ │ └── main.ts │ │ ├── lint_plugin_workspace │ │ │ └── member │ │ │ │ ├── deno.json │ │ │ │ └── main.ts │ │ ├── sloppy_imports_dts │ │ │ ├── a.ts │ │ │ ├── b.js │ │ │ ├── c.mts │ │ │ ├── d.mjs │ │ │ ├── a.d.ts │ │ │ ├── b.d.ts │ │ │ ├── c.d.mts │ │ │ ├── d.d.mts │ │ │ ├── check.out │ │ │ ├── dir_js │ │ │ │ ├── index.d.ts │ │ │ │ └── index.js │ │ │ ├── dir_mjs │ │ │ │ ├── index.mjs │ │ │ │ └── index.d.ts │ │ │ ├── dir_mts │ │ │ │ ├── index.mts │ │ │ │ └── index.d.ts │ │ │ └── dir_ts │ │ │ │ ├── index.d.ts │ │ │ │ └── index.ts │ │ ├── default_ts │ │ │ ├── as_ts.js │ │ │ └── extensionless │ │ ├── lint_plugin_empty_tags │ │ │ ├── main.ts │ │ │ └── log.out │ │ ├── lint_plugin_lifecycle │ │ │ └── a.ts │ │ ├── lint_plugin_no_fixer │ │ │ └── a.ts │ │ ├── lint_plugin_permissions │ │ │ └── a.ts │ │ ├── no_import_prefix │ │ │ └── workspace │ │ │ │ └── deno.json │ │ ├── no_slow_types │ │ │ └── deno.non-package.json │ │ ├── lint_plugin_multiple_fixes │ │ │ └── fix.out │ │ ├── syntax_error_reporting │ │ │ └── script.ts │ │ ├── all │ │ │ ├── file1.js │ │ │ └── expected.out │ │ ├── compact │ │ │ └── file1.js │ │ ├── json │ │ │ └── file1.js │ │ ├── quiet │ │ │ └── file1.js │ │ ├── rules │ │ │ └── expected_rules.out │ │ ├── with_glob_config │ │ │ └── glob │ │ │ │ ├── data │ │ │ │ ├── tes.ts │ │ │ │ ├── test1.js │ │ │ │ ├── test1.ts │ │ │ │ └── test12.ts │ │ │ │ ├── nested │ │ │ │ ├── foo │ │ │ │ │ ├── bar.ts │ │ │ │ │ ├── foo.ts │ │ │ │ │ ├── bazz.ts │ │ │ │ │ └── fizz.ts │ │ │ │ └── fizz │ │ │ │ │ ├── bar.ts │ │ │ │ │ ├── bazz.ts │ │ │ │ │ ├── fizz.ts │ │ │ │ │ └── foo.ts │ │ │ │ └── pages │ │ │ │ └── [id].ts │ │ ├── rules_quiet │ │ │ └── expected_rules.out │ │ ├── opt_out_top_level_exclude_via_lint_inexclude │ │ │ ├── main.ts │ │ │ └── excluded.ts │ │ ├── sloppy_imports_no_incremental_cache │ │ │ └── file.js │ │ ├── with_glob_config_and_flags │ │ │ └── glob │ │ │ │ ├── data │ │ │ │ ├── tes.ts │ │ │ │ ├── test1.js │ │ │ │ ├── test1.ts │ │ │ │ └── test12.ts │ │ │ │ ├── nested │ │ │ │ └── foo │ │ │ │ │ ├── bar.ts │ │ │ │ │ └── foo.ts │ │ │ │ └── pages │ │ │ │ └── [id].ts │ │ ├── glob │ │ │ └── without_config │ │ │ │ └── file1.js │ │ ├── ignore │ │ │ └── without_config │ │ │ │ └── file1.js │ │ └── jsx_runtime_pragma_unknown_value │ │ │ └── main.tsx │ ├── lockfile │ │ ├── upgrades_v5 │ │ │ └── empty.js │ │ ├── config_remove_npm_deps │ │ │ ├── main.ts │ │ │ └── lock_final.out │ │ ├── frozen_lockfile │ │ │ ├── package.json │ │ │ ├── deno.json │ │ │ └── jsr.ts │ │ ├── adding_jsr_dep │ │ │ ├── add.ts │ │ │ └── subtract.ts │ │ ├── adding_npm_dep │ │ │ ├── add.ts │ │ │ └── subtract.ts │ │ ├── checksum_at_redirect │ │ │ └── deno.json │ │ ├── jsx_import_source_and_types │ │ │ └── index.tsx │ │ ├── run_overlapping_npm_constraints │ │ │ └── deno.json │ │ ├── auto_discover_lockfile │ │ │ └── deno.json │ │ ├── adding_redirect │ │ │ ├── 1.ts │ │ │ └── 2.ts │ │ └── config_file_lock_boolean │ │ │ ├── false.json │ │ │ └── true.json │ ├── run │ │ ├── cts │ │ │ ├── main │ │ │ │ ├── main.out │ │ │ │ └── import_main.cjs │ │ │ ├── cjs_import_cts │ │ │ │ └── main.out │ │ │ └── import_export_equals │ │ │ │ ├── mod.mts.out │ │ │ │ └── main.out │ │ ├── empty_typescript │ │ │ └── empty.ts │ │ ├── unref_stdin │ │ │ └── main.out │ │ ├── wasm │ │ │ └── wasm.ts.out │ │ ├── wasm_shared │ │ │ └── wasm_shared.out │ │ ├── if_main │ │ │ └── if_main.ts.out │ │ ├── invalid_emit_options │ │ │ └── main.ts │ │ ├── process_env_load │ │ │ ├── env │ │ │ └── env_file.out │ │ ├── tls_connecttls │ │ │ └── tls.out │ │ ├── tls_starttls │ │ │ └── tls.out │ │ ├── v8_jitless │ │ │ ├── main.out │ │ │ └── main.js │ │ ├── cjs │ │ │ ├── unprepared │ │ │ │ └── main.out │ │ │ └── main_module │ │ │ │ └── main.cjs │ │ ├── mts_dmts_mjs │ │ │ ├── mts_dmts_mjs.out │ │ │ ├── mod.mjs │ │ │ └── types.d.mts │ │ ├── npm_pkg_requires_esm_js │ │ │ ├── package.json │ │ │ ├── file.js │ │ │ └── logs_require.js │ │ ├── shebang_swc │ │ │ └── shebang.ts.out │ │ ├── shebang_tsc │ │ │ └── shebang.ts.out │ │ ├── unstable │ │ │ ├── bundle.ts │ │ │ ├── cron.ts │ │ │ ├── kv.ts │ │ │ └── temporal.ts │ │ ├── window │ │ │ ├── window2.js │ │ │ ├── window3.js │ │ │ └── window1.js │ │ ├── config_permissions │ │ │ ├── workspace │ │ │ │ ├── a │ │ │ │ │ └── data │ │ │ │ │ │ └── a.txt │ │ │ │ └── data │ │ │ │ │ └── a.txt │ │ │ └── basic │ │ │ │ └── data │ │ │ │ └── data.json │ │ ├── exit_code │ │ │ └── main.out │ │ ├── https_import │ │ │ └── https_import.ts.out │ │ ├── issue_13562 │ │ │ └── issue13562.ts.out │ │ ├── lazy_dynamic_imports │ │ │ └── deno.json │ │ ├── package_json │ │ │ ├── invalid_value │ │ │ │ └── ok.ts.out │ │ │ └── with_deno_json │ │ │ │ └── main.out │ │ ├── preload_same_module │ │ │ ├── main.out │ │ │ └── main.ts │ │ ├── run_task │ │ │ ├── main.ts │ │ │ ├── main.out │ │ │ └── main_foo.out │ │ ├── sloppy_imports │ │ │ ├── a.ts │ │ │ ├── b.js │ │ │ ├── c.mts │ │ │ ├── d.mjs │ │ │ ├── e.tsx │ │ │ ├── f.jsx │ │ │ ├── dir │ │ │ │ └── index.tsx │ │ │ └── env_file │ │ ├── top_level_await │ │ │ ├── hello.txt │ │ │ ├── nested │ │ │ │ └── b.js │ │ │ ├── nested.out │ │ │ ├── top_level_for_await.out │ │ │ ├── tla │ │ │ │ └── order.js │ │ │ └── unresolved.js │ │ ├── unsafe_proto │ │ │ └── main.out │ │ ├── v8_flags_run │ │ │ ├── v8_flags.js.out │ │ │ └── v8_flags.js │ │ ├── wasm_async │ │ │ └── wasm_async.out │ │ ├── worker_close_race │ │ │ └── worker_close_race.js.out │ │ ├── _001_hello │ │ │ ├── 001_hello.js.out │ │ │ └── 001_hello.js │ │ ├── _002_hello │ │ │ ├── 002_hello.ts.out │ │ │ └── 002_hello.ts │ │ ├── _012_async │ │ │ └── 012_async.ts.out │ │ ├── bytes_and_text_imports │ │ │ ├── dynamic │ │ │ │ ├── hello.txt │ │ │ │ ├── utf8_bom.txt │ │ │ │ ├── non_analyzable_utf8_bom.txt │ │ │ │ └── non_analyzable.txt │ │ │ ├── static │ │ │ │ ├── hello.txt │ │ │ │ └── utf8_bom.txt │ │ │ ├── missing_unstable │ │ │ │ └── data.txt │ │ │ └── npm_dep_import_local_file │ │ │ │ └── secret.txt │ │ ├── env_file │ │ │ ├── env_two │ │ │ └── env_one │ │ ├── exit_error42 │ │ │ └── exit_error42.ts.out │ │ ├── import_type │ │ │ └── import_type.ts.out │ │ ├── js_import_detect │ │ │ └── js_import_detect.ts.out │ │ ├── mts_dmts_mjs_no_check │ │ │ ├── mts_dmts_mjs.out │ │ │ ├── mod.mjs │ │ │ └── types.d.mts │ │ ├── no_deno_json │ │ │ ├── no_package_json_imports.out │ │ │ ├── code │ │ │ │ └── no_package_json_imports.ts │ │ │ └── noconfig.out │ │ ├── node_globals_hints │ │ │ ├── dirname.js │ │ │ └── filename.js │ │ ├── package_json_type │ │ │ ├── none │ │ │ │ └── package.json │ │ │ └── commonjs │ │ │ │ └── jsx │ │ │ │ └── main.out │ │ ├── redirect_javascript │ │ │ └── main.out │ │ ├── skips_compiler_option_types │ │ │ ├── main.out │ │ │ └── main.ts │ │ ├── unbuffered_stderr │ │ │ └── unbuffered_stderr.ts.out │ │ ├── unbuffered_stdout │ │ │ └── unbuffered_stdout.ts.out │ │ ├── v8_flags_env_run │ │ │ ├── v8_flags.js.out │ │ │ └── v8_flags.js │ │ ├── _005_more_imports │ │ │ └── 005_more_imports.ts.out │ │ ├── _021_mjs_modules │ │ │ ├── 021_mjs_modules.ts.out │ │ │ └── mod5.mjs │ │ ├── byte_order_mark │ │ │ ├── byte_order_mark.out │ │ │ └── 001_hello.js │ │ ├── check_js_points_to_ts │ │ │ └── check_js_points_to_ts │ │ │ │ └── foo.d.ts │ │ ├── config_types │ │ │ └── config_types │ │ │ │ ├── main.out │ │ │ │ └── main.ts │ │ ├── fix_js_import_js │ │ │ ├── fix_js_import_js.ts.out │ │ │ ├── mod4.js │ │ │ └── mod6.js │ │ ├── lock_check_ok │ │ │ └── 003_relative_import.ts.out │ │ ├── node_prefix_missing │ │ │ ├── byonm │ │ │ │ ├── package.json │ │ │ │ └── has.out │ │ │ ├── deno.json │ │ │ └── feature_enabled.out │ │ ├── reference_types │ │ │ └── reference_types.ts.out │ │ ├── require_esm │ │ │ ├── sync.js │ │ │ ├── sync.mjs │ │ │ └── async.js │ │ ├── sqlite_attach_perms │ │ │ └── sqlite_attach_perms.out │ │ ├── stdin_cjs │ │ │ └── say_hello.js │ │ ├── workspaces │ │ │ ├── explicit_import_map │ │ │ │ └── main.out │ │ │ └── members_are_imports │ │ │ │ ├── bar │ │ │ │ └── mod.ts │ │ │ │ └── foo │ │ │ │ └── mod.ts │ │ ├── _003_relative_import │ │ │ └── 003_relative_import.ts.out │ │ ├── _013_dynamic_import │ │ │ └── 013_dynamic_import.ts.out │ │ ├── _077_fetch_empty │ │ │ └── 077_fetch_empty.ts │ │ ├── check_remote │ │ │ └── type_error.ts │ │ ├── config_types_remote │ │ │ └── config_types │ │ │ │ ├── main.out │ │ │ │ └── main.ts │ │ ├── document │ │ │ └── document.js │ │ ├── dynamic_already_prepared │ │ │ ├── dynamic.ts │ │ │ ├── dynamic2.ts │ │ │ └── dynamic3.ts │ │ ├── dynamic_import_error_cached │ │ │ └── main.out │ │ ├── dynamic_import_static_analysis_no_permissions │ │ │ ├── empty_1.ts │ │ │ └── empty_2.ts │ │ ├── error_007_any │ │ │ └── error_007_any.ts │ │ ├── es_private_fields │ │ │ └── es_private_fields.js.out │ │ ├── fix_tsc_file_exists │ │ │ └── fix_tsc_file_exists.out │ │ ├── import_common_js │ │ │ ├── index.out │ │ │ └── main.ts │ │ ├── import_map_parent_dir │ │ │ ├── run.out │ │ │ ├── shared │ │ │ │ └── models.ts │ │ │ └── sub │ │ │ │ └── main.ts │ │ ├── import_type_no_check │ │ │ └── import_type.ts.out │ │ ├── lock_v2_check_ok │ │ │ └── 003_relative_import.ts.out │ │ ├── no_check │ │ │ ├── 006_url_imports.ts.out │ │ │ └── mod2.ts │ │ ├── no_reparse_first_load │ │ │ └── main.ts │ │ ├── permission_args_quiet │ │ │ ├── 001_hello.js.out │ │ │ └── 001_hello.js │ │ ├── wasm_module │ │ │ ├── integrity_check_failed │ │ │ │ └── deno.json │ │ │ └── cjs_importing │ │ │ │ └── main.out │ │ ├── _004_set_timeout │ │ │ └── 004_set_timeout.ts.out │ │ ├── _006_url_imports │ │ │ └── 006_url_imports.ts.out │ │ ├── _014_duplicate_import │ │ │ └── 014_duplicate_import.ts.out │ │ ├── _016_double_await │ │ │ └── 016_double_await.ts.out │ │ ├── _072_location_relative_fetch │ │ │ └── fetch │ │ │ │ └── hello.txt │ │ ├── conditional_exports_from_require │ │ │ └── main.cjs │ │ ├── dynamic_import_dep_written_runtime │ │ │ └── a.ts │ │ ├── heapstats │ │ │ └── heapstats.js.out │ │ ├── import_extensionless │ │ │ └── import_extensionless.ts.out │ │ ├── import_map_bare_specifier │ │ │ ├── direct_file.out │ │ │ ├── local_file.out │ │ │ ├── npm.out │ │ │ └── relative_mapping.out │ │ ├── kv_path_with_dot │ │ │ └── main.out │ │ ├── kv_relative_path │ │ │ └── main.out │ │ ├── lazy_npm │ │ │ └── deno.json │ │ ├── npm_json_without_attribute_error │ │ │ ├── node_modules │ │ │ │ └── foo │ │ │ │ │ └── bar.json │ │ │ └── main.ts │ │ ├── permission_args │ │ │ └── 001_hello.js │ │ ├── _017_import_redirect │ │ │ └── 017_import_redirect.ts.out │ │ ├── _025_reload_js_type_error │ │ │ └── 025_reload_js_type_error.js.out │ │ ├── _042_dyn_import_evalcontext │ │ │ └── mod4.js │ │ ├── blob_gc_finalization │ │ │ └── blob_gc_finalization.js.out │ │ ├── config_sibling_dir │ │ │ └── api │ │ │ │ └── index.ts │ │ ├── fix_emittable_skipped │ │ │ └── emittable.d.ts │ │ ├── import_blob_url_imports │ │ │ └── import_blob_url_imports.ts.out │ │ ├── import_data_url_imports │ │ │ └── import_data_url_imports.ts.out │ │ ├── jsx_import_from_ts │ │ │ └── jsx_import_from_ts.ts.out │ │ ├── no_lock_flag │ │ │ └── no_lock_flag │ │ │ │ └── deno.json │ │ ├── references_types_remote │ │ │ └── reference_types_remote.ts.out │ │ ├── serve │ │ │ └── ipv6_hostname.out │ │ ├── ts_import_assertions │ │ │ ├── data.json │ │ │ └── with.out │ │ ├── type_directives_02 │ │ │ └── type_reference.d.ts │ │ ├── unsafe_proto_flag │ │ │ └── main_with_unsafe_proto_flag.out │ │ ├── unstable_temporal_api │ │ │ └── missing_flag.js │ │ ├── weakref │ │ │ └── weakref.ts │ │ ├── _017_import_redirect_check │ │ │ └── 017_import_redirect.ts.out │ │ ├── _027_redirect_typescript │ │ │ └── 027_redirect_typescript.ts.out │ │ ├── bare_run_main │ │ │ └── main.out │ │ ├── classic_workers_event_loop │ │ │ └── classic_workers_event_loop.js.out │ │ ├── conditional_exports │ │ │ └── no_condition.out │ │ ├── default_ts │ │ │ └── as_ts.js │ │ ├── dynamic_import_conditional │ │ │ └── dynamic_import_conditional.js.out │ │ ├── dynamic_import_dep_written_runtime_with_npm │ │ │ └── a.ts │ │ ├── fix_js_imports │ │ │ └── fix_js_imports.ts.out │ │ ├── fix_worker_dispatchevent │ │ │ └── fix_worker_dispatchevent.ts.out │ │ ├── import_blob_url_jsx │ │ │ └── import_blob_url_jsx.ts.out │ │ ├── import_data_url_jsx │ │ │ └── import_data_url_jsx.ts.out │ │ ├── private_field_presence │ │ │ └── private_field_presence.ts.out │ │ ├── tsx_imports │ │ │ └── tsx_imports │ │ │ │ ├── Component.tsx │ │ │ │ └── tsx_imports.ts │ │ └── type_definitions │ │ │ └── type_definitions │ │ │ ├── fizz.js │ │ │ ├── foo.js │ │ │ └── qat.ts │ ├── test │ │ ├── collect │ │ │ └── collect │ │ │ │ ├── include.ts │ │ │ │ ├── test.ts │ │ │ │ └── include │ │ │ │ ├── test.ts │ │ │ │ └── 2_test.ts │ │ ├── no_check │ │ │ └── main.ts │ │ ├── test_with_config │ │ │ └── collect │ │ │ │ ├── include.ts │ │ │ │ ├── test.ts │ │ │ │ └── include │ │ │ │ ├── test.ts │ │ │ │ └── 2_test.ts │ │ ├── test_with_config2 │ │ │ └── collect │ │ │ │ ├── include.ts │ │ │ │ ├── test.ts │ │ │ │ └── include │ │ │ │ ├── test.ts │ │ │ │ └── 2_test.ts │ │ ├── clean_flag │ │ │ └── main.out │ │ ├── no_run │ │ │ └── main.ts │ │ ├── no_files │ │ │ └── error.out │ │ ├── config_permissions │ │ │ └── workspace │ │ │ │ └── b │ │ │ │ └── deno.json │ │ ├── file_protocol │ │ │ └── main.ts │ │ ├── interval │ │ │ └── main.ts │ │ ├── parallel_flag │ │ │ └── main.ts │ │ ├── text │ │ │ ├── main.md │ │ │ └── main.out │ │ ├── test_with_glob_config │ │ │ └── glob │ │ │ │ ├── data │ │ │ │ ├── tes.ts │ │ │ │ ├── test1.js │ │ │ │ ├── test1.ts │ │ │ │ └── test12.ts │ │ │ │ ├── nested │ │ │ │ └── foo │ │ │ │ │ ├── bar.ts │ │ │ │ │ └── foo.ts │ │ │ │ └── pages │ │ │ │ └── [id].ts │ │ └── uncaught_errors │ │ │ └── uncaught_errors_3.ts │ ├── bundle │ │ ├── main │ │ │ ├── deno.jsonc │ │ │ └── sloppy.ts │ │ ├── require_dotdot │ │ │ ├── package.json │ │ │ └── index.js │ │ ├── jsx │ │ │ └── main.tsx │ │ ├── frozen │ │ │ └── main.tsx │ │ ├── sourcemap │ │ │ └── main.ts │ │ ├── browser_platform_exports │ │ │ └── package.json │ │ ├── dir_import_package_json │ │ │ ├── package.json │ │ │ └── node_modules │ │ │ │ └── package │ │ │ │ └── package.json │ │ ├── externals │ │ │ └── ext │ │ │ │ ├── bar.ts │ │ │ │ └── foo.ts │ │ ├── html │ │ │ ├── style.css │ │ │ ├── index.ts │ │ │ └── sub │ │ │ │ └── index.ts │ │ ├── sloppy_imports │ │ │ └── foo.js │ │ ├── error_message │ │ │ ├── imports-css.tsx │ │ │ └── foo.css │ │ ├── fallible_imports │ │ │ └── local_bad.ts │ │ ├── json_import_no_attribute │ │ │ ├── json.out │ │ │ └── foo.json │ │ └── multiple_entries │ │ │ └── src │ │ │ ├── bar │ │ │ └── helper.ts │ │ │ └── foo │ │ │ └── helper.ts │ ├── info │ │ ├── workspace_member │ │ │ ├── member3 │ │ │ │ ├── bar.ts │ │ │ │ └── mod.ts │ │ │ ├── member2 │ │ │ │ └── deno.json │ │ │ └── member │ │ │ │ └── sub │ │ │ │ └── file.ts │ │ ├── bytes_and_text_imports │ │ │ └── data.txt │ │ ├── with_config_override │ │ │ └── with_config │ │ │ │ ├── deno.json │ │ │ │ ├── import_map.json │ │ │ │ └── test.ts │ │ ├── ts_error │ │ │ └── info_ts_error.ts │ │ ├── data_null_error │ │ │ └── data_null_error │ │ │ │ └── types.d.ts │ │ ├── json_file │ │ │ └── mod2.ts │ │ └── missing_module │ │ │ └── error_009_missing_js_module.js │ ├── install │ │ ├── lockfile_only │ │ │ └── package.json │ │ ├── npm_workspace_package │ │ │ ├── a │ │ │ │ ├── foo.js │ │ │ │ └── mod.js │ │ │ └── b │ │ │ │ └── mod.ts │ │ ├── unknown_media_type │ │ │ ├── styles.css │ │ │ └── foo.ts │ │ ├── future_install_add_dist_tag │ │ │ └── deno.json │ │ ├── install_add_dev │ │ │ └── package.json │ │ ├── minimum_dependency_age │ │ │ ├── outdated.out │ │ │ ├── deno.json │ │ │ ├── package.json │ │ │ └── update.out │ │ ├── byonm_jsr_npm_dep │ │ │ └── package.json │ │ ├── byonm_run_tag_after_install │ │ │ └── package.json │ │ ├── future_install_local_add_deno │ │ │ └── deno.json │ │ ├── global │ │ │ ├── warn_config_file │ │ │ │ ├── deno.json │ │ │ │ └── main.js │ │ │ └── config_file_import_map │ │ │ │ ├── import_map.json │ │ │ │ └── main.ts │ │ ├── jsr_exports │ │ │ └── main.out │ │ ├── minimum_dependency_age_exclude_jsr │ │ │ └── package.json │ │ ├── minimum_dependency_age_exclude_npm │ │ │ └── package.json │ │ ├── cache_out_of_date_with_lockfile │ │ │ └── package.json │ │ └── type_only_import │ │ │ └── run.out │ ├── node │ │ ├── node_fs_cp │ │ │ ├── source │ │ │ │ └── foo.txt │ │ │ └── main.out │ │ ├── node_debug │ │ │ └── hello.txt │ │ ├── stdio_ipc │ │ │ └── main.out │ │ ├── cjs_analysis_multiple_errors │ │ │ └── package.json │ │ ├── imports_slash_wildcard │ │ │ └── main.out │ │ ├── imports_wildcard │ │ │ ├── main.out │ │ │ └── package.json │ │ ├── detect_es_module_defined_as_cjs │ │ │ ├── main.out │ │ │ └── package.json │ │ ├── types_versions │ │ │ └── node_modules │ │ │ │ └── package │ │ │ │ ├── sub.js │ │ │ │ └── index.js │ │ ├── unstable_detect_cjs │ │ │ ├── no_pkg_json │ │ │ │ └── main.out │ │ │ ├── return_stmt │ │ │ │ └── main.out │ │ │ └── no_type_field │ │ │ │ ├── main.out │ │ │ │ └── package.json │ │ ├── import_cjs_file_no_ext_mjs_pkg │ │ │ └── package.json │ │ ├── missing_ext_suggestion │ │ │ ├── node_modules │ │ │ │ └── package │ │ │ │ │ ├── esm.mjs │ │ │ │ │ ├── commonjs.cjs │ │ │ │ │ └── module.js │ │ │ ├── esm.ts │ │ │ ├── js.ts │ │ │ ├── commonjs.ts │ │ │ └── npm_specifier.mjs │ │ ├── spawn_keeps_npm_state │ │ │ └── main.out │ │ ├── byonm_phantom_dep_res_failure │ │ │ ├── good_import.out │ │ │ └── package.json │ │ ├── esm_dir_import │ │ │ ├── package_json │ │ │ │ ├── package.json │ │ │ │ ├── node_modules │ │ │ │ │ └── fp-ts │ │ │ │ │ │ └── lib │ │ │ │ │ │ └── function.js │ │ │ │ └── main.ts │ │ │ └── dir_same_name_file │ │ │ │ ├── node_modules │ │ │ │ └── package │ │ │ │ │ ├── dir.js │ │ │ │ │ └── dir │ │ │ │ │ └── data.txt │ │ │ │ ├── package.json │ │ │ │ └── main.ts │ │ ├── require_esm_reexport_esm_module_exports │ │ │ └── run.out │ │ ├── require_esm_module_exports │ │ │ └── main.out │ │ ├── worker_threads │ │ │ └── message_port_removelistener.out │ │ ├── dynamic_import_and_require_dual │ │ │ └── resolution_mode_require_import_type.out │ │ ├── readline_doesnt_require_permissions │ │ │ └── main.out │ │ ├── require_esm_reexport_esm │ │ │ └── mod2.cjs │ │ └── types_req_export │ │ │ └── node_modules │ │ │ └── package │ │ │ └── index.js │ ├── npm │ │ ├── pkg_json_imports │ │ │ └── run.out │ │ ├── byonm_run_npm │ │ │ ├── deno.json │ │ │ └── package.json │ │ ├── json_import │ │ │ └── package.json │ │ ├── npmrc │ │ │ └── main.out │ │ ├── npmrc_no_auth │ │ │ ├── main.out │ │ │ └── .npmrc │ │ ├── require_type_commonjs │ │ │ └── main.out │ │ ├── npmrc_install_arg │ │ │ └── main.out │ │ ├── unanalyzable_dynamic_import │ │ │ └── main.out │ │ ├── workspace_wildcards │ │ │ └── main.out │ │ ├── bytes_and_text_imports │ │ │ └── package.json │ │ ├── future_node_modules_dir_setting │ │ │ └── main.out │ │ ├── node_modules_import │ │ │ └── main.out │ │ ├── npmrc_basic_auth │ │ │ └── main.out │ │ ├── npmrc_no_auth_install │ │ │ └── main.out │ │ ├── future_auto_install_no_package_json │ │ │ └── main.out │ │ ├── npmrc_username_password │ │ │ └── main.out │ │ ├── permissions_outside_package │ │ │ └── package.json │ │ ├── pkg_index_ts_and_js │ │ │ ├── index.js │ │ │ └── node_modules │ │ │ │ └── package │ │ │ │ └── json │ │ │ │ └── index.json │ │ ├── local_dir_resolves_symlinks │ │ │ └── index.out │ │ ├── npmrc_deno_json │ │ │ └── deno.json │ │ ├── require_esm │ │ │ └── require_esm │ │ │ │ └── esm.js │ │ ├── byonm_npm_specifier_in_node_modules │ │ │ └── package.json │ │ ├── cjs_reexport_collision │ │ │ └── cjs_reexport_collision │ │ │ │ └── main.out │ │ ├── dual_cjs_esm │ │ │ └── esm_referrer │ │ │ │ └── main.out │ │ ├── exports_no_condition_matched_error │ │ │ ├── package.json │ │ │ └── main.ts │ │ ├── peer_deps_with_copied_folders_and_lockfile │ │ │ ├── deno.json │ │ │ └── main.out │ │ ├── remote_npm_specifier │ │ │ └── remote_npm_specifier │ │ │ │ └── main.out │ │ ├── deno_run_bin_cjs │ │ │ └── deno_run_cjs.out │ │ ├── deno_run_bin_esm │ │ │ └── deno_run_esm.out │ │ ├── exec_file_inside_npm_package │ │ │ └── main.out │ │ ├── invalid_package_name │ │ │ └── main.js │ │ ├── lifecycle_scripts │ │ │ └── argument │ │ │ │ └── only_warns_first2.out │ │ ├── link_npm_package_deep │ │ │ └── linked │ │ │ │ └── main.mjs │ │ ├── workspace_basic │ │ │ └── b │ │ │ │ └── main_byonm.out │ │ ├── deno_run_bin_no_ext │ │ │ └── deno_run_no_ext.out │ │ ├── node_modules_dir_require_main_entry │ │ │ └── require_main │ │ │ │ └── main.out │ │ ├── sub_paths │ │ │ └── sub_paths │ │ │ │ └── main.out │ │ └── user_agent_env_var │ │ │ └── deno.jsonc │ ├── x │ │ ├── run_local_bin │ │ │ └── run_local.out │ │ ├── print_no_local │ │ │ └── print.out │ │ ├── alias │ │ │ └── alias.out │ │ ├── run_jsr_package │ │ │ └── run.out │ │ ├── run_npm_package │ │ │ └── run.out │ │ └── run_npm_prefixless │ │ │ └── run.out │ ├── import_map │ │ └── import_map_config │ │ │ ├── cache.out │ │ │ └── vue.ts │ ├── outdated │ │ └── mixed_workspace │ │ │ └── member-a │ │ │ └── mod.ts │ ├── permission │ │ ├── ignore_read │ │ │ └── flags │ │ │ │ └── data.txt │ │ └── allow_import_cached_only │ │ │ └── success.out │ ├── remove │ │ ├── alias │ │ │ └── package.json.out │ │ ├── basic │ │ │ ├── remove_lock.out │ │ │ └── rm.out │ │ └── package_json │ │ │ ├── rm_esm_basic_package.json.out │ │ │ └── rm_esm_basic.out │ ├── workspaces │ │ ├── lockfile │ │ │ └── pkg-no-deps │ │ │ │ └── mod.ts │ │ └── non_fatal_diagnostics │ │ │ └── sub │ │ │ └── main.ts │ ├── repl │ │ └── console_log │ │ │ └── 093_console_log_format.out │ ├── doc │ │ ├── types_hint │ │ │ └── foo.js │ │ ├── lint_success │ │ │ └── lint_success.out │ │ ├── import_map │ │ │ └── use_import_map.js │ │ ├── builtin │ │ │ └── deno_doc_builtin.out │ │ ├── deno_doc │ │ │ ├── deno_doc.ts │ │ │ └── deno_doc2.ts │ │ ├── html │ │ │ └── deno.json │ │ ├── json │ │ │ └── types.d.ts │ │ └── lint_html_success │ │ │ └── lint_success_html.out │ ├── future │ │ ├── unstable_flags │ │ │ └── main.out │ │ └── import_assertions │ │ │ └── main.json │ ├── cache │ │ ├── check_local_by_default │ │ │ └── check_local_by_default.out │ │ ├── check_local_by_default2 │ │ │ └── check_local_by_default2.out │ │ ├── globbing │ │ │ ├── main.ts │ │ │ └── excluded.tsx │ │ ├── performance_stats │ │ │ └── hello.ts │ │ ├── package_json │ │ │ └── deno.json │ │ ├── with_bare_import │ │ │ └── 095_cache_with_bare_import.ts │ │ ├── fetch_multiple │ │ │ └── test.ts │ │ └── json_import │ │ │ └── test.json │ ├── cli │ │ ├── otel_basic │ │ │ ├── natural_exit.ts │ │ │ ├── deno_dot_exit.ts │ │ │ └── http_propagators_call.ts │ │ └── help_and_version_broken_pipe │ │ │ └── help.out │ ├── init │ │ └── yes_flag │ │ │ └── init.out │ ├── audit │ │ └── no_vulns │ │ │ └── audit.out │ ├── worker │ │ └── worker_terminate_tla_crash │ │ │ └── terminate_tla_crash.js.out │ ├── coverage │ │ ├── invalid_url │ │ │ └── main.ts │ │ ├── no_files_after_filter │ │ │ └── test.ts │ │ └── no_files_found │ │ │ └── does_not_exist.out │ ├── cert │ │ ├── cafile_ts_fetch │ │ │ └── cafile_ts_fetch.ts.out │ │ └── cafile_url_imports │ │ │ └── cafile_url_imports.ts.out │ ├── serve │ │ └── bad │ │ │ └── main.ts │ └── clean │ │ └── entrypoint │ │ └── jsr_http2.ts ├── ffi │ └── README.md ├── registry │ ├── npm │ │ ├── cli.ts │ │ │ └── cli.ts-2.2.0.tgz │ │ └── @denotest │ │ │ ├── extra-info │ │ │ └── 1.0.0 │ │ │ │ └── bin │ │ │ │ └── main.js │ │ │ ├── exec-fs-permissions │ │ │ └── 1.0.0 │ │ │ │ └── exec │ │ │ ├── file-dts-dmts-dcts │ │ │ └── 1.0.0 │ │ │ │ ├── main.cjs │ │ │ │ ├── main.js │ │ │ │ └── main.mjs │ │ │ ├── css-export │ │ │ └── 1.0.0 │ │ │ │ └── dist │ │ │ │ └── index.css │ │ │ ├── node-lifecycle-scripts │ │ │ └── 1.0.0 │ │ │ │ └── helper.js │ │ │ ├── types-nested-js-dts │ │ │ └── 1.0.0 │ │ │ │ └── import.mjs │ │ │ ├── non-existent-optional-peer │ │ │ └── 1.0.0 │ │ │ │ └── index.js │ │ │ ├── types-exports-subpaths │ │ │ └── 1.0.0 │ │ │ │ ├── entry-import.js │ │ │ │ └── entry-js-only.js │ │ │ ├── CAPITALS │ │ │ └── 1.0.0 │ │ │ │ └── index.js │ │ │ ├── d-ext │ │ │ └── 1.0.0 │ │ │ │ ├── index.js │ │ │ │ └── types.d.ts │ │ │ ├── augments-global │ │ │ └── 1.0.0 │ │ │ │ └── index.d.ts │ │ │ ├── browser-field │ │ │ └── 1.0.0 │ │ │ │ ├── main.js │ │ │ │ ├── browser.js │ │ │ │ └── module.js │ │ │ ├── sloppy-import │ │ │ └── 1.0.0 │ │ │ │ └── foo.js │ │ │ ├── add │ │ │ ├── 0.5.0 │ │ │ │ └── index.js │ │ │ └── 1.0.0 │ │ │ │ └── index.js │ │ │ ├── cjs-pkg-imports │ │ │ └── 1.0.0 │ │ │ │ └── number.js │ │ │ ├── cjs-require-esm │ │ │ └── 1.0.0 │ │ │ │ └── esm_mjs.mjs │ │ │ ├── imports-package-json │ │ │ └── 1.0.0 │ │ │ │ └── hi.js │ │ │ ├── mjs-reexport-cjs │ │ │ └── 1.0.0 │ │ │ │ └── index.mjs │ │ │ ├── non-existent-dep │ │ │ └── 1.0.0 │ │ │ │ └── index.js │ │ │ ├── peer-dep-test-peer │ │ │ ├── 1.0.0 │ │ │ │ └── index.js │ │ │ └── 2.0.0 │ │ │ │ └── index.js │ │ │ ├── check-error │ │ │ └── 1.0.0 │ │ │ │ ├── other_dir.d.ts │ │ │ │ └── sub_dir │ │ │ │ ├── index.d.ts │ │ │ │ └── lib.d.ts │ │ │ ├── different-nested-dep-child │ │ │ ├── 1.0.0 │ │ │ │ └── index.js │ │ │ └── 2.0.0 │ │ │ │ └── index.js │ │ │ ├── install-no-ext │ │ │ └── 1.0.0 │ │ │ │ └── install │ │ │ │ ├── check.js │ │ │ │ └── index.js │ │ │ ├── monaco-editor │ │ │ └── 1.0.0 │ │ │ │ └── main.types.d.ts │ │ │ └── non-existent-dep-version │ │ │ └── 1.0.0 │ │ │ └── index.js │ └── jsr │ │ └── @denotest │ │ ├── has-pre-release │ │ ├── 1.0.0 │ │ │ └── mod.ts │ │ ├── 2.0.0-beta.1 │ │ │ └── mod.ts │ │ ├── 2.0.0-beta.2 │ │ │ └── mod.ts │ │ └── 1.0.0_meta.json │ │ ├── multiple-exports │ │ ├── 0.2.0 │ │ │ └── data.json │ │ ├── 0.5.0 │ │ │ └── data.json │ │ ├── 0.7.0 │ │ │ └── data.json │ │ ├── 0.7.1 │ │ │ └── data.json │ │ └── 1.0.0 │ │ │ └── data.json │ │ ├── module-graph │ │ └── 1.4.0 │ │ │ └── other.ts │ │ ├── module-graph2 │ │ └── 1.4.0 │ │ │ └── other.ts │ │ ├── has-only-pre-release │ │ ├── 2.0.0-beta.1 │ │ │ └── mod.ts │ │ └── 2.0.0-beta.2 │ │ │ └── mod.ts │ │ └── types-file │ │ └── 1.0.0 │ │ └── types.d.ts ├── README.md ├── unit_node │ ├── _fs │ │ └── testdata │ │ │ └── hello.txt │ └── testdata │ │ ├── process_stdin_dummy.txt │ │ ├── add_global_property.js │ │ ├── exec_file_text_output.js │ │ └── node_modules │ │ └── foo │ │ └── package.json ├── lib.rs └── node_compat │ └── deno.json ├── runtime ├── permissions │ └── README.md └── subprocess_windows │ └── README.md ├── tools └── release │ └── npm │ └── .gitignore ├── ext ├── signals │ └── README.md ├── url │ └── lib.rs ├── console │ └── lib.rs └── broadcast_channel │ └── lib.rs ├── libs ├── config │ └── testdata │ │ ├── deno.json │ │ └── additional_files │ │ └── jsr.json └── resolver │ └── README.md └── .rustfmt.toml /cli/lib/version.txt: -------------------------------------------------------------------------------- 1 | 2.6.1 -------------------------------------------------------------------------------- /tests/testdata/unfurl/b.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testdata/unfurl/c.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testdata/unfurl/c.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cli/bench/fs/.gitignore: -------------------------------------------------------------------------------- 1 | *.json -------------------------------------------------------------------------------- /runtime/permissions/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/add/dist_tag/deno.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/check/css_import/app.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/compile/exclude/main.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/eval/eval_p/main.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /tests/specs/fmt/non_workspace/main.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/byonm_dep/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/dry_run/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/jsr_jsonc/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/jsx_tsx/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/no_check/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/no_token/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/successful/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/symlink/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/workspace/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/task/emoji/main.out: -------------------------------------------------------------------------------- 1 | 🔥 2 | -------------------------------------------------------------------------------- /tests/testdata/unfurl/baz/index.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/release/npm/.gitignore: -------------------------------------------------------------------------------- 1 | dist 2 | -------------------------------------------------------------------------------- /tests/ffi/README.md: -------------------------------------------------------------------------------- 1 | # `test_ffi` crate 2 | -------------------------------------------------------------------------------- /tests/registry/npm/cli.ts/cli.ts-2.2.0.tgz: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/add/add_with_subpath/deno.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/add/lockfile_only/package.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/add/missing_prefix/deno.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/add/no_root_export/deno.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/add/npm_jsr/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/bench/collect/collect/bench.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/check/globbing/excluded.tsx: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/compile/exclude/folder/a.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/compile/exclude/folder/b.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/compile/patch/main.out: -------------------------------------------------------------------------------- 1 | 6 2 | -------------------------------------------------------------------------------- /tests/specs/eval/eval_ts/main.out: -------------------------------------------------------------------------------- 1 | 123 2 | -------------------------------------------------------------------------------- /tests/specs/fmt/gitignore/.gitignore: -------------------------------------------------------------------------------- 1 | /dist/ -------------------------------------------------------------------------------- /tests/specs/fmt/strip_bom/main.ts: -------------------------------------------------------------------------------- 1 | 1; 2 | -------------------------------------------------------------------------------- /tests/specs/jsr/no_unused_params/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/lint/gitignore/.gitignore: -------------------------------------------------------------------------------- 1 | /dist/ -------------------------------------------------------------------------------- /tests/specs/lint/jsx/react/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/lockfile/upgrades_v5/empty.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/has_slow_types/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/invalid_import/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/invalid_path/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/missing_exports/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/node_specifier/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/package_json/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/sloppy_imports/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/workspace/bar/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/run/cts/main/main.out: -------------------------------------------------------------------------------- 1 | Hello 2 | -------------------------------------------------------------------------------- /tests/specs/run/empty_typescript/empty.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/run/unref_stdin/main.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/specs/run/wasm/wasm.ts.out: -------------------------------------------------------------------------------- 1 | 42 2 | -------------------------------------------------------------------------------- /tests/specs/run/wasm_shared/wasm_shared.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/test/collect/collect/include.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/test/collect/collect/test.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testdata/assets/hello.txt: -------------------------------------------------------------------------------- 1 | Hello world! -------------------------------------------------------------------------------- /tests/testdata/dynamic_import/empty_1.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testdata/dynamic_import/empty_2.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testdata/publish/successful/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testdata/run/023_no_ext.out: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /tests/testdata/run/if_main.ts.out: -------------------------------------------------------------------------------- 1 | main 2 | -------------------------------------------------------------------------------- /tests/testdata/symlink_to_subdir: -------------------------------------------------------------------------------- 1 | subdir/ -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- 1 | # Deno Integration Tests 2 | -------------------------------------------------------------------------------- /tests/specs/add/exact_version/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/add/missing_npm_specifier/deno.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/bundle/main/deno.jsonc: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/compile/cjs/output.out: -------------------------------------------------------------------------------- 1 | 3 2 | 6 3 | -------------------------------------------------------------------------------- /tests/specs/compile/npm_fs/main.out: -------------------------------------------------------------------------------- 1 | success 2 | -------------------------------------------------------------------------------- /tests/specs/compile/redirects/main.out: -------------------------------------------------------------------------------- 1 | Hello 2 | -------------------------------------------------------------------------------- /tests/specs/compile/workspace/main.out: -------------------------------------------------------------------------------- 1 | -3 2 | -------------------------------------------------------------------------------- /tests/specs/eval/eval_basic/main.out: -------------------------------------------------------------------------------- 1 | hello 2 | -------------------------------------------------------------------------------- /tests/specs/fmt/ignore_unexplicit_files/main.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/fmt/sql/badly_formatted.sql: -------------------------------------------------------------------------------- 1 | select *; -------------------------------------------------------------------------------- /tests/specs/info/workspace_member/member3/bar.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/info/workspace_member/member3/mod.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/install/lockfile_only/package.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/jsr/excluded_export_module/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/lint/ignore_unexplicit_files/main.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/lint/stdin/main.ts: -------------------------------------------------------------------------------- 1 | let _a: any; 2 | -------------------------------------------------------------------------------- /tests/specs/node/node_fs_cp/source/foo.txt: -------------------------------------------------------------------------------- 1 | foo -------------------------------------------------------------------------------- /tests/specs/npm/pkg_json_imports/run.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /tests/specs/publish/allow_slow_types/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/bare_node_builtins/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/config_file_jsonc/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/dry_run_gitignored/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/excluded_deno_jsonc/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/missing_constraint/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/npm_workspace/add/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/package_json_imports/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/raw_imports/data.txt: -------------------------------------------------------------------------------- 1 | data -------------------------------------------------------------------------------- /tests/specs/publish/set_version/success/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/run/if_main/if_main.ts.out: -------------------------------------------------------------------------------- 1 | main 2 | -------------------------------------------------------------------------------- /tests/specs/run/invalid_emit_options/main.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/run/process_env_load/env: -------------------------------------------------------------------------------- 1 | FOO=BAR 2 | -------------------------------------------------------------------------------- /tests/specs/run/tls_connecttls/tls.out: -------------------------------------------------------------------------------- 1 | DONE 2 | -------------------------------------------------------------------------------- /tests/specs/run/tls_starttls/tls.out: -------------------------------------------------------------------------------- 1 | DONE 2 | -------------------------------------------------------------------------------- /tests/specs/run/v8_jitless/main.out: -------------------------------------------------------------------------------- 1 | Hello 2 | -------------------------------------------------------------------------------- /tests/specs/test/collect/collect/include/test.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/x/run_local_bin/run_local.out: -------------------------------------------------------------------------------- 1 | hi 2 | -------------------------------------------------------------------------------- /tests/testdata/cache/check_local_by_default.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testdata/cache/check_local_by_default2.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /ext/signals/README.md: -------------------------------------------------------------------------------- 1 | Signal handling for Deno 2 | -------------------------------------------------------------------------------- /libs/config/testdata/deno.json: -------------------------------------------------------------------------------- 1 | not a json file 2 | -------------------------------------------------------------------------------- /tests/specs/bench/collect/collect/include/2_bench.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/bench/collect/collect/include/bench.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/bundle/require_dotdot/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/check/bytes_and_text_imports/data.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/check/isolated_declarations/run.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /tests/specs/check/tsconfig_exclude/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/check/tsconfig_extends/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/check/tsconfig_files/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/check/tsconfig_include/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/check/tsconfig_no_config/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/check/tsconfig_root_dirs/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/compile/byonm_main_sub_dir/main.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /tests/specs/compile/exclude/folder/sub_folder/c.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/compile/exclude/folder/sub_folder2/d.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/compile/include/folder/data/a.txt: -------------------------------------------------------------------------------- 1 | a 2 | -------------------------------------------------------------------------------- /tests/specs/compile/include/folder/data/b.txt: -------------------------------------------------------------------------------- 1 | b 2 | -------------------------------------------------------------------------------- /tests/specs/compile/sloppy_imports/main.out: -------------------------------------------------------------------------------- 1 | Hello 2 | -------------------------------------------------------------------------------- /tests/specs/eval/env_file/main.out: -------------------------------------------------------------------------------- 1 | ANOTHER_BAR 2 | -------------------------------------------------------------------------------- /tests/specs/eval/v8_flags_eval/main.out: -------------------------------------------------------------------------------- 1 | function 2 | -------------------------------------------------------------------------------- /tests/specs/import_map/import_map_config/cache.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/info/bytes_and_text_imports/data.txt: -------------------------------------------------------------------------------- 1 | data -------------------------------------------------------------------------------- /tests/specs/install/npm_workspace_package/a/foo.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/install/npm_workspace_package/a/mod.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/install/npm_workspace_package/b/mod.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/install/unknown_media_type/styles.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/lint/stdin_json/main.ts: -------------------------------------------------------------------------------- 1 | let _a: any; 2 | -------------------------------------------------------------------------------- /tests/specs/lockfile/config_remove_npm_deps/main.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/node/node_debug/hello.txt: -------------------------------------------------------------------------------- 1 | hello world 2 | -------------------------------------------------------------------------------- /tests/specs/node/stdio_ipc/main.out: -------------------------------------------------------------------------------- 1 | msg: hahah 2 | -------------------------------------------------------------------------------- /tests/specs/npm/byonm_run_npm/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/npm/json_import/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/npm/npmrc/main.out: -------------------------------------------------------------------------------- 1 | 0 2 | 42 3 | 0 4 | -------------------------------------------------------------------------------- /tests/specs/npm/npmrc_no_auth/main.out: -------------------------------------------------------------------------------- 1 | 0 2 | 42 3 | -------------------------------------------------------------------------------- /tests/specs/npm/require_type_commonjs/main.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /tests/specs/outdated/mixed_workspace/member-a/mod.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/permission/ignore_read/flags/data.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/byonm_with_package_json/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/config_flag/successful/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/dry_run_gitignored/gitignored.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/invalid_path/path with spaces.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/npm_workspace/subtract/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/prefer_fast_check_graph/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/publish_false/workspace/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/remove/alias/package.json.out: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/run/cjs/unprepared/main.out: -------------------------------------------------------------------------------- 1 | Hello 2 | -------------------------------------------------------------------------------- /tests/specs/run/cts/cjs_import_cts/main.out: -------------------------------------------------------------------------------- 1 | -1 2 | -------------------------------------------------------------------------------- /tests/specs/run/mts_dmts_mjs/mts_dmts_mjs.out: -------------------------------------------------------------------------------- 1 | a 2 | -------------------------------------------------------------------------------- /tests/specs/run/npm_pkg_requires_esm_js/package.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/run/process_env_load/env_file.out: -------------------------------------------------------------------------------- 1 | BAR 2 | -------------------------------------------------------------------------------- /tests/specs/run/shebang_swc/shebang.ts.out: -------------------------------------------------------------------------------- 1 | 42 2 | -------------------------------------------------------------------------------- /tests/specs/run/shebang_tsc/shebang.ts.out: -------------------------------------------------------------------------------- 1 | 42 2 | -------------------------------------------------------------------------------- /tests/specs/run/unstable/bundle.ts: -------------------------------------------------------------------------------- 1 | Deno.bundle(); 2 | -------------------------------------------------------------------------------- /tests/specs/run/unstable/cron.ts: -------------------------------------------------------------------------------- 1 | Deno.cron(); 2 | -------------------------------------------------------------------------------- /tests/specs/run/window/window2.js: -------------------------------------------------------------------------------- 1 | window.atob; 2 | -------------------------------------------------------------------------------- /tests/specs/task/cwd/task_cwd.out: -------------------------------------------------------------------------------- 1 | [WILDCARD]task 2 | -------------------------------------------------------------------------------- /tests/specs/task/package_json_echo/echo.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/specs/test/collect/collect/include/2_test.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/test/no_check/main.ts: -------------------------------------------------------------------------------- 1 | Deno.test(); 2 | -------------------------------------------------------------------------------- /tests/specs/test/test_with_config/collect/include.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/test/test_with_config/collect/test.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/test/test_with_config2/collect/include.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/test/test_with_config2/collect/test.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/workspaces/lockfile/pkg-no-deps/mod.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testdata/lint/watch/badly_linted_fixed2.js.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testdata/run/fetch/hello.txt: -------------------------------------------------------------------------------- 1 | Hello, world! 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/json_2.json: -------------------------------------------------------------------------------- 1 | "just a string" 2 | -------------------------------------------------------------------------------- /tests/unit_node/_fs/testdata/hello.txt: -------------------------------------------------------------------------------- 1 | hello world -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/extra-info/1.0.0/bin/main.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/add/jsr_prefers_deno_json/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/add/jsr_with_type_only_import/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/add/only_unstable_versions/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/add/package_json_and_deno_json/subdir/mod.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/bench/no_check/no_check.ts: -------------------------------------------------------------------------------- 1 | Deno.bench(); 2 | -------------------------------------------------------------------------------- /tests/specs/bundle/jsx/main.tsx: -------------------------------------------------------------------------------- 1 | console.log(
); 2 | -------------------------------------------------------------------------------- /tests/specs/check/check_non_normalized_specifier/other.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/check/npm_pkg_empty_main_entry/run.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /tests/specs/check/ts_in_npm_pkg/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/check/tsconfig_default_libs/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/check/tsconfig_extends_array/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/check/tsconfig_references_dir/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/check/types_resolved_relative_config/main.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/check/with_tsconfig_json/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/compile/case_insensitive_building/file.txt: -------------------------------------------------------------------------------- 1 | Hi -------------------------------------------------------------------------------- /tests/specs/compile/include/data_files/output.out: -------------------------------------------------------------------------------- 1 | Hi 2 | -------------------------------------------------------------------------------- /tests/specs/compile/include/folder/output.out: -------------------------------------------------------------------------------- 1 | a 2 | b 3 | -------------------------------------------------------------------------------- /tests/specs/compile/package_json_type/output.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /tests/specs/fmt/workspace/a/a.ts: -------------------------------------------------------------------------------- 1 | console.log("a"); 2 | -------------------------------------------------------------------------------- /tests/specs/fmt/workspace/b/b.ts: -------------------------------------------------------------------------------- 1 | console.log('a'); 2 | -------------------------------------------------------------------------------- /tests/specs/fmt/workspace/root.ts: -------------------------------------------------------------------------------- 1 | console.log("root") 2 | -------------------------------------------------------------------------------- /tests/specs/info/workspace_member/member2/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/install/future_install_add_dist_tag/deno.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/install/install_add_dev/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/install/minimum_dependency_age/outdated.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/jsr/excluded_export_module/excluded_file1.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/jsr/excluded_export_module/excluded_file2.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/lint/lint_plugin/a.ts: -------------------------------------------------------------------------------- 1 | const _a = "foo"; 2 | -------------------------------------------------------------------------------- /tests/specs/lockfile/frozen_lockfile/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/node/cjs_analysis_multiple_errors/package.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/node/imports_slash_wildcard/main.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /tests/specs/node/imports_wildcard/main.out: -------------------------------------------------------------------------------- 1 | 3 2 | 2 3 | -------------------------------------------------------------------------------- /tests/specs/node/imports_wildcard/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/node/node_fs_cp/main.out: -------------------------------------------------------------------------------- 1 | [ "foo.txt" ] 2 | -------------------------------------------------------------------------------- /tests/specs/npm/npmrc_install_arg/main.out: -------------------------------------------------------------------------------- 1 | 0 2 | 42 3 | -------------------------------------------------------------------------------- /tests/specs/npm/unanalyzable_dynamic_import/main.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /tests/specs/npm/workspace_wildcards/main.out: -------------------------------------------------------------------------------- 1 | 3 2 | 7 3 | -------------------------------------------------------------------------------- /tests/specs/publish/banned_triple_slash_directives/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/javascript_missing_decl_file/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/no_check_surfaces_syntax_error/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/publish_false/single_package/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/set_version/multiple_packages/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/unanalyzable_dynamic_import/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/repl/console_log/093_console_log_format.out: -------------------------------------------------------------------------------- 1 | 0.5 -------------------------------------------------------------------------------- /tests/specs/run/config_permissions/workspace/a/data/a.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/run/config_permissions/workspace/data/a.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/run/exit_code/main.out: -------------------------------------------------------------------------------- 1 | Deno.exitCode 42 2 | -------------------------------------------------------------------------------- /tests/specs/run/https_import/https_import.ts.out: -------------------------------------------------------------------------------- 1 | Hello 2 | -------------------------------------------------------------------------------- /tests/specs/run/issue_13562/issue13562.ts.out: -------------------------------------------------------------------------------- 1 | Hello 2 | -------------------------------------------------------------------------------- /tests/specs/run/lazy_dynamic_imports/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/run/package_json/invalid_value/ok.ts.out: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /tests/specs/run/package_json/with_deno_json/main.out: -------------------------------------------------------------------------------- 1 | 0 2 | -------------------------------------------------------------------------------- /tests/specs/run/preload_same_module/main.out: -------------------------------------------------------------------------------- 1 | executed 2 | -------------------------------------------------------------------------------- /tests/specs/run/run_task/main.ts: -------------------------------------------------------------------------------- 1 | console.log("main"); 2 | -------------------------------------------------------------------------------- /tests/specs/run/sloppy_imports/a.ts: -------------------------------------------------------------------------------- 1 | export class A {} 2 | -------------------------------------------------------------------------------- /tests/specs/run/sloppy_imports/b.js: -------------------------------------------------------------------------------- 1 | export class B {} 2 | -------------------------------------------------------------------------------- /tests/specs/run/sloppy_imports/c.mts: -------------------------------------------------------------------------------- 1 | export class C {} 2 | -------------------------------------------------------------------------------- /tests/specs/run/sloppy_imports/d.mjs: -------------------------------------------------------------------------------- 1 | export class D {} 2 | -------------------------------------------------------------------------------- /tests/specs/run/sloppy_imports/e.tsx: -------------------------------------------------------------------------------- 1 | export class E {} 2 | -------------------------------------------------------------------------------- /tests/specs/run/sloppy_imports/f.jsx: -------------------------------------------------------------------------------- 1 | export class F {} 2 | -------------------------------------------------------------------------------- /tests/specs/run/top_level_await/hello.txt: -------------------------------------------------------------------------------- 1 | Hello world! 2 | -------------------------------------------------------------------------------- /tests/specs/run/unsafe_proto/main.out: -------------------------------------------------------------------------------- 1 | false 2 | false 3 | -------------------------------------------------------------------------------- /tests/specs/run/v8_flags_run/v8_flags.js.out: -------------------------------------------------------------------------------- 1 | function 2 | -------------------------------------------------------------------------------- /tests/specs/run/wasm_async/wasm_async.out: -------------------------------------------------------------------------------- 1 | 1 + 3 = 4 2 | -------------------------------------------------------------------------------- /tests/specs/run/window/window3.js: -------------------------------------------------------------------------------- 1 | window.navigator; 2 | -------------------------------------------------------------------------------- /tests/specs/run/worker_close_race/worker_close_race.js.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/test/clean_flag/main.out: -------------------------------------------------------------------------------- 1 | true 2 | true 3 | -------------------------------------------------------------------------------- /tests/specs/test/test_with_config/collect/include/test.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/test/test_with_config2/collect/include/test.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/workspaces/non_fatal_diagnostics/sub/main.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testdata/fmt/fmt_with_config.out: -------------------------------------------------------------------------------- 1 | Checked 3 files 2 | -------------------------------------------------------------------------------- /tests/testdata/lint/watch/badly_linted.js: -------------------------------------------------------------------------------- 1 | let a = 5; 2 | -------------------------------------------------------------------------------- /tests/testdata/run/no_check_remote.ts.enabled.out: -------------------------------------------------------------------------------- 1 | 12 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/mod.mjs: -------------------------------------------------------------------------------- 1 | export const a = "a"; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/types.d.mts: -------------------------------------------------------------------------------- 1 | export type A = "a"; 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/exec-fs-permissions/1.0.0/exec: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/file-dts-dmts-dcts/1.0.0/main.cjs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/file-dts-dmts-dcts/1.0.0/main.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/file-dts-dmts-dcts/1.0.0/main.mjs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/add/error_import_map_field/import_map.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/add/package_json_and_deno_json/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/add/package_json_and_deno_json/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/add/update_lockfile_if_package_json/package.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/bundle/frozen/main.tsx: -------------------------------------------------------------------------------- 1 | console.log("test"); 2 | -------------------------------------------------------------------------------- /tests/specs/bundle/sourcemap/main.ts: -------------------------------------------------------------------------------- 1 | console.log("test"); 2 | -------------------------------------------------------------------------------- /tests/specs/check/tsconfig_default_libs/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/check/tsconfig_files_for_globals/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/check/tsconfig_non_strict_defaults/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/compile/case_insensitive_building/main.out: -------------------------------------------------------------------------------- 1 | Hi 2 | -------------------------------------------------------------------------------- /tests/specs/compile/include/data_files/data-file.txt: -------------------------------------------------------------------------------- 1 | Hi 2 | -------------------------------------------------------------------------------- /tests/specs/compile/npmrc_byonm/main.out: -------------------------------------------------------------------------------- 1 | 0 2 | 42 3 | 0 4 | -------------------------------------------------------------------------------- /tests/specs/doc/types_hint/foo.js: -------------------------------------------------------------------------------- 1 | export const foo = "foo"; 2 | -------------------------------------------------------------------------------- /tests/specs/eval/cjs/say_hello.js: -------------------------------------------------------------------------------- 1 | console.log("Hello!"); 2 | -------------------------------------------------------------------------------- /tests/specs/future/unstable_flags/main.out: -------------------------------------------------------------------------------- 1 | true 2 | true 3 | -------------------------------------------------------------------------------- /tests/specs/install/byonm_jsr_npm_dep/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lint/jsr_tag/non_package.out: -------------------------------------------------------------------------------- 1 | Checked 2 files 2 | -------------------------------------------------------------------------------- /tests/specs/lint/lint_fix/lint_fixed.out: -------------------------------------------------------------------------------- 1 | Checked 1 file 2 | -------------------------------------------------------------------------------- /tests/specs/lint/lint_plugin/lint_fixed.out: -------------------------------------------------------------------------------- 1 | Checked 1 file 2 | -------------------------------------------------------------------------------- /tests/specs/lint/lint_plugin_utf16/fix.out: -------------------------------------------------------------------------------- 1 | Checked 2 files 2 | -------------------------------------------------------------------------------- /tests/specs/lint/lint_plugin_workspace/member/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/lint/sloppy_imports_dts/a.ts: -------------------------------------------------------------------------------- 1 | export class A {} 2 | -------------------------------------------------------------------------------- /tests/specs/lint/sloppy_imports_dts/b.js: -------------------------------------------------------------------------------- 1 | export class B {} 2 | -------------------------------------------------------------------------------- /tests/specs/lint/sloppy_imports_dts/c.mts: -------------------------------------------------------------------------------- 1 | export class C {} 2 | -------------------------------------------------------------------------------- /tests/specs/lint/sloppy_imports_dts/d.mjs: -------------------------------------------------------------------------------- 1 | export class D {} 2 | -------------------------------------------------------------------------------- /tests/specs/lockfile/adding_jsr_dep/add.ts: -------------------------------------------------------------------------------- 1 | import "add"; 2 | -------------------------------------------------------------------------------- /tests/specs/lockfile/adding_npm_dep/add.ts: -------------------------------------------------------------------------------- 1 | import "add"; 2 | -------------------------------------------------------------------------------- /tests/specs/lockfile/checksum_at_redirect/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/node/detect_es_module_defined_as_cjs/main.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /tests/specs/node/detect_es_module_defined_as_cjs/package.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/node/types_versions/node_modules/package/sub.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/node/unstable_detect_cjs/no_pkg_json/main.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /tests/specs/node/unstable_detect_cjs/return_stmt/main.out: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /tests/specs/npm/bytes_and_text_imports/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/npm/future_node_modules_dir_setting/main.out: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /tests/specs/npm/node_modules_import/main.out: -------------------------------------------------------------------------------- 1 | 2 2 | 2 3 | 2 4 | -------------------------------------------------------------------------------- /tests/specs/npm/npmrc_basic_auth/main.out: -------------------------------------------------------------------------------- 1 | 0 2 | 42 3 | 0 4 | -------------------------------------------------------------------------------- /tests/specs/npm/npmrc_no_auth_install/main.out: -------------------------------------------------------------------------------- 1 | 0 2 | 42 3 | -------------------------------------------------------------------------------- /tests/specs/publish/invalid_import_esm_sh_suggestion/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/publish/no_check_surfaces_syntax_error/mod.ts: -------------------------------------------------------------------------------- 1 | + 2 | -------------------------------------------------------------------------------- /tests/specs/publish/npm_workspace_jsr_pkg_with_npm_dep/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/run/_001_hello/001_hello.js.out: -------------------------------------------------------------------------------- 1 | Hello World 2 | -------------------------------------------------------------------------------- /tests/specs/run/_002_hello/002_hello.ts.out: -------------------------------------------------------------------------------- 1 | Hello World 2 | -------------------------------------------------------------------------------- /tests/specs/run/_012_async/012_async.ts.out: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 3 4 | -------------------------------------------------------------------------------- /tests/specs/run/bytes_and_text_imports/dynamic/hello.txt: -------------------------------------------------------------------------------- 1 | hello -------------------------------------------------------------------------------- /tests/specs/run/bytes_and_text_imports/dynamic/utf8_bom.txt: -------------------------------------------------------------------------------- 1 | bom -------------------------------------------------------------------------------- /tests/specs/run/bytes_and_text_imports/static/hello.txt: -------------------------------------------------------------------------------- 1 | hello -------------------------------------------------------------------------------- /tests/specs/run/bytes_and_text_imports/static/utf8_bom.txt: -------------------------------------------------------------------------------- 1 | bom -------------------------------------------------------------------------------- /tests/specs/run/config_permissions/basic/data/data.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/run/cts/import_export_equals/mod.mts.out: -------------------------------------------------------------------------------- 1 | 1test 2 | -------------------------------------------------------------------------------- /tests/specs/run/env_file/env_two: -------------------------------------------------------------------------------- 1 | FOO=OVERRIDEN_BY_ENV_TWO 2 | -------------------------------------------------------------------------------- /tests/specs/run/exit_error42/exit_error42.ts.out: -------------------------------------------------------------------------------- 1 | before 2 | -------------------------------------------------------------------------------- /tests/specs/run/import_type/import_type.ts.out: -------------------------------------------------------------------------------- 1 | B { a: "a" } 2 | -------------------------------------------------------------------------------- /tests/specs/run/js_import_detect/js_import_detect.ts.out: -------------------------------------------------------------------------------- 1 | ok 2 | -------------------------------------------------------------------------------- /tests/specs/run/mts_dmts_mjs/mod.mjs: -------------------------------------------------------------------------------- 1 | export const a = "a"; 2 | -------------------------------------------------------------------------------- /tests/specs/run/mts_dmts_mjs_no_check/mts_dmts_mjs.out: -------------------------------------------------------------------------------- 1 | a 2 | -------------------------------------------------------------------------------- /tests/specs/run/no_deno_json/no_package_json_imports.out: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /tests/specs/run/node_globals_hints/dirname.js: -------------------------------------------------------------------------------- 1 | __dirname; 2 | -------------------------------------------------------------------------------- /tests/specs/run/node_globals_hints/filename.js: -------------------------------------------------------------------------------- 1 | __filename; 2 | -------------------------------------------------------------------------------- /tests/specs/run/package_json_type/none/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/run/redirect_javascript/main.out: -------------------------------------------------------------------------------- 1 | 3 imports 1 2 | -------------------------------------------------------------------------------- /tests/specs/run/skips_compiler_option_types/main.out: -------------------------------------------------------------------------------- 1 | hi 2 | -------------------------------------------------------------------------------- /tests/specs/run/top_level_await/nested/b.js: -------------------------------------------------------------------------------- 1 | console.log(3); 2 | -------------------------------------------------------------------------------- /tests/specs/run/unbuffered_stderr/unbuffered_stderr.ts.out: -------------------------------------------------------------------------------- 1 | x -------------------------------------------------------------------------------- /tests/specs/run/unbuffered_stdout/unbuffered_stdout.ts.out: -------------------------------------------------------------------------------- 1 | a -------------------------------------------------------------------------------- /tests/specs/run/v8_flags_env_run/v8_flags.js.out: -------------------------------------------------------------------------------- 1 | function 2 | -------------------------------------------------------------------------------- /tests/specs/run/v8_jitless/main.js: -------------------------------------------------------------------------------- 1 | console.log("Hello"); 2 | -------------------------------------------------------------------------------- /tests/specs/run/window/window1.js: -------------------------------------------------------------------------------- 1 | "TextEncoder" in window; 2 | -------------------------------------------------------------------------------- /tests/specs/task/deno_exe_no_env/task_deno_exe_no_env.out: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /tests/specs/test/no_run/main.ts: -------------------------------------------------------------------------------- 1 | const _value: string = 1; 2 | -------------------------------------------------------------------------------- /tests/specs/test/test_with_config/collect/include/2_test.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/test/test_with_config2/collect/include/2_test.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testdata/malformed_config/deno.json: -------------------------------------------------------------------------------- 1 | not a json file 2 | -------------------------------------------------------------------------------- /tests/testdata/node/require_esm/esm.js: -------------------------------------------------------------------------------- 1 | export class Test {} 2 | -------------------------------------------------------------------------------- /tests/testdata/npm/different_nested_dep/main.out: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | -------------------------------------------------------------------------------- /tests/testdata/run/001_hello.js: -------------------------------------------------------------------------------- 1 | console.log("Hello World"); 2 | -------------------------------------------------------------------------------- /tests/testdata/run/002_hello.ts: -------------------------------------------------------------------------------- 1 | console.log("Hello World"); 2 | -------------------------------------------------------------------------------- /tests/testdata/run/006_url_imports.ts.out: -------------------------------------------------------------------------------- 1 | Hello 2 | success 3 | -------------------------------------------------------------------------------- /tests/testdata/run/no_mem_cache.js.out: -------------------------------------------------------------------------------- 1 | hello 2 | goodbye 3 | -------------------------------------------------------------------------------- /tests/testdata/subdir/mod4.js: -------------------------------------------------------------------------------- 1 | export const isMod4 = true; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/mod5.mjs: -------------------------------------------------------------------------------- 1 | export const isMod5 = true; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/no_ext: -------------------------------------------------------------------------------- 1 | export const loaded = true; 2 | -------------------------------------------------------------------------------- /tests/testdata/test/glob/data/tes.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/tsc2/file_main.ts: -------------------------------------------------------------------------------- 1 | console.log("hello deno"); 2 | -------------------------------------------------------------------------------- /tests/testdata/welcome.ts: -------------------------------------------------------------------------------- 1 | console.log("Welcome to Deno!"); 2 | -------------------------------------------------------------------------------- /tests/unit_node/testdata/process_stdin_dummy.txt: -------------------------------------------------------------------------------- 1 | foo 2 | bar -------------------------------------------------------------------------------- /runtime/subprocess_windows/README.md: -------------------------------------------------------------------------------- 1 | # `deno_subprocess_windows` 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/css-export/1.0.0/dist/index.css: -------------------------------------------------------------------------------- 1 | body {} -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/node-lifecycle-scripts/1.0.0/helper.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/types-nested-js-dts/1.0.0/import.mjs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/bundle/browser_platform_exports/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/bundle/dir_import_package_json/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/bundle/externals/ext/bar.ts: -------------------------------------------------------------------------------- 1 | export default "bar"; 2 | -------------------------------------------------------------------------------- /tests/specs/bundle/externals/ext/foo.ts: -------------------------------------------------------------------------------- 1 | export default "foo"; 2 | -------------------------------------------------------------------------------- /tests/specs/bundle/html/style.css: -------------------------------------------------------------------------------- 1 | h1 { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/bundle/main/sloppy.ts: -------------------------------------------------------------------------------- 1 | import "./imports_json.js"; 2 | -------------------------------------------------------------------------------- /tests/specs/bundle/sloppy_imports/foo.js: -------------------------------------------------------------------------------- 1 | export default "foo"; 2 | -------------------------------------------------------------------------------- /tests/specs/cache/check_local_by_default/check_local_by_default.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/check/ambient_modules/foo.out: -------------------------------------------------------------------------------- 1 | Check [WILDCARD]foo.ts 2 | -------------------------------------------------------------------------------- /tests/specs/check/byonm_import_missing_types/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/check/package_json/check.out: -------------------------------------------------------------------------------- 1 | Check [WILDCARD]main.ts 2 | -------------------------------------------------------------------------------- /tests/specs/check/tsconfig_non_strict_defaults/tsconfig.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/check/workspace/package_a.out: -------------------------------------------------------------------------------- 1 | Check [WILDCARD]mod.ts 2 | -------------------------------------------------------------------------------- /tests/specs/cli/otel_basic/natural_exit.ts: -------------------------------------------------------------------------------- 1 | console.log("log 1"); 2 | -------------------------------------------------------------------------------- /tests/specs/compile/bytes_and_text_imports/basic/hello_bom.txt: -------------------------------------------------------------------------------- 1 | hello -------------------------------------------------------------------------------- /tests/specs/compile/npmrc_auto_install/main.out: -------------------------------------------------------------------------------- 1 | 0 2 | 42 3 | 0 4 | -------------------------------------------------------------------------------- /tests/specs/doc/lint_success/lint_success.out: -------------------------------------------------------------------------------- 1 | Checked 1 file 2 | -------------------------------------------------------------------------------- /tests/specs/fmt/default_ts/as_ts.js: -------------------------------------------------------------------------------- 1 | const x: string = "foo"; 2 | -------------------------------------------------------------------------------- /tests/specs/info/with_config_override/with_config/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/info/workspace_member/member/sub/file.ts: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /tests/specs/init/yes_flag/init.out: -------------------------------------------------------------------------------- 1 | [WILDCARD] 2 | Initialized! 3 | -------------------------------------------------------------------------------- /tests/specs/install/byonm_run_tag_after_install/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/install/future_install_local_add_deno/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/install/global/warn_config_file/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/install/jsr_exports/main.out: -------------------------------------------------------------------------------- 1 | 3 2 | -1 3 | { a: 1 } 4 | -------------------------------------------------------------------------------- /tests/specs/install/minimum_dependency_age/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/install/minimum_dependency_age/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/install/minimum_dependency_age_exclude_jsr/package.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/install/minimum_dependency_age_exclude_npm/package.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/jsr/excluded_export_module/not_imported_excluded_file.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/jsr/no_module_graph/multiple.out: -------------------------------------------------------------------------------- 1 | 0.1.0 2 | 0.2.0 3 | -------------------------------------------------------------------------------- /tests/specs/lint/default_ts/as_ts.js: -------------------------------------------------------------------------------- 1 | const _x: string = "foo"; 2 | -------------------------------------------------------------------------------- /tests/specs/lint/lint_plugin/lint_exclude.out: -------------------------------------------------------------------------------- 1 | Checked 1 file 2 | -------------------------------------------------------------------------------- /tests/specs/lint/lint_plugin_empty_tags/main.ts: -------------------------------------------------------------------------------- 1 | const foo = 42; 2 | -------------------------------------------------------------------------------- /tests/specs/lint/lint_plugin_lifecycle/a.ts: -------------------------------------------------------------------------------- 1 | const _a = "foo"; 2 | -------------------------------------------------------------------------------- /tests/specs/lint/lint_plugin_no_fixer/a.ts: -------------------------------------------------------------------------------- 1 | const _a = "foo"; 2 | -------------------------------------------------------------------------------- /tests/specs/lint/lint_plugin_permissions/a.ts: -------------------------------------------------------------------------------- 1 | const _a = "foo"; 2 | -------------------------------------------------------------------------------- /tests/specs/lint/no_import_prefix/workspace/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lint/no_slow_types/deno.non-package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lint/sloppy_imports_dts/a.d.ts: -------------------------------------------------------------------------------- 1 | export class A2 {} 2 | -------------------------------------------------------------------------------- /tests/specs/lint/sloppy_imports_dts/b.d.ts: -------------------------------------------------------------------------------- 1 | export class B2 {} 2 | -------------------------------------------------------------------------------- /tests/specs/lint/sloppy_imports_dts/c.d.mts: -------------------------------------------------------------------------------- 1 | export class C2 {} 2 | -------------------------------------------------------------------------------- /tests/specs/lint/sloppy_imports_dts/d.d.mts: -------------------------------------------------------------------------------- 1 | export class D2 {} 2 | -------------------------------------------------------------------------------- /tests/specs/node/import_cjs_file_no_ext_mjs_pkg/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/node/missing_ext_suggestion/node_modules/package/esm.mjs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/node/spawn_keeps_npm_state/main.out: -------------------------------------------------------------------------------- 1 | [WILDCARD] 2 | 3 3 | -------------------------------------------------------------------------------- /tests/specs/node/unstable_detect_cjs/no_type_field/main.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /tests/specs/npm/future_auto_install_no_package_json/main.out: -------------------------------------------------------------------------------- 1 | 2 2 | -------------------------------------------------------------------------------- /tests/specs/npm/npmrc_username_password/main.out: -------------------------------------------------------------------------------- 1 | 0 2 | 42 3 | 0 4 | -------------------------------------------------------------------------------- /tests/specs/npm/permissions_outside_package/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/npm/pkg_index_ts_and_js/index.js: -------------------------------------------------------------------------------- 1 | import "package"; 2 | -------------------------------------------------------------------------------- /tests/specs/publish/missing_constraint_jsx_import_source/LICENSE: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/run/_005_more_imports/005_more_imports.ts.out: -------------------------------------------------------------------------------- 1 | Hello 2 | -------------------------------------------------------------------------------- /tests/specs/run/_021_mjs_modules/021_mjs_modules.ts.out: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /tests/specs/run/byte_order_mark/byte_order_mark.out: -------------------------------------------------------------------------------- 1 | Hello World 2 | -------------------------------------------------------------------------------- /tests/specs/run/bytes_and_text_imports/missing_unstable/data.txt: -------------------------------------------------------------------------------- 1 | data -------------------------------------------------------------------------------- /tests/specs/run/check_js_points_to_ts/check_js_points_to_ts/foo.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/run/config_types/config_types/main.out: -------------------------------------------------------------------------------- 1 | undefined 2 | -------------------------------------------------------------------------------- /tests/specs/run/fix_js_import_js/fix_js_import_js.ts.out: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /tests/specs/run/lock_check_ok/003_relative_import.ts.out: -------------------------------------------------------------------------------- 1 | Hello 2 | -------------------------------------------------------------------------------- /tests/specs/run/mts_dmts_mjs/types.d.mts: -------------------------------------------------------------------------------- 1 | export type A = "a"; 2 | -------------------------------------------------------------------------------- /tests/specs/run/node_prefix_missing/byonm/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/run/reference_types/reference_types.ts.out: -------------------------------------------------------------------------------- 1 | undefined 2 | -------------------------------------------------------------------------------- /tests/specs/run/require_esm/sync.js: -------------------------------------------------------------------------------- 1 | export const sync_js = 1; 2 | -------------------------------------------------------------------------------- /tests/specs/run/require_esm/sync.mjs: -------------------------------------------------------------------------------- 1 | export const sync_mjs = 1; 2 | -------------------------------------------------------------------------------- /tests/specs/run/sloppy_imports/dir/index.tsx: -------------------------------------------------------------------------------- 1 | export class G {} 2 | -------------------------------------------------------------------------------- /tests/specs/run/sqlite_attach_perms/sqlite_attach_perms.out: -------------------------------------------------------------------------------- 1 | OK 2 | -------------------------------------------------------------------------------- /tests/specs/run/stdin_cjs/say_hello.js: -------------------------------------------------------------------------------- 1 | console.log("Hello!"); 2 | -------------------------------------------------------------------------------- /tests/specs/run/unstable/kv.ts: -------------------------------------------------------------------------------- 1 | const db = await Deno.openKv(); 2 | -------------------------------------------------------------------------------- /tests/specs/run/unstable/temporal.ts: -------------------------------------------------------------------------------- 1 | Temporal.Now.instant(); 2 | -------------------------------------------------------------------------------- /tests/specs/run/v8_flags_run/v8_flags.js: -------------------------------------------------------------------------------- 1 | console.log(typeof gc); 2 | -------------------------------------------------------------------------------- /tests/specs/run/workspaces/explicit_import_map/main.out: -------------------------------------------------------------------------------- 1 | hello 2 | -------------------------------------------------------------------------------- /tests/specs/task/additional_args/task_additional_args.out: -------------------------------------------------------------------------------- 1 | 1 2 2 | -------------------------------------------------------------------------------- /tests/specs/task/init_cwd/task_init_cwd.out: -------------------------------------------------------------------------------- 1 | [WILDCARD]init_cwd 2 | -------------------------------------------------------------------------------- /tests/specs/test/no_files/error.out: -------------------------------------------------------------------------------- 1 | error: No test modules found 2 | -------------------------------------------------------------------------------- /tests/specs/x/print_no_local/print.out: -------------------------------------------------------------------------------- 1 | No local commands found 2 | -------------------------------------------------------------------------------- /tests/testdata/cert/cafile_ts_fetch.ts.out: -------------------------------------------------------------------------------- 1 | [WILDCARD] 2 | Hello 3 | -------------------------------------------------------------------------------- /tests/testdata/check/cache_config_on_off/main.ts: -------------------------------------------------------------------------------- 1 | console.log(5); 2 | -------------------------------------------------------------------------------- /tests/testdata/check/declaration_header_file_with_no_exports_js.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/testdata/commonjs/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "hello": "world" 3 | } 4 | -------------------------------------------------------------------------------- /tests/testdata/compile/dynamic_imports/import_path: -------------------------------------------------------------------------------- 1 | ./import1.ts 2 | -------------------------------------------------------------------------------- /tests/testdata/compile/standalone_import_map.ts: -------------------------------------------------------------------------------- 1 | import "hello"; 2 | -------------------------------------------------------------------------------- /tests/testdata/encoding/utf-8.ts: -------------------------------------------------------------------------------- 1 | console.log("Hello World"); 2 | -------------------------------------------------------------------------------- /tests/testdata/fmt/expected_fmt_check_ignore.out: -------------------------------------------------------------------------------- 1 | Checked 3 files 2 | -------------------------------------------------------------------------------- /tests/testdata/fmt/fmt_with_config_and_flags.out: -------------------------------------------------------------------------------- 1 | Checked 2 files 2 | -------------------------------------------------------------------------------- /tests/testdata/lint/watch/badly_linted_fixed1.js: -------------------------------------------------------------------------------- 1 | let _a = 5; 2 | -------------------------------------------------------------------------------- /tests/testdata/lint/watch/badly_linted_fixed2.js: -------------------------------------------------------------------------------- 1 | const _a = 5; 2 | -------------------------------------------------------------------------------- /tests/testdata/npm/deno_run_cjs.out: -------------------------------------------------------------------------------- 1 | this 2 | is 3 | a 4 | test 5 | -------------------------------------------------------------------------------- /tests/testdata/npm/deno_run_esm.out: -------------------------------------------------------------------------------- 1 | this 2 | is 3 | a 4 | test 5 | -------------------------------------------------------------------------------- /tests/testdata/npm/dual_cjs_esm/main.out: -------------------------------------------------------------------------------- 1 | esm 2 | cjs 3 | cjs 4 | -------------------------------------------------------------------------------- /tests/testdata/run/exec_path.ts: -------------------------------------------------------------------------------- 1 | console.log(Deno.execPath()); 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/emittable.d.ts: -------------------------------------------------------------------------------- 1 | export const a: string; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/exports.ts: -------------------------------------------------------------------------------- 1 | export const SEPARATOR = "/"; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/mod3.js: -------------------------------------------------------------------------------- 1 | export const isTSFile = false; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/type_error.ts: -------------------------------------------------------------------------------- 1 | export const a: "a" = 12; 2 | -------------------------------------------------------------------------------- /tests/testdata/test/glob/data/test1.js: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/test/glob/data/test1.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/test/glob/data/test12.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/test/glob/pages/[id].ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/tsc2/https_deno.land-x-b.ts: -------------------------------------------------------------------------------- 1 | export const b = "b"; 2 | -------------------------------------------------------------------------------- /tests/testdata/tsc2/https_deno.land-x-c.js: -------------------------------------------------------------------------------- 1 | export const c = "c"; 2 | -------------------------------------------------------------------------------- /tests/testdata/type_definitions/foo.js: -------------------------------------------------------------------------------- 1 | export const foo = "foo"; 2 | -------------------------------------------------------------------------------- /tests/testdata/type_definitions/qat.ts: -------------------------------------------------------------------------------- 1 | export const qat = "qat"; 2 | -------------------------------------------------------------------------------- /tests/testdata/workers/immediately_close_worker.js: -------------------------------------------------------------------------------- 1 | self.close(); 2 | -------------------------------------------------------------------------------- /.rustfmt.toml: -------------------------------------------------------------------------------- 1 | max_width = 80 2 | tab_spaces = 2 3 | edition = "2024" 4 | -------------------------------------------------------------------------------- /cli/deno.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denoland/deno/main/cli/deno.ico -------------------------------------------------------------------------------- /ext/url/lib.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2018-2025 the Deno authors. MIT license. 2 | -------------------------------------------------------------------------------- /tests/lib.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2018-2025 the Deno authors. MIT license. 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/non-existent-optional-peer/1.0.0/index.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/types-exports-subpaths/1.0.0/entry-import.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/add/lockfile_only/remove.out: -------------------------------------------------------------------------------- 1 | Removed @denotest/esm-basic 2 | -------------------------------------------------------------------------------- /tests/specs/audit/no_vulns/audit.out: -------------------------------------------------------------------------------- 1 | No known vulnerabilities found 2 | -------------------------------------------------------------------------------- /tests/specs/bench/config_permissions/workspace/b/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/bench/no_files/error.out: -------------------------------------------------------------------------------- 1 | error: No bench modules found 2 | -------------------------------------------------------------------------------- /tests/specs/bundle/error_message/imports-css.tsx: -------------------------------------------------------------------------------- 1 | import "./foo.css"; 2 | -------------------------------------------------------------------------------- /tests/specs/bundle/fallible_imports/local_bad.ts: -------------------------------------------------------------------------------- 1 | await import("bad"); 2 | -------------------------------------------------------------------------------- /tests/specs/bundle/json_import_no_attribute/json.out: -------------------------------------------------------------------------------- 1 | { name: "foo" } 2 | -------------------------------------------------------------------------------- /tests/specs/cache/check_local_by_default2/check_local_by_default2.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/check/check_types_dts/main.out: -------------------------------------------------------------------------------- 1 | Check [WILDCARD]main.ts 2 | -------------------------------------------------------------------------------- /tests/specs/check/compiler_options_paths_and_sloppy_imports/lib/foo.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/check/compiler_options_paths_and_sloppy_imports/lib/index.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/check/compiler_options_paths_and_sloppy_imports/src/baz.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/check/compiler_options_paths_and_sloppy_imports/types/qux.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/check/css_import/not_exists.ts: -------------------------------------------------------------------------------- 1 | import "./not_exists.css"; 2 | -------------------------------------------------------------------------------- /tests/specs/check/globbing/sub_dir/main.ts: -------------------------------------------------------------------------------- 1 | const value: number = ""; 2 | -------------------------------------------------------------------------------- /tests/specs/check/special_specifiers/check.out: -------------------------------------------------------------------------------- 1 | Check [WILDCARD]mod.ts 2 | -------------------------------------------------------------------------------- /tests/specs/check/with_tsconfig_json/main.out: -------------------------------------------------------------------------------- 1 | Check [WILDCARD]main.ts 2 | -------------------------------------------------------------------------------- /tests/specs/check/workspace/package-c/mod.ts: -------------------------------------------------------------------------------- 1 | import "./check.js"; 2 | -------------------------------------------------------------------------------- /tests/specs/check/workspace/package-d/mod.ts: -------------------------------------------------------------------------------- 1 | import "./check.js"; 2 | -------------------------------------------------------------------------------- /tests/specs/compile/cjs/add.cjs: -------------------------------------------------------------------------------- 1 | module.exports = (a, b) => a + b; 2 | -------------------------------------------------------------------------------- /tests/specs/compile/npm_pkgs_lockfile_unused/main.ts: -------------------------------------------------------------------------------- 1 | console.log(1); 2 | -------------------------------------------------------------------------------- /tests/specs/compile/sloppy_imports/hello.ts: -------------------------------------------------------------------------------- 1 | console.log("Hello"); 2 | -------------------------------------------------------------------------------- /tests/specs/eval/dyn_import_eval/mod4.js: -------------------------------------------------------------------------------- 1 | export const isMod4 = true; 2 | -------------------------------------------------------------------------------- /tests/specs/fmt/css/badly_formatted.css: -------------------------------------------------------------------------------- 1 | #app>.btn{ color : #000 } 2 | -------------------------------------------------------------------------------- /tests/specs/fmt/default_ts/extensionless: -------------------------------------------------------------------------------- 1 | const x: string = "foo"; 2 | -------------------------------------------------------------------------------- /tests/specs/fmt/html/broken.html: -------------------------------------------------------------------------------- 1 |
content 2 | 3 | -------------------------------------------------------------------------------- /tests/specs/fmt/no_error_deno_dir_not_exists/main.ts: -------------------------------------------------------------------------------- 1 | console.log(1); 2 | -------------------------------------------------------------------------------- /tests/specs/fmt/yaml/badly_formatted.yml: -------------------------------------------------------------------------------- 1 | - Test 2 | - Test 3 | - Test -------------------------------------------------------------------------------- /tests/specs/fmt/yaml/ignore_line.yml: -------------------------------------------------------------------------------- 1 | # deno-fmt-ignore 2 | - Test 3 | -------------------------------------------------------------------------------- /tests/specs/fmt/yaml/well_formatted.yml: -------------------------------------------------------------------------------- 1 | - Test 2 | - Test 3 | - Test 4 | -------------------------------------------------------------------------------- /tests/specs/info/ts_error/info_ts_error.ts: -------------------------------------------------------------------------------- 1 | const _foo: string = 1; 2 | -------------------------------------------------------------------------------- /tests/specs/info/with_config_override/with_config/import_map.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/install/global/warn_config_file/main.js: -------------------------------------------------------------------------------- 1 | console.log(1); 2 | -------------------------------------------------------------------------------- /tests/specs/lint/default_ts/extensionless: -------------------------------------------------------------------------------- 1 | const _x: string = "foo"; 2 | -------------------------------------------------------------------------------- /tests/specs/lint/jsr_tag/package/type.ts: -------------------------------------------------------------------------------- 1 | export type MyType = string; 2 | -------------------------------------------------------------------------------- /tests/specs/lint/lint_plugin_multiple_fixes/fix.out: -------------------------------------------------------------------------------- 1 | Checked 3 files 2 | -------------------------------------------------------------------------------- /tests/specs/lint/sloppy_imports_dts/check.out: -------------------------------------------------------------------------------- 1 | Check [WILDCARD]main.ts 2 | -------------------------------------------------------------------------------- /tests/specs/lint/syntax_error_reporting/script.ts: -------------------------------------------------------------------------------- 1 | const foo = 'bar 2 | -------------------------------------------------------------------------------- /tests/specs/lockfile/adding_jsr_dep/subtract.ts: -------------------------------------------------------------------------------- 1 | import "subtract"; 2 | -------------------------------------------------------------------------------- /tests/specs/lockfile/adding_npm_dep/subtract.ts: -------------------------------------------------------------------------------- 1 | import "subtract"; 2 | -------------------------------------------------------------------------------- /tests/specs/node/byonm_phantom_dep_res_failure/good_import.out: -------------------------------------------------------------------------------- 1 | hi 2 | -------------------------------------------------------------------------------- /tests/specs/node/byonm_phantom_dep_res_failure/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/node/esm_dir_import/package_json/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/node/missing_ext_suggestion/esm.ts: -------------------------------------------------------------------------------- 1 | import "package/esm"; 2 | -------------------------------------------------------------------------------- /tests/specs/node/missing_ext_suggestion/node_modules/package/commonjs.cjs: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/node/missing_ext_suggestion/node_modules/package/module.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/node/require_esm_reexport_esm_module_exports/run.out: -------------------------------------------------------------------------------- 1 | 3 2 | -------------------------------------------------------------------------------- /tests/specs/npm/local_dir_resolves_symlinks/index.out: -------------------------------------------------------------------------------- 1 | true it works 2 | -------------------------------------------------------------------------------- /tests/specs/npm/npmrc_deno_json/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "imports": {} 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/npm/require_esm/require_esm/esm.js: -------------------------------------------------------------------------------- 1 | export class Test {} 2 | -------------------------------------------------------------------------------- /tests/specs/publish/sloppy_imports/mod.ts: -------------------------------------------------------------------------------- 1 | export { PI } from "./b"; 2 | -------------------------------------------------------------------------------- /tests/specs/remove/basic/remove_lock.out: -------------------------------------------------------------------------------- 1 | { 2 | "version": "5" 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/remove/package_json/rm_esm_basic_package.json.out: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/run/_001_hello/001_hello.js: -------------------------------------------------------------------------------- 1 | console.log("Hello World"); 2 | -------------------------------------------------------------------------------- /tests/specs/run/_002_hello/002_hello.ts: -------------------------------------------------------------------------------- 1 | console.log("Hello World"); 2 | -------------------------------------------------------------------------------- /tests/specs/run/_003_relative_import/003_relative_import.ts.out: -------------------------------------------------------------------------------- 1 | Hello 2 | -------------------------------------------------------------------------------- /tests/specs/run/_013_dynamic_import/013_dynamic_import.ts.out: -------------------------------------------------------------------------------- 1 | Hello 2 | -------------------------------------------------------------------------------- /tests/specs/run/_021_mjs_modules/mod5.mjs: -------------------------------------------------------------------------------- 1 | export const isMod5 = true; 2 | -------------------------------------------------------------------------------- /tests/specs/run/_077_fetch_empty/077_fetch_empty.ts: -------------------------------------------------------------------------------- 1 | await fetch(""); 2 | -------------------------------------------------------------------------------- /tests/specs/run/check_remote/type_error.ts: -------------------------------------------------------------------------------- 1 | export const a: "a" = 12; 2 | -------------------------------------------------------------------------------- /tests/specs/run/cjs/main_module/main.cjs: -------------------------------------------------------------------------------- 1 | console.log(require.main); 2 | -------------------------------------------------------------------------------- /tests/specs/run/config_types_remote/config_types/main.out: -------------------------------------------------------------------------------- 1 | undefined 2 | -------------------------------------------------------------------------------- /tests/specs/run/document/document.js: -------------------------------------------------------------------------------- 1 | document.querySelector("div"); 2 | -------------------------------------------------------------------------------- /tests/specs/run/dynamic_already_prepared/dynamic.ts: -------------------------------------------------------------------------------- 1 | console.log(1); 2 | -------------------------------------------------------------------------------- /tests/specs/run/dynamic_import_error_cached/main.out: -------------------------------------------------------------------------------- 1 | fail 2 | fail 3 | -------------------------------------------------------------------------------- /tests/specs/run/dynamic_import_static_analysis_no_permissions/empty_1.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/run/dynamic_import_static_analysis_no_permissions/empty_2.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/run/error_007_any/error_007_any.ts: -------------------------------------------------------------------------------- 1 | throw { foo: "bar" }; 2 | -------------------------------------------------------------------------------- /tests/specs/run/es_private_fields/es_private_fields.js.out: -------------------------------------------------------------------------------- 1 | PRIVATE 2 | -------------------------------------------------------------------------------- /tests/specs/run/fix_js_import_js/mod4.js: -------------------------------------------------------------------------------- 1 | export const isMod4 = true; 2 | -------------------------------------------------------------------------------- /tests/specs/run/fix_tsc_file_exists/fix_tsc_file_exists.out: -------------------------------------------------------------------------------- 1 | hello 2 | -------------------------------------------------------------------------------- /tests/specs/run/import_common_js/index.out: -------------------------------------------------------------------------------- 1 | [WILDLINE]import_common_js 2 | -------------------------------------------------------------------------------- /tests/specs/run/import_map_parent_dir/run.out: -------------------------------------------------------------------------------- 1 | Check [WILDCARD]main.ts 2 | -------------------------------------------------------------------------------- /tests/specs/run/import_type_no_check/import_type.ts.out: -------------------------------------------------------------------------------- 1 | B { a: "a" } 2 | -------------------------------------------------------------------------------- /tests/specs/run/lock_v2_check_ok/003_relative_import.ts.out: -------------------------------------------------------------------------------- 1 | Hello 2 | -------------------------------------------------------------------------------- /tests/specs/run/mts_dmts_mjs_no_check/mod.mjs: -------------------------------------------------------------------------------- 1 | export const a = "a"; 2 | -------------------------------------------------------------------------------- /tests/specs/run/no_check/006_url_imports.ts.out: -------------------------------------------------------------------------------- 1 | Hello 2 | success 3 | -------------------------------------------------------------------------------- /tests/specs/run/no_reparse_first_load/main.ts: -------------------------------------------------------------------------------- 1 | console.log("Hello"); 2 | -------------------------------------------------------------------------------- /tests/specs/run/permission_args_quiet/001_hello.js.out: -------------------------------------------------------------------------------- 1 | Hello World 2 | -------------------------------------------------------------------------------- /tests/specs/run/preload_same_module/main.ts: -------------------------------------------------------------------------------- 1 | console.log("executed"); 2 | -------------------------------------------------------------------------------- /tests/specs/run/run_task/main.out: -------------------------------------------------------------------------------- 1 | Task main deno run main.ts 2 | main 3 | -------------------------------------------------------------------------------- /tests/specs/run/top_level_await/nested.out: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 3 4 | 4 5 | 5 6 | -------------------------------------------------------------------------------- /tests/specs/run/top_level_await/top_level_for_await.out: -------------------------------------------------------------------------------- 1 | 0 2 | 1 3 | 2 4 | -------------------------------------------------------------------------------- /tests/specs/run/v8_flags_env_run/v8_flags.js: -------------------------------------------------------------------------------- 1 | console.log(typeof gc); 2 | -------------------------------------------------------------------------------- /tests/specs/run/wasm_module/integrity_check_failed/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/task/dependencies/cycle.out: -------------------------------------------------------------------------------- 1 | Task cycle detected: a -> a 2 | -------------------------------------------------------------------------------- /tests/specs/task/dependencies/cycle/a.js: -------------------------------------------------------------------------------- 1 | console.log("Running a"); 2 | -------------------------------------------------------------------------------- /tests/specs/task/dependencies/cycle_2/a.js: -------------------------------------------------------------------------------- 1 | console.log("Running a"); 2 | -------------------------------------------------------------------------------- /tests/specs/task/dependencies/cycle_2/b.js: -------------------------------------------------------------------------------- 1 | console.log("Running b"); 2 | -------------------------------------------------------------------------------- /tests/specs/task/dependencies/diamond/a.js: -------------------------------------------------------------------------------- 1 | console.log("Running a"); 2 | -------------------------------------------------------------------------------- /tests/specs/task/dependencies/diamond/b.js: -------------------------------------------------------------------------------- 1 | console.log("Running b"); 2 | -------------------------------------------------------------------------------- /tests/specs/task/dependencies/diamond/c.js: -------------------------------------------------------------------------------- 1 | console.log("Running c"); 2 | -------------------------------------------------------------------------------- /tests/specs/task/dependencies/diamond/d.js: -------------------------------------------------------------------------------- 1 | console.log("Running d"); 2 | -------------------------------------------------------------------------------- /tests/specs/task/dependencies/run.js: -------------------------------------------------------------------------------- 1 | console.log("run finished"); 2 | -------------------------------------------------------------------------------- /tests/specs/task/eval/bin.out: -------------------------------------------------------------------------------- 1 | Task cli-esm hi hello 2 | hi 3 | hello 4 | -------------------------------------------------------------------------------- /tests/specs/task/eval/echo_pwd.out: -------------------------------------------------------------------------------- 1 | Task echo $(pwd) 2 | [WILDCARD] 3 | -------------------------------------------------------------------------------- /tests/specs/task/workspace/scripts/main.ts: -------------------------------------------------------------------------------- 1 | console.log("some file"); 2 | -------------------------------------------------------------------------------- /tests/specs/test/config_permissions/workspace/b/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/test/file_protocol/main.ts: -------------------------------------------------------------------------------- 1 | Deno.test("test 0", () => {}); 2 | -------------------------------------------------------------------------------- /tests/specs/test/interval/main.ts: -------------------------------------------------------------------------------- 1 | setInterval(function () {}, 0); 2 | -------------------------------------------------------------------------------- /tests/specs/test/parallel_flag/main.ts: -------------------------------------------------------------------------------- 1 | Deno.test("test", () => {}); 2 | -------------------------------------------------------------------------------- /tests/specs/test/text/main.md: -------------------------------------------------------------------------------- 1 | This fixture contains no actual tests. 2 | -------------------------------------------------------------------------------- /tests/specs/worker/worker_terminate_tla_crash/terminate_tla_crash.js.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/x/alias/alias.out: -------------------------------------------------------------------------------- 1 | Task "dx" 2 | No local commands found 3 | -------------------------------------------------------------------------------- /tests/testdata/compile/node_modules_symlink_outside/main.out: -------------------------------------------------------------------------------- 1 | 4 2 | 5 3 | -------------------------------------------------------------------------------- /tests/testdata/fmt/badly_formatted.css: -------------------------------------------------------------------------------- 1 | #app>.btn{ color : #000 } 2 | 3 | -------------------------------------------------------------------------------- /tests/testdata/fmt/glob/data/test1.js: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/fmt/glob/data/test1.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/fmt/glob/pages/[id].ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/lsp/registries/a_v1.0.0_b.json: -------------------------------------------------------------------------------- 1 | [ 2 | "b/c.ts" 3 | ] 4 | -------------------------------------------------------------------------------- /tests/testdata/lsp/registries/def_tags.json: -------------------------------------------------------------------------------- 1 | [ 2 | "3.0.0" 3 | ] 4 | -------------------------------------------------------------------------------- /tests/testdata/module_graph/file_tests-b-mod.js: -------------------------------------------------------------------------------- 1 | export const b = "b"; 2 | -------------------------------------------------------------------------------- /tests/testdata/module_graph/file_tests-b.ts: -------------------------------------------------------------------------------- 1 | export const b = "b"; 2 | -------------------------------------------------------------------------------- /tests/testdata/module_graph/file_tests-c-mod.ts: -------------------------------------------------------------------------------- 1 | export const c = "c"; 2 | -------------------------------------------------------------------------------- /tests/testdata/module_graph/file_typesref.d.ts: -------------------------------------------------------------------------------- 1 | export const a: "a"; 2 | -------------------------------------------------------------------------------- /tests/testdata/navigator_language.ts: -------------------------------------------------------------------------------- 1 | console.log(navigator.language); 2 | -------------------------------------------------------------------------------- /tests/testdata/run/permission_broker/log.txt: -------------------------------------------------------------------------------- 1 | Lorem ipsum dolor sit amet -------------------------------------------------------------------------------- /tests/testdata/subdir/form_urlencoded.txt: -------------------------------------------------------------------------------- 1 | field_1=Hi&field_2=%3CDeno%3E -------------------------------------------------------------------------------- /tests/testdata/subdir/indirect_throws.js: -------------------------------------------------------------------------------- 1 | export * from "./throws.js"; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/json_3.json: -------------------------------------------------------------------------------- 1 | "${globalThis}`and string literal`" 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/mismatch_ext.ts: -------------------------------------------------------------------------------- 1 | export const loaded = true; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/mod6.js: -------------------------------------------------------------------------------- 1 | export { isMod4 } from "./mod4.js"; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/mt_javascript.js: -------------------------------------------------------------------------------- 1 | export const loaded = true; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/mt_video_mp2t.t3.ts: -------------------------------------------------------------------------------- 1 | export const loaded = true; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/mt_video_vdn.t2.ts: -------------------------------------------------------------------------------- 1 | export const loaded = true; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/redirects/redirect2.js: -------------------------------------------------------------------------------- 1 | import "./redirect1.js"; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/single_module.ts: -------------------------------------------------------------------------------- 1 | console.log("Hello world!"); 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/type_reference.d.ts: -------------------------------------------------------------------------------- 1 | export const foo: "foo"; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/unknown_ext.deno: -------------------------------------------------------------------------------- 1 | export const loaded = true; 2 | -------------------------------------------------------------------------------- /tests/testdata/test/glob/nested/fizz/bar.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/test/glob/nested/fizz/bazz.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/test/glob/nested/fizz/fizz.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/test/glob/nested/fizz/foo.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/test/glob/nested/foo/bar.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/test/glob/nested/foo/bazz.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/test/glob/nested/foo/fizz.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/test/glob/nested/foo/foo.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/tsc/node_modules/c.js: -------------------------------------------------------------------------------- 1 | export default function c() {} 2 | -------------------------------------------------------------------------------- /tests/testdata/tsc2/https_deno.land-x-c.d.ts: -------------------------------------------------------------------------------- 1 | export const c: string; 2 | -------------------------------------------------------------------------------- /tests/testdata/type_definitions/fizz.js: -------------------------------------------------------------------------------- 1 | globalThis.fizz = "fizz"; 2 | -------------------------------------------------------------------------------- /ext/console/lib.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2018-2025 the Deno authors. MIT license. 2 | -------------------------------------------------------------------------------- /tests/registry/jsr/@denotest/has-pre-release/1.0.0/mod.ts: -------------------------------------------------------------------------------- 1 | export const foo = 1; -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/CAPITALS/1.0.0/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 5; 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/d-ext/1.0.0/index.js: -------------------------------------------------------------------------------- 1 | module.exports.test = 5; 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/d-ext/1.0.0/types.d.ts: -------------------------------------------------------------------------------- 1 | export const value: 5; 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/types-exports-subpaths/1.0.0/entry-js-only.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/add/alias/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /tests/specs/add/dev/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "nodeModulesDir": "manual" 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/bench/interval/interval.ts: -------------------------------------------------------------------------------- 1 | setInterval(function () {}, 0); 2 | -------------------------------------------------------------------------------- /tests/specs/bundle/error_message/foo.css: -------------------------------------------------------------------------------- 1 | div { 2 | text-align: center; 3 | } -------------------------------------------------------------------------------- /tests/specs/cache/globbing/main.ts: -------------------------------------------------------------------------------- 1 | import "http://localhost:4545/echo.ts"; 2 | -------------------------------------------------------------------------------- /tests/specs/cache/performance_stats/hello.ts: -------------------------------------------------------------------------------- 1 | console.log("Hello World"); 2 | -------------------------------------------------------------------------------- /tests/specs/check/check_npm_install_diagnostics/main.ts: -------------------------------------------------------------------------------- 1 | $; 2 | process; 3 | -------------------------------------------------------------------------------- /tests/specs/check/compiler_options_paths_and_sloppy_imports/lib/bar/mod.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/check/globbing/main.ts: -------------------------------------------------------------------------------- 1 | console.log("globbing_support_done"); 2 | -------------------------------------------------------------------------------- /tests/specs/check/workspace/package-c/check.js: -------------------------------------------------------------------------------- 1 | console.log(Math.pow("")); 2 | -------------------------------------------------------------------------------- /tests/specs/check/workspace/package-d/check.js: -------------------------------------------------------------------------------- 1 | console.log(Math.pow("")); 2 | -------------------------------------------------------------------------------- /tests/specs/check/workspace_compiler_option_types/package-a/other-globals.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/compile/default_v8_flags/main.out: -------------------------------------------------------------------------------- 1 | [Function: SuppressedError] 2 | -------------------------------------------------------------------------------- /tests/specs/compile/default_v8_flags/main.ts: -------------------------------------------------------------------------------- 1 | console.log(SuppressedError); 2 | -------------------------------------------------------------------------------- /tests/specs/compile/repetitive_unstable_flag/.gitignore: -------------------------------------------------------------------------------- 1 | out.exe 2 | out 3 | -------------------------------------------------------------------------------- /tests/specs/coverage/invalid_url/main.ts: -------------------------------------------------------------------------------- 1 | export function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/eval/check_local/main.out: -------------------------------------------------------------------------------- 1 | [Module: null prototype] { a: 12 } 2 | -------------------------------------------------------------------------------- /tests/specs/fmt/sql/ignore_file.sql: -------------------------------------------------------------------------------- 1 | -- deno-fmt-ignore-file 2 | 3 | foo%! 4 | -------------------------------------------------------------------------------- /tests/specs/fmt/sql/ignore_file2.sql: -------------------------------------------------------------------------------- 1 | --deno-fmt-ignore-file 2 | 3 | foo%! 4 | -------------------------------------------------------------------------------- /tests/specs/fmt/sql/well_formatted.sql: -------------------------------------------------------------------------------- 1 | SELECT 2 | * 3 | FROM 4 | foo; 5 | -------------------------------------------------------------------------------- /tests/specs/fmt/strip_bom/format.out: -------------------------------------------------------------------------------- 1 | [WILDLINE]main.ts 2 | Checked 2 files 3 | -------------------------------------------------------------------------------- /tests/specs/fmt/workspace/a_fmt.out: -------------------------------------------------------------------------------- 1 | [WILDLINE]a.ts 2 | Checked 2 files 3 | -------------------------------------------------------------------------------- /tests/specs/future/import_assertions/main.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": "foo" 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/install/cache_out_of_date_with_lockfile/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/install/global/config_file_import_map/import_map.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/install/global/config_file_import_map/main.ts: -------------------------------------------------------------------------------- 1 | console.log(1); 2 | -------------------------------------------------------------------------------- /tests/specs/lint/all/file1.js: -------------------------------------------------------------------------------- 1 | // deno-lint-ignore 2 | while (false) {} 3 | -------------------------------------------------------------------------------- /tests/specs/lint/compact/file1.js: -------------------------------------------------------------------------------- 1 | // deno-lint-ignore 2 | while (false) {} 3 | -------------------------------------------------------------------------------- /tests/specs/lint/json/file1.js: -------------------------------------------------------------------------------- 1 | // deno-lint-ignore 2 | while (false) {} 3 | -------------------------------------------------------------------------------- /tests/specs/lint/jsr_tag/non_package/type.ts: -------------------------------------------------------------------------------- 1 | export type MyType = string; 2 | -------------------------------------------------------------------------------- /tests/specs/lint/lint_plugin_workspace/member/main.ts: -------------------------------------------------------------------------------- 1 | const _a = "foo"; 2 | -------------------------------------------------------------------------------- /tests/specs/lint/quiet/file1.js: -------------------------------------------------------------------------------- 1 | // deno-lint-ignore 2 | while (false) {} 3 | -------------------------------------------------------------------------------- /tests/specs/lint/rules/expected_rules.out: -------------------------------------------------------------------------------- 1 | Available rules: 2 | [WILDCARD] 3 | -------------------------------------------------------------------------------- /tests/specs/lint/sloppy_imports_dts/dir_js/index.d.ts: -------------------------------------------------------------------------------- 1 | export class Dir2 {} 2 | -------------------------------------------------------------------------------- /tests/specs/lint/sloppy_imports_dts/dir_js/index.js: -------------------------------------------------------------------------------- 1 | export class Dir {} 2 | -------------------------------------------------------------------------------- /tests/specs/lint/sloppy_imports_dts/dir_mjs/index.mjs: -------------------------------------------------------------------------------- 1 | export class Dir {} 2 | -------------------------------------------------------------------------------- /tests/specs/lint/sloppy_imports_dts/dir_mts/index.mts: -------------------------------------------------------------------------------- 1 | export class Dir {} 2 | -------------------------------------------------------------------------------- /tests/specs/lint/sloppy_imports_dts/dir_ts/index.d.ts: -------------------------------------------------------------------------------- 1 | export class Dir2 {} 2 | -------------------------------------------------------------------------------- /tests/specs/lint/sloppy_imports_dts/dir_ts/index.ts: -------------------------------------------------------------------------------- 1 | export class Dir {} 2 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config/glob/data/tes.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lockfile/jsx_import_source_and_types/index.tsx: -------------------------------------------------------------------------------- 1 | console.log(1); 2 | -------------------------------------------------------------------------------- /tests/specs/lockfile/run_overlapping_npm_constraints/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/node/esm_dir_import/dir_same_name_file/node_modules/package/dir.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/node/esm_dir_import/dir_same_name_file/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/node/missing_ext_suggestion/js.ts: -------------------------------------------------------------------------------- 1 | import "package/module"; 2 | -------------------------------------------------------------------------------- /tests/specs/node/require_esm_module_exports/main.out: -------------------------------------------------------------------------------- 1 | undefined 2 | value 3 | -------------------------------------------------------------------------------- /tests/specs/node/unstable_detect_cjs/no_type_field/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/npm/byonm_npm_specifier_in_node_modules/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/npm/cjs_reexport_collision/cjs_reexport_collision/main.out: -------------------------------------------------------------------------------- 1 | Hi. 2 | -------------------------------------------------------------------------------- /tests/specs/npm/dual_cjs_esm/esm_referrer/main.out: -------------------------------------------------------------------------------- 1 | esm 2 | cjs 3 | cjs 4 | -------------------------------------------------------------------------------- /tests/specs/npm/exports_no_condition_matched_error/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/npm/peer_deps_with_copied_folders_and_lockfile/deno.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/npm/remote_npm_specifier/remote_npm_specifier/main.out: -------------------------------------------------------------------------------- 1 | test 2 | -------------------------------------------------------------------------------- /tests/specs/publish/dry_run_gitignored/mod.ts: -------------------------------------------------------------------------------- 1 | import "./gitignored.ts"; 2 | -------------------------------------------------------------------------------- /tests/specs/publish/excluded_deno_jsonc/mod.ts: -------------------------------------------------------------------------------- 1 | export class Test { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/publish/publish_false/workspace/b/mod.ts: -------------------------------------------------------------------------------- 1 | export const a = 1; 2 | -------------------------------------------------------------------------------- /tests/specs/publish/sloppy_imports/b/index.ts: -------------------------------------------------------------------------------- 1 | export const PI = Math.PI; 2 | -------------------------------------------------------------------------------- /tests/specs/remove/basic/rm.out: -------------------------------------------------------------------------------- 1 | Removed @std/assert 2 | Removed @std/http 3 | -------------------------------------------------------------------------------- /tests/specs/run/_004_set_timeout/004_set_timeout.ts.out: -------------------------------------------------------------------------------- 1 | Hello 2 | World 3 | -------------------------------------------------------------------------------- /tests/specs/run/_006_url_imports/006_url_imports.ts.out: -------------------------------------------------------------------------------- 1 | Hello 2 | success 3 | -------------------------------------------------------------------------------- /tests/specs/run/_014_duplicate_import/014_duplicate_import.ts.out: -------------------------------------------------------------------------------- 1 | hello! 2 | -------------------------------------------------------------------------------- /tests/specs/run/_016_double_await/016_double_await.ts.out: -------------------------------------------------------------------------------- 1 | true 2 | false 3 | -------------------------------------------------------------------------------- /tests/specs/run/_072_location_relative_fetch/fetch/hello.txt: -------------------------------------------------------------------------------- 1 | Hello, world! 2 | -------------------------------------------------------------------------------- /tests/specs/run/byte_order_mark/001_hello.js: -------------------------------------------------------------------------------- 1 | console.log("Hello World"); 2 | -------------------------------------------------------------------------------- /tests/specs/run/bytes_and_text_imports/dynamic/non_analyzable_utf8_bom.txt: -------------------------------------------------------------------------------- 1 | bom -------------------------------------------------------------------------------- /tests/specs/run/conditional_exports_from_require/main.cjs: -------------------------------------------------------------------------------- 1 | require("foo"); 2 | -------------------------------------------------------------------------------- /tests/specs/run/cts/main/import_main.cjs: -------------------------------------------------------------------------------- 1 | require("./main.cts").sayHello(); 2 | -------------------------------------------------------------------------------- /tests/specs/run/dynamic_import_dep_written_runtime/a.ts: -------------------------------------------------------------------------------- 1 | import "./b.ts"; 2 | -------------------------------------------------------------------------------- /tests/specs/run/heapstats/heapstats.js.out: -------------------------------------------------------------------------------- 1 | Allocated: 8MB 2 | Freed: -8MB 3 | -------------------------------------------------------------------------------- /tests/specs/run/import_extensionless/import_extensionless.ts.out: -------------------------------------------------------------------------------- 1 | Hello 2 | -------------------------------------------------------------------------------- /tests/specs/run/import_map_bare_specifier/direct_file.out: -------------------------------------------------------------------------------- 1 | Hello from app! 2 | -------------------------------------------------------------------------------- /tests/specs/run/import_map_bare_specifier/local_file.out: -------------------------------------------------------------------------------- 1 | Hello from app! 2 | -------------------------------------------------------------------------------- /tests/specs/run/import_map_bare_specifier/npm.out: -------------------------------------------------------------------------------- 1 | [WILDCARD]hello 2 | test 3 | -------------------------------------------------------------------------------- /tests/specs/run/kv_path_with_dot/main.out: -------------------------------------------------------------------------------- 1 | Database opened successfully 2 | -------------------------------------------------------------------------------- /tests/specs/run/kv_relative_path/main.out: -------------------------------------------------------------------------------- 1 | Database opened successfully 2 | -------------------------------------------------------------------------------- /tests/specs/run/lazy_npm/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "nodeModulesDir": "auto" 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/run/mts_dmts_mjs_no_check/types.d.mts: -------------------------------------------------------------------------------- 1 | export type A = "a"; 2 | -------------------------------------------------------------------------------- /tests/specs/run/node_prefix_missing/byonm/has.out: -------------------------------------------------------------------------------- 1 | [Function: writeFile] 2 | -------------------------------------------------------------------------------- /tests/specs/run/node_prefix_missing/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "imports": {} 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/run/npm_json_without_attribute_error/node_modules/foo/bar.json: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/run/permission_args/001_hello.js: -------------------------------------------------------------------------------- 1 | console.log("Hello World"); 2 | -------------------------------------------------------------------------------- /tests/specs/run/skips_compiler_option_types/main.ts: -------------------------------------------------------------------------------- 1 | console.log("hi"); 2 | -------------------------------------------------------------------------------- /tests/specs/run/sloppy_imports/env_file: -------------------------------------------------------------------------------- 1 | DENO_UNSTABLE_SLOPPY_IMPORTS=1 2 | -------------------------------------------------------------------------------- /tests/specs/run/top_level_await/tla/order.js: -------------------------------------------------------------------------------- 1 | export default ["order"]; 2 | -------------------------------------------------------------------------------- /tests/specs/run/top_level_await/unresolved.js: -------------------------------------------------------------------------------- 1 | await new Promise(() => {}); 2 | -------------------------------------------------------------------------------- /tests/specs/task/boolean_logic/task_boolean_logic.out: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | 3 4 | 4 5 | -------------------------------------------------------------------------------- /tests/specs/task/deno_no_pre_post/bin.out: -------------------------------------------------------------------------------- 1 | Task test echo 'test' 2 | test 3 | -------------------------------------------------------------------------------- /tests/specs/task/dependencies/cycle_2.out: -------------------------------------------------------------------------------- 1 | Task cycle detected: a -> b -> a 2 | -------------------------------------------------------------------------------- /tests/specs/task/dependencies/diamond_big/a.js: -------------------------------------------------------------------------------- 1 | console.log("Running a"); 2 | -------------------------------------------------------------------------------- /tests/specs/task/dependencies/diamond_big/c.js: -------------------------------------------------------------------------------- 1 | console.log("Running c"); 2 | -------------------------------------------------------------------------------- /tests/specs/task/dependencies/diamond_big/d.js: -------------------------------------------------------------------------------- 1 | console.log("Running d"); 2 | -------------------------------------------------------------------------------- /tests/specs/task/dependencies/diamond_big/e.js: -------------------------------------------------------------------------------- 1 | console.log("Running e"); 2 | -------------------------------------------------------------------------------- /tests/specs/task/filter/npm_exact.out: -------------------------------------------------------------------------------- 1 | Task dev (foo) echo 'foo' 2 | foo 3 | -------------------------------------------------------------------------------- /tests/specs/task/init_cwd_already_set/task_init_cwd_already_set.out: -------------------------------------------------------------------------------- 1 | HELLO 2 | -------------------------------------------------------------------------------- /tests/specs/task/lockfile_frozen/deno.lock: -------------------------------------------------------------------------------- 1 | { 2 | "version": "4" 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/x/run_jsr_package/run.out: -------------------------------------------------------------------------------- 1 | Download [WILDCARD] 2 | foo 3 | bar 4 | -------------------------------------------------------------------------------- /tests/testdata/compile/dynamic_imports_tmp_lit/sub/a.js: -------------------------------------------------------------------------------- 1 | console.log("a"); 2 | -------------------------------------------------------------------------------- /tests/testdata/compile/dynamic_imports_tmp_lit/sub/b.ts: -------------------------------------------------------------------------------- 1 | console.log("b"); 2 | -------------------------------------------------------------------------------- /tests/testdata/fmt/expected_fmt_check_formatted_files.out: -------------------------------------------------------------------------------- 1 | Checked 4 files 2 | -------------------------------------------------------------------------------- /tests/testdata/fmt/glob/data/tes.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | 3 | } -------------------------------------------------------------------------------- /tests/testdata/fmt/glob/data/test12.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | 3 | } -------------------------------------------------------------------------------- /tests/testdata/fmt/glob/nested/fizz/bar.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/fmt/glob/nested/fizz/fizz.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/fmt/glob/nested/fizz/foo.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/fmt/glob/nested/foo/bar.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/fmt/glob/nested/foo/fizz.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/fmt/glob/nested/foo/foo.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/import_maps/vue.ts: -------------------------------------------------------------------------------- 1 | console.log("Hello from remapped Vue!"); 2 | -------------------------------------------------------------------------------- /tests/testdata/navigator_languages.ts: -------------------------------------------------------------------------------- 1 | console.log(navigator.languages); 2 | -------------------------------------------------------------------------------- /tests/testdata/run/extension_import.ts: -------------------------------------------------------------------------------- 1 | import "ext:runtime/01_errors.js"; 2 | -------------------------------------------------------------------------------- /tests/testdata/run/permission_broker/scratch.txt: -------------------------------------------------------------------------------- 1 | Lorem ipsum dolor sit amet -------------------------------------------------------------------------------- /tests/testdata/run/permission_request_long.ts: -------------------------------------------------------------------------------- 1 | Deno.open("a".repeat(1e5)); 2 | -------------------------------------------------------------------------------- /tests/testdata/run/top_level_await/tla/order.js: -------------------------------------------------------------------------------- 1 | export default ["order"]; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/mt_text_ecmascript.j3.js: -------------------------------------------------------------------------------- 1 | export const loaded = true; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/mt_text_javascript.j1.js: -------------------------------------------------------------------------------- 1 | export const loaded = true; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/mt_text_typescript.t1.ts: -------------------------------------------------------------------------------- 1 | export const loaded = true; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/redirects/redirect1.js: -------------------------------------------------------------------------------- 1 | export const redirect = 1; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/redirects/redirect1.ts: -------------------------------------------------------------------------------- 1 | export const redirect = 1; 2 | -------------------------------------------------------------------------------- /tests/testdata/tsc/d.ts: -------------------------------------------------------------------------------- 1 | export function v4() { 2 | return "hello"; 3 | } 4 | -------------------------------------------------------------------------------- /tests/testdata/tsc2/https_deno.land-x-mod.ts: -------------------------------------------------------------------------------- 1 | console.log("hello deno"); 2 | -------------------------------------------------------------------------------- /tests/unit_node/testdata/add_global_property.js: -------------------------------------------------------------------------------- 1 | globalThis.foo = "Hello"; 2 | -------------------------------------------------------------------------------- /libs/config/testdata/additional_files/jsr.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "@foo/bar" 3 | } -------------------------------------------------------------------------------- /libs/resolver/README.md: -------------------------------------------------------------------------------- 1 | # deno_resolver 2 | 3 | Deno resolution algorithm. 4 | -------------------------------------------------------------------------------- /tests/node_compat/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "importMap": "../../import_map.json" 3 | } 4 | -------------------------------------------------------------------------------- /tests/registry/jsr/@denotest/multiple-exports/0.2.0/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": 1 3 | } -------------------------------------------------------------------------------- /tests/registry/jsr/@denotest/multiple-exports/0.5.0/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": 1 3 | } -------------------------------------------------------------------------------- /tests/registry/jsr/@denotest/multiple-exports/0.7.0/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": 1 3 | } -------------------------------------------------------------------------------- /tests/registry/jsr/@denotest/multiple-exports/0.7.1/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": 1 3 | } -------------------------------------------------------------------------------- /tests/registry/jsr/@denotest/multiple-exports/1.0.0/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "a": 1 3 | } -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/augments-global/1.0.0/index.d.ts: -------------------------------------------------------------------------------- 1 | import "./other.d.ts"; -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/browser-field/1.0.0/main.js: -------------------------------------------------------------------------------- 1 | export const main = "main"; -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/sloppy-import/1.0.0/foo.js: -------------------------------------------------------------------------------- 1 | export const foo = "foo"; -------------------------------------------------------------------------------- /tests/specs/bundle/dir_import_package_json/node_modules/package/package.json: -------------------------------------------------------------------------------- 1 | { 2 | } -------------------------------------------------------------------------------- /tests/specs/bundle/html/index.ts: -------------------------------------------------------------------------------- 1 | document.body.innerHTML = "Hello, world!"; 2 | -------------------------------------------------------------------------------- /tests/specs/bundle/require_dotdot/index.js: -------------------------------------------------------------------------------- 1 | module.exports = "hello from index"; 2 | -------------------------------------------------------------------------------- /tests/specs/cache/package_json/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "nodeModulesDir": "none" 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/cache/with_bare_import/095_cache_with_bare_import.ts: -------------------------------------------------------------------------------- 1 | import "foo"; 2 | -------------------------------------------------------------------------------- /tests/specs/cert/cafile_ts_fetch/cafile_ts_fetch.ts.out: -------------------------------------------------------------------------------- 1 | [WILDCARD] 2 | Hello 3 | -------------------------------------------------------------------------------- /tests/specs/cert/cafile_url_imports/cafile_url_imports.ts.out: -------------------------------------------------------------------------------- 1 | Hello 2 | success 3 | -------------------------------------------------------------------------------- /tests/specs/check/byonm_import_missing_types/check.out: -------------------------------------------------------------------------------- 1 | Check [WILDCARD]main.ts 2 | -------------------------------------------------------------------------------- /tests/specs/check/byonm_import_missing_types/node_modules/package/example.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/specs/check/check_exclude_option/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "exclude": [] 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/check/check_exclude_option/ignored/index.ts: -------------------------------------------------------------------------------- 1 | export { nothing }; 2 | -------------------------------------------------------------------------------- /tests/specs/check/check_non_normalized_specifier/main.ts: -------------------------------------------------------------------------------- 1 | import ".//other.ts"; 2 | -------------------------------------------------------------------------------- /tests/specs/check/jsx_import_source_not_in_graph/main.ts: -------------------------------------------------------------------------------- 1 | console.log("Hello"); 2 | -------------------------------------------------------------------------------- /tests/specs/check/module_not_found_npm_pkg_entrypoint/node_modules/package/index.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/check/module_not_found_npm_pkg_internal/node_modules/package/index.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/check/with_bare_import/095_cache_with_bare_import.ts: -------------------------------------------------------------------------------- 1 | import "foo"; 2 | -------------------------------------------------------------------------------- /tests/specs/compile/cjs/reexport.cjs: -------------------------------------------------------------------------------- 1 | module.exports.add = require("./add.cjs"); 2 | -------------------------------------------------------------------------------- /tests/specs/compile/include/folder_ts_file/output.out: -------------------------------------------------------------------------------- 1 | [WILDLINE]add.ts 2 | 3 3 | -------------------------------------------------------------------------------- /tests/specs/compile/no_code_cache/main.out: -------------------------------------------------------------------------------- 1 | [WILDCARD]Code cache disabled.[WILDCARD] -------------------------------------------------------------------------------- /tests/specs/compile/npm_cjs_reexport_relative_parent_component/main.out: -------------------------------------------------------------------------------- 1 | Hi. 2 | -------------------------------------------------------------------------------- /tests/specs/compile/npm_fs/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "nodeModulesDir": "auto" 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/coverage/no_files_after_filter/test.ts: -------------------------------------------------------------------------------- 1 | Deno.test("test", () => {}); 2 | -------------------------------------------------------------------------------- /tests/specs/doc/import_map/use_import_map.js: -------------------------------------------------------------------------------- 1 | export { fun } from "rex/fun.js"; 2 | -------------------------------------------------------------------------------- /tests/specs/fmt/css/well_formatted.css: -------------------------------------------------------------------------------- 1 | #app > .btn { 2 | color: #000; 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/fmt/yaml/ignore_file.yaml: -------------------------------------------------------------------------------- 1 | # deno-fmt-ignore-file 2 | {{something crazy -------------------------------------------------------------------------------- /tests/specs/fmt/yaml/ignore_file2.yaml: -------------------------------------------------------------------------------- 1 | #deno-fmt-ignore-file 2 | {{something crazy -------------------------------------------------------------------------------- /tests/specs/info/with_config_override/with_config/test.ts: -------------------------------------------------------------------------------- 1 | console.log("foo"); 2 | -------------------------------------------------------------------------------- /tests/specs/install/type_only_import/run.out: -------------------------------------------------------------------------------- 1 | Check [WILDCARD]main.ts 2 | foo 3 | -------------------------------------------------------------------------------- /tests/specs/lint/rules_quiet/expected_rules.out: -------------------------------------------------------------------------------- 1 | Available rules: 2 | [WILDCARD] 3 | -------------------------------------------------------------------------------- /tests/specs/lint/sloppy_imports_dts/dir_mjs/index.d.ts: -------------------------------------------------------------------------------- 1 | export class Dir2 {} 2 | -------------------------------------------------------------------------------- /tests/specs/lint/sloppy_imports_dts/dir_mts/index.d.ts: -------------------------------------------------------------------------------- 1 | export class Dir2 {} 2 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config/glob/data/test1.js: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config/glob/data/test1.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config/glob/data/test12.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config/glob/nested/foo/bar.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config/glob/nested/foo/foo.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config/glob/pages/[id].ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lockfile/auto_discover_lockfile/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "tasks": {} 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/node/esm_dir_import/package_json/node_modules/fp-ts/lib/function.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/node/missing_ext_suggestion/commonjs.ts: -------------------------------------------------------------------------------- 1 | import "package/commonjs"; 2 | -------------------------------------------------------------------------------- /tests/specs/node/worker_threads/message_port_removelistener.out: -------------------------------------------------------------------------------- 1 | Hello World! 2 | -------------------------------------------------------------------------------- /tests/specs/npm/deno_run_bin_cjs/deno_run_cjs.out: -------------------------------------------------------------------------------- 1 | this 2 | is 3 | a 4 | test 5 | -------------------------------------------------------------------------------- /tests/specs/npm/deno_run_bin_esm/deno_run_esm.out: -------------------------------------------------------------------------------- 1 | this 2 | is 3 | a 4 | test 5 | -------------------------------------------------------------------------------- /tests/specs/npm/exec_file_inside_npm_package/main.out: -------------------------------------------------------------------------------- 1 | [WILDCARD]Hello, world! 2 | -------------------------------------------------------------------------------- /tests/specs/npm/exports_no_condition_matched_error/main.ts: -------------------------------------------------------------------------------- 1 | import "package"; 2 | -------------------------------------------------------------------------------- /tests/specs/npm/invalid_package_name/main.js: -------------------------------------------------------------------------------- 1 | import * as foo from "npm:@foo"; 2 | -------------------------------------------------------------------------------- /tests/specs/npm/lifecycle_scripts/argument/only_warns_first2.out: -------------------------------------------------------------------------------- 1 | value is 42 2 | -------------------------------------------------------------------------------- /tests/specs/npm/link_npm_package_deep/linked/main.mjs: -------------------------------------------------------------------------------- 1 | export default "LINKED"; 2 | -------------------------------------------------------------------------------- /tests/specs/npm/npmrc_no_auth/.npmrc: -------------------------------------------------------------------------------- 1 | @denotest3:registry=http://localhost:4263/ 2 | -------------------------------------------------------------------------------- /tests/specs/npm/peer_deps_with_copied_folders_and_lockfile/main.out: -------------------------------------------------------------------------------- 1 | 1 2 | 2 3 | -------------------------------------------------------------------------------- /tests/specs/npm/pkg_index_ts_and_js/node_modules/package/json/index.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/npm/workspace_basic/b/main_byonm.out: -------------------------------------------------------------------------------- 1 | Hello 5 2 | Hello 5 3 | C: Hi! 4 | -------------------------------------------------------------------------------- /tests/specs/permission/allow_import_cached_only/success.out: -------------------------------------------------------------------------------- 1 | Welcome to Deno! 2 | -------------------------------------------------------------------------------- /tests/specs/remove/package_json/rm_esm_basic.out: -------------------------------------------------------------------------------- 1 | Removed @denotest/esm-basic 2 | -------------------------------------------------------------------------------- /tests/specs/run/_017_import_redirect/017_import_redirect.ts.out: -------------------------------------------------------------------------------- 1 | Hello, World! 2 | -------------------------------------------------------------------------------- /tests/specs/run/_025_reload_js_type_error/025_reload_js_type_error.js.out: -------------------------------------------------------------------------------- 1 | hello 2 | -------------------------------------------------------------------------------- /tests/specs/run/_042_dyn_import_evalcontext/mod4.js: -------------------------------------------------------------------------------- 1 | export const isMod4 = true; 2 | -------------------------------------------------------------------------------- /tests/specs/run/blob_gc_finalization/blob_gc_finalization.js.out: -------------------------------------------------------------------------------- 1 | GCed all blobs 2 | -------------------------------------------------------------------------------- /tests/specs/run/bytes_and_text_imports/dynamic/non_analyzable.txt: -------------------------------------------------------------------------------- 1 | non_analyzable -------------------------------------------------------------------------------- /tests/specs/run/config_sibling_dir/api/index.ts: -------------------------------------------------------------------------------- 1 | export * from "./b/index.ts"; 2 | -------------------------------------------------------------------------------- /tests/specs/run/config_types/config_types/main.ts: -------------------------------------------------------------------------------- 1 | console.log(globalThis.a); 2 | -------------------------------------------------------------------------------- /tests/specs/run/fix_emittable_skipped/emittable.d.ts: -------------------------------------------------------------------------------- 1 | export const a: string; 2 | -------------------------------------------------------------------------------- /tests/specs/run/fix_js_import_js/mod6.js: -------------------------------------------------------------------------------- 1 | export { isMod4 } from "./mod4.js"; 2 | -------------------------------------------------------------------------------- /tests/specs/run/import_blob_url_imports/import_blob_url_imports.ts.out: -------------------------------------------------------------------------------- 1 | Hello 2 | -------------------------------------------------------------------------------- /tests/specs/run/import_common_js/main.ts: -------------------------------------------------------------------------------- 1 | import foo from "foo"; 2 | 3 | foo(); 4 | -------------------------------------------------------------------------------- /tests/specs/run/import_data_url_imports/import_data_url_imports.ts.out: -------------------------------------------------------------------------------- 1 | Hello 2 | -------------------------------------------------------------------------------- /tests/specs/run/import_map_bare_specifier/relative_mapping.out: -------------------------------------------------------------------------------- 1 | Hello from app! 2 | -------------------------------------------------------------------------------- /tests/specs/run/import_map_parent_dir/shared/models.ts: -------------------------------------------------------------------------------- 1 | export class Model {} 2 | -------------------------------------------------------------------------------- /tests/specs/run/import_map_parent_dir/sub/main.ts: -------------------------------------------------------------------------------- 1 | import "~/shared/models.ts"; 2 | -------------------------------------------------------------------------------- /tests/specs/run/jsx_import_from_ts/jsx_import_from_ts.ts.out: -------------------------------------------------------------------------------- 1 | [Function: app] 2 | -------------------------------------------------------------------------------- /tests/specs/run/no_check/mod2.ts: -------------------------------------------------------------------------------- 1 | export { printHello } from "./print_hello.ts"; 2 | -------------------------------------------------------------------------------- /tests/specs/run/no_deno_json/code/no_package_json_imports.ts: -------------------------------------------------------------------------------- 1 | console.log(5); 2 | -------------------------------------------------------------------------------- /tests/specs/run/no_deno_json/noconfig.out: -------------------------------------------------------------------------------- 1 | [WILDCARD] 2 | success 3 | [WILDCARD] 4 | -------------------------------------------------------------------------------- /tests/specs/run/no_lock_flag/no_lock_flag/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "tasks": {} 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/run/node_prefix_missing/feature_enabled.out: -------------------------------------------------------------------------------- 1 | [Function: writeFile] 2 | -------------------------------------------------------------------------------- /tests/specs/run/npm_json_without_attribute_error/main.ts: -------------------------------------------------------------------------------- 1 | import "foo/bar.json"; 2 | -------------------------------------------------------------------------------- /tests/specs/run/npm_pkg_requires_esm_js/file.js: -------------------------------------------------------------------------------- 1 | console.log(import.meta.url); 2 | -------------------------------------------------------------------------------- /tests/specs/run/npm_pkg_requires_esm_js/logs_require.js: -------------------------------------------------------------------------------- 1 | console.log(require); 2 | -------------------------------------------------------------------------------- /tests/specs/run/permission_args_quiet/001_hello.js: -------------------------------------------------------------------------------- 1 | console.log("Hello World"); 2 | -------------------------------------------------------------------------------- /tests/specs/run/references_types_remote/reference_types_remote.ts.out: -------------------------------------------------------------------------------- 1 | undefined 2 | -------------------------------------------------------------------------------- /tests/specs/run/require_esm/async.js: -------------------------------------------------------------------------------- 1 | export const async_js = 1; 2 | await {}; 3 | -------------------------------------------------------------------------------- /tests/specs/run/run_task/main_foo.out: -------------------------------------------------------------------------------- 1 | Task main:foo deno run main.ts 2 | main 3 | -------------------------------------------------------------------------------- /tests/specs/run/serve/ipv6_hostname.out: -------------------------------------------------------------------------------- 1 | Listening on http://[::1]:[WILDCARD]/ 2 | -------------------------------------------------------------------------------- /tests/specs/run/ts_import_assertions/data.json: -------------------------------------------------------------------------------- 1 | { 2 | "prop": "data" 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/run/type_directives_02/type_reference.d.ts: -------------------------------------------------------------------------------- 1 | export const foo: "foo"; 2 | -------------------------------------------------------------------------------- /tests/specs/run/unsafe_proto_flag/main_with_unsafe_proto_flag.out: -------------------------------------------------------------------------------- 1 | true 2 | true 3 | -------------------------------------------------------------------------------- /tests/specs/run/unstable_temporal_api/missing_flag.js: -------------------------------------------------------------------------------- 1 | Temporal.Now.instant(); 2 | -------------------------------------------------------------------------------- /tests/specs/run/wasm_module/cjs_importing/main.out: -------------------------------------------------------------------------------- 1 | Check [WILDCARD] 2 | 3 3 | 6 4 | -------------------------------------------------------------------------------- /tests/specs/run/weakref/weakref.ts: -------------------------------------------------------------------------------- 1 | console.log(WeakRef, FinalizationRegistry); 2 | -------------------------------------------------------------------------------- /tests/specs/serve/bad/main.ts: -------------------------------------------------------------------------------- 1 | export default { 2 | bad() { 3 | }, 4 | }; 5 | -------------------------------------------------------------------------------- /tests/specs/task/bin_package/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "nodeModulesDir": "auto" 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/test/test_with_glob_config/glob/data/tes.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/test/text/main.out: -------------------------------------------------------------------------------- 1 | 2 | ok | 0 passed | 0 failed ([WILDCARD]) 3 | 4 | -------------------------------------------------------------------------------- /tests/specs/test/uncaught_errors/uncaught_errors_3.ts: -------------------------------------------------------------------------------- 1 | throw new Error("baz"); 2 | -------------------------------------------------------------------------------- /tests/specs/x/run_npm_package/run.out: -------------------------------------------------------------------------------- 1 | Download [WILDCARD] 2 | dev 3 | --help 4 | -------------------------------------------------------------------------------- /tests/testdata/compile/dynamic_imports/import2.ts: -------------------------------------------------------------------------------- 1 | console.log("import2.ts"); 2 | -------------------------------------------------------------------------------- /tests/testdata/fmt/glob/nested/fizz/bazz.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | 3 | } -------------------------------------------------------------------------------- /tests/testdata/fmt/glob/nested/foo/bazz.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | 3 | } -------------------------------------------------------------------------------- /tests/testdata/import_attributes/static_export.out: -------------------------------------------------------------------------------- 1 | { a: "b", c: { d: 10 } } 2 | -------------------------------------------------------------------------------- /tests/testdata/info/error_009_missing_js_module.js: -------------------------------------------------------------------------------- 1 | import "./bad-module.js"; 2 | -------------------------------------------------------------------------------- /tests/testdata/info/recursive_imports/common.ts: -------------------------------------------------------------------------------- 1 | export function thing() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/testdata/lockfile/no_dts/mod.d.ts: -------------------------------------------------------------------------------- 1 | export declare function test(): number; 2 | -------------------------------------------------------------------------------- /tests/testdata/module_graph/https_deno.land-x-a.ts: -------------------------------------------------------------------------------- 1 | export const a = "hello"; 2 | -------------------------------------------------------------------------------- /tests/testdata/module_graph/https_deno.land-x-lib-b.js: -------------------------------------------------------------------------------- 1 | export const b = []; 2 | -------------------------------------------------------------------------------- /tests/testdata/npm/exec_file/main.ts: -------------------------------------------------------------------------------- 1 | import "npm:@denotest/exec-file@1.0.0"; 2 | -------------------------------------------------------------------------------- /tests/testdata/run/followup_dyn_import_resolves/sub2.ts: -------------------------------------------------------------------------------- 1 | console.log("sub2"); 2 | -------------------------------------------------------------------------------- /tests/testdata/run/webstorage/logger.ts: -------------------------------------------------------------------------------- 1 | console.log(globalThis.localStorage); 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/mod2.ts: -------------------------------------------------------------------------------- 1 | export { printHello } from "./print_hello.ts"; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/tla.ts: -------------------------------------------------------------------------------- 1 | export const foo = await Promise.resolve("Hello"); 2 | -------------------------------------------------------------------------------- /tests/testdata/task/npx/on_own.out: -------------------------------------------------------------------------------- 1 | Task on-own npx 2 | npx: missing command 3 | -------------------------------------------------------------------------------- /tests/testdata/tsc/a.js: -------------------------------------------------------------------------------- 1 | import { v4 } from "./d.ts"; 2 | export function a() {} 3 | -------------------------------------------------------------------------------- /tests/testdata/tsc/node_modules/b.js: -------------------------------------------------------------------------------- 1 | import c from "./c.js"; 2 | export { c }; 3 | -------------------------------------------------------------------------------- /tests/unit_node/testdata/exec_file_text_output.js: -------------------------------------------------------------------------------- 1 | console.log("Hello World!"); 2 | -------------------------------------------------------------------------------- /cli/bench/testdata/npm/hono/dist/utils/jwt/index.d.ts: -------------------------------------------------------------------------------- 1 | export * as Jwt from './jwt'; 2 | -------------------------------------------------------------------------------- /cli/snapshot/README.md: -------------------------------------------------------------------------------- 1 | # deno_snapshots 2 | 3 | v8 snapshot used in the Deno CLI. 4 | -------------------------------------------------------------------------------- /ext/broadcast_channel/lib.rs: -------------------------------------------------------------------------------- 1 | // Copyright 2018-2025 the Deno authors. MIT license. 2 | -------------------------------------------------------------------------------- /tests/registry/jsr/@denotest/has-pre-release/2.0.0-beta.1/mod.ts: -------------------------------------------------------------------------------- 1 | export const foo = 1; -------------------------------------------------------------------------------- /tests/registry/jsr/@denotest/has-pre-release/2.0.0-beta.2/mod.ts: -------------------------------------------------------------------------------- 1 | export const foo = 1; -------------------------------------------------------------------------------- /tests/registry/jsr/@denotest/module-graph/1.4.0/other.ts: -------------------------------------------------------------------------------- 1 | export class Other { 2 | } 3 | -------------------------------------------------------------------------------- /tests/registry/jsr/@denotest/module-graph2/1.4.0/other.ts: -------------------------------------------------------------------------------- 1 | export class Other { 2 | } 3 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/add/0.5.0/index.js: -------------------------------------------------------------------------------- 1 | module.exports.sum = (a, b) => a + b; -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/add/1.0.0/index.js: -------------------------------------------------------------------------------- 1 | module.exports.add = (a, b) => a + b; -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/cjs-pkg-imports/1.0.0/number.js: -------------------------------------------------------------------------------- 1 | module.exports = 5; 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/cjs-require-esm/1.0.0/esm_mjs.mjs: -------------------------------------------------------------------------------- 1 | export class Test {} 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/imports-package-json/1.0.0/hi.js: -------------------------------------------------------------------------------- 1 | export default "hi"; 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/mjs-reexport-cjs/1.0.0/index.mjs: -------------------------------------------------------------------------------- 1 | export * from "./index.js"; -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/non-existent-dep/1.0.0/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 5; 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/peer-dep-test-peer/1.0.0/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 1; 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/peer-dep-test-peer/2.0.0/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 2; 2 | -------------------------------------------------------------------------------- /tests/specs/bench/file_protocol/file_protocol.ts: -------------------------------------------------------------------------------- 1 | Deno.bench("bench0", () => {}); 2 | -------------------------------------------------------------------------------- /tests/specs/bundle/json_import_no_attribute/foo.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "foo" 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/check/ambient_modules/styles.module.css: -------------------------------------------------------------------------------- 1 | .root { 2 | color: red; 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/check/byonm_import_missing_types/main.ts: -------------------------------------------------------------------------------- 1 | import "package/example.js"; 2 | -------------------------------------------------------------------------------- /tests/specs/check/byonm_import_missing_types/node_modules/package/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/specs/check/check_workspace/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "workspace": ["member"] 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/check/jsx_import_source_not_in_graph/main.out: -------------------------------------------------------------------------------- 1 | Check [WILDCARD]main.ts 2 | -------------------------------------------------------------------------------- /tests/specs/check/lockfile_types_node_existing/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "lock": true 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/check/ts_in_npm_pkg/node_modules/package/main.ts: -------------------------------------------------------------------------------- 1 | export * from "./other" 2 | -------------------------------------------------------------------------------- /tests/specs/check/tsconfig_root_dirs/subdir/types/foo.d.ts: -------------------------------------------------------------------------------- 1 | export type Foo = string; 2 | -------------------------------------------------------------------------------- /tests/specs/cli/otel_basic/deno_dot_exit.ts: -------------------------------------------------------------------------------- 1 | console.log("log 1"); 2 | Deno.exit(0); 3 | -------------------------------------------------------------------------------- /tests/specs/compile/two_times_compile_include_all/main.ts: -------------------------------------------------------------------------------- 1 | console.log("WHATEVER"); 2 | -------------------------------------------------------------------------------- /tests/specs/doc/builtin/deno_doc_builtin.out: -------------------------------------------------------------------------------- 1 | [WILDCARD] 2 | namespace Deno 3 | [WILDCARD] -------------------------------------------------------------------------------- /tests/specs/eval/dyn_import_eval/main.out: -------------------------------------------------------------------------------- 1 | [Module: null prototype] { isMod4: true } 2 | -------------------------------------------------------------------------------- /tests/specs/eval/pkg_json_type_cjs/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "commonjs" 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/info/data_null_error/data_null_error/types.d.ts: -------------------------------------------------------------------------------- 1 | declare class Test {} 2 | -------------------------------------------------------------------------------- /tests/specs/info/json_file/mod2.ts: -------------------------------------------------------------------------------- 1 | export { printHello } from "./print_hello.ts"; 2 | -------------------------------------------------------------------------------- /tests/specs/install/unknown_media_type/foo.ts: -------------------------------------------------------------------------------- 1 | import styles from "./styles.css"; 2 | -------------------------------------------------------------------------------- /tests/specs/lint/opt_out_top_level_exclude_via_lint_inexclude/main.ts: -------------------------------------------------------------------------------- 1 | const a = 1; 2 | -------------------------------------------------------------------------------- /tests/specs/lint/sloppy_imports_no_incremental_cache/file.js: -------------------------------------------------------------------------------- 1 | export class File {} 2 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config/glob/nested/fizz/bar.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config/glob/nested/fizz/bazz.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config/glob/nested/fizz/fizz.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config/glob/nested/fizz/foo.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config/glob/nested/foo/bazz.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config/glob/nested/foo/fizz.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config_and_flags/glob/data/tes.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lockfile/adding_redirect/1.ts: -------------------------------------------------------------------------------- 1 | import "http://localhost:4545/welcome.ts"; 2 | -------------------------------------------------------------------------------- /tests/specs/lockfile/adding_redirect/2.ts: -------------------------------------------------------------------------------- 1 | import "http://localhost:4546/welcome.ts"; 2 | -------------------------------------------------------------------------------- /tests/specs/lockfile/config_file_lock_boolean/false.json: -------------------------------------------------------------------------------- 1 | { 2 | "lock": false 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/lockfile/config_file_lock_boolean/true.json: -------------------------------------------------------------------------------- 1 | { 2 | "lock": true 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/node/dynamic_import_and_require_dual/resolution_mode_require_import_type.out: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/node/esm_dir_import/dir_same_name_file/node_modules/package/dir/data.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/specs/node/missing_ext_suggestion/npm_specifier.mjs: -------------------------------------------------------------------------------- 1 | import "npm:package/esm"; 2 | -------------------------------------------------------------------------------- /tests/specs/node/readline_doesnt_require_permissions/main.out: -------------------------------------------------------------------------------- 1 | [ "l1", "l2", "l3" ] 2 | -------------------------------------------------------------------------------- /tests/specs/npm/byonm_run_npm/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "dependencies": { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /tests/specs/npm/deno_run_bin_no_ext/deno_run_no_ext.out: -------------------------------------------------------------------------------- 1 | this 2 | is 3 | a 4 | test 5 | -------------------------------------------------------------------------------- /tests/specs/npm/node_modules_dir_require_main_entry/require_main/main.out: -------------------------------------------------------------------------------- 1 | function 2 | -------------------------------------------------------------------------------- /tests/specs/npm/sub_paths/sub_paths/main.out: -------------------------------------------------------------------------------- 1 |
Hello World!
2 | -------------------------------------------------------------------------------- /tests/specs/npm/user_agent_env_var/deno.jsonc: -------------------------------------------------------------------------------- 1 | { 2 | "nodeModulesDir": "auto" 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/publish/workspace_root_package/package-b/mod.ts: -------------------------------------------------------------------------------- 1 | export class Test {} 2 | -------------------------------------------------------------------------------- /tests/specs/run/_017_import_redirect_check/017_import_redirect.ts.out: -------------------------------------------------------------------------------- 1 | Hello, World! 2 | -------------------------------------------------------------------------------- /tests/specs/run/_027_redirect_typescript/027_redirect_typescript.ts.out: -------------------------------------------------------------------------------- 1 | 4 imports 1 2 | -------------------------------------------------------------------------------- /tests/specs/run/bare_run_main/main.out: -------------------------------------------------------------------------------- 1 | error: Module not found "[WILDCARD]/main.ts". 2 | -------------------------------------------------------------------------------- /tests/specs/run/bytes_and_text_imports/npm_dep_import_local_file/secret.txt: -------------------------------------------------------------------------------- 1 | my secret -------------------------------------------------------------------------------- /tests/specs/run/classic_workers_event_loop/classic_workers_event_loop.js.out: -------------------------------------------------------------------------------- 1 | done 2 | -------------------------------------------------------------------------------- /tests/specs/run/conditional_exports/no_condition.out: -------------------------------------------------------------------------------- 1 | [WILDCARD]version:[WILDCARD] 2 | -------------------------------------------------------------------------------- /tests/specs/run/config_types_remote/config_types/main.ts: -------------------------------------------------------------------------------- 1 | console.log(globalThis.a); 2 | -------------------------------------------------------------------------------- /tests/specs/run/cts/import_export_equals/main.out: -------------------------------------------------------------------------------- 1 | Check [WILDCARD]main.cts 2 | 3 3 | -------------------------------------------------------------------------------- /tests/specs/run/default_ts/as_ts.js: -------------------------------------------------------------------------------- 1 | const x: string = "foo"; 2 | console.log(x); 3 | -------------------------------------------------------------------------------- /tests/specs/run/dynamic_already_prepared/dynamic2.ts: -------------------------------------------------------------------------------- 1 | await import("./dynamic3.ts"); 2 | -------------------------------------------------------------------------------- /tests/specs/run/dynamic_already_prepared/dynamic3.ts: -------------------------------------------------------------------------------- 1 | await import("./dynamic.ts"); 2 | -------------------------------------------------------------------------------- /tests/specs/run/dynamic_import_conditional/dynamic_import_conditional.js.out: -------------------------------------------------------------------------------- 1 | true 2 | -------------------------------------------------------------------------------- /tests/specs/run/dynamic_import_dep_written_runtime_with_npm/a.ts: -------------------------------------------------------------------------------- 1 | import "./b.ts"; 2 | -------------------------------------------------------------------------------- /tests/specs/run/env_file/env_one: -------------------------------------------------------------------------------- 1 | FOO=BARBAR 2 | ANOTHER_FOO=OVERRIDEN_BY_ENV_ONE 3 | -------------------------------------------------------------------------------- /tests/specs/run/fix_js_imports/fix_js_imports.ts.out: -------------------------------------------------------------------------------- 1 | [Module: null prototype] { } 2 | -------------------------------------------------------------------------------- /tests/specs/run/fix_worker_dispatchevent/fix_worker_dispatchevent.ts.out: -------------------------------------------------------------------------------- 1 | success 2 | -------------------------------------------------------------------------------- /tests/specs/run/import_blob_url_jsx/import_blob_url_jsx.ts.out: -------------------------------------------------------------------------------- 1 | div null Hello Deno! 2 | -------------------------------------------------------------------------------- /tests/specs/run/import_data_url_jsx/import_data_url_jsx.ts.out: -------------------------------------------------------------------------------- 1 | div null Hello Deno! 2 | -------------------------------------------------------------------------------- /tests/specs/run/package_json_type/commonjs/jsx/main.out: -------------------------------------------------------------------------------- 1 | 3 2 | true 3 | 4 4 | true 5 | -------------------------------------------------------------------------------- /tests/specs/run/private_field_presence/private_field_presence.ts.out: -------------------------------------------------------------------------------- 1 | false 2 | true 3 | -------------------------------------------------------------------------------- /tests/specs/run/ts_import_assertions/with.out: -------------------------------------------------------------------------------- 1 | { prop: "data" } 2 | { prop: "data" } 3 | -------------------------------------------------------------------------------- /tests/specs/run/tsx_imports/tsx_imports/Component.tsx: -------------------------------------------------------------------------------- 1 | import "../046_jsx_test.tsx"; 2 | -------------------------------------------------------------------------------- /tests/specs/run/tsx_imports/tsx_imports/tsx_imports.ts: -------------------------------------------------------------------------------- 1 | import "./Component.tsx"; 2 | -------------------------------------------------------------------------------- /tests/specs/run/type_definitions/type_definitions/fizz.js: -------------------------------------------------------------------------------- 1 | globalThis.fizz = "fizz"; 2 | -------------------------------------------------------------------------------- /tests/specs/run/type_definitions/type_definitions/foo.js: -------------------------------------------------------------------------------- 1 | export const foo = "foo"; 2 | -------------------------------------------------------------------------------- /tests/specs/run/type_definitions/type_definitions/qat.ts: -------------------------------------------------------------------------------- 1 | export const qat = "qat"; 2 | -------------------------------------------------------------------------------- /tests/specs/run/workspaces/members_are_imports/bar/mod.ts: -------------------------------------------------------------------------------- 1 | export const value = 42; 2 | -------------------------------------------------------------------------------- /tests/specs/run/workspaces/members_are_imports/foo/mod.ts: -------------------------------------------------------------------------------- 1 | export const value = 42; 2 | -------------------------------------------------------------------------------- /tests/specs/task/filter/npm_filter_recursive.out: -------------------------------------------------------------------------------- 1 | Task dev (foo) echo 'foo' 2 | foo 3 | -------------------------------------------------------------------------------- /tests/specs/test/test_with_glob_config/glob/data/test1.js: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/test/test_with_glob_config/glob/data/test1.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/test/test_with_glob_config/glob/data/test12.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/test/test_with_glob_config/glob/nested/foo/bar.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/test/test_with_glob_config/glob/nested/foo/foo.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/test/test_with_glob_config/glob/pages/[id].ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/x/run_npm_prefixless/run.out: -------------------------------------------------------------------------------- 1 | Download [WILDCARD] 2 | hello 3 | world 4 | -------------------------------------------------------------------------------- /tests/testdata/assets/unreachable.wasm: -------------------------------------------------------------------------------- 1 | asm` unreachable 2 |  -------------------------------------------------------------------------------- /tests/testdata/fmt/badly_formatted_fixed.css: -------------------------------------------------------------------------------- 1 | #app > .btn { 2 | color: #000; 3 | } 4 | -------------------------------------------------------------------------------- /tests/testdata/inspector/bar.js: -------------------------------------------------------------------------------- 1 | export function bar() { 2 | return "world"; 3 | } 4 | -------------------------------------------------------------------------------- /tests/testdata/lsp/registries/a_latest_.json: -------------------------------------------------------------------------------- 1 | [ 2 | "b/c.ts", 3 | "d/e.js" 4 | ] 5 | -------------------------------------------------------------------------------- /tests/testdata/lsp/registries/a_v1.0.0_.json: -------------------------------------------------------------------------------- 1 | [ 2 | "b/c.ts", 3 | "d/e.js" 4 | ] 5 | -------------------------------------------------------------------------------- /tests/testdata/lsp/registries/a_v1.0.1_.json: -------------------------------------------------------------------------------- 1 | [ 2 | "b/c.ts", 3 | "d/e.js" 4 | ] 5 | -------------------------------------------------------------------------------- /tests/testdata/lsp/registries/a_v2.0.0_.json: -------------------------------------------------------------------------------- 1 | [ 2 | "b/c.ts", 3 | "d/e.js" 4 | ] 5 | -------------------------------------------------------------------------------- /tests/testdata/lsp/registries/b_latest_.json: -------------------------------------------------------------------------------- 1 | [ 2 | "b/c.ts", 3 | "d/e.js" 4 | ] 5 | -------------------------------------------------------------------------------- /tests/testdata/lsp/registries/b_v0.0.1_.json: -------------------------------------------------------------------------------- 1 | [ 2 | "b/c.ts", 3 | "d/e.js" 4 | ] 5 | -------------------------------------------------------------------------------- /tests/testdata/lsp/registries/b_v0.0.2_.json: -------------------------------------------------------------------------------- 1 | [ 2 | "b/c.ts", 3 | "d/e.js" 4 | ] 5 | -------------------------------------------------------------------------------- /tests/testdata/lsp/registries/b_v0.0.3_.json: -------------------------------------------------------------------------------- 1 | [ 2 | "b/c.ts", 3 | "d/e.js" 4 | ] 5 | -------------------------------------------------------------------------------- /tests/testdata/lsp/registries/cde_tags.json: -------------------------------------------------------------------------------- 1 | [ 2 | "1.0.0", 3 | "1.0.1" 4 | ] 5 | -------------------------------------------------------------------------------- /tests/testdata/lsp/registries/cdef_tags.json: -------------------------------------------------------------------------------- 1 | [ 2 | "2.0.0", 3 | "2.0.1" 4 | ] 5 | -------------------------------------------------------------------------------- /tests/testdata/module_graph/https_deno.land-x-lib-c.d.ts: -------------------------------------------------------------------------------- 1 | export const c: string[]; 2 | -------------------------------------------------------------------------------- /tests/testdata/npm/binary_package/main.js: -------------------------------------------------------------------------------- 1 | import "npm:@denotest/binary-package"; 2 | -------------------------------------------------------------------------------- /tests/testdata/run/ts_type_imports_foo.ts: -------------------------------------------------------------------------------- 1 | export type Foo = Map; 2 | -------------------------------------------------------------------------------- /tests/testdata/run/webstorage/config_a.jsonc: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": {} 3 | } 4 | -------------------------------------------------------------------------------- /tests/testdata/run/webstorage/config_b.jsonc: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": {} 3 | } 4 | -------------------------------------------------------------------------------- /tests/testdata/subdir/mt_application_ecmascript.j2.js: -------------------------------------------------------------------------------- 1 | export const loaded = true; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/mt_application_x_javascript.j4.js: -------------------------------------------------------------------------------- 1 | export const loaded = true; 2 | -------------------------------------------------------------------------------- /tests/testdata/subdir/mt_application_x_typescript.t4.ts: -------------------------------------------------------------------------------- 1 | export const loaded = true; 2 | -------------------------------------------------------------------------------- /tests/testdata/tsc2/file_exportc.ts: -------------------------------------------------------------------------------- 1 | export * as c from "https://deno.land/x/c.js"; 2 | -------------------------------------------------------------------------------- /tests/unit_node/testdata/node_modules/foo/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "foo" 3 | } 4 | -------------------------------------------------------------------------------- /tests/registry/jsr/@denotest/has-only-pre-release/2.0.0-beta.1/mod.ts: -------------------------------------------------------------------------------- 1 | export const foo = 1; -------------------------------------------------------------------------------- /tests/registry/jsr/@denotest/has-only-pre-release/2.0.0-beta.2/mod.ts: -------------------------------------------------------------------------------- 1 | export const foo = 1; -------------------------------------------------------------------------------- /tests/registry/jsr/@denotest/has-pre-release/1.0.0_meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "exports": {} 3 | } 4 | -------------------------------------------------------------------------------- /tests/registry/jsr/@denotest/types-file/1.0.0/types.d.ts: -------------------------------------------------------------------------------- 1 | export interface ReturnType {} 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/browser-field/1.0.0/browser.js: -------------------------------------------------------------------------------- 1 | export const browser = "browser"; -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/browser-field/1.0.0/module.js: -------------------------------------------------------------------------------- 1 | export const module = "module"; -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/check-error/1.0.0/other_dir.d.ts: -------------------------------------------------------------------------------- 1 | export const otherDir: 2; 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/check-error/1.0.0/sub_dir/index.d.ts: -------------------------------------------------------------------------------- 1 | export * from './lib'; 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/check-error/1.0.0/sub_dir/lib.d.ts: -------------------------------------------------------------------------------- 1 | export const subDir: 1; 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/different-nested-dep-child/1.0.0/index.js: -------------------------------------------------------------------------------- 1 | export default 1; 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/different-nested-dep-child/2.0.0/index.js: -------------------------------------------------------------------------------- 1 | export default 2; 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/install-no-ext/1.0.0/install/check.js: -------------------------------------------------------------------------------- 1 | require("./output"); 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/install-no-ext/1.0.0/install/index.js: -------------------------------------------------------------------------------- 1 | require("./output"); 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/monaco-editor/1.0.0/main.types.d.ts: -------------------------------------------------------------------------------- 1 | export class Editor {} 2 | -------------------------------------------------------------------------------- /tests/registry/npm/@denotest/non-existent-dep-version/1.0.0/index.js: -------------------------------------------------------------------------------- 1 | module.exports = 5; 2 | -------------------------------------------------------------------------------- /tests/specs/bundle/html/sub/index.ts: -------------------------------------------------------------------------------- 1 | document.body.innerHTML = "Hello, world from sub!"; 2 | -------------------------------------------------------------------------------- /tests/specs/bundle/multiple_entries/src/bar/helper.ts: -------------------------------------------------------------------------------- 1 | export const helper = () => "bar"; 2 | -------------------------------------------------------------------------------- /tests/specs/bundle/multiple_entries/src/foo/helper.ts: -------------------------------------------------------------------------------- 1 | export const helper = () => "foo"; 2 | -------------------------------------------------------------------------------- /tests/specs/cache/fetch_multiple/test.ts: -------------------------------------------------------------------------------- 1 | import "http://localhost:4545/subdir/mod2.ts"; 2 | -------------------------------------------------------------------------------- /tests/specs/cache/globbing/excluded.tsx: -------------------------------------------------------------------------------- 1 | import "http://localhost:4545/non-existent.ts"; 2 | -------------------------------------------------------------------------------- /tests/specs/cache/json_import/test.json: -------------------------------------------------------------------------------- 1 | { 2 | "foo": { 3 | "bar": 1 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /tests/specs/check/compiler_options_types/main.ts: -------------------------------------------------------------------------------- 1 | const foo = [1]; 2 | foo.augmented(); 3 | -------------------------------------------------------------------------------- /tests/specs/check/css_import/exists.out: -------------------------------------------------------------------------------- 1 | Download [WILDCARD] 2 | Check [WILDCARD]exists.ts 3 | -------------------------------------------------------------------------------- /tests/specs/check/dts_importing_non_existent/index.d.ts: -------------------------------------------------------------------------------- 1 | export { Test } from "./test"; 2 | -------------------------------------------------------------------------------- /tests/specs/check/npm_pkg_empty_main_entry/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "unstable": ["byonm"] 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/check/special_specifiers/mod.ts: -------------------------------------------------------------------------------- 1 | declare module "cloudflare:sockets" { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/clean/entrypoint/jsr_http2.ts: -------------------------------------------------------------------------------- 1 | import {} from "jsr:@std/assert/assert-equals"; 2 | -------------------------------------------------------------------------------- /tests/specs/cli/help_and_version_broken_pipe/help.out: -------------------------------------------------------------------------------- 1 | Task help deno help | echo 2 | 3 | -------------------------------------------------------------------------------- /tests/specs/cli/otel_basic/http_propagators_call.ts: -------------------------------------------------------------------------------- 1 | await fetch("http://localhost:8000"); 2 | -------------------------------------------------------------------------------- /tests/specs/compile/byonm_main_sub_dir/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "nodeModulesDir": "manual" 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/compile/config_permissions/empty/main.ts: -------------------------------------------------------------------------------- 1 | console.log("Hello from compile"); 2 | -------------------------------------------------------------------------------- /tests/specs/compile/npmrc_auto_install/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "nodeModulesDir": "auto" 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/compile/permissions_denied/main.ts: -------------------------------------------------------------------------------- 1 | new Deno.Command("deno").outputSync(); 2 | -------------------------------------------------------------------------------- /tests/specs/compile/repetitive_unstable_flag/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "unstable": ["kv"] 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/compile/sloppy_imports/main.ts: -------------------------------------------------------------------------------- 1 | import "./hello"; // no ext for sloppy imports 2 | -------------------------------------------------------------------------------- /tests/specs/coverage/no_files_found/does_not_exist.out: -------------------------------------------------------------------------------- 1 | error: No coverage files found 2 | -------------------------------------------------------------------------------- /tests/specs/doc/deno_doc/deno_doc.ts: -------------------------------------------------------------------------------- 1 | /** Some JSDoc */ 2 | export function foo() { 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/doc/deno_doc/deno_doc2.ts: -------------------------------------------------------------------------------- 1 | /** Some JSDoc */ 2 | export function bar() { 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/doc/html/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "exports": { 3 | ".": "./a.ts" 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /tests/specs/doc/json/types.d.ts: -------------------------------------------------------------------------------- 1 | /** An exported value. */ 2 | export const foo: string; 3 | -------------------------------------------------------------------------------- /tests/specs/doc/lint_html_success/lint_success_html.out: -------------------------------------------------------------------------------- 1 | Written 16 files to "./docs/" 2 | -------------------------------------------------------------------------------- /tests/specs/fmt/mustache/broken.mustache: -------------------------------------------------------------------------------- 1 | {{string}} {{#emphasize}}{{nested.string}}{{/ 2 | -------------------------------------------------------------------------------- /tests/specs/fmt/sql/ignore_file4.sql: -------------------------------------------------------------------------------- 1 | -- deno-fmt-ignore-file Foo bar biz 2 | 3 | foo%! 4 | -------------------------------------------------------------------------------- /tests/specs/import_map/import_map_config/vue.ts: -------------------------------------------------------------------------------- 1 | console.log("Hello from remapped Vue!"); 2 | -------------------------------------------------------------------------------- /tests/specs/info/missing_module/error_009_missing_js_module.js: -------------------------------------------------------------------------------- 1 | import "./bad-module.js"; 2 | -------------------------------------------------------------------------------- /tests/specs/install/minimum_dependency_age/update.out: -------------------------------------------------------------------------------- 1 | All dependencies are up to date. 2 | -------------------------------------------------------------------------------- /tests/specs/jsr/import_meta_resolve_non_jsr_url/main.out: -------------------------------------------------------------------------------- 1 | http://localhost:4545/example.ts 2 | -------------------------------------------------------------------------------- /tests/specs/lint/all/expected.out: -------------------------------------------------------------------------------- 1 | [WILDCARD] 2 | Found 3 problems 3 | Checked 3 files 4 | -------------------------------------------------------------------------------- /tests/specs/lint/glob/without_config/file1.js: -------------------------------------------------------------------------------- 1 | // deno-lint-ignore 2 | while (false) {} 3 | -------------------------------------------------------------------------------- /tests/specs/lint/ignore/without_config/file1.js: -------------------------------------------------------------------------------- 1 | // deno-lint-ignore 2 | while (false) {} 3 | -------------------------------------------------------------------------------- /tests/specs/lint/jsx_runtime_pragma_unknown_value/main.tsx: -------------------------------------------------------------------------------- 1 | /** @jsxRuntime unknown */ 2 | -------------------------------------------------------------------------------- /tests/specs/lint/lint_plugin_empty_tags/log.out: -------------------------------------------------------------------------------- 1 | Plugin: Identifier 2 | Checked 1 file 3 | -------------------------------------------------------------------------------- /tests/specs/lint/lint_plugin_utf16/fixed.out: -------------------------------------------------------------------------------- 1 | const value = "1"; 2 | console.log(value); 3 | -------------------------------------------------------------------------------- /tests/specs/lint/lint_plugin_utf16/main.ts: -------------------------------------------------------------------------------- 1 | const value = "𝄞"; 2 | console.log(value); 3 | -------------------------------------------------------------------------------- /tests/specs/lint/opt_out_top_level_exclude_via_lint_inexclude/excluded.ts: -------------------------------------------------------------------------------- 1 | const a = 2; 2 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config_and_flags/glob/data/test1.js: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config_and_flags/glob/data/test1.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config_and_flags/glob/data/test12.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config_and_flags/glob/nested/foo/bar.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config_and_flags/glob/nested/foo/foo.ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lint/with_glob_config_and_flags/glob/pages/[id].ts: -------------------------------------------------------------------------------- 1 | function foo() { 2 | } 3 | -------------------------------------------------------------------------------- /tests/specs/lockfile/config_remove_npm_deps/lock_final.out: -------------------------------------------------------------------------------- 1 | { 2 | "version": "5" 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/lockfile/frozen_lockfile/deno.json: -------------------------------------------------------------------------------- 1 | { 2 | "nodeModulesDir": "auto" 3 | } 4 | -------------------------------------------------------------------------------- /tests/specs/lockfile/frozen_lockfile/jsr.ts: -------------------------------------------------------------------------------- 1 | import { add } from "jsr:@denotest/add@1"; 2 | -------------------------------------------------------------------------------- /tests/specs/node/esm_dir_import/dir_same_name_file/main.ts: -------------------------------------------------------------------------------- 1 | import {} from "package/dir"; 2 | -------------------------------------------------------------------------------- /tests/specs/node/esm_dir_import/package_json/main.ts: -------------------------------------------------------------------------------- 1 | import {} from "fp-ts/function"; 2 | -------------------------------------------------------------------------------- /tests/specs/node/require_esm_reexport_esm/mod2.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require("./add.mjs"); 2 | -------------------------------------------------------------------------------- /tests/specs/node/types_req_export/node_modules/package/index.js: -------------------------------------------------------------------------------- 1 | module.exports.value = 5; 2 | -------------------------------------------------------------------------------- /tests/specs/node/types_versions/node_modules/package/index.js: -------------------------------------------------------------------------------- 1 | module.exports.value = 5; 2 | --------------------------------------------------------------------------------