Skip to content

Commit

Permalink
chore(travis): update travis, bump lru-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
DonutEspresso committed Apr 12, 2019
1 parent 7003e54 commit ddd2862
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions .travis.yml
Expand Up @@ -2,8 +2,9 @@ language: node_js
script:
make prepush
node_js:
- "4" # Maintenance LTS release
- "lts/*" # Active LTS release
- "6" # Maintenance LTS release
- "8" # Maintenance LTS release
- "10" # Active LTS release
- "node" # Latest stable release
after_success:
- make report-coverage
Expand Down
4 changes: 2 additions & 2 deletions lib/helpers/bunyan.js
Expand Up @@ -7,7 +7,7 @@ var util = require('util');

var assert = require('assert-plus');
var bunyan = require('bunyan');
var lru = require('lru-cache');
var LRU = require('lru-cache');
var uuid = require('uuid');


Expand Down Expand Up @@ -83,7 +83,7 @@ function RequestCaptureStream(opts) {
this.level = opts.level ? bunyan.resolveLevel(opts.level) : bunyan.WARN;
this.limit = opts.maxRecords || 100;
this.maxRequestIds = opts.maxRequestIds || 1000;
this.requestMap = lru({
this.requestMap = new LRU({
max: self.maxRequestIds
});
this.dumpDefault = opts.dumpDefault;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -65,7 +65,7 @@
"fast-safe-stringify": "^2.0.6",
"keep-alive-agent": "0.0.1",
"lodash": "^4.17.11",
"lru-cache": "^4.0.1",
"lru-cache": "^5.1.1",
"mime": "^2.4.0",
"once": "^1.4.0",
"qs": "^6.6.0",
Expand Down

0 comments on commit ddd2862

Please sign in to comment.