From bb5b3e9148d346df92ca82e812de5b091d70751d Mon Sep 17 00:00:00 2001 From: Yasser Nascimento Date: Wed, 19 Nov 2025 15:50:33 -0300 Subject: [PATCH] Use `bare-events` and remove `events` polyfill --- imports.json | 8 ++++++++ package.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/imports.json b/imports.json index 2e966af..caeef5b 100644 --- a/imports.json +++ b/imports.json @@ -7,6 +7,10 @@ "bare": "bare-buffer", "default": "buffer" }, + "events": { + "bare": "bare-events", + "default": "events" + }, "fs": { "bare": "bare-fs", "default": "fs" @@ -35,6 +39,10 @@ "bare": "bare-diagnostics-channel", "default": "node:diagnostics_channel" }, + "node:events": { + "bare": "bare-events", + "default": "node:events" + }, "node:os": { "bare": "bare-os", "default": "node:os" diff --git a/package.json b/package.json index 657e102..0c5537f 100644 --- a/package.json +++ b/package.json @@ -31,13 +31,13 @@ "bare-assert": "^1.1.0", "bare-buffer": "^3.3.1", "bare-diagnostics-channel": "^1.1.0", + "bare-events": "^2.8.2", "bare-fs": "^4.3.3", "bare-module": "^5.0.3", "bare-os": "^3.6.2", "bare-process": "^4.2.1", "bare-utils": "^1.5.1", "bare-worker": "^3.0.0", - "events": "^3.3.0", "pino": "^9.9.5" }, "devDependencies": {