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

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 1.1.1 to 1.1.2

2

package.json
{
"name": "idb",
"version": "1.1.1",
"version": "1.1.2",
"description": "IndexedDB but with promises",

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

@@ -12,3 +12,3 @@ # IndexedDB Promised

```js
const dbPromsie = idb.open('my-db', 1, upgradeDB => {
const dbPromise = idb.open('my-db', 1, upgradeDB => {
upgradeDB.createObjectStore('key-val');

@@ -115,3 +115,3 @@ });

let tx = db.transaction('store', 'readwrite');
let store = db.objectStore('store');
let store = tx.objectStore('store');
store.get('hello').then(val => store.put(val, 'foo'));

@@ -118,0 +118,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