diff --git a/index.js b/index.js index a01ca3d..52e9a01 100644 --- a/index.js +++ b/index.js @@ -4,7 +4,7 @@ const EventEmitter = require('events').EventEmitter; const http = require('http'); const https = require('https'); const PassThrough = require('stream').PassThrough; -const duplexer2 = require('duplexer2'); +const duplexer2 = require('@floatdrop/duplexer2'); const urlLib = require('url'); const querystring = require('querystring'); const isStream = require('is-stream'); diff --git a/package.json b/package.json index 4a785ef..b267049 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ ], "dependencies": { "create-error-class": "^3.0.0", - "duplexer2": "floatdrop/duplexer2#f770b34", + "@floatdrop/duplexer2": "^0.1.4", "get-stream": "^1.1.0", "is-plain-obj": "^1.0.0", "is-redirect": "^1.0.0",