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
Bartek Iwańczuk b1c6142f74
BREAKING: DENO_FUTURE=1 by default, or welcome to Deno 2.0 (#25213)
This commit effectively turns Deno into Deno 2.0.

This is done by forcing `DENO_FUTURE=1` env var, that was available in
the past few months to try Deno 2 changes.

This commit contains several breaking changes scheduled for Deno 2:
- all deprecated JavaScript APIs are not available any more, mostly
`Deno.*` APIs
- `window` global is removed
- FFI, WebGPU and FS APIs are now stable and don't require
`--unstable-*` flags
- import assertions are no longer supported
- "bring your own node modules" is enabled by default

This is the first commit in a series that are scheduled before the Deno
2 release.

Follow up work is tracked in
https://github.com/denoland/deno/issues/25241.

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
Co-authored-by: Nathan Whitaker <nathan@deno.com>
2024-08-30 13:58:58 -04:00
..
adding_npm_dep_in_dynamic_import BREAKING: DENO_FUTURE=1 by default, or welcome to Deno 2.0 (#25213) 2024-08-30 13:58:58 -04:00
bin_entries_prefer_closer feat(config): Node modules option for 2.0 (#25299) 2024-08-29 15:57:43 -07:00
byonm fix: replace npm install hint with deno install hint (#25244) 2024-08-28 02:31:41 +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 BREAKING: DENO_FUTURE=1 by default, or welcome to Deno 2.0 (#25213) 2024-08-30 13:58:58 -04:00
check_types_in_types_pkg BREAKING: DENO_FUTURE=1 by default, or welcome to Deno 2.0 (#25213) 2024-08-30 13:58:58 -04: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 BREAKING: DENO_FUTURE=1 by default, or welcome to Deno 2.0 (#25213) 2024-08-30 13:58:58 -04:00
dynamic_npm_resolution_failure feat: improve lockfile v4 to store normalized version constraints and be more terse (#25247) 2024-08-28 14:17:47 -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 test: run specs::npm::exec_file_inside_npm_package with DENO_FUTURE=1 (#25282) 2024-08-29 02:21:59 +02: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 feat(config): Node modules option for 2.0 (#25299) 2024-08-29 15:57:43 -07: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
lifecycle_scripts BREAKING: DENO_FUTURE=1 by default, or welcome to Deno 2.0 (#25213) 2024-08-30 13:58:58 -04:00
local_dir_no_duplicate_resolution BREAKING: DENO_FUTURE=1 by default, or welcome to Deno 2.0 (#25213) 2024-08-30 13:58:58 -04:00
lock_file_integrity_failure fix: adjust suggestion for lockfile regeneration (#25107) 2024-08-20 20:13:17 +02: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 BREAKING: DENO_FUTURE=1 by default, or welcome to Deno 2.0 (#25213) 2024-08-30 13:58:58 -04: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 BREAKING: DENO_FUTURE=1 by default, or welcome to Deno 2.0 (#25213) 2024-08-30 13:58:58 -04: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 chore: enable log feature for tracing crate (#25078) 2024-08-22 19:15:10 -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 BREAKING: DENO_FUTURE=1 by default, or welcome to Deno 2.0 (#25213) 2024-08-30 13:58:58 -04: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 BREAKING: DENO_FUTURE=1 by default, or welcome to Deno 2.0 (#25213) 2024-08-30 13:58:58 -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 BREAKING: DENO_FUTURE=1 by default, or welcome to Deno 2.0 (#25213) 2024-08-30 13:58:58 -04:00
workspace_wildcards BREAKING: DENO_FUTURE=1 by default, or welcome to Deno 2.0 (#25213) 2024-08-30 13:58:58 -04:00