From c0e16a26337667fd280f06da410152967cc22545 Mon Sep 17 00:00:00 2001 From: Aras Abbasi Date: Thu, 29 Aug 2024 19:03:01 +0200 Subject: [PATCH] fix(deps): remove readable-stream (#309) --- index.js | 2 +- package-lock.json | 1 - package.json | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/index.js b/index.js index 86dd4d0..0d6eaa2 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ module.exports = { getTransformStream }; -const { Transform } = require("readable-stream"); +const { Transform } = require("node:stream"); const prettyFactory = require("pino-pretty"); const Sentry = require("@sentry/node"); diff --git a/package-lock.json b/package-lock.json index fe4f0fd..2d78c9d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,6 @@ "@sentry/node": "^6.0.0", "pino-pretty": "^6.0.0", "pump": "^3.0.0", - "readable-stream": "^3.6.0", "split2": "^4.0.0" }, "bin": { diff --git a/package.json b/package.json index 6d00706..296006a 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,6 @@ "@sentry/node": "^6.0.0", "pino-pretty": "^6.0.0", "pump": "^3.0.0", - "readable-stream": "^3.6.0", "split2": "^4.0.0" }, "release": {