Comparing version 2.8.5 to 2.9.0-timestamp.1
@@ -28,2 +28,3 @@ import { EventEmitter } from 'events'; | ||
export let { noop } = nativeAddon; | ||
export const TIMESTAMP_PLACEHOLDER = new Uint8Array([0x00, 0xf1, 0x40, 0xa9, 0x79, 0xfd, 0x09, 0x32]); | ||
export { open, openAsClass, getLastVersion, allDbs, getLastTxnId } from './open.js'; | ||
@@ -30,0 +31,0 @@ import { toBufferKey as keyValueToBuffer, compareKeys as compareKey, fromBufferKey as bufferToKeyValue } from 'ordered-binary'; |
{ | ||
"name": "lmdb", | ||
"author": "Kris Zyp", | ||
"version": "2.8.5", | ||
"version": "2.9.0-timestamp.1", | ||
"description": "Simple, efficient, scalable, high-performance LMDB interface", | ||
@@ -71,3 +71,3 @@ "license": "MIT", | ||
"prebuildify": "prebuildify-platform-packages --napi --target 18.15.0", | ||
"full-publish": "cd prebuilds/win32-x64 && npm publish --access public && cd ../darwin-x64 && npm publish --access public && cd ../darwin-arm64 && npm publish --access public && cd ../linux-x64 && npm publish --access public && cd ../linux-arm64 && npm publish --access public && cd ../linux-arm && npm publish --access public && cd ../.. && npm publish", | ||
"full-publish": "cd prebuilds/win32-x64 && npm publish --tag dev --access public && cd ../darwin-x64 && npm publish --tag dev --access public && cd ../darwin-arm64 && npm publish --tag dev --access public && cd ../linux-x64 && npm publish --tag dev --access public && cd ../linux-arm64 && npm publish --tag dev --access public && cd ../linux-arm && npm publish --tag dev --access public && cd ../.. && npm publish --tag dev", | ||
"recompile": "node-gyp clean && node-gyp configure && node-gyp build", | ||
@@ -97,3 +97,2 @@ "test": "mocha test/**.test.js --expose-gc --recursive", | ||
"prebuildify-platform-packages": "5.0.4", | ||
"prettier": "^3.0.2", | ||
"rimraf": "^3.0.2", | ||
@@ -110,14 +109,10 @@ "rollup": "^2.61.1", | ||
}, | ||
"prettier": { | ||
"useTabs": true, | ||
"singleQuote": true | ||
}, | ||
"optionalDependencies": { | ||
"@lmdb/lmdb-darwin-arm64": "2.8.5", | ||
"@lmdb/lmdb-darwin-x64": "2.8.5", | ||
"@lmdb/lmdb-linux-arm": "2.8.5", | ||
"@lmdb/lmdb-linux-arm64": "2.8.5", | ||
"@lmdb/lmdb-linux-x64": "2.8.5", | ||
"@lmdb/lmdb-win32-x64": "2.8.5" | ||
"@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" | ||
} | ||
} |
@@ -600,2 +600,4 @@ import { getAddress, getBufferAddress, write, compress, lmdbError } from './native.js'; | ||
flags |= 0x20; | ||
if (versionOrOptions.assignTimestamp) | ||
flags |= 0x2000; | ||
if (versionOrOptions.append) | ||
@@ -602,0 +604,0 @@ flags |= 0x20000; |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2409603
11
6257
1