Socket
Socket
Sign inDemoInstall

idb

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

idb - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

.rpt2_cache/rpt2_00adf421a8db40c7dd06c7067039479fec55ea4e/code/cache/4423206f51722373d336d8e00df727217e0638af

2

package.json
{
"name": "idb",
"version": "3.0.0",
"version": "3.0.1",
"description": "IndexedDB but with promises",

@@ -5,0 +5,0 @@ "main": "lib/node.js",

@@ -23,2 +23,18 @@ # IndexedDB Promised

# Changes from 2.x
The library is now a module. To take advantage of this, importing has changed slightly:
```js
// Old 2.x way:
import idb from 'idb';
idb.open(…);
idb.delete(…);
// New way:
import { openDb, deleteDb } from 'idb';
openDb(…);
deleteDb(…);
```
# Examples

@@ -25,0 +41,0 @@

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