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-timestamp.1 to 2.9.0-timestamp.2

4

index.js

@@ -28,3 +28,4 @@ import { EventEmitter } from 'events';

export let { noop } = nativeAddon;
export const TIMESTAMP_PLACEHOLDER = new Uint8Array([0x00, 0xf1, 0x40, 0xa9, 0x79, 0xfd, 0x09, 0x32]);
export const TIMESTAMP_PLACEHOLDER = new Uint8Array([1,1,1,1,0,0,0,0]);
export const DIRECT_WRITE_PLACEHOLDER = new Uint8Array([1,1,1,2,0,0,0,0]);
export { open, openAsClass, getLastVersion, allDbs, getLastTxnId } from './open.js';

@@ -36,2 +37,3 @@ import { toBufferKey as keyValueToBuffer, compareKeys as compareKey, fromBufferKey as bufferToKeyValue } from 'ordered-binary';

SYNCHRONOUS_COMMIT: 2,
NO_SYNC_FLUSH: 0x10000,

@@ -38,0 +40,0 @@ };

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

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

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

@@ -600,3 +600,3 @@ import { getAddress, getBufferAddress, write, compress, lmdbError } from './native.js';

flags |= 0x20;
if (versionOrOptions.assignTimestamp)
if (versionOrOptions.instructedWrite)
flags |= 0x2000;

@@ -603,0 +603,0 @@ if (versionOrOptions.append)

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc