diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-11-10 17:57:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 17:57:10 +0100 |
commit | 53e974b276b095faf52918c4c6e988e9d2788cef (patch) | |
tree | 44b9807d87e90005f02192bb01e96ef053096f1a /cli/proc_state.rs | |
parent | fd32f75da997b805a4ba95c68b4aaeed9f020cb1 (diff) |
feat: remove --unstable flag requirement for npm: specifiers (#16473)
This commit makes "npm:" specifiers not require "--unstable" flag.
At the moment some APIs used by Node polyfills still require
"--unstable" which will be addressed in follow up PRs.
Diffstat (limited to 'cli/proc_state.rs')
-rw-r--r-- | cli/proc_state.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/cli/proc_state.rs b/cli/proc_state.rs index ae3a54a20..117451c56 100644 --- a/cli/proc_state.rs +++ b/cli/proc_state.rs @@ -228,9 +228,6 @@ impl ProcState { let mut npm_resolver = NpmPackageResolver::new( npm_cache.clone(), api, - cli_options.unstable() - // don't do the unstable error when in the lsp - || matches!(cli_options.sub_command(), DenoSubcommand::Lsp), cli_options.no_npm(), cli_options .resolve_local_node_modules_folder() |