idb-keyval
Advanced tools
Comparing version 3.1.0 to 3.2.0
{ | ||
"name": "idb-keyval", | ||
"version": "3.1.0", | ||
"version": "3.2.0", | ||
"description": "A super-simple-small keyval store built on top of IndexedDB", | ||
@@ -9,5 +9,6 @@ "main": "./dist/idb-keyval-cjs.js", | ||
"scripts": { | ||
"build": "del dist && rollup -c && npm run compress-iife && npm run compress-iife && npm run create-compat && npm run compress-amd", | ||
"build": "del dist && rollup -c && npm run compress-iife && npm run create-compat && npm run create-cjs-compat && npm run compress-amd", | ||
"compress-iife": "uglifyjs --compress --mangle -o dist/idb-keyval-iife.min.js dist/idb-keyval-iife.js", | ||
"create-compat": "babel dist/idb-keyval-iife.js | uglifyjs --compress --mangle > dist/idb-keyval-iife-compat.min.js", | ||
"create-cjs-compat": "babel dist/idb-keyval-cjs.js | uglifyjs --compress --mangle > dist/idb-keyval-cjs-compat.min.js", | ||
"compress-amd": "uglifyjs --compress --mangle -o dist/idb-keyval-amd.min.js dist/idb-keyval-amd.js" | ||
@@ -14,0 +15,0 @@ }, |
@@ -98,2 +98,8 @@ # IDB-Keyval | ||
If you're targeting older versions of IE, you may have more luck with: | ||
```js | ||
const idb = require('idb-keyval/dist/idb-keyval-cjs-compat.min.js'); | ||
``` | ||
### Via `<script>` | ||
@@ -100,0 +106,0 @@ |
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
26009
17
395
143