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

lmdb-store

Package Overview
Dependencies
Maintainers
1
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lmdb-store - npm Package Compare versions

Comparing version 0.3.21 to 0.3.22

12

index.js

@@ -5,3 +5,2 @@ const fs = require('fs-extra')

const { ArrayLikeIterable } = require('./util/ArrayLikeIterable')
//import { Database } from './Database'
const when = require('./util/when')

@@ -14,8 +13,2 @@ const EventEmitter = require('events')

const DEFAULT_COMMIT_DELAY = 20
const AS_BINARY = {
keyIsBuffer: true
}
const AS_STRING = {
asBuffer: false
}
const READING_TNX = {

@@ -46,3 +39,2 @@ readOnly: true

maxDbs: 12,
//useWritemap: true, // this provides better performance
}, options)

@@ -151,3 +143,3 @@

result = copy(buffer)
env.detachBuffer(buffer.buffer) // we might end up with something like this for node 14
//env.detachBuffer(buffer.buffer) // we might end up with something like this for node 14
}

@@ -288,3 +280,3 @@ } finally {

value = copy(buffer)
env.detachBuffer(buffer.buffer)
//env.detachBuffer(buffer.buffer)
} else

@@ -291,0 +283,0 @@ value = cursor.getCurrentBinary()

4

package.json
{
"name": "lmdb-store",
"author": "Kris Zyp",
"version": "0.3.21",
"version": "0.3.22",
"description": "Simple, effiecent, scalable data store wrapper for LDMB",

@@ -18,3 +18,3 @@ "license": "MIT",

"fs-extra": "^9.0.0",
"node-lmdb": "Venemo/node-lmdb#d75407dc83d4140b3d820d95da4288790b077bd5"
"node-lmdb": "0.9.0"
},

@@ -21,0 +21,0 @@ "devDependencies": {

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