Skip to content

Commit

Permalink
deps: bump lru-cache from 6.0.0 to 7.3.1 (#45)
Browse files Browse the repository at this point in the history
* deps: bump lru-cache from 6.0.0 to 7.3.1

Bumps [lru-cache](https://github.com/isaacs/node-lru-cache) from 6.0.0 to 7.3.1.
- [Release notes](https://github.com/isaacs/node-lru-cache/releases)
- [Changelog](https://github.com/isaacs/node-lru-cache/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-lru-cache@v6.0.0...v7.3.1)

---
updated-dependencies:
- dependency-name: lru-cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: update to non-deprecated lru apis

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Luke Karrys <luke@lukekarrys.com>
  • Loading branch information
dependabot[bot] and lukekarrys committed Feb 16, 2022
1 parent 294da31 commit ca9ccde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/revs.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const LRU = require('lru-cache')

const revsCache = new LRU({
max: 100,
maxAge: 5 * 60 * 1000,
ttl: 5 * 60 * 1000,
})

const linesToRevs = require('./lines-to-revs.js')
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
},
"dependencies": {
"@npmcli/promise-spawn": "^1.3.2",
"lru-cache": "^6.0.0",
"lru-cache": "^7.3.1",
"mkdirp": "^1.0.4",
"npm-pick-manifest": "^7.0.0",
"promise-inflight": "^1.0.1",
Expand Down

0 comments on commit ca9ccde

Please sign in to comment.