From fa625d3d74bf27baed592b76e14ee7b3c29712fd Mon Sep 17 00:00:00 2001 From: Benjamin Goering <171782+gobengo@users.noreply.github.com> Date: Tue, 19 Dec 2023 16:32:18 -0600 Subject: [PATCH] feat: use latest multiformats blake2 (#40) --- package-lock.json | 22 +++++++++++++--------- package.json | 2 +- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index afcb1d4..61ab4cb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,7 +22,7 @@ "@libp2p/mplex": "^7.1.1", "@libp2p/tcp": "^6.0.9", "@libp2p/websockets": "^5.0.3", - "@multiformats/blake2": "^1.0.13", + "@multiformats/blake2": "^2.0.1", "@multiformats/multiaddr": "^11.3.0", "archy": "^1.0.0", "conf": "^11.0.1", @@ -2088,18 +2088,22 @@ } }, "node_modules/@multiformats/blake2": { - "version": "1.0.13", - "resolved": "https://registry.npmjs.org/@multiformats/blake2/-/blake2-1.0.13.tgz", - "integrity": "sha512-T1Kzya0wjj85CaVeRSpJ858EnSvW1pw94GSitxYf84VsNdv5XYbJ6QG8y26Ft1bVALzrUCmqkQrR53QHSyu6RA==", + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/@multiformats/blake2/-/blake2-2.0.1.tgz", + "integrity": "sha512-z8CD9e0ONA2fcfE0ZvwAzlNX+FZvMSkfDyrw8AdYmPrQN0lH9mNHkdqJs0tuuI1SFZI1xtfsBzvgMiAhVP9q3w==", "dependencies": { - "blakejs": "^1.1.1", - "multiformats": "^9.5.4" + "blakejs": "^1.2.1", + "multiformats": "^12.1.0" } }, "node_modules/@multiformats/blake2/node_modules/multiformats": { - "version": "9.9.0", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.9.0.tgz", - "integrity": "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==" + "version": "12.1.3", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-12.1.3.tgz", + "integrity": "sha512-eajQ/ZH7qXZQR2AgtfpmSMizQzmyYVmCql7pdhldPuYQi4atACekbJaQplk6dWyIi10jCaFnd6pqvcEFXjbaJw==", + "engines": { + "node": ">=16.0.0", + "npm": ">=7.0.0" + } }, "node_modules/@multiformats/mafmt": { "version": "12.1.6", diff --git a/package.json b/package.json index f7cec3f..a80a5a0 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@libp2p/mplex": "^7.1.1", "@libp2p/tcp": "^6.0.9", "@libp2p/websockets": "^5.0.3", - "@multiformats/blake2": "^1.0.13", + "@multiformats/blake2": "^2.0.1", "@multiformats/multiaddr": "^11.3.0", "archy": "^1.0.0", "conf": "^11.0.1",