+6
-0
@@ -422,2 +422,4 @@ declare namespace lmdb { | ||
| decoder?: any; | ||
| /** This is the current key encoder instance that is being used to de/serialize key */ | ||
| keyEncoder?: any; | ||
| } | ||
@@ -439,2 +441,6 @@ interface RootDatabaseOptionsWithPath extends RootDatabaseOptions { | ||
| end?: Key; | ||
| /** Include the end key in the range **/ | ||
| inclusiveEnd?: boolean; | ||
| /** Exclude the start key from the range **/ | ||
| exclusiveStart?: boolean; | ||
| /** Iterate through the entries in reverse order **/ | ||
@@ -441,0 +447,0 @@ reverse?: boolean; |
+6
-0
@@ -422,2 +422,4 @@ declare namespace lmdb { | ||
| decoder?: any; | ||
| /** This is the current key encoder instance that is being used to de/serialize key */ | ||
| keyEncoder?: any; | ||
| } | ||
@@ -439,2 +441,6 @@ interface RootDatabaseOptionsWithPath extends RootDatabaseOptions { | ||
| end?: Key; | ||
| /** Include the end key in the range **/ | ||
| inclusiveEnd?: boolean; | ||
| /** Exclude the start key from the range **/ | ||
| exclusiveStart?: boolean; | ||
| /** Iterate through the entries in reverse order **/ | ||
@@ -441,0 +447,0 @@ reverse?: boolean; |
+3
-3
@@ -1,5 +0,5 @@ | ||
| import { EventEmitter } from 'events'; | ||
| import { EventEmitter } from 'node:events'; | ||
| import { setExternals, setNativeFunctions, Dbi, version } from './native.js'; | ||
| import { arch, tmpdir, platform, endianness } from 'os'; | ||
| import fs from 'fs'; | ||
| import { arch, tmpdir, platform, endianness } from 'node:os'; | ||
| import fs from 'node:fs'; | ||
| import { Encoder as MsgpackrEncoder } from 'msgpackr'; | ||
@@ -6,0 +6,0 @@ import { WeakLRUCache } from 'weak-lru-cache'; |
+2
-2
@@ -1,3 +0,3 @@ | ||
| import { dirname, join, default as pathModule } from 'path'; | ||
| import { fileURLToPath } from 'url'; | ||
| import { dirname, join, default as pathModule } from 'node:path'; | ||
| import { fileURLToPath } from 'node:url'; | ||
| import loadNAPI from 'node-gyp-build-optional-packages'; | ||
@@ -4,0 +4,0 @@ export let Env, |
+1
-1
@@ -1,2 +0,2 @@ | ||
| import { createRequire } from 'module'; | ||
| import { createRequire } from 'node:module'; | ||
| import { setRequire } from './open.js'; | ||
@@ -3,0 +3,0 @@ import { nativeAddon, setNativeFunctions } from './native.js'; |
+10
-9
| { | ||
| "name": "lmdb", | ||
| "author": "Kris Zyp", | ||
| "version": "3.5.1", | ||
| "version": "3.5.2", | ||
| "description": "Simple, efficient, scalable, high-performance LMDB interface", | ||
@@ -75,3 +75,3 @@ "license": "MIT", | ||
| "test": "mocha test/**.test.js --expose-gc --recursive", | ||
| "deno-test": "deno run --allow-ffi --allow-write --allow-read --allow-env --allow-net --unstable test/deno.ts", | ||
| "deno-test": "deno run --allow-ffi --allow-write --allow-read --allow-env --allow-net --allow-import --allow-sys test/deno.ts", | ||
| "test2": "mocha test/performance.js -u tdd", | ||
@@ -91,2 +91,3 @@ "test:types": "tsd", | ||
| "devDependencies": { | ||
| "@midwayjs/deno-mocha": "^1.3.0", | ||
| "@types/node": "^16.7.10", | ||
@@ -117,10 +118,10 @@ "benchmark": "^2.1.4", | ||
| "optionalDependencies": { | ||
| "@lmdb/lmdb-darwin-arm64": "3.5.1", | ||
| "@lmdb/lmdb-darwin-x64": "3.5.1", | ||
| "@lmdb/lmdb-linux-arm": "3.5.1", | ||
| "@lmdb/lmdb-linux-arm64": "3.5.1", | ||
| "@lmdb/lmdb-linux-x64": "3.5.1", | ||
| "@lmdb/lmdb-win32-arm64": "3.5.1", | ||
| "@lmdb/lmdb-win32-x64": "3.5.1" | ||
| "@lmdb/lmdb-darwin-arm64": "3.5.2", | ||
| "@lmdb/lmdb-darwin-x64": "3.5.2", | ||
| "@lmdb/lmdb-linux-arm": "3.5.2", | ||
| "@lmdb/lmdb-linux-arm64": "3.5.2", | ||
| "@lmdb/lmdb-linux-x64": "3.5.2", | ||
| "@lmdb/lmdb-win32-arm64": "3.5.2", | ||
| "@lmdb/lmdb-win32-x64": "3.5.2" | ||
| } | ||
| } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
2541983
0.03%7515
0.08%678
10.97%13
8.33%