From 0b016a7fb8639ce49603c8c339539174b191a4b1 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Wed, 5 Oct 2022 07:06:44 -0700 Subject: feat(npm): implement Node API (#13633) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR implements the NAPI for loading native modules into Deno. Co-authored-by: Bartek IwaƄczuk Co-authored-by: DjDeveloper <43033058+DjDeveloperr@users.noreply.github.com> Co-authored-by: Ryan Dahl --- runtime/web_worker.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'runtime/web_worker.rs') diff --git a/runtime/web_worker.rs b/runtime/web_worker.rs index 09a631916..f08127b22 100644 --- a/runtime/web_worker.rs +++ b/runtime/web_worker.rs @@ -431,6 +431,7 @@ impl WebWorker { unstable, options.unsafely_ignore_certificate_errors.clone(), ), + deno_napi::init::(unstable), deno_node::init::(unstable, options.npm_resolver), ops::os::init_for_worker(), ops::permissions::init(), -- cgit v1.2.3