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

lmdb

Package Overview
Dependencies
Maintainers
3
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lmdb - npm Package Compare versions

Comparing version 2.5.2 to 2.5.3

0

native.js

@@ -0,0 +0,0 @@ import { dirname, join, default as pathModule } from 'path';

@@ -0,0 +0,0 @@ import { createRequire } from 'module';

4

open.js

@@ -65,2 +65,3 @@ import { Compression, getAddress, arch, fs, path as pathModule, lmdbError, EventEmitter, MsgpackrEncoder, Env, Dbi, tmpdir, os, nativeAddon } from './native.js';

0x20000, // Otherwise we start small with 128KB
safeRestore: process.env.LMDB_RESTORE == 'safe',
}, options);

@@ -104,3 +105,4 @@ if (options.asyncTransactionOrder == 'strict') {

(options.usePreviousSnapshot ? 0x2000000 : 0) |
(options.remapChunks ? 0x4000000 : 0);
(options.remapChunks ? 0x4000000 : 0) |
(options.safeRestore ? 0x8000000 : 0);

@@ -107,0 +109,0 @@ let env = new Env();

{
"name": "lmdb",
"author": "Kris Zyp",
"version": "2.5.2",
"version": "2.5.3",
"description": "Simple, efficient, scalable, high-performance LMDB interface",

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

"optionalDependencies": {
"@lmdb/lmdb-darwin-arm64": "2.5.2",
"@lmdb/lmdb-darwin-x64": "2.5.2",
"@lmdb/lmdb-linux-arm": "2.5.2",
"@lmdb/lmdb-linux-arm64": "2.5.2",
"@lmdb/lmdb-linux-x64": "2.5.2",
"@lmdb/lmdb-win32-x64": "2.5.2"
"@lmdb/lmdb-darwin-arm64": "2.5.3",
"@lmdb/lmdb-darwin-x64": "2.5.3",
"@lmdb/lmdb-linux-arm": "2.5.3",
"@lmdb/lmdb-linux-arm64": "2.5.3",
"@lmdb/lmdb-linux-x64": "2.5.3",
"@lmdb/lmdb-win32-x64": "2.5.3"
}
}

@@ -0,0 +0,0 @@ import { RangeIterable } from './util/RangeIterable.js';

@@ -446,2 +446,3 @@ [![license](https://img.shields.io/badge/license-MIT-brightgreen)](LICENSE)

* `noSubdir` - Treat `path` as a filename instead of directory (this is the default if the path appears to end with an extension and has '.' in it)
* `safeRestore` - When using `overlappingSync`, lmdb-js will use the latest committed transaction if the OS's boot id hasn't changed, but this will force lmdb-store to always use the latest safely _flushed_ transaction even if the boot id hasn't changed.
* `readOnly` - Self-descriptive.

@@ -448,0 +449,0 @@ * `mapAsync` - Not recommended, commits are already performed in a separate thread (asyncronous to JS), and this prevents accurate notification of when flushes finish.

@@ -0,0 +0,0 @@ const SKIP = {};

@@ -0,0 +0,0 @@ import { getAddress, write, compress } from './native.js';

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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