mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -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]]
|
||||
name = "deno_node"
|
||||
version = "0.120.0"
|
||||
version = "0.121.0"
|
||||
dependencies = [
|
||||
"aead-gcm-stream",
|
||||
"aes",
|
||||
|
|
|
@ -83,7 +83,7 @@ deno_io = { version = "0.93.0", path = "./ext/io" }
|
|||
deno_kv = { version = "0.91.0", path = "./ext/kv" }
|
||||
deno_napi = { version = "0.114.0", path = "./ext/napi" }
|
||||
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_tls = { version = "0.170.0", path = "./ext/tls" }
|
||||
deno_url = { version = "0.183.0", path = "./ext/url" }
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
[package]
|
||||
name = "deno_node"
|
||||
version = "0.120.0"
|
||||
version = "0.121.0"
|
||||
authors.workspace = true
|
||||
edition.workspace = true
|
||||
license.workspace = true
|
||||
|
|
|
@ -67,9 +67,9 @@ generate_builtin_node_module_lists! {
|
|||
"process",
|
||||
"punycode",
|
||||
"querystring",
|
||||
"repl",
|
||||
"readline",
|
||||
"readline/promises",
|
||||
"repl",
|
||||
"stream",
|
||||
"stream/consumers",
|
||||
"stream/promises",
|
||||
|
@ -90,3 +90,10 @@ generate_builtin_node_module_lists! {
|
|||
"worker_threads",
|
||||
"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:punycode",
|
||||
"node:querystring",
|
||||
"node:repl",
|
||||
"node:readline",
|
||||
"node:readline/promises",
|
||||
"node:repl",
|
||||
"node:stream",
|
||||
"node:stream/consumers",
|
||||
"node:stream/promises",
|
||||
|
|
Loading…
Reference in a new issue