From f2112e664613fbe0d24891a6b63df7ac58166922 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 15 Jan 2025 16:31:11 +0100 Subject: [PATCH] fix(deps): update all non-major dependencies (#311) * fix(deps): update all non-major dependencies * chore(test): update error message in test --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Mircea Nistor --- package.json | 3 ++- src/__tests__/VerifierAlgorithm.test.ts | 2 +- yarn.lock | 22 +++++++++++----------- 3 files changed, 14 insertions(+), 13 deletions(-) diff --git a/package.json b/package.json index 4d3142ed..a09523d9 100644 --- a/package.json +++ b/package.json @@ -100,5 +100,6 @@ }, "eslintIgnore": [ "*.test.ts" - ] + ], + "packageManager": "yarn@1.22.22" } diff --git a/src/__tests__/VerifierAlgorithm.test.ts b/src/__tests__/VerifierAlgorithm.test.ts index c4f7c953..c6cc85cd 100644 --- a/src/__tests__/VerifierAlgorithm.test.ts +++ b/src/__tests__/VerifierAlgorithm.test.ts @@ -454,7 +454,7 @@ describe('ES256K', () => { const jwt = (await createJWT({ bla: 'bla' }, { issuer: did, signer })) + 'aa' const parts = jwt.match(/^([a-zA-Z0-9_-]+\.[a-zA-Z0-9_-]+)\.([a-zA-Z0-9_-]+)$/) return expect(() => verifier(parts!![1], parts!![2], [ecKey1])).toThrowError( - new Error('compactSignature expected 64 bytes, got 66') + new Error('compactSignature of length 64 expected, got 66') ) }) diff --git a/yarn.lock b/yarn.lock index e6170856..a2431796 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2407,16 +2407,16 @@ integrity sha512-YGdEUzYEd+82jeaVbSKKVp1jFZb8LwaNMIIzHFkihGvYdd/KKAr7KaJHdEdSYGredE3ssSravXIa0Jxg28Sv5w== "@noble/curves@^1.0.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.4.0.tgz#f05771ef64da724997f69ee1261b2417a49522d6" - integrity sha512-p+4cb332SFCrReJkCYe8Xzm0OWi4Jji5jVdIZRL/PmacmDkFNw6MrrV+gGpiPxLHbV+zKFRywUWbaseT+tZRXg== + version "1.8.0" + resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.8.0.tgz#fe035a23959e6aeadf695851b51a87465b5ba8f7" + integrity sha512-j84kjAbzEnQHaSIhRPUmB3/eVXu2k3dKPl2LOrR8fSOIL+89U+7lV117EWHtq/GHM3ReGHM46iRBdZfpc4HRUQ== dependencies: - "@noble/hashes" "1.4.0" + "@noble/hashes" "1.7.0" -"@noble/hashes@1.4.0", "@noble/hashes@^1.3.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.4.0.tgz#45814aa329f30e4fe0ba49426f49dfccdd066426" - integrity sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg== +"@noble/hashes@1.7.0", "@noble/hashes@^1.3.0": + version "1.7.0" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.7.0.tgz#5d9e33af2c7d04fee35de1519b80c958b2e35e39" + integrity sha512-HXydb0DgzTpDPwbVeDGCG1gIu7X6+AuU6Zl6av/E/KG8LMsvPntvq+w17CHRpKBmN6Ybdrt1eP3k4cj8DJa78w== "@noble/hashes@^1.1.2": version "1.3.0" @@ -2830,9 +2830,9 @@ picomatch "^2.2.2" "@scure/base@^1.1.3": - version "1.1.6" - resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.6.tgz#8ce5d304b436e4c84f896e0550c83e4d88cb917d" - integrity sha512-ok9AWwhcgYuGG3Zfhyqg+zwl+Wn5uE+dwC0NV/2qQkx4dABbb/bx96vWu8NSj+BNjjSjno+JRYRjle1jV08k3g== + version "1.2.1" + resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.2.1.tgz#dd0b2a533063ca612c17aa9ad26424a2ff5aa865" + integrity sha512-DGmGtC8Tt63J5GfHgfl5CuAXh96VF/LD8K9Hr/Gv0J2lAoRGlPOMpqMpMbCTOoOJMZCk2Xt+DskdDyn6dEFdzQ== "@semantic-release/changelog@6.0.3": version "6.0.3"