Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: isaacs/node-lru-cache
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v7.7.0
Choose a base ref
...
head repository: isaacs/node-lru-cache
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v7.7.1
Choose a head ref
  • 3 commits
  • 4 files changed
  • 2 contributors

Commits on Mar 18, 2022

  1. fix the abort controller check

    PR-URL: #217
    Credit: @agalatan
    Close: #217
    Reviewed-by: @bytemain
    Alin Galatan authored and isaacs committed Mar 18, 2022

    Verified

    This commit was signed with the committer’s verified signature.
    targos Michaël Zasso
    Copy the full SHA
    7a7abe5 View commit details
  2. changelog 7.7.0

    isaacs committed Mar 18, 2022

    Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    MylesBorins Myles Borins
    Copy the full SHA
    b7eaa75 View commit details
  3. 7.7.1

    isaacs committed Mar 18, 2022

    Verified

    This commit was signed with the committer’s verified signature.
    BethGriggs Bethany Griggs
    Copy the full SHA
    b0e4020 View commit details
Showing with 8 additions and 4 deletions.
  1. +4 −0 CHANGELOG.md
  2. +1 −1 index.js
  3. +2 −2 package-lock.json
  4. +1 −1 package.json
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# cringe lorg

## 7.7.0

* fetch: provide options and abort signal

## 7.6.0

* add cache.getRemainingTTL(key)
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const perf = typeof performance === 'object' && performance &&
typeof performance.now === 'function' ? performance : Date

const hasAbortController = typeof AbortController !== undefined
const hasAbortController = typeof AbortController !== 'undefined'

/* istanbul ignore next - minimal backwards compatibility polyfill */
const AC = hasAbortController ? AbortController : Object.assign(
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "lru-cache",
"description": "A cache object that deletes the least-recently-used items.",
"version": "7.7.0",
"version": "7.7.1",
"author": "Isaac Z. Schlueter <i@izs.me>",
"keywords": [
"mru",