1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/tests/specs/npm
Yoshiya Hinosawa b6cdb31c05
fix(ext/node): fix prismjs compatibiliy in Web Worker (#25062)
PrismJS uses `WorkerGlobalScope` and `self` for detecting browser's Web
Worker context:
59e5a34713/prism.js (L11)

Now the detection logic above is broken when it's imported from Deno's
Web Worker context because we only hide `self` (Prism assumes when
`WorkerGlobalScope` is available, `self` is also available).

This change fixes the above by also hiding `WorkerGlobalScope` global in
Node compat mode.

closes #25008
2024-08-17 11:16:43 +09:00
..
adding_npm_dep_in_dynamic_import perf: skip npm install if graph has no new packages (#24017) 2024-05-28 16:24:07 -04:00
bin_entries_prefer_closer fix(future): Emit deno install warning less often, suggest deno install in error message (#24706) 2024-07-24 23:37:13 +00:00
byonm fix(future): Emit deno install warning less often, suggest deno install in error message (#24706) 2024-07-24 23:37:13 +00:00
check_pkg_json_import chore: fix flaky net_listen_allow_localhost_4555 (#23726) 2024-05-07 17:21:56 +00:00
check_prefers_non_types_node_pkg feat: npm workspace and better Deno workspace support (#24334) 2024-07-04 00:54:33 +00:00
check_types_in_types_pkg feat: npm workspace and better Deno workspace support (#24334) 2024-07-04 00:54:33 +00:00
cjs_import_dual fix(check): CJS types importing dual ESM/CJS package should prefer CJS types (#24492) 2024-07-10 14:46:25 -04:00
cjs_internal_types_default_export fix(lsp): improved cjs tracking (#23374) 2024-04-15 17:50:52 -04:00
conditional_exports chore: fix flaky net_listen_allow_localhost_4555 (#23726) 2024-05-07 17:21:56 +00:00
conditional_exports_node_modules_dir chore: fix flaky net_listen_allow_localhost_4555 (#23726) 2024-05-07 17:21:56 +00:00
dynamic_npm_resolution_failure fix(npm): resolve dynamic npm imports individually (#24170) 2024-06-11 08:55:12 -04:00
es_module chore: fix flaky net_listen_allow_localhost_4555 (#23726) 2024-05-07 17:21:56 +00:00
esm_import_cjs_default fix(node): better detection for when to surface node resolution errors (#24653) 2024-07-24 00:22:24 +00:00
exec_file_inside_npm_package fix(ext/node): improve shelljs compat with managed npm execution (#24912) 2024-08-16 12:48:48 +09:00
future_auto_install_no_package_json FUTURE: override byonm with nodeModulesDir setting (#23222) 2024-04-05 10:34:51 -04:00
future_node_modules_dir_setting FUTURE: override byonm with nodeModulesDir setting (#23222) 2024-04-05 10:34:51 -04:00
lifecycle_scripts fix(future): Emit deno install warning less often, suggest deno install in error message (#24706) 2024-07-24 23:37:13 +00:00
local_dir_no_duplicate_resolution perf: analyze cjs exports and emit typescript in parallel (#23856) 2024-05-18 11:42:03 -04:00
lock_file_integrity_failure feat(vendor): support modifying remote files in vendor folder without checksum errors (#23979) 2024-05-28 14:58:43 -04:00
lossy_utf8_module fix(ext/node): lossy UTF-8 read node_modules files (#24140) 2024-06-08 18:36:13 +02:00
lossy_utf8_package_json fix(ext/node): lossy UTF-8 read node_modules files (#24140) 2024-06-08 18:36:13 +02:00
lossy_utf8_script fix(ext/node): lossy UTF-8 read node_modules files (#24140) 2024-06-08 18:36:13 +02:00
lossy_utf8_script_from_cjs fix(ext/node): lossy UTF-8 read node_modules files (#24140) 2024-06-08 18:36:13 +02:00
no_types_cjs fix(node): better detection for when to surface node resolution errors (#24653) 2024-07-24 00:22:24 +00:00
no_types_in_conditional_exports fix(node): better detection for when to surface node resolution errors (#24653) 2024-07-24 00:22:24 +00:00
npm_pkg_depend_dep_same_name fix(workspace): do not resolve to self for npm pkg depending on matching req (#24591) 2024-07-15 15:08:51 -04:00
npmrc fix(future): Emit deno install warning less often, suggest deno install in error message (#24706) 2024-07-24 23:37:13 +00:00
npmrc_bad_registry_config fix(future): Emit deno install warning less often, suggest deno install in error message (#24706) 2024-07-24 23:37:13 +00:00
npmrc_bad_token fix(future): Emit deno install warning less often, suggest deno install in error message (#24706) 2024-07-24 23:37:13 +00:00
npmrc_basic_auth fix(future): Emit deno install warning less often, suggest deno install in error message (#24706) 2024-07-24 23:37:13 +00:00
npmrc_deno_json fix(npm): use configured auth for tarball urls instead of scope auth (#24111) 2024-06-05 21:24:52 +00:00
npmrc_homedir fix(future): Emit deno install warning less often, suggest deno install in error message (#24706) 2024-07-24 23:37:13 +00:00
npmrc_not_next_to_package_json fix: test in presence of .npmrc (#24486) 2024-07-09 11:00:23 -07:00
npmrc_password_no_username feat(node): support username and _password in .npmrc file (#24793) 2024-08-14 18:53:15 +02:00
npmrc_tarball_other_server fix(npm): use configured auth for tarball urls instead of scope auth (#24111) 2024-06-05 21:24:52 +00:00
npmrc_username_no_password feat(node): support username and _password in .npmrc file (#24793) 2024-08-14 18:53:15 +02:00
npmrc_username_password feat(node): support username and _password in .npmrc file (#24793) 2024-08-14 18:53:15 +02:00
require_resolve_bad_paths_global_cache chore: fix flaky net_listen_allow_localhost_4555 (#23726) 2024-05-07 17:21:56 +00:00
types_general fix(node): better detection for when to surface node resolution errors (#24653) 2024-07-24 00:22:24 +00:00
unanalyzable_dynamic_import fix: support importing statically unanalyzable npm specifiers (#24107) 2024-06-05 15:18:06 -04: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(ext/node): fix prismjs compatibiliy in Web Worker (#25062) 2024-08-17 11:16:43 +09:00
workspace_basic fix(workspace): support resolving bare specifiers to npm pkgs within a workspace (#24611) 2024-07-17 09:13:22 -04:00
workspace_conflicting_dep fix(cli): Create child node_modules for conflicting dependency versions, respect aliases in package.json (#24609) 2024-07-16 20:30:28 +00:00
workspace_dep_aliases fix(cli): Create child node_modules for conflicting dependency versions, respect aliases in package.json (#24609) 2024-07-16 20:30:28 +00:00
workspace_sub_deno_json fix(config): regression - should not discover npm workspace for nested deno.json not in workspace (#24559) 2024-07-12 15:33:30 -04:00
workspace_wildcards feat: support wildcards in npm workspaces (#24471) 2024-07-09 00:23:45 +00:00