Skip to content

Commit d843a59

Browse files
committed
fix: add npm name validation and make lower casing names adaptive
1 parent 8cb268f commit d843a59

File tree

8 files changed

+8035
-667
lines changed

8 files changed

+8035
-667
lines changed

data/npm/builtin-names.json

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
[
2+
"_http_agent",
3+
"_http_client",
4+
"_http_common",
5+
"_http_incoming",
6+
"_http_outgoing",
7+
"_http_server",
8+
"_stream_duplex",
9+
"_stream_passthrough",
10+
"_stream_readable",
11+
"_stream_transform",
12+
"_stream_wrap",
13+
"_stream_writable",
14+
"_tls_common",
15+
"_tls_wrap",
16+
"assert",
17+
"assert/strict",
18+
"async_hooks",
19+
"buffer",
20+
"child_process",
21+
"cluster",
22+
"console",
23+
"constants",
24+
"crypto",
25+
"dgram",
26+
"diagnostics_channel",
27+
"dns",
28+
"dns/promises",
29+
"domain",
30+
"events",
31+
"fs",
32+
"fs/promises",
33+
"http",
34+
"http2",
35+
"https",
36+
"inspector",
37+
"inspector/promises",
38+
"module",
39+
"net",
40+
"os",
41+
"path",
42+
"path/posix",
43+
"path/win32",
44+
"perf_hooks",
45+
"process",
46+
"punycode",
47+
"querystring",
48+
"readline",
49+
"readline/promises",
50+
"repl",
51+
"stream",
52+
"stream/consumers",
53+
"stream/promises",
54+
"stream/web",
55+
"string_decoder",
56+
"sys",
57+
"timers",
58+
"timers/promises",
59+
"tls",
60+
"trace_events",
61+
"tty",
62+
"url",
63+
"util",
64+
"util/types",
65+
"v8",
66+
"vm",
67+
"wasi",
68+
"worker_threads",
69+
"zlib"
70+
]

0 commit comments

Comments
 (0)