aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-11-30 07:21:27 -0800
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-11-30 07:21:27 -0800
commitf8b87e3ee2cf814e18101badab666941fd7833d9 (patch)
tree33e15a408c25252aaf15ed30f880bdd025c6ddd5 /src
parente6f055e9fba39c2d7f92d573e04dae795dd21aee (diff)
downloadbun-f8b87e3ee2cf814e18101badab666941fd7833d9.tar.gz
bun-f8b87e3ee2cf814e18101badab666941fd7833d9.tar.zst
bun-f8b87e3ee2cf814e18101badab666941fd7833d9.zip
Redirect imports to `"readable-stream"` -> `"node:stream"`
Diffstat (limited to 'src')
-rw-r--r--src/bun.js/module_loader.zig5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bun.js/module_loader.zig b/src/bun.js/module_loader.zig
index fa938f1ab..3975427ac 100644
--- a/src/bun.js/module_loader.zig
+++ b/src/bun.js/module_loader.zig
@@ -2016,11 +2016,11 @@ pub const HardcodedModule = enum {
.{
.{ "assert", "node:assert" },
.{ "buffer", "node:buffer" },
- .{ "bun", "bun" },
.{ "bun:ffi", "bun:ffi" },
.{ "bun:jsc", "bun:jsc" },
.{ "bun:sqlite", "bun:sqlite" },
.{ "bun:wrap", "bun:wrap" },
+ .{ "bun", "bun" },
.{ "child_process", "node:child_process" },
.{ "depd", "depd" },
.{ "detect-libc", "detect-libc" },
@@ -2063,6 +2063,9 @@ pub const HardcodedModule = enum {
.{ "path/win32", "node:path/win32" },
.{ "perf_hooks", "node:perf_hooks" },
.{ "process", "node:process" },
+ .{ "readable-stream", "node:stream" },
+ .{ "readable-stream/consumer", "node:stream/consumer" },
+ .{ "readable-stream/web", "node:stream/web" },
.{ "stream", "node:stream" },
.{ "stream/consumer", "node:stream/consumer" },
.{ "stream/web", "node:stream/web" },