Comparing version 2.1.4 to 2.1.5
@@ -38,7 +38,7 @@ import { createRequire } from 'module'; | ||
}); | ||
export { toBufferKey as keyValueToBuffer, compareKeys, compareKeys as compareKey, fromBufferKey as bufferToKeyValue } from 'ordered-binary/index.js'; | ||
export { toBufferKey as keyValueToBuffer, compareKeys, compareKeys as compareKey, fromBufferKey as bufferToKeyValue } from 'ordered-binary'; | ||
export { ABORT, IF_EXISTS, asBinary } from './write.js'; | ||
export { levelup } from './level.js'; | ||
export { open, getLastVersion, getLastEntrySize, setLastVersion, allDbs } from './open.js'; | ||
import { toBufferKey as keyValueToBuffer, compareKeys as compareKey, fromBufferKey as bufferToKeyValue } from 'ordered-binary/index.js'; | ||
import { toBufferKey as keyValueToBuffer, compareKeys as compareKey, fromBufferKey as bufferToKeyValue } from 'ordered-binary'; | ||
import { open, getLastVersion } from './open.js'; | ||
@@ -45,0 +45,0 @@ export default { |
@@ -333,3 +333,3 @@ import { Compression, getAddress, require, arch, fs, path as pathModule, lmdbError, EventEmitter, MsgpackrEncoder, Env } from './external.js'; | ||
setLastVersion(lastVersion); | ||
return buffer ? this.decoder.decode(buffer) : []; | ||
return buffer && this.decoder.decode(buffer); | ||
}; | ||
@@ -336,0 +336,0 @@ return { |
{ | ||
"name": "lmdb", | ||
"author": "Kris Zyp", | ||
"version": "2.1.4", | ||
"version": "2.1.5", | ||
"description": "Simple, efficient, scalable, high-performance LMDB interface", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
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
18549102
8674