From 26ada4971c317e0052d10fa6e4e31bccd6a5e4d9 Mon Sep 17 00:00:00 2001 From: James M Snell Date: Tue, 13 Jul 2021 10:38:19 -0700 Subject: [PATCH] stream: import internal/util/types instead Signed-off-by: James M Snell PR-URL: https://github.com/nodejs/node/pull/39331 Reviewed-By: Robert Nagy Reviewed-By: Matteo Collina Reviewed-By: Anna Henningsen --- lib/internal/webstreams/readablestream.js | 2 +- lib/internal/webstreams/util.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/internal/webstreams/readablestream.js b/lib/internal/webstreams/readablestream.js index ce822d479437e3..62da68ff28086f 100644 --- a/lib/internal/webstreams/readablestream.js +++ b/lib/internal/webstreams/readablestream.js @@ -45,7 +45,7 @@ const { const { isArrayBufferView, isDataView, -} = require('util/types'); +} = require('internal/util/types'); const { createDeferredPromise, diff --git a/lib/internal/webstreams/util.js b/lib/internal/webstreams/util.js index 54e707e8525c09..58f191cf07ff5a 100644 --- a/lib/internal/webstreams/util.js +++ b/lib/internal/webstreams/util.js @@ -31,7 +31,7 @@ const { const { isPromise, -} = require('util/types'); +} = require('internal/util/types'); const { inspect,