From: Chris Duncan Date: Sun, 17 Nov 2024 07:24:48 +0000 (-0800) Subject: Update dependencies. X-Git-Tag: v0.0.20~12 X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=6424d78e102abaa06ecffa019e0ccd55bb556ba7;p=libnemo.git Update dependencies. --- diff --git a/package-lock.json b/package-lock.json index 6f7bc96..2b136a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,10 +10,11 @@ "license": "(GPL-3.0-or-later AND MIT)", "dependencies": { "blake2b": "^2.1.4", + "blake2b-wasm": "^2.4.0", "blakejs": "^1.2.1" }, "devDependencies": { - "@types/blake2b": "^2.1.3", + "@types/blake2b-wasm": "^2.4.3", "@types/node": "^22.8.6", "@types/w3c-web-hid": "^1.0.6", "@types/w3c-web-usb": "^1.0.10", @@ -519,10 +520,10 @@ "license": "Apache-2.0", "optional": true }, - "node_modules/@types/blake2b": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/@types/blake2b/-/blake2b-2.1.3.tgz", - "integrity": "sha512-MFCdX0MNxFBP/xEILO5Td0kv6nI7+Q2iRWZbTL/yzH2/eDVZS5Wd1LHdsmXClvsCyzqaZfHFzZaN6BUeUCfSDA==", + "node_modules/@types/blake2b-wasm": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/@types/blake2b-wasm/-/blake2b-wasm-2.4.3.tgz", + "integrity": "sha512-emsOJOuF5shxg5zhN3CHOy4BO/a26O++yk0ncFW9fePquKSGs1g6PIps8u8zFmApJjIkMQr7neVUqvoic4BRFw==", "dev": true, "license": "MIT" }, diff --git a/package.json b/package.json index 8350511..51bc638 100644 --- a/package.json +++ b/package.json @@ -40,12 +40,13 @@ }, "scripts": { "build": "rm -rf dist && tsc && esbuild main.min=dist/main.js global.min=dist/global.js ckd=dist/lib/ckd.js --outdir=dist --target=es2022 --format=esm --platform=node --bundle --minify --sourcemap", - "test": "npm run build && node --test --env-file .env", + "test": "npm run build && node --test --test-force-exit --env-file .env", "test:coverage": "npm run test -- --experimental-test-coverage", "test:coverage:report": "npm run test:coverage -- --test-reporter=lcov --test-reporter-destination=coverage.info && genhtml coverage.info --output-directory test/coverage && rm coverage.info && xdg-open test/coverage/index.html" }, "dependencies": { "blake2b": "^2.1.4", + "blake2b-wasm": "^2.4.0", "blakejs": "^1.2.1" }, "optionalDependencies": { @@ -54,7 +55,7 @@ "@ledgerhq/hw-transport-webusb": "^6.29.4" }, "devDependencies": { - "@types/blake2b": "^2.1.3", + "@types/blake2b-wasm": "^2.4.3", "@types/node": "^22.8.6", "@types/w3c-web-hid": "^1.0.6", "@types/w3c-web-usb": "^1.0.10",