summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-02-05 17:49:20 +0100
committerGitHub <noreply@github.com>2023-02-05 17:49:20 +0100
commit84a96110cd8e74228fbab666e7af49edb7e24cc9 (patch)
tree8e1995e6ddb3836923f50e915294664aa27b7511 /ext
parenta09296322e1fd4451e903515a497d9e02e14ace6 (diff)
refactor: rename `deno` specifiers to `internal` (#17655)
Diffstat (limited to 'ext')
-rw-r--r--ext/broadcast_channel/lib.rs2
-rw-r--r--ext/cache/lib.rs2
-rw-r--r--ext/console/lib.rs2
-rw-r--r--ext/crypto/lib.rs2
-rw-r--r--ext/fetch/lib.rs2
-rw-r--r--ext/ffi/lib.rs2
-rw-r--r--ext/flash/lib.rs2
-rw-r--r--ext/http/lib.rs2
-rw-r--r--ext/net/lib.rs2
-rw-r--r--ext/node/lib.rs2
-rw-r--r--ext/url/lib.rs2
-rw-r--r--ext/web/02_event.js2
-rw-r--r--ext/web/lib.rs2
-rw-r--r--ext/webgpu/src/lib.rs2
-rw-r--r--ext/webgpu/src/surface.rs2
-rw-r--r--ext/webidl/lib.rs2
-rw-r--r--ext/websocket/lib.rs2
-rw-r--r--ext/webstorage/lib.rs2
18 files changed, 18 insertions, 18 deletions
diff --git a/ext/broadcast_channel/lib.rs b/ext/broadcast_channel/lib.rs
index de9bef881..674d2414d 100644
--- a/ext/broadcast_channel/lib.rs
+++ b/ext/broadcast_channel/lib.rs
@@ -113,7 +113,7 @@ pub fn init<BC: BroadcastChannel + 'static>(
Extension::builder(env!("CARGO_PKG_NAME"))
.dependencies(vec!["deno_webidl", "deno_web"])
.js(include_js_files!(
- prefix "deno:ext/broadcast_channel",
+ prefix "internal:ext/broadcast_channel",
"01_broadcast_channel.js",
))
.ops(vec![
diff --git a/ext/cache/lib.rs b/ext/cache/lib.rs
index 8aab33268..888407153 100644
--- a/ext/cache/lib.rs
+++ b/ext/cache/lib.rs
@@ -28,7 +28,7 @@ pub fn init<CA: Cache + 'static>(
Extension::builder(env!("CARGO_PKG_NAME"))
.dependencies(vec!["deno_webidl", "deno_web", "deno_url", "deno_fetch"])
.js(include_js_files!(
- prefix "deno:ext/cache",
+ prefix "internal:ext/cache",
"01_cache.js",
))
.ops(vec![
diff --git a/ext/console/lib.rs b/ext/console/lib.rs
index d8fdb38f3..4b3b45029 100644
--- a/ext/console/lib.rs
+++ b/ext/console/lib.rs
@@ -7,7 +7,7 @@ use std::path::PathBuf;
pub fn init() -> Extension {
Extension::builder(env!("CARGO_PKG_NAME"))
.js(include_js_files!(
- prefix "deno:ext/console",
+ prefix "internal:ext/console",
"01_colors.js",
"02_console.js",
))
diff --git a/ext/crypto/lib.rs b/ext/crypto/lib.rs
index 0ee2faecc..906e7d06f 100644
--- a/ext/crypto/lib.rs
+++ b/ext/crypto/lib.rs
@@ -76,7 +76,7 @@ pub fn init(maybe_seed: Option<u64>) -> Extension {
Extension::builder(env!("CARGO_PKG_NAME"))
.dependencies(vec!["deno_webidl", "deno_web"])
.js(include_js_files!(
- prefix "deno:ext/crypto",
+ prefix "internal:ext/crypto",
"00_crypto.js",
"01_webidl.js",
))
diff --git a/ext/fetch/lib.rs b/ext/fetch/lib.rs
index 7f0a5e37e..78a42cd84 100644
--- a/ext/fetch/lib.rs
+++ b/ext/fetch/lib.rs
@@ -98,7 +98,7 @@ where
Extension::builder(env!("CARGO_PKG_NAME"))
.dependencies(vec!["deno_webidl", "deno_web", "deno_url", "deno_console"])
.js(include_js_files!(
- prefix "deno:ext/fetch",
+ prefix "internal:ext/fetch",
"01_fetch_util.js",
"20_headers.js",
"21_formdata.js",
diff --git a/ext/ffi/lib.rs b/ext/ffi/lib.rs
index d97bb16b4..88e788457 100644
--- a/ext/ffi/lib.rs
+++ b/ext/ffi/lib.rs
@@ -85,7 +85,7 @@ pub(crate) struct FfiState {
pub fn init<P: FfiPermissions + 'static>(unstable: bool) -> Extension {
Extension::builder(env!("CARGO_PKG_NAME"))
.js(include_js_files!(
- prefix "deno:ext/ffi",
+ prefix "internal:ext/ffi",
"00_ffi.js",
))
.ops(vec![
diff --git a/ext/flash/lib.rs b/ext/flash/lib.rs
index 273aff02d..d31e78caa 100644
--- a/ext/flash/lib.rs
+++ b/ext/flash/lib.rs
@@ -1515,7 +1515,7 @@ pub fn init<P: FlashPermissions + 'static>(unstable: bool) -> Extension {
"deno_http",
])
.js(deno_core::include_js_files!(
- prefix "deno:ext/flash",
+ prefix "internal:ext/flash",
"01_http.js",
))
.ops(vec![
diff --git a/ext/http/lib.rs b/ext/http/lib.rs
index d6450bb69..0e3ebf766 100644
--- a/ext/http/lib.rs
+++ b/ext/http/lib.rs
@@ -81,7 +81,7 @@ pub fn init() -> Extension {
Extension::builder(env!("CARGO_PKG_NAME"))
.dependencies(vec!["deno_web", "deno_net", "deno_fetch", "deno_websocket"])
.js(include_js_files!(
- prefix "deno:ext/http",
+ prefix "internal:ext/http",
"01_http.js",
))
.ops(vec![
diff --git a/ext/net/lib.rs b/ext/net/lib.rs
index ad5b97a7a..932f8c8c5 100644
--- a/ext/net/lib.rs
+++ b/ext/net/lib.rs
@@ -87,7 +87,7 @@ pub fn init<P: NetPermissions + 'static>(
Extension::builder(env!("CARGO_PKG_NAME"))
.dependencies(vec!["deno_web"])
.js(include_js_files!(
- prefix "deno:ext/net",
+ prefix "internal:ext/net",
"01_net.js",
"02_tls.js",
))
diff --git a/ext/node/lib.rs b/ext/node/lib.rs
index 3c0e32308..ad8619889 100644
--- a/ext/node/lib.rs
+++ b/ext/node/lib.rs
@@ -86,7 +86,7 @@ pub fn init<P: NodePermissions + 'static>(
) -> Extension {
Extension::builder(env!("CARGO_PKG_NAME"))
.js(include_js_files!(
- prefix "deno:ext/node",
+ prefix "internal:ext/node",
"01_node.js",
"02_require.js",
))
diff --git a/ext/url/lib.rs b/ext/url/lib.rs
index 6990017f5..064590f29 100644
--- a/ext/url/lib.rs
+++ b/ext/url/lib.rs
@@ -21,7 +21,7 @@ pub fn init() -> Extension {
Extension::builder(env!("CARGO_PKG_NAME"))
.dependencies(vec!["deno_webidl"])
.js(include_js_files!(
- prefix "deno:ext/url",
+ prefix "internal:ext/url",
"00_url.js",
"01_urlpattern.js",
))
diff --git a/ext/web/02_event.js b/ext/web/02_event.js
index dac126280..c99eb8f6e 100644
--- a/ext/web/02_event.js
+++ b/ext/web/02_event.js
@@ -1462,7 +1462,7 @@
const frame = frames[i];
if (
typeof frame.fileName == "string" &&
- !StringPrototypeStartsWith(frame.fileName, "deno:")
+ !StringPrototypeStartsWith(frame.fileName, "internal:")
) {
filename = frame.fileName;
lineno = frame.lineNumber;
diff --git a/ext/web/lib.rs b/ext/web/lib.rs
index ac3fe59fe..c677bb8e9 100644
--- a/ext/web/lib.rs
+++ b/ext/web/lib.rs
@@ -65,7 +65,7 @@ pub fn init<P: TimersPermission + 'static>(
Extension::builder(env!("CARGO_PKG_NAME"))
.dependencies(vec!["deno_webidl", "deno_console", "deno_url"])
.js(include_js_files!(
- prefix "deno:ext/web",
+ prefix "internal:ext/web",
"00_infra.js",
"01_dom_exception.js",
"01_mimesniff.js",
diff --git a/ext/webgpu/src/lib.rs b/ext/webgpu/src/lib.rs
index d4fd5660a..8e4077e7f 100644
--- a/ext/webgpu/src/lib.rs
+++ b/ext/webgpu/src/lib.rs
@@ -120,7 +120,7 @@ pub fn init(unstable: bool) -> Extension {
Extension::builder(env!("CARGO_PKG_NAME"))
.dependencies(vec!["deno_webidl", "deno_web"])
.js(include_js_files!(
- prefix "deno:ext/webgpu",
+ prefix "internal:ext/webgpu",
"01_webgpu.js",
"02_idl_types.js",
))
diff --git a/ext/webgpu/src/surface.rs b/ext/webgpu/src/surface.rs
index 1adebb53a..2ce9cf448 100644
--- a/ext/webgpu/src/surface.rs
+++ b/ext/webgpu/src/surface.rs
@@ -16,7 +16,7 @@ pub fn init_surface(unstable: bool) -> Extension {
Extension::builder("deno_webgpu_surface")
.dependencies(vec!["deno_webidl", "deno_web", "deno_webgpu"])
.js(include_js_files!(
- prefix "deno:deno_webgpu",
+ prefix "internal:deno_webgpu",
"03_surface.js",
"04_surface_idl_types.js",
))
diff --git a/ext/webidl/lib.rs b/ext/webidl/lib.rs
index 7962165c6..ae25f04c7 100644
--- a/ext/webidl/lib.rs
+++ b/ext/webidl/lib.rs
@@ -7,7 +7,7 @@ use deno_core::Extension;
pub fn init() -> Extension {
Extension::builder(env!("CARGO_PKG_NAME"))
.js(include_js_files!(
- prefix "deno:ext/webidl",
+ prefix "internal:ext/webidl",
"00_webidl.js",
))
.build()
diff --git a/ext/websocket/lib.rs b/ext/websocket/lib.rs
index baf5c396c..82a2c5918 100644
--- a/ext/websocket/lib.rs
+++ b/ext/websocket/lib.rs
@@ -505,7 +505,7 @@ pub fn init<P: WebSocketPermissions + 'static>(
Extension::builder(env!("CARGO_PKG_NAME"))
.dependencies(vec!["deno_url", "deno_webidl"])
.js(include_js_files!(
- prefix "deno:ext/websocket",
+ prefix "internal:ext/websocket",
"01_websocket.js",
"02_websocketstream.js",
))
diff --git a/ext/webstorage/lib.rs b/ext/webstorage/lib.rs
index 53175f196..29deaee84 100644
--- a/ext/webstorage/lib.rs
+++ b/ext/webstorage/lib.rs
@@ -25,7 +25,7 @@ pub fn init(origin_storage_dir: Option<PathBuf>) -> Extension {
Extension::builder(env!("CARGO_PKG_NAME"))
.dependencies(vec!["deno_webidl"])
.js(include_js_files!(
- prefix "deno:ext/webstorage",
+ prefix "internal:ext/webstorage",
"01_webstorage.js",
))
.ops(vec![