Comparing version 6.0.0 to 6.0.1
@@ -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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13318
5
294
198
10