From 442d5322610c82a1dae5cd135cac4780a2e242d2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 3 Jan 2025 08:57:03 +0000 Subject: [PATCH] fix(deps): update dependency @stablelib/x25519 to v2 --- crypto/ecies-25519/package.json | 2 +- package-lock.json | 212 +++++++++++++++++++++++++++----- 2 files changed, 185 insertions(+), 29 deletions(-) diff --git a/crypto/ecies-25519/package.json b/crypto/ecies-25519/package.json index 4cd23ee3..34118992 100644 --- a/crypto/ecies-25519/package.json +++ b/crypto/ecies-25519/package.json @@ -50,7 +50,7 @@ "format": "prettier --config ../../.prettierrc --write {src,test}/**/*.ts" }, "dependencies": { - "@stablelib/x25519": "^1.0.2", + "@stablelib/x25519": "^2.0.0", "@walletconnect/crypto": "^1.0.3", "@walletconnect/encoding": "^1.0.2", "tslib": "1.14.1" diff --git a/package-lock.json b/package-lock.json index a46362f3..083c4d58 100644 --- a/package-lock.json +++ b/package-lock.json @@ -97,7 +97,7 @@ "version": "1.0.3", "license": "MIT", "dependencies": { - "@stablelib/x25519": "^1.0.2", + "@stablelib/x25519": "^2.0.0", "@walletconnect/crypto": "^1.0.3", "@walletconnect/encoding": "^1.0.2", "tslib": "1.14.1" @@ -7204,9 +7204,9 @@ } }, "node_modules/@stablelib/bytes": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/bytes/-/bytes-1.0.1.tgz", - "integrity": "sha512-Kre4Y4kdwuqL8BR2E9hV/R5sOrUj6NanZaZis0V6lX5yzqC3hBuVSDXUIBqQv/sCpmuWRiHLwqiT1pqqjuBXoQ==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@stablelib/bytes/-/bytes-2.0.0.tgz", + "integrity": "sha512-oSfT6VTfk/XK5s/BUi1L8Obp1Uoh/RFJHWDAG9Yj5D/kiGTnR7sEnzJIRenbIFDbzkb+lXP3OSDp+ttgI51Nng==" }, "node_modules/@stablelib/chacha": { "version": "1.0.1", @@ -7276,11 +7276,11 @@ "integrity": "sha512-byr69X/sDtDiIjIV6m4roLVWnNNlRGzsvxw+agj8CIEazqWGOQp2dTYgQhtyVXV9wpO6WyXRQUzLV/JRNumT2w==" }, "node_modules/@stablelib/keyagreement": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/keyagreement/-/keyagreement-1.0.1.tgz", - "integrity": "sha512-VKL6xBwgJnI6l1jKrBAfn265cspaWBPAPEc62VBQrWHLqVgNRE09gQ/AnOEyKUWrrqfD+xSQ3u42gJjLDdMDQg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@stablelib/keyagreement/-/keyagreement-2.0.0.tgz", + "integrity": "sha512-SryWYB3S8w9EyjSJ1OdJb375Foj1Ujxgd4S6mh7L+ESiPVD/24EQWMbFANyhtpaPmpsAmgIBGyXlR+LfHW5X0Q==", "dependencies": { - "@stablelib/bytes": "^1.0.1" + "@stablelib/bytes": "^2.0.0" } }, "node_modules/@stablelib/poly1305": { @@ -7327,15 +7327,42 @@ "integrity": "sha512-WfqfX/eXGiAd3RJe4VU2snh/ZPwtSjLG4ynQ/vYzvghTh7dHFcI1wl+nrkWG6lGhukOxOsUHfv8dUXr58D0ayg==" }, "node_modules/@stablelib/x25519": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@stablelib/x25519/-/x25519-1.0.3.tgz", - "integrity": "sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@stablelib/x25519/-/x25519-2.0.0.tgz", + "integrity": "sha512-mnl4U+1dE73rgrnhL2jPuT2u6TVOJPCwWKnC+A18JkYZaRKXERKVXJzuhc+jSNEnWHdv3BDMut50v8bpIdZCCQ==", "dependencies": { - "@stablelib/keyagreement": "^1.0.1", - "@stablelib/random": "^1.0.2", - "@stablelib/wipe": "^1.0.1" + "@stablelib/keyagreement": "^2.0.0", + "@stablelib/random": "^2.0.0", + "@stablelib/wipe": "^2.0.0" + } + }, + "node_modules/@stablelib/x25519/node_modules/@stablelib/binary": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@stablelib/binary/-/binary-2.0.0.tgz", + "integrity": "sha512-dHejKHMtq5OtNwDSMcFx+djhixVAnZ76Rqga3WOOKe6KV3NlnE7JBXlmdLIn04G4FxqhRSEx+zkoO4Izdw10ZA==", + "dependencies": { + "@stablelib/int": "^2.0.0" + } + }, + "node_modules/@stablelib/x25519/node_modules/@stablelib/int": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@stablelib/int/-/int-2.0.0.tgz", + "integrity": "sha512-EiSYDisTYKk1wuCqoh7wuBySmE0A1isq7TQbsijQ6XFi6nIAozchgAT7Zv2PCl2iY8BTe0URScC4PdYHOe3Yow==" + }, + "node_modules/@stablelib/x25519/node_modules/@stablelib/random": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@stablelib/random/-/random-2.0.0.tgz", + "integrity": "sha512-qvOSbiPq2B3ajvn/IDftC1mzL/W89OGv59gdJ7klMjm327Yk/54NyGl4Jtrwcz35GjCPy/ScVnQXC8YQk8uAUQ==", + "dependencies": { + "@stablelib/binary": "^2.0.0", + "@stablelib/wipe": "^2.0.0" } }, + "node_modules/@stablelib/x25519/node_modules/@stablelib/wipe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@stablelib/wipe/-/wipe-2.0.0.tgz", + "integrity": "sha512-VBMpCJx8py9j9F5DxV5dGmSSO+vkYDnXHXG4alkfpaD08UTfNTqsQoRlUh5obeqBNHiO+3Iv40GxKpM0gfd5xA==" + }, "node_modules/@stablelib/xchacha20": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/@stablelib/xchacha20/-/xchacha20-1.0.1.tgz", @@ -7993,6 +8020,29 @@ "uint8arrays": "^3.1.0" } }, + "node_modules/@walletconnect/utils/node_modules/@stablelib/bytes": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@stablelib/bytes/-/bytes-1.0.1.tgz", + "integrity": "sha512-Kre4Y4kdwuqL8BR2E9hV/R5sOrUj6NanZaZis0V6lX5yzqC3hBuVSDXUIBqQv/sCpmuWRiHLwqiT1pqqjuBXoQ==" + }, + "node_modules/@walletconnect/utils/node_modules/@stablelib/keyagreement": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@stablelib/keyagreement/-/keyagreement-1.0.1.tgz", + "integrity": "sha512-VKL6xBwgJnI6l1jKrBAfn265cspaWBPAPEc62VBQrWHLqVgNRE09gQ/AnOEyKUWrrqfD+xSQ3u42gJjLDdMDQg==", + "dependencies": { + "@stablelib/bytes": "^1.0.1" + } + }, + "node_modules/@walletconnect/utils/node_modules/@stablelib/x25519": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@stablelib/x25519/-/x25519-1.0.3.tgz", + "integrity": "sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw==", + "dependencies": { + "@stablelib/keyagreement": "^1.0.1", + "@stablelib/random": "^1.0.2", + "@stablelib/wipe": "^1.0.1" + } + }, "node_modules/@walletconnect/window-getters": { "resolved": "browser/window-getters", "link": true @@ -10603,6 +10653,32 @@ "uint8arrays": "^3.0.0" } }, + "node_modules/did-jwt/node_modules/@stablelib/bytes": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@stablelib/bytes/-/bytes-1.0.1.tgz", + "integrity": "sha512-Kre4Y4kdwuqL8BR2E9hV/R5sOrUj6NanZaZis0V6lX5yzqC3hBuVSDXUIBqQv/sCpmuWRiHLwqiT1pqqjuBXoQ==", + "dev": true + }, + "node_modules/did-jwt/node_modules/@stablelib/keyagreement": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@stablelib/keyagreement/-/keyagreement-1.0.1.tgz", + "integrity": "sha512-VKL6xBwgJnI6l1jKrBAfn265cspaWBPAPEc62VBQrWHLqVgNRE09gQ/AnOEyKUWrrqfD+xSQ3u42gJjLDdMDQg==", + "dev": true, + "dependencies": { + "@stablelib/bytes": "^1.0.1" + } + }, + "node_modules/did-jwt/node_modules/@stablelib/x25519": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@stablelib/x25519/-/x25519-1.0.3.tgz", + "integrity": "sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw==", + "dev": true, + "dependencies": { + "@stablelib/keyagreement": "^1.0.1", + "@stablelib/random": "^1.0.2", + "@stablelib/wipe": "^1.0.1" + } + }, "node_modules/did-jwt/node_modules/did-resolver": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/did-resolver/-/did-resolver-4.1.0.tgz", @@ -27675,9 +27751,9 @@ } }, "@stablelib/bytes": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/bytes/-/bytes-1.0.1.tgz", - "integrity": "sha512-Kre4Y4kdwuqL8BR2E9hV/R5sOrUj6NanZaZis0V6lX5yzqC3hBuVSDXUIBqQv/sCpmuWRiHLwqiT1pqqjuBXoQ==" + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@stablelib/bytes/-/bytes-2.0.0.tgz", + "integrity": "sha512-oSfT6VTfk/XK5s/BUi1L8Obp1Uoh/RFJHWDAG9Yj5D/kiGTnR7sEnzJIRenbIFDbzkb+lXP3OSDp+ttgI51Nng==" }, "@stablelib/chacha": { "version": "1.0.1", @@ -27747,11 +27823,11 @@ "integrity": "sha512-byr69X/sDtDiIjIV6m4roLVWnNNlRGzsvxw+agj8CIEazqWGOQp2dTYgQhtyVXV9wpO6WyXRQUzLV/JRNumT2w==" }, "@stablelib/keyagreement": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@stablelib/keyagreement/-/keyagreement-1.0.1.tgz", - "integrity": "sha512-VKL6xBwgJnI6l1jKrBAfn265cspaWBPAPEc62VBQrWHLqVgNRE09gQ/AnOEyKUWrrqfD+xSQ3u42gJjLDdMDQg==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@stablelib/keyagreement/-/keyagreement-2.0.0.tgz", + "integrity": "sha512-SryWYB3S8w9EyjSJ1OdJb375Foj1Ujxgd4S6mh7L+ESiPVD/24EQWMbFANyhtpaPmpsAmgIBGyXlR+LfHW5X0Q==", "requires": { - "@stablelib/bytes": "^1.0.1" + "@stablelib/bytes": "^2.0.0" } }, "@stablelib/poly1305": { @@ -27798,13 +27874,42 @@ "integrity": "sha512-WfqfX/eXGiAd3RJe4VU2snh/ZPwtSjLG4ynQ/vYzvghTh7dHFcI1wl+nrkWG6lGhukOxOsUHfv8dUXr58D0ayg==" }, "@stablelib/x25519": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/@stablelib/x25519/-/x25519-1.0.3.tgz", - "integrity": "sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@stablelib/x25519/-/x25519-2.0.0.tgz", + "integrity": "sha512-mnl4U+1dE73rgrnhL2jPuT2u6TVOJPCwWKnC+A18JkYZaRKXERKVXJzuhc+jSNEnWHdv3BDMut50v8bpIdZCCQ==", "requires": { - "@stablelib/keyagreement": "^1.0.1", - "@stablelib/random": "^1.0.2", - "@stablelib/wipe": "^1.0.1" + "@stablelib/keyagreement": "^2.0.0", + "@stablelib/random": "^2.0.0", + "@stablelib/wipe": "^2.0.0" + }, + "dependencies": { + "@stablelib/binary": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@stablelib/binary/-/binary-2.0.0.tgz", + "integrity": "sha512-dHejKHMtq5OtNwDSMcFx+djhixVAnZ76Rqga3WOOKe6KV3NlnE7JBXlmdLIn04G4FxqhRSEx+zkoO4Izdw10ZA==", + "requires": { + "@stablelib/int": "^2.0.0" + } + }, + "@stablelib/int": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@stablelib/int/-/int-2.0.0.tgz", + "integrity": "sha512-EiSYDisTYKk1wuCqoh7wuBySmE0A1isq7TQbsijQ6XFi6nIAozchgAT7Zv2PCl2iY8BTe0URScC4PdYHOe3Yow==" + }, + "@stablelib/random": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@stablelib/random/-/random-2.0.0.tgz", + "integrity": "sha512-qvOSbiPq2B3ajvn/IDftC1mzL/W89OGv59gdJ7klMjm327Yk/54NyGl4Jtrwcz35GjCPy/ScVnQXC8YQk8uAUQ==", + "requires": { + "@stablelib/binary": "^2.0.0", + "@stablelib/wipe": "^2.0.0" + } + }, + "@stablelib/wipe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@stablelib/wipe/-/wipe-2.0.0.tgz", + "integrity": "sha512-VBMpCJx8py9j9F5DxV5dGmSSO+vkYDnXHXG4alkfpaD08UTfNTqsQoRlUh5obeqBNHiO+3Iv40GxKpM0gfd5xA==" + } } }, "@stablelib/xchacha20": { @@ -28302,7 +28407,7 @@ "@walletconnect/ecies-25519": { "version": "file:crypto/ecies-25519", "requires": { - "@stablelib/x25519": "^1.0.2", + "@stablelib/x25519": "^2.0.0", "@types/chai": "^4.2.14", "@types/jest": "^26.0.15", "@types/mocha": "^8.2.0", @@ -29354,6 +29459,31 @@ "detect-browser": "5.3.0", "query-string": "7.1.3", "uint8arrays": "^3.1.0" + }, + "dependencies": { + "@stablelib/bytes": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@stablelib/bytes/-/bytes-1.0.1.tgz", + "integrity": "sha512-Kre4Y4kdwuqL8BR2E9hV/R5sOrUj6NanZaZis0V6lX5yzqC3hBuVSDXUIBqQv/sCpmuWRiHLwqiT1pqqjuBXoQ==" + }, + "@stablelib/keyagreement": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@stablelib/keyagreement/-/keyagreement-1.0.1.tgz", + "integrity": "sha512-VKL6xBwgJnI6l1jKrBAfn265cspaWBPAPEc62VBQrWHLqVgNRE09gQ/AnOEyKUWrrqfD+xSQ3u42gJjLDdMDQg==", + "requires": { + "@stablelib/bytes": "^1.0.1" + } + }, + "@stablelib/x25519": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@stablelib/x25519/-/x25519-1.0.3.tgz", + "integrity": "sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw==", + "requires": { + "@stablelib/keyagreement": "^1.0.1", + "@stablelib/random": "^1.0.2", + "@stablelib/wipe": "^1.0.1" + } + } } }, "@walletconnect/window-getters": { @@ -31502,6 +31632,32 @@ "uint8arrays": "^3.0.0" }, "dependencies": { + "@stablelib/bytes": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@stablelib/bytes/-/bytes-1.0.1.tgz", + "integrity": "sha512-Kre4Y4kdwuqL8BR2E9hV/R5sOrUj6NanZaZis0V6lX5yzqC3hBuVSDXUIBqQv/sCpmuWRiHLwqiT1pqqjuBXoQ==", + "dev": true + }, + "@stablelib/keyagreement": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@stablelib/keyagreement/-/keyagreement-1.0.1.tgz", + "integrity": "sha512-VKL6xBwgJnI6l1jKrBAfn265cspaWBPAPEc62VBQrWHLqVgNRE09gQ/AnOEyKUWrrqfD+xSQ3u42gJjLDdMDQg==", + "dev": true, + "requires": { + "@stablelib/bytes": "^1.0.1" + } + }, + "@stablelib/x25519": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@stablelib/x25519/-/x25519-1.0.3.tgz", + "integrity": "sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw==", + "dev": true, + "requires": { + "@stablelib/keyagreement": "^1.0.1", + "@stablelib/random": "^1.0.2", + "@stablelib/wipe": "^1.0.1" + } + }, "did-resolver": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/did-resolver/-/did-resolver-4.1.0.tgz",