Comparing version 2.7.9 to 2.7.10
@@ -7,7 +7,10 @@ #!/usr/bin/env node | ||
exec('download-msgpackr-prebuilds', (error, stdout, stderr) => { | ||
exec('download-msgpackr-prebuilds', propagateOutput); | ||
process.chdir(fileURLToPath(dirname(dirname(import.meta.url)))); | ||
exec('prebuildify-ci download', propagateOutput); | ||
function propagateOutput(error, stdout, stderr) { | ||
console.error(stderr); | ||
console.log(stdout); | ||
}); | ||
process.chdir(fileURLToPath(dirname(dirname(import.meta.url)))); | ||
exec('prebuildify-ci download'); | ||
if (error?.code) | ||
process.exit(error.code); | ||
} |
{ | ||
"name": "lmdb", | ||
"author": "Kris Zyp", | ||
"version": "2.7.9", | ||
"version": "2.7.10", | ||
"description": "Simple, efficient, scalable, high-performance LMDB interface", | ||
@@ -81,3 +81,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"msgpackr": "1.8.3", | ||
"msgpackr": "1.8.5", | ||
"node-addon-api": "^4.3.0", | ||
@@ -109,9 +109,9 @@ "node-gyp-build-optional-packages": "5.0.6", | ||
"optionalDependencies": { | ||
"@lmdb/lmdb-darwin-arm64": "2.7.9", | ||
"@lmdb/lmdb-darwin-x64": "2.7.9", | ||
"@lmdb/lmdb-linux-arm": "2.7.9", | ||
"@lmdb/lmdb-linux-arm64": "2.7.9", | ||
"@lmdb/lmdb-linux-x64": "2.7.9", | ||
"@lmdb/lmdb-win32-x64": "2.7.9" | ||
"@lmdb/lmdb-darwin-arm64": "2.7.10", | ||
"@lmdb/lmdb-darwin-x64": "2.7.10", | ||
"@lmdb/lmdb-linux-arm": "2.7.10", | ||
"@lmdb/lmdb-linux-arm64": "2.7.10", | ||
"@lmdb/lmdb-linux-x64": "2.7.10", | ||
"@lmdb/lmdb-win32-x64": "2.7.10" | ||
} | ||
} |
12
write.js
@@ -122,3 +122,7 @@ import { getAddress, getBufferAddress, write, compress, lmdbError } from './native.js'; | ||
for (let i = 0, l = beforeCommitCallbacks.length; i < l; i++) { | ||
beforeCommitCallbacks[i](); | ||
try { | ||
beforeCommitCallbacks[i](); | ||
} catch(error) { | ||
console.error('In beforecommit callback', error); | ||
} | ||
} | ||
@@ -501,3 +505,7 @@ } catch(error) { | ||
for (let i = 0, l = afterCommitCallbacks.length; i < l; i++) { | ||
afterCommitCallbacks[i]({ next: uncommittedResolution, last: unwrittenResolution, txnId }); | ||
try { | ||
afterCommitCallbacks[i]({next: uncommittedResolution, last: unwrittenResolution, txnId}); | ||
} catch(error) { | ||
console.error('In aftercommit callback', error); | ||
} | ||
} | ||
@@ -504,0 +512,0 @@ } |
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
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
2338612
6071
+ Added@lmdb/lmdb-darwin-arm64@2.7.10(transitive)
+ Added@lmdb/lmdb-darwin-x64@2.7.10(transitive)
+ Added@lmdb/lmdb-linux-arm@2.7.10(transitive)
+ Added@lmdb/lmdb-linux-arm64@2.7.10(transitive)
+ Added@lmdb/lmdb-linux-x64@2.7.10(transitive)
+ Added@lmdb/lmdb-win32-x64@2.7.10(transitive)
+ Addedmsgpackr@1.8.5(transitive)
- Removed@lmdb/lmdb-darwin-arm64@2.7.9(transitive)
- Removed@lmdb/lmdb-darwin-x64@2.7.9(transitive)
- Removed@lmdb/lmdb-linux-arm@2.7.9(transitive)
- Removed@lmdb/lmdb-linux-arm64@2.7.9(transitive)
- Removed@lmdb/lmdb-linux-x64@2.7.9(transitive)
- Removed@lmdb/lmdb-win32-x64@2.7.9(transitive)
- Removedmsgpackr@1.8.3(transitive)
Updatedmsgpackr@1.8.5