diff --git a/lib/core/client.js b/lib/core/client.js index 0744e5d39f1..8195197d2bd 100644 --- a/lib/core/client.js +++ b/lib/core/client.js @@ -3,7 +3,7 @@ const { URL } = require('url') const net = require('net') const tls = require('tls') -const HTTPParser = require('./node/http-parser') +const HTTPParser = require('../node/http-parser') const EventEmitter = require('events') const assert = require('assert') const util = require('./util') diff --git a/lib/core/node/fixed-queue.js b/lib/node/fixed-queue.js similarity index 100% rename from lib/core/node/fixed-queue.js rename to lib/node/fixed-queue.js diff --git a/lib/core/node/http-parser.js b/lib/node/http-parser.js similarity index 100% rename from lib/core/node/http-parser.js rename to lib/node/http-parser.js diff --git a/lib/pool.js b/lib/pool.js index f2d64bd8aef..fc7d9150996 100644 --- a/lib/pool.js +++ b/lib/pool.js @@ -6,7 +6,7 @@ const { InvalidArgumentError, ClientDestroyedError } = require('./core/errors') -const FixedQueue = require('./core/node/fixed-queue') +const FixedQueue = require('./node/fixed-queue') const kClients = Symbol('clients') const kQueue = Symbol('queue') diff --git a/test/fixed-queue.js b/test/fixed-queue.js index 73830d5220e..74175644da7 100644 --- a/test/fixed-queue.js +++ b/test/fixed-queue.js @@ -2,7 +2,7 @@ const { test } = require('tap') -const FixedQueue = require('../lib/core/node/fixed-queue') +const FixedQueue = require('../lib/node/fixed-queue') test('fixed queue 1', (t) => { t.plan(5)