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 6.1.1 to 6.1.2

9

build/cjs/entry.d.ts

@@ -49,6 +49,9 @@ export interface OpenDBCallbacks<DBTypes extends DBSchema | unknown> {

export { unwrap, wrap } from './wrap-idb-value';
declare type RemoveIndex<T> = {
[P in keyof T as string extends P ? never : number extends P ? never : P]: T[P];
declare type KeyToKeyNoIndex<T> = {
[K in keyof T]: string extends K ? never : number extends K ? never : K;
};
declare type KnownKeys<T> = keyof RemoveIndex<T>;
declare type ValuesOf<T> = T extends {
[K in keyof T]: infer U;
} ? U : never;
declare type KnownKeys<T> = ValuesOf<KeyToKeyNoIndex<T>>;
declare type Omit<T, K> = Pick<T, Exclude<keyof T, K>>;

@@ -55,0 +58,0 @@ export interface DBSchema {

@@ -49,6 +49,9 @@ export interface OpenDBCallbacks<DBTypes extends DBSchema | unknown> {

export { unwrap, wrap } from './wrap-idb-value';
declare type RemoveIndex<T> = {
[P in keyof T as string extends P ? never : number extends P ? never : P]: T[P];
declare type KeyToKeyNoIndex<T> = {
[K in keyof T]: string extends K ? never : number extends K ? never : K;
};
declare type KnownKeys<T> = keyof RemoveIndex<T>;
declare type ValuesOf<T> = T extends {
[K in keyof T]: infer U;
} ? U : never;
declare type KnownKeys<T> = ValuesOf<KeyToKeyNoIndex<T>>;
declare type Omit<T, K> = Pick<T, Exclude<keyof T, K>>;

@@ -55,0 +58,0 @@ export interface DBSchema {

{
"name": "idb",
"version": "6.1.1",
"version": "6.1.2",
"description": "A small wrapper that makes IndexedDB usable",

@@ -5,0 +5,0 @@ "main": "build/cjs/index.js",

@@ -210,4 +210,2 @@ # IndexedDB with usability.

These methods depend on the same methods on `IDBObjectStore`, therefore `getKey`, `getAll`, and `getAllKeys` are missing in Edge.
### Shortcuts to get from an index

@@ -222,3 +220,3 @@

Each method takes `storeName` and `indexName` arguments, followed by the rest of the arguments from the equivalent `IDBIndex` method. Again, these methods depend on the equivalent methods on `IDBIndex`, so Edge does not support `getKeyFromIndex`, `getAllFromIndex`, or `getAllKeysFromIndex`.
Each method takes `storeName` and `indexName` arguments, followed by the rest of the arguments from the equivalent `IDBIndex` method.

@@ -225,0 +223,0 @@ ## `IDBTransaction` enhancements

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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