From 90c92f8a283470de597d9179154743210cb50e7e Mon Sep 17 00:00:00 2001 From: Nick Beckenham Date: Thu, 2 Aug 2018 17:29:58 +0100 Subject: [PATCH] update packages to fix npm audit issues --- lib/index.js | 2 +- package.json | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/index.js b/lib/index.js index 11e312b..b1a7f51 100644 --- a/lib/index.js +++ b/lib/index.js @@ -31,7 +31,7 @@ function DiskCache(rootPath, options) { }); // Bind methods - _.bindAll(this); + _.bindAll(this, _.keys(DiskCache.prototype)); // Pending writes this.pending = {}; diff --git a/package.json b/package.json index 1062e28..555a679 100644 --- a/package.json +++ b/package.json @@ -10,16 +10,16 @@ }, "dependencies": { "q": "^1.4.1", - "lodash": "^3.10.1", - "lru-cache": "^4.0.0", + "lodash": "^4.17.10", + "lru-cache": "^4.1.3", "fs-extra": "^0.26.5", "tmp": "^0.0.28", "crc": "^3.4.0", "fswrite-stream": "^1.0.0" }, "devDependencies": { - "mocha": "2.4.5", - "should": "8.2.2" + "mocha": "^5.2.0", + "should": "^11.1.0" }, "scripts": { "test": "node_modules/.bin/mocha --reporter spec --timeout 15000"