summaryrefslogtreecommitdiff
path: root/runtime/worker.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 /runtime/worker.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 'runtime/worker.rs')
-rw-r--r--runtime/worker.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/worker.rs b/runtime/worker.rs
index dcc2727db..c7226b76b 100644
--- a/runtime/worker.rs
+++ b/runtime/worker.rs
@@ -229,7 +229,7 @@ impl MainWorker {
options.unsafely_ignore_certificate_errors.clone(),
),
deno_napi::init::<Permissions>(unstable),
- deno_node::init::<Permissions>(unstable, options.npm_resolver),
+ deno_node::init::<Permissions>(options.npm_resolver),
ops::os::init(exit_code.clone()),
ops::permissions::init(),
ops::process::init(),