diff options
author | Rebecca Turner <me@re-becca.org> | 2015-07-24 11:02:53 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2015-07-24 12:39:46 +0300 |
commit | e04993c2e4bddfa581b18c54e4b28e90fdf116cb (patch) | |
tree | b280452fec5104148f4bcf2cbba77373146e6600 /node_modules/lru-cache | |
parent | 2ed7da429fb16aad31a4fae95a035db015cc44a9 (diff) |
lru-cache@2.6.5
Diffstat (limited to 'node_modules/lru-cache')
-rw-r--r-- | node_modules/lru-cache/.travis.yml | 8 | ||||
-rw-r--r-- | node_modules/lru-cache/README.md | 2 | ||||
-rw-r--r-- | node_modules/lru-cache/package.json | 20 | ||||
-rw-r--r-- | node_modules/lru-cache/test/foreach.js | 1 | ||||
-rw-r--r-- | node_modules/lru-cache/test/memory-leak.js | 1 |
5 files changed, 20 insertions, 12 deletions
diff --git a/node_modules/lru-cache/.travis.yml b/node_modules/lru-cache/.travis.yml new file mode 100644 index 000000000..4af02b3d1 --- /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 82a6dabd5..a8bba688f 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 11acef932..97472d1fb 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 429ebc124..4190417cb 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 7af45b022..b5912f6f1 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('../') |