summaryrefslogtreecommitdiff
path: root/cli/proc_state.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-11-10 17:57:10 +0100
committerGitHub <noreply@github.com>2022-11-10 17:57:10 +0100
commit53e974b276b095faf52918c4c6e988e9d2788cef (patch)
tree44b9807d87e90005f02192bb01e96ef053096f1a /cli/proc_state.rs
parentfd32f75da997b805a4ba95c68b4aaeed9f020cb1 (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.rs3
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()