diff options
Diffstat (limited to 'ext/crypto')
-rw-r--r-- | ext/crypto/00_crypto.js | 4 | ||||
-rw-r--r-- | ext/crypto/01_webidl.js | 4 | ||||
-rw-r--r-- | ext/crypto/lib.rs | 6 |
3 files changed, 5 insertions, 9 deletions
diff --git a/ext/crypto/00_crypto.js b/ext/crypto/00_crypto.js index c79a1e4e8..7bc62714f 100644 --- a/ext/crypto/00_crypto.js +++ b/ext/crypto/00_crypto.js @@ -9,8 +9,8 @@ const core = globalThis.Deno.core; const ops = core.ops; const primordials = globalThis.__bootstrap.primordials; -import * as webidl from "internal:ext/webidl/00_webidl.js"; -import DOMException from "internal:ext/web/01_dom_exception.js"; +import * as webidl from "internal:deno_webidl/00_webidl.js"; +import DOMException from "internal:deno_web/01_dom_exception.js"; const { ArrayBufferPrototype, ArrayBufferIsView, diff --git a/ext/crypto/01_webidl.js b/ext/crypto/01_webidl.js index 86d50f8a5..ceb1de061 100644 --- a/ext/crypto/01_webidl.js +++ b/ext/crypto/01_webidl.js @@ -5,8 +5,8 @@ /// <reference path="../webidl/internal.d.ts" /> const primordials = globalThis.__bootstrap.primordials; -import * as webidl from "internal:ext/webidl/00_webidl.js"; -import { CryptoKey } from "internal:ext/crypto/00_crypto.js"; +import * as webidl from "internal:deno_webidl/00_webidl.js"; +import { CryptoKey } from "internal:deno_crypto/00_crypto.js"; const { ArrayBufferIsView, ArrayBufferPrototype, diff --git a/ext/crypto/lib.rs b/ext/crypto/lib.rs index de47e467b..9d6017f39 100644 --- a/ext/crypto/lib.rs +++ b/ext/crypto/lib.rs @@ -75,11 +75,7 @@ use crate::shared::RawKeyData; pub fn init(maybe_seed: Option<u64>) -> Extension { Extension::builder(env!("CARGO_PKG_NAME")) .dependencies(vec!["deno_webidl", "deno_web"]) - .esm(include_js_files!( - prefix "internal:ext/crypto", - "00_crypto.js", - "01_webidl.js", - )) + .esm(include_js_files!("00_crypto.js", "01_webidl.js",)) .ops(vec![ op_crypto_get_random_values::decl(), op_crypto_generate_key::decl(), |