mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
fix(ext/node): sort list of built-in modules alphabetically (#27410)
This commit is contained in:
parent
14e4064986
commit
8590aa9cee
5 changed files with 12 additions and 5 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -1925,7 +1925,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "deno_node"
|
name = "deno_node"
|
||||||
version = "0.120.0"
|
version = "0.121.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"aead-gcm-stream",
|
"aead-gcm-stream",
|
||||||
"aes",
|
"aes",
|
||||||
|
|
|
@ -83,7 +83,7 @@ deno_io = { version = "0.93.0", path = "./ext/io" }
|
||||||
deno_kv = { version = "0.91.0", path = "./ext/kv" }
|
deno_kv = { version = "0.91.0", path = "./ext/kv" }
|
||||||
deno_napi = { version = "0.114.0", path = "./ext/napi" }
|
deno_napi = { version = "0.114.0", path = "./ext/napi" }
|
||||||
deno_net = { version = "0.175.0", path = "./ext/net" }
|
deno_net = { version = "0.175.0", path = "./ext/net" }
|
||||||
deno_node = { version = "0.120.0", path = "./ext/node" }
|
deno_node = { version = "0.121.0", path = "./ext/node" }
|
||||||
deno_telemetry = { version = "0.5.0", path = "./ext/telemetry" }
|
deno_telemetry = { version = "0.5.0", path = "./ext/telemetry" }
|
||||||
deno_tls = { version = "0.170.0", path = "./ext/tls" }
|
deno_tls = { version = "0.170.0", path = "./ext/tls" }
|
||||||
deno_url = { version = "0.183.0", path = "./ext/url" }
|
deno_url = { version = "0.183.0", path = "./ext/url" }
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "deno_node"
|
name = "deno_node"
|
||||||
version = "0.120.0"
|
version = "0.121.0"
|
||||||
authors.workspace = true
|
authors.workspace = true
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
license.workspace = true
|
license.workspace = true
|
||||||
|
|
|
@ -67,9 +67,9 @@ generate_builtin_node_module_lists! {
|
||||||
"process",
|
"process",
|
||||||
"punycode",
|
"punycode",
|
||||||
"querystring",
|
"querystring",
|
||||||
"repl",
|
|
||||||
"readline",
|
"readline",
|
||||||
"readline/promises",
|
"readline/promises",
|
||||||
|
"repl",
|
||||||
"stream",
|
"stream",
|
||||||
"stream/consumers",
|
"stream/consumers",
|
||||||
"stream/promises",
|
"stream/promises",
|
||||||
|
@ -90,3 +90,10 @@ generate_builtin_node_module_lists! {
|
||||||
"worker_threads",
|
"worker_threads",
|
||||||
"zlib",
|
"zlib",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[test]
|
||||||
|
fn test_builtins_are_sorted() {
|
||||||
|
let mut builtins_list = SUPPORTED_BUILTIN_NODE_MODULES.to_vec();
|
||||||
|
builtins_list.sort();
|
||||||
|
assert_eq!(SUPPORTED_BUILTIN_NODE_MODULES, builtins_list);
|
||||||
|
}
|
||||||
|
|
|
@ -8609,9 +8609,9 @@ fn lsp_completions_node_specifier() {
|
||||||
"node:process",
|
"node:process",
|
||||||
"node:punycode",
|
"node:punycode",
|
||||||
"node:querystring",
|
"node:querystring",
|
||||||
"node:repl",
|
|
||||||
"node:readline",
|
"node:readline",
|
||||||
"node:readline/promises",
|
"node:readline/promises",
|
||||||
|
"node:repl",
|
||||||
"node:stream",
|
"node:stream",
|
||||||
"node:stream/consumers",
|
"node:stream/consumers",
|
||||||
"node:stream/promises",
|
"node:stream/promises",
|
||||||
|
|
Loading…
Reference in a new issue