Socket
Socket
Sign inDemoInstall

lmdb

Package Overview
Dependencies
19
Maintainers
3
Versions
168
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.9.0-beta.1 to 2.9.0-beta.2

14

package.json
{
"name": "lmdb",
"author": "Kris Zyp",
"version": "2.9.0-beta.1",
"version": "2.9.0-beta.2",
"description": "Simple, efficient, scalable, high-performance LMDB interface",

@@ -113,9 +113,9 @@ "license": "MIT",

"optionalDependencies": {
"@lmdb/lmdb-darwin-arm64": "2.9.0-beta.1",
"@lmdb/lmdb-darwin-x64": "2.9.0-beta.1",
"@lmdb/lmdb-linux-arm": "2.9.0-beta.1",
"@lmdb/lmdb-linux-arm64": "2.9.0-beta.1",
"@lmdb/lmdb-linux-x64": "2.9.0-beta.1",
"@lmdb/lmdb-win32-x64": "2.9.0-beta.1"
"@lmdb/lmdb-darwin-arm64": "2.9.0-beta.2",
"@lmdb/lmdb-darwin-x64": "2.9.0-beta.2",
"@lmdb/lmdb-linux-arm": "2.9.0-beta.2",
"@lmdb/lmdb-linux-arm64": "2.9.0-beta.2",
"@lmdb/lmdb-linux-x64": "2.9.0-beta.2",
"@lmdb/lmdb-win32-x64": "2.9.0-beta.2"
}
}

@@ -33,3 +33,3 @@ export const SKIP = {};

if (iteratorResult.then) {
if (!async) throw new Error('Can synchronously iterate with asynchronous values');
if (!async) throw new Error('Can not synchronously iterate with asynchronous values');
return iteratorResult.then(iteratorResult => this.next(iteratorResult));

@@ -45,3 +45,5 @@ }

if (result && result.then) {
if (!async) throw new Error('Can synchronously iterate with asynchronous values');
if (!async) {
throw new Error('Can not synchronously iterate with asynchronous values');
}
return result.then(result =>

@@ -100,3 +102,3 @@ result === SKIP ?

concatIterable.iterate = (async) => {
let iterator = this.iterator = this.iterate();
let iterator = this.iterator = this.iterate(async);
let isFirst = true;

@@ -106,7 +108,7 @@ function iteratorDone(result) {

isFirst = false;
iterator = secondIterable[Symbol.iterator](async);
iterator = secondIterable[async ? Symbol.asyncIterator : Symbol.iterator]();
result = iterator.next();
if (concatIterable.onDone) {
if (result.then) {
if (!async) throw new Error('Can synchronously iterate with asynchronous values');
if (!async) throw new Error('Can not synchronously iterate with asynchronous values');
result.then((result) => {

@@ -221,3 +223,3 @@ if (result.done()) concatIterable.onDone();

let promise = new Promise((resolve, reject) => {
let iterator = this.iterate();
let iterator = this.iterate(true);
let array = [];

@@ -224,0 +226,0 @@ let iterable = this;

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc