Comparing version 2.1.0 to 2.1.1
@@ -11,3 +11,3 @@ import { createRequire } from 'module'; | ||
import { WeakLRUCache } from 'weak-lru-cache'; | ||
import * as orderedBinary from 'ordered-binary/index.js'; | ||
import * as orderedBinary from 'ordered-binary'; | ||
orderedBinary.enableNullTermination(); | ||
@@ -47,2 +47,2 @@ | ||
open, getLastVersion, compareKey, keyValueToBuffer, bufferToKeyValue, path, EventEmitter | ||
}; | ||
}; |
{ | ||
"name": "lmdb", | ||
"author": "Kris Zyp", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "Simple, efficient, scalable, high-performance LMDB interface", | ||
@@ -22,2 +22,3 @@ "license": "MIT", | ||
"type": "module", | ||
"main": "dist/index.cjs", | ||
"module": "index.js", | ||
@@ -56,3 +57,3 @@ "exports": { | ||
"before-publish": "rollup -c && prebuildify-ci download && prebuildify --target 17.2.0 && prebuildify --target 16.13.0 && prebuildify --target 15.5.0 && prebuildify --target 14.17.6 && prebuildify --target 12.22.7 && prebuildify --target electron@15.2.0", | ||
"prebuild-default": "prebuildify --target 17.2.0 && prebuildify --target 16.13.0 && prebuildify --target 15.5.0 && prebuildify --target 14.17.6 && prebuildify --target 12.22.7 && prebuildify --target electron@15.2.0", | ||
"prebuild-default": "prebuildify --target 17.3.0 && prebuildify --target 16.13.0 && prebuildify --target 15.5.0 && prebuildify --target 14.17.6 && prebuildify --target 12.22.7 && prebuildify --target electron@15.2.0", | ||
"prebuild-musl": "prebuildify --target 17.2.0 --libc musl --tag-libc && prebuildify --target 16.13.0 --libc musl --tag-libc && prebuildify --target 14.17.6 --libc musl --tag-libc && prebuildify --target 12.22.7 --libc musl --tag-libc", | ||
@@ -72,4 +73,4 @@ "prebuild-arm64": "prebuildify --arch=arm64 --target 17.2.0 --libc musl && prebuildify --arch=arm64 --target 16.13.0 && prebuildify --arch=arm64 --target 14.17.6 && prebuildify --arch=arm64 --target electron@15.2.0", | ||
"node-gyp-build": "^4.2.3", | ||
"ordered-binary": "^1.2.2", | ||
"weak-lru-cache": "^1.2.0" | ||
"ordered-binary": "^1.2.3", | ||
"weak-lru-cache": "^1.2.1" | ||
}, | ||
@@ -76,0 +77,0 @@ "devDependencies": { |
@@ -755,4 +755,4 @@ import { getAddress } from './external.js'; | ||
return commitPromise.then(onfulfilled, onrejected); | ||
if (lastPromise) // always resolve to true | ||
return lastPromise.then(() => onfulfilled(true), onrejected); | ||
if (lastWritePromise) // always resolve to true | ||
return lastWritePromise.then(() => onfulfilled(true), onrejected); | ||
return SYNC_PROMISE_SUCCESS.then(onfulfilled, onrejected); | ||
@@ -770,3 +770,3 @@ }, | ||
// wait for all txns to finish, checking again after the current txn is done | ||
let finalPromise = flushPromise || commitPromise || lastPromise; | ||
let finalPromise = flushPromise || commitPromise || lastWritePromise; | ||
if (finalPromise && resolvedPromise != finalPromise) { | ||
@@ -773,0 +773,0 @@ return finalPromise.then(() => this._waitForTxns(finalPromise), () => this._waitForTxns(finalPromise)); |
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
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
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
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
10
13429957
148
4879
Updatedordered-binary@^1.2.3
Updatedweak-lru-cache@^1.2.1