1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

Rename extensions/ directory to ext/ (#11643)

This commit is contained in:
Ryan Dahl 2021-08-11 12:27:05 +02:00 committed by GitHub
parent 3a69941151
commit a0285e2eb8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
134 changed files with 77 additions and 77 deletions

View file

@ -8,20 +8,20 @@ members = [
"runtime",
"test_ffi",
"test_util",
"extensions/broadcast_channel",
"extensions/console",
"extensions/crypto",
"extensions/fetch",
"extensions/ffi",
"extensions/http",
"extensions/net",
"extensions/timers",
"extensions/url",
"extensions/web",
"extensions/webgpu",
"extensions/webidl",
"extensions/websocket",
"extensions/webstorage",
"ext/broadcast_channel",
"ext/console",
"ext/crypto",
"ext/fetch",
"ext/ffi",
"ext/http",
"ext/net",
"ext/timers",
"ext/url",
"ext/web",
"ext/webgpu",
"ext/webidl",
"ext/websocket",
"ext/webstorage",
]
exclude = ["test_util/std/hash/_wasm"]

View file

@ -20,21 +20,21 @@ harness = false
path = "./bench/main.rs"
[build-dependencies]
deno_broadcast_channel = { version = "0.8.0", path = "../extensions/broadcast_channel" }
deno_console = { version = "0.14.0", path = "../extensions/console" }
deno_broadcast_channel = { version = "0.8.0", path = "../ext/broadcast_channel" }
deno_console = { version = "0.14.0", path = "../ext/console" }
deno_core = { version = "0.96.0", path = "../core" }
deno_crypto = { version = "0.28.0", path = "../extensions/crypto" }
deno_fetch = { version = "0.37.0", path = "../extensions/fetch" }
deno_ffi = { version = "0.1.0", path = "../extensions/ffi" }
deno_http = { version = "0.5.0", path = "../extensions/http" }
deno_net = { version = "0.5.0", path = "../extensions/net" }
deno_timers = { version = "0.12.0", path = "../extensions/timers" }
deno_url = { version = "0.14.0", path = "../extensions/url" }
deno_web = { version = "0.45.0", path = "../extensions/web" }
deno_webgpu = { version = "0.15.0", path = "../extensions/webgpu" }
deno_webidl = { version = "0.14.0", path = "../extensions/webidl" }
deno_websocket = { version = "0.19.0", path = "../extensions/websocket" }
deno_webstorage = { version = "0.9.0", path = "../extensions/webstorage" }
deno_crypto = { version = "0.28.0", path = "../ext/crypto" }
deno_fetch = { version = "0.37.0", path = "../ext/fetch" }
deno_ffi = { version = "0.1.0", path = "../ext/ffi" }
deno_http = { version = "0.5.0", path = "../ext/http" }
deno_net = { version = "0.5.0", path = "../ext/net" }
deno_timers = { version = "0.12.0", path = "../ext/timers" }
deno_url = { version = "0.14.0", path = "../ext/url" }
deno_web = { version = "0.45.0", path = "../ext/web" }
deno_webgpu = { version = "0.15.0", path = "../ext/webgpu" }
deno_webidl = { version = "0.14.0", path = "../ext/webidl" }
deno_websocket = { version = "0.19.0", path = "../ext/websocket" }
deno_webstorage = { version = "0.9.0", path = "../ext/webstorage" }
regex = "1.4.3"
serde = { version = "1.0.125", features = ["derive"] }
@ -47,7 +47,7 @@ deno_core = { version = "0.96.0", path = "../core" }
deno_doc = "0.10.0"
deno_lint = "0.12.0"
deno_runtime = { version = "0.22.0", path = "../runtime" }
deno_tls = { version = "0.1.0", path = "../extensions/tls" }
deno_tls = { version = "0.1.0", path = "../ext/tls" }
atty = "0.2.14"
base64 = "0.13.0"

View file

@ -2,5 +2,5 @@
new Event();
^
at [WILDCARD]
at new Event (deno:extensions/web/[WILDCARD])
at new Event (deno:ext/web/[WILDCARD])
at [WILDCARD]

View file

@ -110,7 +110,7 @@ pub fn init<BC: BroadcastChannel + 'static>(
) -> Extension {
Extension::builder()
.js(include_js_files!(
prefix "deno:extensions/broadcast_channel",
prefix "deno:ext/broadcast_channel",
"01_broadcast_channel.js",
))
.ops(vec![

View file

@ -7,7 +7,7 @@ use std::path::PathBuf;
pub fn init() -> Extension {
Extension::builder()
.js(include_js_files!(
prefix "deno:extensions/console",
prefix "deno:ext/console",
"01_colors.js",
"02_console.js",
))

View file

@ -62,7 +62,7 @@ lazy_static! {
pub fn init(maybe_seed: Option<u64>) -> Extension {
Extension::builder()
.js(include_js_files!(
prefix "deno:extensions/crypto",
prefix "deno:ext/crypto",
"00_crypto.js",
"01_webidl.js",
))

View file

@ -64,7 +64,7 @@ pub fn init<P: FetchPermissions + 'static>(
) -> Extension {
Extension::builder()
.js(include_js_files!(
prefix "deno:extensions/fetch",
prefix "deno:ext/fetch",
"01_fetch_util.js",
"20_headers.js",
"21_formdata.js",

View file

@ -100,7 +100,7 @@ impl DynamicLibraryResource {
pub fn init<P: FfiPermissions + 'static>(unstable: bool) -> Extension {
Extension::builder()
.js(include_js_files!(
prefix "deno:extensions/ffi",
prefix "deno:ext/ffi",
"00_ffi.js",
))
.ops(vec![

View file

@ -52,7 +52,7 @@ pub fn get_unstable_declaration() -> PathBuf {
pub fn init() -> Extension {
Extension::builder()
.js(include_js_files!(
prefix "deno:extensions/http",
prefix "deno:ext/http",
"01_http.js",
))
.ops(vec![

View file

@ -111,7 +111,7 @@ pub fn init<P: NetPermissions + 'static>(
ops_to_register.extend(ops_tls::init::<P>());
Extension::builder()
.js(include_js_files!(
prefix "deno:extensions/net",
prefix "deno:ext/net",
"01_net.js",
"02_tls.js",
"04_net_unstable.js",

View file

@ -43,7 +43,7 @@ impl TimersPermission for NoTimersPermission {
pub fn init<P: TimersPermission + 'static>() -> Extension {
Extension::builder()
.js(include_js_files!(
prefix "deno:extensions/timers",
prefix "deno:ext/timers",
"01_timers.js",
"02_performance.js",
))

View file

@ -19,7 +19,7 @@ use std::path::PathBuf;
pub fn init() -> Extension {
Extension::builder()
.js(include_js_files!(
prefix "deno:extensions/url",
prefix "deno:ext/url",
"00_url.js",
))
.ops(vec![

View file

@ -50,7 +50,7 @@ pub use crate::message_port::MessagePort;
pub fn init(blob_store: BlobStore, maybe_location: Option<Url>) -> Extension {
Extension::builder()
.js(include_js_files!(
prefix "deno:extensions/web",
prefix "deno:ext/web",
"00_infra.js",
"01_dom_exception.js",
"01_mimesniff.js",

Some files were not shown because too many files have changed in this diff Show more