Socket
Socket
Sign inDemoInstall

lru-cache

Package Overview
Dependencies
0
Maintainers
1
Versions
133
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.0.2 to 10.0.3

12

package.json
{
"name": "lru-cache",
"description": "A cache object that deletes the least-recently-used items.",
"version": "10.0.2",
"version": "10.0.3",
"author": "Isaac Z. Schlueter <i@izs.me>",

@@ -48,3 +48,6 @@ "keywords": [

},
"repository": "git://github.com/isaacs/node-lru-cache.git",
"repository": {
"type": "git",
"url": "git://github.com/isaacs/node-lru-cache.git"
},
"devDependencies": {

@@ -115,6 +118,3 @@ "@tapjs/clock": "^1.1.16",

},
"type": "module",
"dependencies": {
"semver": "^7.3.5"
}
"type": "module"
}

@@ -281,6 +281,6 @@ # lru-cache

ttl: 100,
fetchMethod: async (url, oldValue, { signal }) => {
fetchMethod: async (url, oldValue, { signal }) => {
const res = await fetch(url, { signal })
return await res.json()
}
},
})

@@ -287,0 +287,0 @@ cache.set('https://example.com/', { some: 'data' })

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc