Comparing version 2.3.1 to 2.3.2
@@ -1,2 +0,1 @@ | ||
import { env } from 'process'; | ||
import { WeakLRUCache, clearKeptObjects } from './external.js'; | ||
@@ -3,0 +2,0 @@ import { FAILED_CONDITION, ABORT } from './write.js'; |
@@ -24,2 +24,7 @@ import { dirname, default as pathModule } from 'path'; | ||
v8AccelerationEnabled = true; | ||
} else if (majorVersion == 14) { | ||
// node v14 only has ABI compatibility with node v16 for zero-arg clearKeptObjects | ||
let v8Funcs = {}; | ||
nativeAddon.enableDirectV8(v8Funcs, false); | ||
nativeAddon.clearKeptObjects = v8Funcs.clearKeptObjects; | ||
} | ||
@@ -26,0 +31,0 @@ setNativeFunctions(nativeAddon); |
{ | ||
"name": "lmdb", | ||
"author": "Kris Zyp", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"description": "Simple, efficient, scalable, high-performance LMDB interface", | ||
@@ -55,4 +55,5 @@ "license": "MIT", | ||
"prepare": "rollup -c", | ||
"before-publish": "rollup -c && prebuildify-ci download && prebuildify --target 16.14.0 && set ENABLE_V8_FUNCTIONS=false&& prebuildify --napi --optional-packages --target 16.14.0 && node util/set-optional-deps.cjs", | ||
"prebuild-libc": "prebuildify --napi --optional-packages --tag-libc --target 16.14.0", | ||
"before-publish": "rollup -c && prebuildify-ci download && prebuildify --target 16.14.0 && prebuildify --target 14.19.1 && prebuildify --target 17.9.0 && set ENABLE_V8_FUNCTIONS=false&& prebuildify --napi --optional-packages --target 16.14.0 && node util/set-optional-deps.cjs", | ||
"prebuild-libc-expanded": "prebuildify --tag-libc --target 16.14.0 && prebuildify --tag-libc --target 14.19.1 && prebuildify --tag-libc --target 17.9.0 && ENABLE_V8_FUNCTIONS=false prebuildify --tag-libc --napi --optional-packages --target 16.14.0", | ||
"prebuild-libc": "prebuildify --tag-libc --target 17.9.0 && prebuildify --napi --optional-packages --tag-libc --target 16.14.2", | ||
"prebuildify": "prebuildify --target 16.14.2", | ||
@@ -96,9 +97,9 @@ "publish-all": "cd prebuilds/win32-x64 && npm publish --otp %OTP% && cd ../darwin-x64 && npm publish --otp %OTP% && cd ../darwin-arm64 && npm publish --otp %OTP% && cd ../linux-x64 && npm publish --otp %OTP% && cd ../linux-arm64 && npm publish --otp %OTP% && cd ../linux-arm && npm publish --otp %OTP% && cd ../.. && npm publish --otp %OTP%", | ||
"optionalDependencies": { | ||
"lmdb-darwin-arm64": "2.3.0", | ||
"lmdb-darwin-x64": "2.3.0", | ||
"lmdb-linux-arm": "2.3.0", | ||
"lmdb-linux-arm64": "2.3.0", | ||
"lmdb-linux-x64": "2.3.0", | ||
"lmdb-win32-x64": "2.3.0" | ||
"lmdb-darwin-arm64": "2.3.2", | ||
"lmdb-darwin-x64": "2.3.2", | ||
"lmdb-linux-arm": "2.3.2", | ||
"lmdb-linux-arm64": "2.3.2", | ||
"lmdb-linux-x64": "2.3.2", | ||
"lmdb-win32-x64": "2.3.2" | ||
} | ||
} | ||
} |
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
2302944
5330