Repository: deno
Issue: Cleanup after DENO_FUTURE is enabled by default
Labels: refactor

After this PR lands: https://github.com/denoland/deno/pull/25213 we need to do following cleanup

- [x] make stabilized APIs handled in `99_main.js` by default, currently it's FFI, WebGPU and FS APIs, see `cli/args/mod.rs` in `unstable_features()`; make sure their type declarations are in the stable namespace (@bartlomieju)
- [x] remove deprecated APIs one-by-one with their associated ops and type declarations (@iuioiua) #22079
- [x] remove ignored `unstable_` tests in `tests/integration/run_tests.rs` with associated files (@bartlomieju)
- [x] remove `tests/integration/js_unit_tests_future.rs` (@bartlomieju)
- [x] remove `if DENO_FUTURE` conditionals one-by-one (@bartlomieju)
- [x] reenable lockfile tests (@dsherret)
  - `specs::lockfile::only_package_json`
  - `specs::lockfile::frozen_lockfile::non_analyzable_dynamic_jsr`
  - `specs::lockfile::frozen_lockfile::non_analyzable_dynamic_http`
  - `specs::lockfile::frozen_lockfile::error_with_new_jsr_dep`
  - `specs::lockfile::frozen_lockfile::error_with_new_npm_dep`
  - `specs::lockfile::frozen_lockfile::errors_if_creates_lockfile`
  - `specs::lockfile::frozen_lockfile::non_analyzable_dynamic_npm`
  - `specs::lockfile::frozen_lockfile::lockfile_config`
- [x] decide if these tests should be updated or removed
  - [x] `specs::cache::package_json` (@satyarohith)
  - [x] `specs::run::no_deno_json::auto_discovered` (@satyarohith)
  - [x] `specs::run::no_deno_json::auto_discovered_arg` (@satyarohith)
  - [x] `specs::run::package_json::invalid_value` (@satyarohith)
  - [x] `specs::run::workspaces::explicit_import_map`
  - [x] `task::task_package_json_node_modules_dir_false` (@satyarohith)
- [x] tests that need to be rewritten to spec tests - also duplicate them to test old and new behavior
  - [x] `specs::publish::npm_workspace_jsr_pkg_with_npm_dep::bare_specifier`
  - [x] `specs::publish::npm_workspace_jsr_pkg_with_npm_dep::dep_and_workspace_dep`
  - [x] `specs::npm::workspace_basic::no_exports_sub_path_not_exists`
  - [x] `specs::npm::workspace_basic::exports_sub_path_not_exists`
  - [x] `specs::npm::workspace_sub_deno_json::member_with_deno_json`
  - [x] `specs::npm::workspace_sub_deno_json::member`
  - [x] `cache::lock_deno_json_package_json_deps`
  - [x] `check::package_json_basic`
  - [x] `check::package_json_fail_check`
  - [x] `check::package_json_with_deno_json`
  - [x] `info::package_json_basic`
  - [x] `test::package_json_basic`
  - [x] `run::package_json_auto_discovered_for_npm_binary`
  - [x] `run::package_json_with_deno_json`
  - [x] `task::task_both_package_json_selected`
  - [x] `npm::node_modules_import_run` (@satyarohith)
  - [x] `npm::node_modules_import_check` (@satyarohith)
  - [ ] `npm::reload_info_not_found_cache_but_exists_remote`
  - [x] `npm::local_dir_resolves_symlinks` (@satyarohith)
- [ ] possibly actual bugs:
  - [ ] `compile::compile_npm_specifiers`
  - [ ] `task::task_package_json_npm_bin`
   - [ ] `task::task_npx_on_own` (hangs)
- [x] remove import assertion support for TS files and remove `specs::run::ts_import_assertions`
- [x] LSP tests that need to be fixed
  - 
`lsp::lsp_node_modules_dir`

  - 
`lsp::lsp_npm_workspace`

- [x] WPT
  - `"/html/semantics/scripting-1/the-script-element/module/dynamic-import/microtasks/css-import-in-worker.any.worker.html - import() should not drain the microtask queue if it fails because of the 'type: css' assertion in a worker"`
  - `"/html/semantics/scripting-1/the-script-element/module/dynamic-import/microtasks/with-import-assertions.any.html - import() should not drain the microtask queue if it fails while validating the 'type' assertion"`
  - `"/html/semantics/scripting-1/the-script-element/module/dynamic-import/microtasks/with-import-assertions.any.worker.html - import() should not drain the microtask queue if it fails while validating the 'type' assertion"`