Socket
Socket
Sign inDemoInstall

fake-indexeddb

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fake-indexeddb - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

5

build/lib/RecordStore.js

@@ -27,3 +27,5 @@ "use strict";

i = this.records.findIndex(function (record) {
return cmp_1.default(record.key, newRecord.key) === 1;
// cmp will only return 0 for an index. For an object store, any matching key has already been deleted,
// but we still need to look for cmp = 1 to find where to insert.
return cmp_1.default(record.key, newRecord.key) >= 0;
});

@@ -137,2 +139,3 @@ if (i === -1) {

// https://github.com/Microsoft/TypeScript/issues/2983
// tslint:disable-next-line no-object-literal-type-assertion
return {

@@ -139,0 +142,0 @@ value: value,

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 2.0.3 (2017-05-09)
* Fixed issue #20 related to iterating over cursors with non-unique keys
# 2.0.2 (2017-05-01)

@@ -2,0 +6,0 @@

{
"name": "fake-indexeddb",
"version": "2.0.2",
"version": "2.0.3",
"description": "Fake IndexedDB: a pure JS in-memory implementation of the IndexedDB API",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/dumbmatter/fakeIndexedDB",

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