diff --git a/node_modules/lru-cache/.travis.yml b/node_modules/lru-cache/.travis.yml new file mode 100644 index 0000000000000..4af02b3d17e64 --- /dev/null +++ b/node_modules/lru-cache/.travis.yml @@ -0,0 +1,8 @@ +language: node_js +node_js: + - '0.8' + - '0.10' + - '0.12' + - 'iojs' +before_install: + - npm install -g npm@latest diff --git a/node_modules/lru-cache/README.md b/node_modules/lru-cache/README.md index 82a6dabd5313c..a8bba688f7202 100644 --- a/node_modules/lru-cache/README.md +++ b/node_modules/lru-cache/README.md @@ -54,7 +54,7 @@ away. ## API -* `set(key, value, max)` +* `set(key, value, maxAge)` * `get(key) => value` Both of these will update the "recently used"-ness of the key. diff --git a/node_modules/lru-cache/package.json b/node_modules/lru-cache/package.json index 11acef932efc6..97472d1fb19cc 100644 --- a/node_modules/lru-cache/package.json +++ b/node_modules/lru-cache/package.json @@ -6,15 +6,15 @@ ] ], "_from": "lru-cache@>=2.0.0 <3.0.0", - "_id": "lru-cache@2.6.4", + "_id": "lru-cache@2.6.5", "_inCache": true, "_location": "/lru-cache", - "_nodeVersion": "2.0.1", + "_nodeVersion": "2.2.1", "_npmUser": { "email": "isaacs@npmjs.com", "name": "isaacs" }, - "_npmVersion": "2.10.0", + "_npmVersion": "3.0.0", "_phantomChildren": {}, "_requested": { "name": "lru-cache", @@ -27,8 +27,8 @@ "_requiredBy": [ "/node-gyp/minimatch" ], - "_resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.6.4.tgz", - "_shasum": "2675190ccd1b0701ec2f652a4d0d3d400d76c0dd", + "_resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.6.5.tgz", + "_shasum": "e56d6354148ede8d7707b58d143220fd08df0fd5", "_shrinkwrap": null, "_spec": "lru-cache@2", "_where": "/Users/rebecca/code/npm/node_modules/node-gyp/node_modules/minimatch", @@ -42,15 +42,15 @@ "dependencies": {}, "description": "A cache object that deletes the least-recently-used items.", "devDependencies": { - "tap": "^0.7.1", + "tap": "^1.2.0", "weak": "" }, "directories": {}, "dist": { - "shasum": "2675190ccd1b0701ec2f652a4d0d3d400d76c0dd", - "tarball": "http://registry.npmjs.org/lru-cache/-/lru-cache-2.6.4.tgz" + "shasum": "e56d6354148ede8d7707b58d143220fd08df0fd5", + "tarball": "http://registry.npmjs.org/lru-cache/-/lru-cache-2.6.5.tgz" }, - "gitHead": "aea58fc0a12714c6e1422963e7ebea66460ec39e", + "gitHead": "7062a0c891bfb80a294be9217e4de0f882e75776", "homepage": "https://github.com/isaacs/node-lru-cache#readme", "keywords": [ "cache", @@ -78,5 +78,5 @@ "scripts": { "test": "tap test --gc" }, - "version": "2.6.4" + "version": "2.6.5" } diff --git a/node_modules/lru-cache/test/foreach.js b/node_modules/lru-cache/test/foreach.js index 429ebc12426b7..4190417cbc61d 100644 --- a/node_modules/lru-cache/test/foreach.js +++ b/node_modules/lru-cache/test/foreach.js @@ -108,7 +108,6 @@ test('expires', function (t) { t.equal(val, j.toString(2)) }) t.equal(i, order.length); - t.end() setTimeout(function () { var count = 0; diff --git a/node_modules/lru-cache/test/memory-leak.js b/node_modules/lru-cache/test/memory-leak.js index 7af45b0221c1f..b5912f6f168e5 100644 --- a/node_modules/lru-cache/test/memory-leak.js +++ b/node_modules/lru-cache/test/memory-leak.js @@ -1,5 +1,6 @@ #!/usr/bin/env node --expose_gc + var weak = require('weak'); var test = require('tap').test var LRU = require('../')