Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tiny-lru

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tiny-lru - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

lib/tiny-lru.es5.js

2

lib/tiny-lru.js

@@ -7,3 +7,3 @@ /**

* @license BSD-3-Clause
* @version 6.0.0
* @version 6.0.1
*/

@@ -10,0 +10,0 @@ "use strict";

{
"name": "tiny-lru",
"description": "Tiny LRU cache for Client or Server",
"version": "6.0.0",
"version": "6.0.1",
"homepage": "https://github.com/avoidwork/tiny-lru",

@@ -28,2 +28,3 @@ "author": "Jason Mulligan <jason.mulligan@avoidwork.com>",

"babel-minify": "^0.5.0",
"babel-preset-env": "^1.7.0",
"grunt": "^1.0.3",

@@ -30,0 +31,0 @@ "grunt-cli": "^1.3.2",

@@ -21,2 +21,15 @@ # Tiny LRU

For usage with webpack, you can `import lru from 'tiny-lru/lib/tiny-lru.es5'` or create an [alias](https://webpack.js.org/configuration/resolve/#resolve-alias):
```javascript
resolve: {
alias: {
'tiny-lru': 'tiny-lru/lib/tiny-lru.es5.js'
}
}
// This should work now
import lru from 'tiny-lru';
```
## clear

@@ -23,0 +36,0 @@ ### Method

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc