Skip to content

Commit

Permalink
xo --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapatadia committed Jan 14, 2019
1 parent ea25580 commit 4cb5173
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -29,11 +29,11 @@
"compliant"
],
"dependencies": {
"clone-response": "^1.0.2",
"get-stream": "^4.0.0",
"http-cache-semantics": "^4.0.0",
"keyv": "^3.0.0",
"lowercase-keys": "^1.0.1",
"mimic-response": "^1.0.1",
"normalize-url": "^4.1.0",
"responselike": "^1.0.2"
},
Expand Down
5 changes: 3 additions & 2 deletions src/index.js
Expand Up @@ -2,12 +2,13 @@

const EventEmitter = require('events');
const urlLib = require('url');
const { PassThrough } = require('stream');
const normalizeUrl = require('normalize-url');
const getStream = require('get-stream');
const CachePolicy = require('http-cache-semantics');
const Response = require('responselike');
const lowercaseKeys = require('lowercase-keys');
const PassThrough = require('stream').PassThrough;

const mimicResponse = require('mimic-response');
const Keyv = require('keyv');

Expand Down Expand Up @@ -259,7 +260,7 @@ function cloneResponse(response) {
mimicResponse(response, clone);

return response.pipe(clone);
};
}

CacheableRequest.RequestError = class extends Error {
constructor(err) {
Expand Down

0 comments on commit 4cb5173

Please sign in to comment.