diff --git a/package.json b/package.json index a6665b3..972f103 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,6 @@ "dependencies": { "bytes": "3.0.0", "content-disposition": "0.5.2", - "fast-url-parser": "1.1.3", "mime-types": "2.1.18", "minimatch": "3.1.2", "path-is-inside": "1.0.2", diff --git a/src/index.js b/src/index.js index 05e3430..34c2501 100644 --- a/src/index.js +++ b/src/index.js @@ -5,7 +5,7 @@ const {createHash} = require('crypto'); const {realpath, lstat, createReadStream, readdir} = require('fs'); // Packages -const url = require('fast-url-parser'); +const url = require('url'); const slasher = require('./glob-slash'); const minimatch = require('minimatch'); const pathToRegExp = require('path-to-regexp');