aboutsummaryrefslogtreecommitdiff
path: root/src/js/thirdparty/ws.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/thirdparty/ws.js')
-rw-r--r--src/js/thirdparty/ws.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/thirdparty/ws.js b/src/js/thirdparty/ws.js
index 3af650764..5b27c5b50 100644
--- a/src/js/thirdparty/ws.js
+++ b/src/js/thirdparty/ws.js
@@ -3,7 +3,7 @@
// this just wraps WebSocket to look like an EventEmitter
// without actually using an EventEmitter polyfill
-import EventEmitter from "events";
+import { EventEmitter } from "events";
import http from "http";
const kBunInternals = Symbol.for("::bunternal::");