diff --git a/lib/internal/http2/core.js b/lib/internal/http2/core.js index 213fd481e6cbcd..3012063a090e93 100644 --- a/lib/internal/http2/core.js +++ b/lib/internal/http2/core.js @@ -109,7 +109,7 @@ const { const { createWriteWrap, writeGeneric -} = require('internal/stream_shared_methods'); +} = require('internal/stream_base_commons'); const { ShutdownWrap, WriteWrap } = process.binding('stream_wrap'); const { constants, nameForErrorCode } = binding; diff --git a/lib/internal/stream_shared_methods.js b/lib/internal/stream_base_commons.js similarity index 100% rename from lib/internal/stream_shared_methods.js rename to lib/internal/stream_base_commons.js diff --git a/lib/net.js b/lib/net.js index a65d8694ad71ed..de051275965a54 100644 --- a/lib/net.js +++ b/lib/net.js @@ -56,7 +56,7 @@ const { createWriteWrap, writevGeneric, writeGeneric -} = require('internal/stream_shared_methods'); +} = require('internal/stream_base_commons'); const errors = require('internal/errors'); const { ERR_INVALID_ADDRESS_FAMILY, diff --git a/node.gyp b/node.gyp index 45743675ff115f..23c6e339856ea9 100644 --- a/node.gyp +++ b/node.gyp @@ -144,7 +144,7 @@ 'lib/internal/v8_prof_polyfill.js', 'lib/internal/v8_prof_processor.js', 'lib/internal/vm/Module.js', - 'lib/internal/stream_shared_methods.js', + 'lib/internal/stream_base_commons.js', 'lib/internal/streams/lazy_transform.js', 'lib/internal/streams/async_iterator.js', 'lib/internal/streams/BufferList.js',