Skip to content

Commit

Permalink
feat(cloudflare): add node:net and node:timers
Browse files Browse the repository at this point in the history
  • Loading branch information
anonrig committed Jan 21, 2025
1 parent ea010e5 commit c908ab5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/presets/cloudflare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ const cloudflareNodeCompatModules = [
"dns",
"dns/promises",
"events",
"net",
"net/promises",
"path",
"path/posix",
"path/win32",
Expand All @@ -27,6 +29,8 @@ const cloudflareNodeCompatModules = [
"stream/promises",
"stream/web",
"string_decoder",
"timers",
"timers/promises",
"url",
"util/types",
"zlib",
Expand All @@ -40,7 +44,6 @@ const hybridNodeCompatModules = [
"crypto",
"module",
"process",
"timers",
"util",
];

Expand Down

0 comments on commit c908ab5

Please sign in to comment.