Skip to content

Commit

Permalink
feat(cloudflare): use querystring and url from workerd
Browse files Browse the repository at this point in the history
  • Loading branch information
vicb committed Oct 23, 2024
1 parent f978612 commit 5098fc2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/presets/cloudflare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import type { Preset } from "../types";
// Built-in APIs provided by workerd.
// https://developers.cloudflare.com/workers/runtime-apis/nodejs/
// https://github.com/cloudflare/workerd/tree/main/src/node
// Last checked: 2024-10-15
// Last checked: 2024-10-22
const cloudflareNodeCompatModules = [
"_stream_duplex",
"_stream_passthrough",
Expand All @@ -15,11 +15,13 @@ const cloudflareNodeCompatModules = [
"diagnostics_channel",
"events",
"path",
"querystring",
"stream",
"stream/consumers",
"stream/promises",
"stream/web",
"string_decoder",
"url",
"util/types",
"zlib",
];
Expand Down

0 comments on commit 5098fc2

Please sign in to comment.