builtin-modules 4.0.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,55 +1,111 @@
1
1
  [
2
+ "node:assert",
2
3
  "assert",
4
+ "node:assert/strict",
3
5
  "assert/strict",
6
+ "node:async_hooks",
4
7
  "async_hooks",
8
+ "node:buffer",
5
9
  "buffer",
10
+ "node:child_process",
6
11
  "child_process",
12
+ "node:cluster",
7
13
  "cluster",
14
+ "node:console",
8
15
  "console",
16
+ "node:constants",
9
17
  "constants",
18
+ "node:crypto",
10
19
  "crypto",
20
+ "node:dgram",
11
21
  "dgram",
22
+ "node:diagnostics_channel",
12
23
  "diagnostics_channel",
24
+ "node:dns",
13
25
  "dns",
26
+ "node:dns/promises",
14
27
  "dns/promises",
28
+ "node:domain",
15
29
  "domain",
30
+ "node:events",
16
31
  "events",
32
+ "node:fs",
17
33
  "fs",
34
+ "node:fs/promises",
18
35
  "fs/promises",
36
+ "node:http",
19
37
  "http",
38
+ "node:http2",
20
39
  "http2",
40
+ "node:https",
21
41
  "https",
42
+ "node:inspector",
22
43
  "inspector",
44
+ "node:inspector/promises",
23
45
  "inspector/promises",
46
+ "node:module",
24
47
  "module",
48
+ "node:net",
25
49
  "net",
50
+ "node:os",
26
51
  "os",
52
+ "node:path",
27
53
  "path",
54
+ "node:path/posix",
28
55
  "path/posix",
56
+ "node:path/win32",
29
57
  "path/win32",
58
+ "node:perf_hooks",
30
59
  "perf_hooks",
60
+ "node:process",
31
61
  "process",
32
- "punycode",
62
+ "node:querystring",
33
63
  "querystring",
64
+ "node:quic",
65
+ "node:readline",
34
66
  "readline",
67
+ "node:readline/promises",
35
68
  "readline/promises",
69
+ "node:repl",
36
70
  "repl",
71
+ "node:sea",
72
+ "node:sqlite",
73
+ "node:stream",
37
74
  "stream",
75
+ "node:stream/consumers",
38
76
  "stream/consumers",
77
+ "node:stream/promises",
39
78
  "stream/promises",
79
+ "node:stream/web",
40
80
  "stream/web",
81
+ "node:string_decoder",
41
82
  "string_decoder",
83
+ "node:test",
84
+ "node:test/reporters",
85
+ "node:timers",
42
86
  "timers",
87
+ "node:timers/promises",
43
88
  "timers/promises",
89
+ "node:tls",
44
90
  "tls",
91
+ "node:trace_events",
45
92
  "trace_events",
93
+ "node:tty",
46
94
  "tty",
95
+ "node:url",
47
96
  "url",
97
+ "node:util",
48
98
  "util",
99
+ "node:util/types",
49
100
  "util/types",
101
+ "node:v8",
50
102
  "v8",
103
+ "node:vm",
51
104
  "vm",
105
+ "node:wasi",
52
106
  "wasi",
107
+ "node:worker_threads",
53
108
  "worker_threads",
109
+ "node:zlib",
54
110
  "zlib"
55
111
  ]
package/index.d.ts CHANGED
@@ -6,7 +6,7 @@ A static list of the Node.js builtin modules from the latest Node.js version.
6
6
  import builtinModules from 'builtin-modules';
7
7
 
8
8
  console.log(builtinModules);
9
- //=> ['assert', 'buffer', …]
9
+ //=> ['node:assert', 'assert', 'node:buffer', 'buffer', …]
10
10
  ```
11
11
  */
12
12
  declare const builtinModules: readonly string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "builtin-modules",
3
- "version": "4.0.0",
3
+ "version": "5.0.0",
4
4
  "description": "A static list of the Node.js builtin modules from the latest Node.js version",
5
5
  "license": "MIT",
6
6
  "repository": "sindresorhus/builtin-modules",
@@ -20,7 +20,6 @@
20
20
  "node": ">=18.20"
21
21
  },
22
22
  "scripts": {
23
- "//test": "xo && ava && tsd",
24
23
  "test": "ava && tsd",
25
24
  "make": "node make.js"
26
25
  },
@@ -42,8 +41,13 @@
42
41
  "names"
43
42
  ],
44
43
  "devDependencies": {
45
- "ava": "^6.1.2",
46
- "tsd": "^0.31.0",
47
- "xo": "^0.58.0"
44
+ "ava": "^6.2.0",
45
+ "tsd": "^0.31.2",
46
+ "xo": "^0.60.0"
47
+ },
48
+ "xo": {
49
+ "ignore": [
50
+ "index.js"
51
+ ]
48
52
  }
49
53
  }
package/readme.md CHANGED
@@ -16,7 +16,7 @@ npm install builtin-modules
16
16
  import builtinModules from 'builtin-modules';
17
17
 
18
18
  console.log(builtinModules);
19
- //=> ['assert', 'buffer', …]
19
+ //=> ['node:assert', 'assert', 'node:buffer', 'buffer', …]
20
20
  ```
21
21
 
22
22
  ## Tip