lmdb-store
Advanced tools
Comparing version 0.3.21 to 0.3.22
12
index.js
@@ -5,3 +5,2 @@ const fs = require('fs-extra') | ||
const { ArrayLikeIterable } = require('./util/ArrayLikeIterable') | ||
//import { Database } from './Database' | ||
const when = require('./util/when') | ||
@@ -14,8 +13,2 @@ const EventEmitter = require('events') | ||
const DEFAULT_COMMIT_DELAY = 20 | ||
const AS_BINARY = { | ||
keyIsBuffer: true | ||
} | ||
const AS_STRING = { | ||
asBuffer: false | ||
} | ||
const READING_TNX = { | ||
@@ -46,3 +39,2 @@ readOnly: true | ||
maxDbs: 12, | ||
//useWritemap: true, // this provides better performance | ||
}, options) | ||
@@ -151,3 +143,3 @@ | ||
result = copy(buffer) | ||
env.detachBuffer(buffer.buffer) // we might end up with something like this for node 14 | ||
//env.detachBuffer(buffer.buffer) // we might end up with something like this for node 14 | ||
} | ||
@@ -288,3 +280,3 @@ } finally { | ||
value = copy(buffer) | ||
env.detachBuffer(buffer.buffer) | ||
//env.detachBuffer(buffer.buffer) | ||
} else | ||
@@ -291,0 +283,0 @@ value = cursor.getCurrentBinary() |
{ | ||
"name": "lmdb-store", | ||
"author": "Kris Zyp", | ||
"version": "0.3.21", | ||
"version": "0.3.22", | ||
"description": "Simple, effiecent, scalable data store wrapper for LDMB", | ||
@@ -18,3 +18,3 @@ "license": "MIT", | ||
"fs-extra": "^9.0.0", | ||
"node-lmdb": "Venemo/node-lmdb#d75407dc83d4140b3d820d95da4288790b077bd5" | ||
"node-lmdb": "0.9.0" | ||
}, | ||
@@ -21,0 +21,0 @@ "devDependencies": { |
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
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
0
0
126196
1134
+ Addedansi-regex@2.1.1(transitive)
+ Addedaproba@1.2.0(transitive)
+ Addedare-we-there-yet@1.1.7(transitive)
+ Addedbase64-js@1.5.1(transitive)
+ Addedbindings@1.5.0(transitive)
+ Addedbl@4.1.0(transitive)
+ Addedbuffer@5.7.1(transitive)
+ Addedchownr@1.1.4(transitive)
+ Addedcode-point-at@1.1.0(transitive)
+ Addedconsole-control-strings@1.1.0(transitive)
+ Addedcore-util-is@1.0.3(transitive)
+ Addeddecompress-response@4.2.1(transitive)
+ Addeddeep-extend@0.6.0(transitive)
+ Addeddelegates@1.0.0(transitive)
+ Addeddetect-libc@1.0.3(transitive)
+ Addedend-of-stream@1.4.4(transitive)
+ Addedexpand-template@2.0.3(transitive)
+ Addedfile-uri-to-path@1.0.0(transitive)
+ Addedfs-constants@1.0.0(transitive)
+ Addedgauge@2.7.4(transitive)
+ Addedgithub-from-package@0.0.0(transitive)
+ Addedhas-unicode@2.0.1(transitive)
+ Addedieee754@1.2.1(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedini@1.3.8(transitive)
+ Addedis-fullwidth-code-point@1.0.0(transitive)
+ Addedisarray@1.0.0(transitive)
+ Addedmimic-response@2.1.0(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp-classic@0.5.3(transitive)
+ Addednan@2.22.0(transitive)
+ Addednapi-build-utils@1.0.2(transitive)
+ Addednode-abi@2.30.1(transitive)
+ Addednode-lmdb@0.9.0(transitive)
+ Addednoop-logger@0.1.1(transitive)
+ Addednpmlog@4.1.2(transitive)
+ Addednumber-is-nan@1.0.1(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedprebuild-install@5.3.6(transitive)
+ Addedprocess-nextick-args@2.0.1(transitive)
+ Addedpump@3.0.2(transitive)
+ Addedrc@1.2.8(transitive)
+ Addedreadable-stream@2.3.83.6.2(transitive)
+ Addedsafe-buffer@5.1.2(transitive)
+ Addedsemver@5.7.2(transitive)
+ Addedset-blocking@2.0.0(transitive)
+ Addedsignal-exit@3.0.7(transitive)
+ Addedsimple-concat@1.0.1(transitive)
+ Addedsimple-get@3.1.1(transitive)
+ Addedstring-width@1.0.2(transitive)
+ Addedstring_decoder@1.1.1(transitive)
+ Addedstrip-ansi@3.0.1(transitive)
+ Addedstrip-json-comments@2.0.1(transitive)
+ Addedtar-fs@2.1.1(transitive)
+ Addedtar-stream@2.2.0(transitive)
+ Addedtunnel-agent@0.6.0(transitive)
+ Addedutil-deprecate@1.0.2(transitive)
+ Addedwhich-pm-runs@1.1.0(transitive)
+ Addedwide-align@1.1.5(transitive)
+ Addedwrappy@1.0.2(transitive)
Updatednode-lmdb@0.9.0