From 6424d78e102abaa06ecffa019e0ccd55bb556ba7 Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Sat, 16 Nov 2024 23:24:48 -0800 Subject: [PATCH] Update dependencies. --- package-lock.json | 11 ++++++----- package.json | 5 +++-- 2 files changed, 9 insertions(+), 7 deletions(-) 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", -- 2.34.1