Skip to content

Commit

Permalink
stream: import internal/util/types instead
Browse files Browse the repository at this point in the history
Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: #39331
Reviewed-By: Robert Nagy <ronagy@icloud.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
  • Loading branch information
jasnell authored and BethGriggs committed Jul 29, 2021
1 parent 93eff3f commit 26ada49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/internal/webstreams/readablestream.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const {
const {
isArrayBufferView,
isDataView,
} = require('util/types');
} = require('internal/util/types');

const {
createDeferredPromise,
Expand Down
2 changes: 1 addition & 1 deletion lib/internal/webstreams/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const {

const {
isPromise,
} = require('util/types');
} = require('internal/util/types');

const {
inspect,
Expand Down

0 comments on commit 26ada49

Please sign in to comment.