From c3cba7f22c49ca3a3f58df44d8ea4c85d8510bff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 9 Mar 2023 08:10:54 -0400 Subject: refactor(core): Extension::builder_with_deps (#18093) Prerequisite for https://github.com/denoland/deno/pull/18080 --- ext/url/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ext/url') diff --git a/ext/url/lib.rs b/ext/url/lib.rs index 4f15cb924..f1295a13f 100644 --- a/ext/url/lib.rs +++ b/ext/url/lib.rs @@ -18,8 +18,7 @@ use crate::urlpattern::op_urlpattern_parse; use crate::urlpattern::op_urlpattern_process_match_input; pub fn init() -> Extension { - Extension::builder(env!("CARGO_PKG_NAME")) - .dependencies(vec!["deno_webidl"]) + Extension::builder_with_deps(env!("CARGO_PKG_NAME"), &["deno_webidl"]) .esm(include_js_files!("00_url.js", "01_urlpattern.js",)) .ops(vec![ op_url_reparse::decl(), -- cgit v1.2.3