deno/tests/specs/npm
Bartek Iwańczuk 94f6631777
test: de-flake specs tests in deno install (#30645)
Fixing a regression from https://github.com/denoland/deno/pull/30615 by
using a more permissive wildcard match.
2025-09-09 08:57:35 +00:00
..
adding_npm_dep_in_dynamic_import feat(lockfile): default to lockfile v5 (#28950) 2025-04-17 13:27:37 -07:00
bin_entries_prefer_closer test: de-flake specs tests in deno install (#30645) 2025-09-09 08:57:35 +00:00
bin_entries_re_setup fix(npm): set up bin entries for package even if it's already downloaded (#28626) 2025-03-25 22:32:15 +00:00
bin_entry_created_by_lifecycle test: de-flake specs tests in deno install (#30645) 2025-09-09 08:57:35 +00:00
builtin_module_module chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
bundle_dependencies test: de-flake specs tests in deno install (#30645) 2025-09-09 08:57:35 +00:00
byonm chore(lint): add .out file reference checker (#27078) 2024-11-26 20:53:20 -08:00
byonm_npm_specifier_in_node_modules fix(npm): search node_modules folder for package matching npm specifier (#27345) 2024-12-12 23:58:14 +00:00
byonm_run_npm feat(byonm): support deno run npm:<package> when package is not in package.json (#25981) 2024-10-02 21:17:39 +01:00
bytes_and_text_imports fix(unstable): support importing files in npm packages as bytes and text (#30065) 2025-07-10 15:06:33 -04:00
cached_only refactor: remove CliNpmRegistryApi (#27222) 2024-12-03 19:44:56 -05:00
check_all_local fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
check_package_file_dts_dmts_dcts fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
check_pkg_json_import fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
check_prefers_non_types_node_pkg fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
check_types_in_types_pkg fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
child_process_fork_test chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
cjs_import_dual fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
cjs_internal_types_default_export fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
cjs_invalid_name_exports fix: add "module.exports" export to ESM CJS wrapper module (#28373) 2025-03-03 16:47:39 +00:00
cjs_local_global_decls fix: add "module.exports" export to ESM CJS wrapper module (#28373) 2025-03-03 16:47:39 +00:00
cjs_module_export_assignment fix: add "module.exports" export to ESM CJS wrapper module (#28373) 2025-03-03 16:47:39 +00:00
cjs_module_export_assignment_number fix: add "module.exports" export to ESM CJS wrapper module (#28373) 2025-03-03 16:47:39 +00:00
cjs_pkg_imports fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
cjs_reexport_collision chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
cjs_require_esm fix: add "module.exports" export to ESM CJS wrapper module (#28373) 2025-03-03 16:47:39 +00:00
cjs_require_esm_mjs fix: add "module.exports" export to ESM CJS wrapper module (#28373) 2025-03-03 16:47:39 +00:00
cjs_sub_path chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
cjs_this_in_exports chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
cjs_with_deps chore: fix cjs_with_deps test to use a temp dir (#27199) 2024-12-03 02:37:40 +01:00
compare_globals fix: remove self from global middleware (#29734) 2025-06-13 12:48:26 +02:00
conditional_exports fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
conditional_exports_node_modules_dir fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
create_require chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_cache chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_bin_cjs chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_bin_cjs_no_bin_entrypoint chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_bin_esm chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_bin_esm_no_bin_entrypoint chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_bin_no_ext chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_bin_special_chars chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_cowsay chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_cowsay_explicit chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_cowsay_with_node_modules_dir chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_cowthink chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_no_bin_entrypoint chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deno_run_no_bin_entrypoint_non_existent_subpath fix(node): show directory import and missing extension suggestions (#27905) 2025-02-01 13:07:23 -05:00
deno_run_non_existent chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
deprecation_warnings_no_repeat chore: make deprecation_warnings_no_repeat as flaky (#30491) 2025-08-22 18:28:33 +00:00
different_nested_dep_node_modules_dir_false chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
different_nested_dep_node_modules_dir_true chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
dual_cjs_esm fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
dynamic_import_deno_ts_from_npm chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
dynamic_import_invalid_package_name chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
dynamic_import_json chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
dynamic_import_reload_same_package chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
dynamic_npm_resolution_failure chore: fix flaky dynamic_npm_resolution_failure (#30165) 2025-07-21 22:49:28 +00:00
env_var_re_export_dev chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
env_var_re_export_prod chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
error_version_after_subpath fix: do not error when subpath has an @ symbol (#27290) 2024-12-09 13:19:08 -08:00
es_module BREAKING: remove deno bundle (#25339) 2024-09-02 17:27:37 +02:00
esm_import_cjs_default fix: add "module.exports" export to ESM CJS wrapper module (#28373) 2025-03-03 16:47:39 +00:00
exec_file_inside_npm_package chore: remove DENO_FUTURE=1 from spec tests (#25329) 2024-08-31 21:25:32 +00:00
exports_no_condition_matched_error fix(lib/node): change ERR_INVALID_PACKAGE_TARGET to ERR_PACKAGE_PATH_NOT_EXPORTED when no package.json#exports condition matches (#29841) 2025-07-26 00:01:19 +00:00
file_specifier feat(check): tsconfig "references", "extends", "files", "include" and "exclude" (#29843) 2025-06-26 21:17:07 +00:00
future_auto_install_no_package_json chore: remove DENO_FUTURE=1 from spec tests (#25329) 2024-08-31 21:25:32 +00:00
future_node_modules_dir_setting chore: remove DENO_FUTURE=1 from spec tests (#25329) 2024-08-31 21:25:32 +00:00
import_json chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
import_map fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
imports_package_json chore(lint): add .out file reference checker (#27078) 2024-11-26 20:53:20 -08:00
info_chalk_display fix(node): correct resolution of dynamic import of esm from cjs (#27071) 2024-11-26 14:38:24 -05:00
info_chalk_display_node_modules_dir fix(node): correct resolution of dynamic import of esm from cjs (#27071) 2024-11-26 14:38:24 -05:00
info_chalk_json fix(node): correct resolution of dynamic import of esm from cjs (#27071) 2024-11-26 14:38:24 -05:00
info_chalk_json_node_modules_dir fix(node): correct resolution of dynamic import of esm from cjs (#27071) 2024-11-26 14:38:24 -05:00
info_cli_chalk_json chore(lint): add .out file reference checker (#27078) 2024-11-26 20:53:20 -08:00
info_peer_deps fix(node): correct resolution of dynamic import of esm from cjs (#27071) 2024-11-26 14:38:24 -05:00
info_peer_deps_json fix(node): correct resolution of dynamic import of esm from cjs (#27071) 2024-11-26 14:38:24 -05:00
invalid_package_name feat: improve lockfile v4 to store normalized version constraints and be more terse (#25247) 2024-08-28 14:17:47 -04:00
json_import chore: add test for importing json file in npm package (#30072) 2025-07-10 17:31:30 -04:00
lifecycle_scripts test: de-flake specs tests in deno install (#30645) 2025-09-09 08:57:35 +00:00
link_npm_package_deep fix(unstable): rename "patch" property to "links" (#29677) 2025-06-10 21:51:23 +00:00
link_npm_package_file_specifier fix(unstable): rename "patch" property to "links" (#29677) 2025-06-10 21:51:23 +00:00
link_npm_package_top_level fix(unstable): rename "patch" property to "links" (#29677) 2025-06-10 21:51:23 +00:00
local_dir_no_duplicate_resolution refactor: remove DENO_FUTURE (#25314) 2024-08-30 21:58:24 +00:00
local_dir_resolves_symlinks test: de-flake specs tests in deno install (#30645) 2025-09-09 08:57:35 +00:00
local_dir_resolves_symlinks_auto refactor(tests): migrate npm itests to specs (#25764) 2024-09-20 22:38:32 +02:00
lock_file_integrity_failure feat(lockfile): default to lockfile v5 (#28950) 2025-04-17 13:27:37 -07:00
lossy_utf8_module fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
lossy_utf8_package_json fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
lossy_utf8_script fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
lossy_utf8_script_from_cjs fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
mixed_case_package_name chore(lint): add .out file reference checker (#27078) 2024-11-26 20:53:20 -08:00
no_shasums fix(npm): support registries that have no shasums or integrity (#29093) 2025-04-29 12:16:55 -04:00
no_types_cjs fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
no_types_in_conditional_exports fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
node_modules_deno_node_modules chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
node_modules_deno_node_modules_local chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
node_modules_dir_require_added_node_modules_folder chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
node_modules_dir_require_main_entry chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
node_modules_dir_with_deps chore(lint): add .out file reference checker (#27078) 2024-11-26 20:53:20 -08:00
node_modules_dir_yargs chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
node_modules_import test: de-flake specs tests in deno install (#30645) 2025-09-09 08:57:35 +00:00
node_modules_import_auto fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
non_existent_dep fix: remove warnings for bare node builtins (#29000) 2025-04-23 15:30:59 -04:00
non_existent_dep_version fix: remove warnings for bare node builtins (#29000) 2025-04-23 15:30:59 -04:00
nonexistent_file fix(node): show directory import and missing extension suggestions (#27905) 2025-02-01 13:07:23 -05:00
nonexistent_file_node_modules_dir fix(node): show directory import and missing extension suggestions (#27905) 2025-02-01 13:07:23 -05:00
npm_check_updates fix(ext/node): apply @npmcli/agent workaround to npm-check-updates (#27639) 2025-01-13 18:11:26 +09:00
npm_pkg_depend_dep_same_name chore: remove DENO_FUTURE=1 from spec tests (#25329) 2024-08-31 21:25:32 +00:00
npmrc test: de-flake specs tests in deno install (#30645) 2025-09-09 08:57:35 +00:00
npmrc_bad_registry_config refactor: remove CliNpmRegistryApi (#27222) 2024-12-03 19:44:56 -05:00
npmrc_bad_token refactor: remove CliNpmRegistryApi (#27222) 2024-12-03 19:44:56 -05:00
npmrc_basic_auth test: de-flake specs tests in deno install (#30645) 2025-09-09 08:57:35 +00:00
npmrc_deno_json fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
npmrc_homedir test: de-flake specs tests in deno install (#30645) 2025-09-09 08:57:35 +00:00
npmrc_homedir_package_both test: de-flake specs tests in deno install (#30645) 2025-09-09 08:57:35 +00:00
npmrc_install_arg test: de-flake specs tests in deno install (#30645) 2025-09-09 08:57:35 +00:00
npmrc_no_auth test: de-flake specs tests in deno install (#30645) 2025-09-09 08:57:35 +00:00
npmrc_no_auth_install test: de-flake specs tests in deno install (#30645) 2025-09-09 08:57:35 +00:00
npmrc_not_next_to_package_json test: de-flake specs tests in deno install (#30645) 2025-09-09 08:57:35 +00:00
npmrc_password_no_username refactor: remove CliNpmRegistryApi (#27222) 2024-12-03 19:44:56 -05:00
npmrc_tarball_other_server refactor: update deno_core for error refactor (#26867) 2025-01-08 14:52:32 -08:00
npmrc_username_no_password refactor: remove CliNpmRegistryApi (#27222) 2024-12-03 19:44:56 -05:00
npmrc_username_password test: de-flake specs tests in deno install (#30645) 2025-09-09 08:57:35 +00:00
packument_etag fix(npm): respect etag for npm packument caching (#29130) 2025-05-02 09:49:05 -04:00
peer_deps_with_copied_folders_and_lockfile fix(npm): do not error on failure to write warned script file (#30479) 2025-08-21 19:35:04 -04:00
permissions_outside_package feat(node): stabilize detecting if CJS via "type": "commonjs" in a package.json (#26439) 2024-11-13 15:10:09 +00:00
pkg_index_ts_and_js fix(node): regression where ts files were sometimes resolved instead of js (#26971) 2024-11-21 16:37:10 +00:00
pkg_json_imports fix: support package.json imports in a Deno workspace (#30198) 2025-07-25 08:21:09 -04:00
playwright_compat fix(ext/node): add process._rawDebug (#30141) 2025-07-18 19:29:31 +02:00
remote_npm_specifier chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
require_esm feat: add --allow-import flag (#25469) 2024-09-26 01:50:54 +00:00
require_json chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
require_resolve_bad_paths_global_cache fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
require_type_commonjs fix: improved support for cjs and cts modules (#26558) 2024-11-01 12:27:00 -04:00
reserved_word_exports fix: add "module.exports" export to ESM CJS wrapper module (#28373) 2025-03-03 16:47:39 +00:00
run_existing_npm_package_with_subpath fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
specifier_two_slashes fix(node): handle resolving ".//<something>" in npm packages (#26920) 2024-11-19 09:57:12 -05:00
sub_paths chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
tarball_with_global_header chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
translate_cjs_to_esm chore: remove unnecessary envs in spec tests (#25982) 2024-10-02 10:14:38 +01:00
types_ambient_module fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
types_d_ext fix(npm): ensure scoped package name is encoded in URLs (#26390) 2024-10-18 20:38:57 +02:00
types_entry_value_not_exists fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
types_exports_import_types fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
types_general fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
types_no_types_entry fix(check): compiler options from workspace members (#27785) 2025-01-28 10:49:58 -05:00
typescript_file_in_package fix(node): align type stripping in node_modules error message with Node (#27809) 2025-01-24 13:05:04 -05:00
typo_in_npm fix: update message for unsupported schemes with npm and jsr (#26884) 2024-11-15 17:09:19 +00:00
unanalyzable_dynamic_import fix: support importing statically unanalyzable npm specifiers (#24107) 2024-06-05 15:18:06 -04:00
user_agent_env_var fix(cli): set npm_config_user_agent when running npm packages or tasks (#26639) 2024-10-31 22:19:19 -07:00
worker_shutdown_during_npm_import chore: add test for worker shutting down during npm import (#24109) 2024-06-10 13:46:28 +02:00
workers fix: remove self from global middleware (#29734) 2025-06-13 12:48:26 +02:00
workspace_basic chore: reenable some tests disabled during Deno 1->2 migration (#26898) 2024-11-16 18:15:42 +00:00
workspace_conflicting_dep chore: remove DENO_FUTURE=1 from spec tests (#25329) 2024-08-31 21:25:32 +00:00
workspace_dep_aliases chore: remove DENO_FUTURE=1 from spec tests (#25329) 2024-08-31 21:25:32 +00:00
workspace_sub_deno_json chore: reenable some tests disabled during Deno 1->2 migration (#26898) 2024-11-16 18:15:42 +00:00
workspace_version_wildcards fix: support workspace:^ and workspace:~ version constraints (#27096) 2024-11-30 00:54:26 +01:00
workspace_wildcards refactor: remove DENO_FUTURE (#25314) 2024-08-30 21:58:24 +00:00
ws_compat fix(ext/node): npm:mqtt compatibility (#27792) 2025-01-27 11:47:32 +09:00