From 9953356333c7f6c0b7c7a88e06e467c66de0d907 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 11 Oct 2023 02:54:56 +0000 Subject: [PATCH] Bump utf-8-validate from 5.0.10 to 6.0.3 Bumps [utf-8-validate](https://github.com/websockets/utf-8-validate) from 5.0.10 to 6.0.3. - [Release notes](https://github.com/websockets/utf-8-validate/releases) - [Commits](https://github.com/websockets/utf-8-validate/compare/v5.0.10...v6.0.3) --- updated-dependencies: - dependency-name: utf-8-validate dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .../sfa-next-jwt-example/package-lock.json | 201 +++++++++++------- .../sfa-next-jwt-example/package.json | 2 +- 2 files changed, 125 insertions(+), 78 deletions(-) diff --git a/single-factor-auth-web/sfa-next-jwt-example/package-lock.json b/single-factor-auth-web/sfa-next-jwt-example/package-lock.json index f7149b7a..1b228e63 100644 --- a/single-factor-auth-web/sfa-next-jwt-example/package-lock.json +++ b/single-factor-auth-web/sfa-next-jwt-example/package-lock.json @@ -11,8 +11,8 @@ "@types/node": "20.5.3", "@types/react": "18.2.21", "@types/react-dom": "18.2.7", - "@web3auth/base": "^7.0.1", - "@web3auth/ethereum-provider": "^7.0.2", + "@web3auth/base": "^7.0.4", + "@web3auth/ethereum-provider": "^7.0.4", "@web3auth/single-factor-auth": "^7.0.1", "browserify-fs": "^1.0.0", "bufferutil": "^4.0.7", @@ -26,7 +26,7 @@ "react-dom": "18.2.0", "typescript": "5.1.6", "utf-8": "^2.0.0", - "utf-8-validate": "^5.0.10", + "utf-8-validate": "^6.0.3", "web3": "^4.1.1" } }, @@ -587,11 +587,11 @@ } }, "node_modules/@metamask/rpc-errors": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/@metamask/rpc-errors/-/rpc-errors-6.0.0.tgz", - "integrity": "sha512-sAZwcdmidJDPbZV3XSKcWZC7CSTdjqDNRsDDdb2SstCOLEJtNqHpx32FWgwWB0arqWxUcUxYxgR39edUbsWz7A==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/@metamask/rpc-errors/-/rpc-errors-6.1.0.tgz", + "integrity": "sha512-JQElKxai26FpDyRKO/yH732wI+BV90i1u6pOuDOpdADSbppB2g1pPh3AGST1zkZqEE9eIKIUw8UdBQ4rp3VTSg==", "dependencies": { - "@metamask/utils": "^8.0.0", + "@metamask/utils": "^8.1.0", "fast-safe-stringify": "^2.0.6" }, "engines": { @@ -1016,15 +1016,15 @@ } }, "node_modules/@toruslabs/base-controllers": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.0.1.tgz", - "integrity": "sha512-6r9iUVdNsOR/oW2WSwrGZwPWDrMV4dt6lPOlzUbk+5vu+ijZ56jTlerUMHatcuHXuspISXXsJ9XhW64YoBTpRg==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-4.4.0.tgz", + "integrity": "sha512-F7PUXv+UakKbuyf/Gil2Yek6Eoc9saOrboBA+jwg8Lx0dASWB0iK2lBpiS2i4HnK1waP0Gph0INVHGPBvAT9fQ==", "dependencies": { "@ethereumjs/util": "^9.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/broadcast-channel": "^8.0.0", + "@toruslabs/broadcast-channel": "^9.0.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.1.0", "async-mutex": "^0.4.0", "bignumber.js": "^9.1.2", "bowser": "^2.11.0", @@ -1070,6 +1070,25 @@ } } }, + "node_modules/@toruslabs/base-controllers/node_modules/@toruslabs/broadcast-channel": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-9.0.0.tgz", + "integrity": "sha512-GA0hh32vt0qu0qZ/QepNHDT5bxKzTsDWu2yp5J1a8CQWNwUGPkYkDe1ycRySQVBo/wa7UyZdXvgLYtYne+/cZw==", + "dependencies": { + "@babel/runtime": "^7.22.10", + "@toruslabs/eccrypto": "^4.0.0", + "@toruslabs/metadata-helpers": "^5.0.0", + "bowser": "^2.11.0", + "loglevel": "^1.8.1", + "oblivious-set": "1.1.1", + "socket.io-client": "^4.7.2", + "unload": "^2.4.1" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + } + }, "node_modules/@toruslabs/base-session-manager": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@toruslabs/base-session-manager/-/base-session-manager-3.0.0.tgz", @@ -1212,15 +1231,15 @@ } }, "node_modules/@toruslabs/openlogin": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.0.3.tgz", - "integrity": "sha512-a7wdW/n5UINk1Uxn/hU4majTyIdeCk9XlSnmdr/ob71Dozz2hqPbXm1PFJ+XOMdlIPwqg4fLaOff6AySM1fqHg==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-5.2.0.tgz", + "integrity": "sha512-eVopWU4X56kOjPl/nr2E9v0Mv8s90Z0QJULnO1sIQhUZm60Ip/djARKNtXsYHMMG7nuQ8pDCyDtxN4akA/sF+A==", "dependencies": { "@toruslabs/broadcast-channel": "^8.0.0", "@toruslabs/eccrypto": "^4.0.0", "@toruslabs/metadata-helpers": "^5.0.0", "@toruslabs/openlogin-session-manager": "^3.0.0", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin-utils": "^5.2.0", "bowser": "^2.11.0", "events": "^3.3.0", "loglevel": "^1.8.1", @@ -1235,12 +1254,12 @@ } }, "node_modules/@toruslabs/openlogin-jrpc": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-5.0.2.tgz", - "integrity": "sha512-ezpCrQ+oh0wfEuq3GTdjTpANVmfNjG7B/m03IGwnnSpg0NJRWUZBp/sB+z9Q1cOYtUl1Kg1+8mfqdX69eAn8bg==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-5.2.0.tgz", + "integrity": "sha512-ZHINUE8qNgY0mLfNxz3kGs63fk9VHYWunLydI3sLEOrJPlEEIuVr4p4DOkgto6WVZZK7NQokW5kH5OGhg8eCnA==", "dependencies": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin-utils": "^5.2.0", "end-of-stream": "^1.4.4", "events": "^3.3.0", "fast-safe-stringify": "^2.1.1", @@ -1292,9 +1311,9 @@ } }, "node_modules/@toruslabs/openlogin-utils": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.0.2.tgz", - "integrity": "sha512-iOYnbowda0kk1Wk7Ax6xwCg5kVG8HDyq9VBKJfiyQeZCnSwiWW03UHL+UTCtiXy8jhBtkd7OEwh2Np2Lm30Tgg==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-5.2.0.tgz", + "integrity": "sha512-FpnLmyp4OH2fabxGpC+7kBe85memj+Tsz5vsIpoVeznhH3LWBRFxYRdfZrBfFWui2hSN7xfwQYa0w6+yM3ij7g==", "dependencies": { "@toruslabs/constants": "^13.0.1", "base64url": "^3.0.1" @@ -1626,9 +1645,9 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/@walletconnect/types": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.1.tgz", - "integrity": "sha512-7pccAhajQdiH2kYywjE1XI64IqRI+4ioyGy0wvz8d0UFQ/DSG3MLKR8jHf5aTOafQQ/HRLz6xvlzN4a7gIVkUQ==", + "version": "2.10.2", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.2.tgz", + "integrity": "sha512-luNV+07Wdla4STi9AejseCQY31tzWKQ5a7C3zZZaRK/di+rFaAAb7YW04OP4klE7tw/mJRGPTlekZElmHxO8kQ==", "dependencies": { "@walletconnect/events": "^1.0.1", "@walletconnect/heartbeat": "1.2.1", @@ -1639,9 +1658,9 @@ } }, "node_modules/@walletconnect/utils": { - "version": "2.10.1", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.1.tgz", - "integrity": "sha512-DM0dKgm9O58l7VqJEyV2OVv16XRePhDAReI23let6WdW1dSpw/Y/A89Lp99ZJOjLm2FxyblMRF3YRaZtHwBffw==", + "version": "2.10.2", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.10.2.tgz", + "integrity": "sha512-syxXRpc2yhSknMu3IfiBGobxOY7fLfLTJuw+ppKaeO6WUdZpIit3wfuGOcc0Ms3ZPFCrGfyGOoZsCvgdXtptRg==", "dependencies": { "@stablelib/chacha20poly1305": "1.0.1", "@stablelib/hkdf": "1.0.1", @@ -1651,7 +1670,7 @@ "@walletconnect/relay-api": "^1.0.9", "@walletconnect/safe-json": "^1.0.2", "@walletconnect/time": "^1.0.2", - "@walletconnect/types": "2.10.1", + "@walletconnect/types": "2.10.2", "@walletconnect/window-getters": "^1.0.1", "@walletconnect/window-metadata": "^1.0.1", "detect-browser": "5.3.0", @@ -1687,14 +1706,14 @@ "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, "node_modules/@web3auth/base": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.1.tgz", - "integrity": "sha512-6ft4XAD37tobOxgkZhideiBMqoVJTpvAvYD0R99IDmpazpIrX8b4RBgwLQ/gIlNmGZhkU1UoTzub19xTWI9h6w==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-7.0.4.tgz", + "integrity": "sha512-ufpJ0uqOp7k7uGqDS1DohOeIIrsTLUAdyiExM5D+SQYYIXri3M9wbFgyCeAqHbJbfBO6hI9PDcY82QvOGCMI3w==", "dependencies": { "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin": "^5.0.3", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@toruslabs/openlogin-utils": "^5.0.2", + "@toruslabs/openlogin": "^5.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@toruslabs/openlogin-utils": "^5.2.0", "jwt-decode": "^3.1.2", "loglevel": "^1.8.1", "ts-custom-error": "^3.3.1" @@ -1708,14 +1727,14 @@ } }, "node_modules/@web3auth/base-provider": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.1.tgz", - "integrity": "sha512-8ggJtsD/1MbpMEbe+uBSS3mrqE/nqEKpRLyIjuyfobPs4Zu/VI2Exdjz6wcUIzwEB1iYyjFt29/gyIXufMyCgA==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-7.0.4.tgz", + "integrity": "sha512-DDE/K6AP2UBRQqBJUoFggGt7ylQ96pexVnaps9Yw8JOtx573yzVUPs2tYEjhxmAfRGgmDD1J8juokgvCEeKf4g==", "dependencies": { "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", - "@toruslabs/openlogin-jrpc": "^5.0.2", - "@web3auth/base": "^7.0.1", + "@toruslabs/base-controllers": "^4.2.0", + "@toruslabs/openlogin-jrpc": "^5.2.0", + "@web3auth/base": "^7.0.4", "json-rpc-random-id": "^1.0.1" }, "engines": { @@ -1727,22 +1746,22 @@ } }, "node_modules/@web3auth/ethereum-provider": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.2.tgz", - "integrity": "sha512-Yg1/ZB0eUugiTx5fvLtYeplSF0175PcsBOAhShl/Rd+rLlkycP5lRMGsBSnxdHGE9esRajYoH8xfGNwEUcItjw==", + "version": "7.0.4", + "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-7.0.4.tgz", + "integrity": "sha512-A0r6O+Bwwx6k1qvB2p5zp3pVJtxxpad0Fv/lotGYh5OMFqi6Ggz1lnYnbQAc4PdznUNVV2zwsQGMi71a4c/JsQ==", "dependencies": { "@ethereumjs/common": "^4.0.0", "@ethereumjs/tx": "^5.0.0", "@ethereumjs/util": "^9.0.0", "@metamask/eth-sig-util": "^7.0.0", "@metamask/rpc-errors": "^6.0.0", - "@toruslabs/base-controllers": "^4.0.1", + "@toruslabs/base-controllers": "^4.2.0", "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/openlogin-jrpc": "^5.0.2", + "@toruslabs/openlogin-jrpc": "^5.2.0", "@walletconnect/legacy-types": "2.0.0", - "@walletconnect/utils": "^2.10.1", - "@web3auth/base": "^7.0.1", - "@web3auth/base-provider": "^7.0.1", + "@walletconnect/utils": "^2.10.2", + "@web3auth/base": "^7.0.4", + "@web3auth/base-provider": "^7.0.4", "assert": "^2.1.0", "bignumber.js": "^9.1.2", "bn.js": "^5.2.1", @@ -2659,6 +2678,20 @@ "xmlhttprequest-ssl": "~2.0.0" } }, + "node_modules/engine.io-client/node_modules/utf-8-validate": { + "version": "5.0.10", + "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz", + "integrity": "sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==", + "hasInstallScript": true, + "optional": true, + "peer": true, + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, "node_modules/engine.io-client/node_modules/ws": { "version": "8.11.0", "resolved": "https://registry.npmjs.org/ws/-/ws-8.11.0.tgz", @@ -3294,6 +3327,40 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.4.0.tgz", "integrity": "sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ==" }, + "node_modules/ethers/node_modules/utf-8-validate": { + "version": "5.0.10", + "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz", + "integrity": "sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==", + "hasInstallScript": true, + "optional": true, + "peer": true, + "dependencies": { + "node-gyp-build": "^4.3.0" + }, + "engines": { + "node": ">=6.14.2" + } + }, + "node_modules/ethers/node_modules/ws": { + "version": "8.5.0", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", + "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "engines": { + "node": ">=10.0.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true + }, + "utf-8-validate": { + "optional": true + } + } + }, "node_modules/ethjs-util": { "version": "0.1.6", "resolved": "https://registry.npmjs.org/ethjs-util/-/ethjs-util-0.1.6.tgz", @@ -5993,9 +6060,9 @@ } }, "node_modules/utf-8-validate": { - "version": "5.0.10", - "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.10.tgz", - "integrity": "sha512-Z6czzLq4u8fPOyx7TU6X3dvUZVvoJmxSQ+IcrlmagKhilxlhZgxPK6C5Jqbkw1IDUmFTM+cz9QDnnLTwDz/2gQ==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-6.0.3.tgz", + "integrity": "sha512-uIuGf9TWQ/y+0Lp+KGZCMuJWc3N9BHA+l/UmHd/oUHwJJDeysyTRxNQVkbzsIWfGFbRe3OcgML/i0mvVRPOyDA==", "hasInstallScript": true, "dependencies": { "node-gyp-build": "^4.3.0" @@ -6281,26 +6348,6 @@ "npm": ">=6.12.0" } }, - "node_modules/web3-providers-ws/node_modules/ws": { - "version": "8.14.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.14.1.tgz", - "integrity": "sha512-4OOseMUq8AzRBI/7SLMUwO+FEDnguetSk7KMb1sHwvF2w2Wv5Hoj0nlifx8vtGsftE/jWHojPy8sMMzYLJ2G/A==", - "engines": { - "node": ">=10.0.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": ">=5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, "node_modules/web3-rpc-methods": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/web3-rpc-methods/-/web3-rpc-methods-1.1.1.tgz", @@ -6461,15 +6508,15 @@ "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==" }, "node_modules/ws": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/ws/-/ws-8.5.0.tgz", - "integrity": "sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg==", + "version": "8.14.2", + "resolved": "https://registry.npmjs.org/ws/-/ws-8.14.2.tgz", + "integrity": "sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==", "engines": { "node": ">=10.0.0" }, "peerDependencies": { "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" + "utf-8-validate": ">=5.0.2" }, "peerDependenciesMeta": { "bufferutil": { diff --git a/single-factor-auth-web/sfa-next-jwt-example/package.json b/single-factor-auth-web/sfa-next-jwt-example/package.json index 2433194b..9e11eae1 100644 --- a/single-factor-auth-web/sfa-next-jwt-example/package.json +++ b/single-factor-auth-web/sfa-next-jwt-example/package.json @@ -27,7 +27,7 @@ "react-dom": "18.2.0", "typescript": "5.1.6", "utf-8": "^2.0.0", - "utf-8-validate": "^5.0.10", + "utf-8-validate": "^6.0.3", "web3": "^4.1.1" } }