SHA256
1
0
forked from pool/bitwarden
Bruno Pitrus 2023-02-20 11:00:50 +00:00 committed by Git OBS Bridge
parent 6ca83b2671
commit 3f2101f6cf

View File

@ -9,7 +9,7 @@ Remove dependency on node-pre-gyp which brings a lot of garbage
-const binary = require("@mapbox/node-pre-gyp");
-const bindingPath = binary.find(path.resolve(__dirname, "./package.json"));
+const bindingPath = "lib/binding/napi-v3/argon2.node"
+const bindingPath = "./lib/binding/napi-v3/argon2.node"
const { hash: _hash } = require(bindingPath);
const { deserialize, serialize } = require("@phc/format");