diff --git a/packages/base/src/utils/index.ts b/packages/base/src/utils/index.ts index 27742a3e..05731caf 100644 --- a/packages/base/src/utils/index.ts +++ b/packages/base/src/utils/index.ts @@ -1,6 +1,10 @@ import { isMobile } from './isMobile'; import { getOriginalAddress } from './getOriginalAddress'; +import { isPortkeyApp } from './isPortkeyApp'; +import { sleep } from './sleep'; export default { isMobile, getOriginalAddress, + isPortkeyApp, + sleep, }; diff --git a/packages/base/src/utils/isPortkeyApp.ts b/packages/base/src/utils/isPortkeyApp.ts new file mode 100644 index 00000000..11b3970e --- /dev/null +++ b/packages/base/src/utils/isPortkeyApp.ts @@ -0,0 +1,7 @@ +export function isPortkeyApp() { + if (typeof window !== 'object') { + return false; + } else { + return window.navigator.userAgent.includes('Portkey'); + } +} diff --git a/packages/base/src/utils/sleep.ts b/packages/base/src/utils/sleep.ts new file mode 100644 index 00000000..cec60058 --- /dev/null +++ b/packages/base/src/utils/sleep.ts @@ -0,0 +1,5 @@ +function sleep(milliSeconds: number): Promise { + return new Promise((resolve) => setTimeout(resolve, milliSeconds)); +} + +export { sleep }; diff --git a/packages/bridge/package.json b/packages/bridge/package.json index 2ffe7a2d..ff3614a4 100755 --- a/packages/bridge/package.json +++ b/packages/bridge/package.json @@ -25,7 +25,6 @@ "build": "father build" }, "dependencies": { - "@aelf-web-login/utils": "workspace:*", "@aelf-web-login/wallet-adapter-base": "workspace:*", "@portkey/services": "2.7.2", "@reduxjs/toolkit": "^2.2.3", diff --git a/packages/bridge/src/bridge.ts b/packages/bridge/src/bridge.ts index 7448bbe4..318a0d7d 100644 --- a/packages/bridge/src/bridge.ts +++ b/packages/bridge/src/bridge.ts @@ -11,6 +11,7 @@ import { TSignatureParams, enhancedLocalStorage, IWalletAdapterEvents, + utils, } from '@aelf-web-login/wallet-adapter-base'; import { setWalletInfo, @@ -23,9 +24,9 @@ import { clearLoginError, } from './store'; import { DIDWalletInfo, TelegramPlatform } from '@portkey/did-ui-react'; -import { isPortkeyApp } from '@aelf-web-login/utils'; import { IBaseConfig } from '.'; +const { isPortkeyApp } = utils; let isDisconnectClicked = false; class Bridge { private _wallets: WalletAdapter[]; diff --git a/packages/bridge/src/useTelegram.ts b/packages/bridge/src/useTelegram.ts index bfb59347..beda4763 100644 --- a/packages/bridge/src/useTelegram.ts +++ b/packages/bridge/src/useTelegram.ts @@ -17,13 +17,14 @@ import { IVerifyInfo, TelegramPlatform, } from '@portkey/did-ui-react'; -import { DEFAULT_PIN, TChainId, NetworkEnum } from '@aelf-web-login/wallet-adapter-base'; +import { DEFAULT_PIN, TChainId, NetworkEnum, utils } from '@aelf-web-login/wallet-adapter-base'; import { useCallback, useMemo, useState } from 'react'; -import { sleep } from '@aelf-web-login/utils'; import { Bridge } from './bridge'; import useVerifier from './useVerifier'; import useLockCallback from './useLockCallback'; +const { sleep } = utils; + export enum SocialLoginType { APPLE = 'Apple', GOOGLE = 'Google', diff --git a/packages/react/src/index.tsx b/packages/react/src/index.tsx index 1aa6dd70..a006abe6 100644 --- a/packages/react/src/index.tsx +++ b/packages/react/src/index.tsx @@ -1,7 +1,6 @@ /* eslint-disable @typescript-eslint/no-empty-function */ import React, { useCallback, useMemo, useState, useSyncExternalStore } from 'react'; import { initBridge, IConfigProps, IBridgeAPI } from '@aelf-web-login/wallet-adapter-bridge'; -import VConsole from 'vconsole'; import { ConnectedWallet, enhancedLocalStorage, @@ -13,10 +12,12 @@ const HOOK_ERROR_MESSAGE = // let noCommonBaseModal = false; export const init = (options: IConfigProps): IBridgeAPI => { // noCommonBaseModal = options.baseConfig.noCommonBaseModal ?? false; - if (options.baseConfig.showVconsole) { + if (options.baseConfig.showVconsole && typeof window !== 'undefined') { + // eslint-disable-next-line @typescript-eslint/no-var-requires + const VConsole = require('vconsole'); new VConsole(); } - console.log('aelf-web-login-init..............'); + console.log('aelf-web-login-init..............30'); function initScriptAndMountApp() { // const HOSTNAME_PREFIX_LIST = ['tg.', 'tg-test.', 'localhost']; const TELEGRAM_SRC = 'https://telegram.org/js/telegram-web-app.js'; diff --git a/packages/wallets/night-elf/package.json b/packages/wallets/night-elf/package.json index 70b2c33d..62c16c07 100755 --- a/packages/wallets/night-elf/package.json +++ b/packages/wallets/night-elf/package.json @@ -27,7 +27,7 @@ "dependencies": { "@aelf-web-login/wallet-adapter-base": "workspace:*", "@portkey/contracts": "^2.6.2", - "aelf-bridge": "0.0.10", + "aelf-bridge": "^0.0.11-alpha.4", "bn.js": "^5.2.1" }, "devDependencies": { diff --git a/packages/wallets/portkey-discover/package.json b/packages/wallets/portkey-discover/package.json index fafad9e4..dbc8229b 100755 --- a/packages/wallets/portkey-discover/package.json +++ b/packages/wallets/portkey-discover/package.json @@ -25,7 +25,6 @@ "build": "father build" }, "dependencies": { - "@aelf-web-login/utils": "workspace:*", "@aelf-web-login/wallet-adapter-base": "workspace:*", "@portkey/contracts": "^2.6.2", "@portkey/detect-provider": "^2.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3fc7bfaf..f2de9505 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -123,9 +123,6 @@ importers: packages/bridge: dependencies: - '@aelf-web-login/utils': - specifier: workspace:* - version: link:../utils '@aelf-web-login/wallet-adapter-base': specifier: workspace:* version: link:../base @@ -398,8 +395,8 @@ importers: specifier: ^2.6.2 version: 2.6.8(@portkey/request@2.7.2)(aelf-sdk@3.4.12)(query-string@7.1.3) aelf-bridge: - specifier: 0.0.10 - version: 0.0.10 + specifier: ^0.0.11-alpha.4 + version: 0.0.11-alpha.4 bn.js: specifier: ^5.2.1 version: 5.2.1 @@ -447,9 +444,6 @@ importers: packages/wallets/portkey-discover: dependencies: - '@aelf-web-login/utils': - specifier: workspace:* - version: link:../../utils '@aelf-web-login/wallet-adapter-base': specifier: workspace:* version: link:../../base @@ -6132,6 +6126,10 @@ packages: tslib: 2.6.3 dev: true + /@socket.io/component-emitter@3.1.2: + resolution: {integrity: sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==} + dev: false + /@stackblitz/sdk@1.11.0: resolution: {integrity: sha512-DFQGANNkEZRzFk1/rDP6TcFdM82ycHE+zfl9C/M/jXlH68jiqHWHFMQURLELoD8koxvu/eW5uhg94NSAZlYrUQ==} dev: true @@ -7932,15 +7930,17 @@ packages: hasBin: true dev: true - /aelf-bridge@0.0.10: - resolution: {integrity: sha512-jeTPsHnsCaGgzbjPYFhdk7rXIfk2LOyXsASV2tuEfqDnqVvy5RHiK+WT+wgmVu7DSmGkZdood2tVlCMv8zDwLw==} + /aelf-bridge@0.0.11-alpha.4: + resolution: {integrity: sha512-TxUXGbYFtCYS6HAYRVuBqDmuFHxBN8EDMZALgNmIEZoA9xNJd/MAG4tGhfJ1UhLOdY8CmrZ8TEQKSN8f9M3QJw==} + engines: {node: '>=18.18.0'} dependencies: '@babel/runtime': 7.24.8 browserify-cipher: 1.0.1 create-hmac: 1.1.7 elliptic: 6.5.6 - socket.io-client: 2.5.0 - uuid: 3.4.0 + socket.io-client: 4.7.5 + stream-browserify: 3.0.0 + uuid: 10.0.0 transitivePeerDependencies: - bufferutil - supports-color @@ -7999,10 +7999,6 @@ packages: scryptsy: 2.1.0 xmlhttprequest: 1.8.0 - /after@0.8.2: - resolution: {integrity: sha512-QbJ0NTQ/I9DI3uSJA4cbexiwQeRAfjPScqIbSjUDd9TOrcg6pTkdgziesOqxBMBzit8vFCTwrP27t13vFOORRA==} - dev: false - /agent-base@4.3.0: resolution: {integrity: sha512-salcGninV0nPrwpGNn4VTXBb1SOuXQBiqbrNXoeizJsHrsL6ERFM2Ne3JUSBWRE6aeNJI2ROP/WEEIDUiDe3cg==} engines: {node: '>= 4.0.0'} @@ -8489,10 +8485,6 @@ packages: is-shared-array-buffer: 1.0.3 dev: true - /arraybuffer.slice@0.0.7: - resolution: {integrity: sha512-wGUIVQXuehL5TCqQun8OW81jGzAWycqzFF8lFp+GOM5BXLYj3bKNsYC4daB7n6XjCqxQA/qgTJ+8ANR3acjrog==} - dev: false - /arrify@1.0.1: resolution: {integrity: sha512-3CYzex9M9FGQjCGMGyi6/31c8GJbgb0qGyrx5HWxPd0aCwh4cB2YjMb2Xf9UuoogrMrlO9cTqnB5rI5GHZTcUA==} engines: {node: '>=0.10.0'} @@ -8783,11 +8775,6 @@ packages: dependencies: safe-buffer: 5.2.1 - /base64-arraybuffer@0.1.4: - resolution: {integrity: sha512-a1eIFi4R9ySrbiMuyTGx5e92uRH5tQY6kArNcFaKBUleIoLjdjBg7Zxm3Mqm3Kmkf27HLR/1fnxX9q8GQ7Iavg==} - engines: {node: '>= 0.6.0'} - dev: false - /base64-js@1.5.1: resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} @@ -8848,10 +8835,6 @@ packages: safe-buffer: 5.2.1 dev: true - /blob@0.0.5: - resolution: {integrity: sha512-gaqbzQPqOoamawKg0LGVd7SzLgXS+JH61oWprSLH+P+abTczqJbhTR8CmJ2u9/bUYNmHTGJx/UEmn6doAvvuig==} - dev: false - /bluebird@3.7.2: resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} dev: true @@ -9556,18 +9539,6 @@ packages: resolution: {integrity: sha512-QE33hToZseCH3jS0qN96O/bSh3kaw/h+Tq7ngyY9eWDUnTlTNUyqfqvCXioLe5Na5jFsL78ra/wuBU4iuEgd4w==} dev: true - /component-bind@1.0.0: - resolution: {integrity: sha512-WZveuKPeKAG9qY+FkYDeADzdHyTYdIboXS59ixDeRJL5ZhxpqUnxSOwop4FQjMsiYm3/Or8cegVbpAHNA7pHxw==} - dev: false - - /component-emitter@1.3.1: - resolution: {integrity: sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==} - dev: false - - /component-inherit@0.0.3: - resolution: {integrity: sha512-w+LhYREhatpVqTESyGFg3NlP6Iu0kEKUHETY9GoZP/pQyW4mHFZuFWRUCIqVPZ36ueVLtoOEZaAqbCF2RDndaA==} - dev: false - /compressible@2.0.18: resolution: {integrity: sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==} engines: {node: '>= 0.6'} @@ -10125,6 +10096,7 @@ packages: optional: true dependencies: ms: 2.0.0 + dev: true /debug@3.2.7: resolution: {integrity: sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==} @@ -10147,7 +10119,6 @@ packages: optional: true dependencies: ms: 2.1.2 - dev: true /decamelize-keys@1.1.1: resolution: {integrity: sha512-WiPxgEirIV0/eIOMcnFBA3/IJZAZqKnwAwWyvvdi4lsr1WCN22nhdf/3db3DoZcUjTV2SqfzIwNyp6y2xs3nmg==} @@ -10716,34 +10687,23 @@ packages: once: 1.4.0 dev: true - /engine.io-client@3.5.4: - resolution: {integrity: sha512-ydc8uuMMDxC5KCKNJN3zZKYJk2sgyTuTZQ7Aj1DJSsLKAcizA/PzWivw8fZMIjJVBo2CJOYzntv4FSjY/Lr//g==} + /engine.io-client@6.5.4: + resolution: {integrity: sha512-GeZeeRjpD2qf49cZQ0Wvh/8NJNfeXkXXcoGh+F77oEAgo9gUHwT1fCRxSNU+YEEaysOJTnsFHmM5oAcPy4ntvQ==} dependencies: - component-emitter: 1.3.1 - component-inherit: 0.0.3 - debug: 3.1.0 - engine.io-parser: 2.2.1 - has-cors: 1.1.0 - indexof: 0.0.1 - parseqs: 0.0.6 - parseuri: 0.0.6 - ws: 7.5.10 - xmlhttprequest-ssl: 1.6.3 - yeast: 0.1.2 + '@socket.io/component-emitter': 3.1.2 + debug: 4.3.5 + engine.io-parser: 5.2.3 + ws: 8.17.1 + xmlhttprequest-ssl: 2.0.0 transitivePeerDependencies: - bufferutil - supports-color - utf-8-validate dev: false - /engine.io-parser@2.2.1: - resolution: {integrity: sha512-x+dN/fBH8Ro8TFwJ+rkB2AmuVw9Yu2mockR/p3W8f8YtExwFgDvBDi0GWyb4ZLkpahtDGZgtr3zLovanJghPqg==} - dependencies: - after: 0.8.2 - arraybuffer.slice: 0.0.7 - base64-arraybuffer: 0.1.4 - blob: 0.0.5 - has-binary2: 1.0.3 + /engine.io-parser@5.2.3: + resolution: {integrity: sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==} + engines: {node: '>=10.0.0'} dev: false /enhanced-resolve@5.17.0: @@ -12384,16 +12344,6 @@ packages: resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} dev: true - /has-binary2@1.0.3: - resolution: {integrity: sha512-G1LWKhDSvhGeAQ8mPVQlqNcOB2sJdwATtZKl2pDKKHfpf/rYj24lkinxf69blJbnsvtqqNU+L3SL50vzZhXOnw==} - dependencies: - isarray: 2.0.1 - dev: false - - /has-cors@1.1.0: - resolution: {integrity: sha512-g5VNKdkFuUuVCP9gYfDJHjK2nqdQJ7aDLTnycnc2+RvsOQbuLdF5pm7vuE5J76SEBIQjs4kQY/BWq74JUmjbXA==} - dev: false - /has-flag@3.0.0: resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} engines: {node: '>=4'} @@ -13034,10 +12984,6 @@ packages: engines: {node: '>=8'} dev: true - /indexof@0.0.1: - resolution: {integrity: sha512-i0G7hLJ1z0DE8dsqJa2rycj9dBmNKgXBvotXtZYXakU9oivfB9Uj2ZBC27qqef2U58/ZLwalxa1X/RDCdkHtVg==} - dev: false - /inflight@1.0.6: resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} deprecated: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. @@ -13557,10 +13503,6 @@ packages: resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} dev: true - /isarray@2.0.1: - resolution: {integrity: sha512-c2cu3UxbI+b6kR3fy0nRnAhodsvR9dx7U5+znCOzdj6IfP3upFURTr0Xl5BlQZNKZjEtxrmVyfSdeE3O57smoQ==} - dev: false - /isarray@2.0.5: resolution: {integrity: sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==} dev: true @@ -15560,10 +15502,10 @@ packages: /ms@2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} + dev: true /ms@2.1.2: resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} - dev: true /ms@2.1.3: resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==} @@ -16311,14 +16253,6 @@ packages: peberminta: 0.9.0 dev: true - /parseqs@0.0.6: - resolution: {integrity: sha512-jeAGzMDbfSHHA091hr0r31eYfTig+29g3GKKE/PPbEQ65X0lmMwlEoqmhzu0iztID5uJpZsFlUPDP8ThPL7M8w==} - dev: false - - /parseuri@0.0.6: - resolution: {integrity: sha512-AUjen8sAkGgao7UyCX6Ahv0gIK2fABKmYjvP4xmy5JaKvcbTRueIqIPHLAfq30xJddqSE033IOMUSOMCcK3Sow==} - dev: false - /parseurl@1.3.3: resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} engines: {node: '>= 0.8'} @@ -19465,32 +19399,26 @@ packages: engines: {node: '>= 0.10.15', npm: '>= 1.3.5'} dev: true - /socket.io-client@2.5.0: - resolution: {integrity: sha512-lOO9clmdgssDykiOmVQQitwBAF3I6mYcQAo7hQ7AM6Ny5X7fp8hIJ3HcQs3Rjz4SoggoxA1OgrQyY8EgTbcPYw==} + /socket.io-client@4.7.5: + resolution: {integrity: sha512-sJ/tqHOCe7Z50JCBCXrsY3I2k03iOiUe+tj1OmKeD2lXPiGH/RUCdTZFoqVyN7l1MnpIzPrGtLcijffmeouNlQ==} + engines: {node: '>=10.0.0'} dependencies: - backo2: 1.0.2 - component-bind: 1.0.0 - component-emitter: 1.3.1 - debug: 3.1.0 - engine.io-client: 3.5.4 - has-binary2: 1.0.3 - indexof: 0.0.1 - parseqs: 0.0.6 - parseuri: 0.0.6 - socket.io-parser: 3.3.3 - to-array: 0.1.4 + '@socket.io/component-emitter': 3.1.2 + debug: 4.3.5 + engine.io-client: 6.5.4 + socket.io-parser: 4.2.4 transitivePeerDependencies: - bufferutil - supports-color - utf-8-validate dev: false - /socket.io-parser@3.3.3: - resolution: {integrity: sha512-qOg87q1PMWWTeO01768Yh9ogn7chB9zkKtQnya41Y355S0UmpXgpcrFwAgjYJxu9BdKug5r5e9YtVSeWhKBUZg==} + /socket.io-parser@4.2.4: + resolution: {integrity: sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==} + engines: {node: '>=10.0.0'} dependencies: - component-emitter: 1.3.1 - debug: 3.1.0 - isarray: 2.0.1 + '@socket.io/component-emitter': 3.1.2 + debug: 4.3.5 transitivePeerDependencies: - supports-color dev: false @@ -19737,7 +19665,6 @@ packages: dependencies: inherits: 2.0.4 readable-stream: 3.6.2 - dev: true /stream-each@1.2.3: resolution: {integrity: sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==} @@ -20398,10 +20325,6 @@ packages: resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} dev: true - /to-array@0.1.4: - resolution: {integrity: sha512-LhVdShQD/4Mk4zXNroIQZJC+Ap3zgLcDuwEdcmLv9CCO73NWockQDwyUnW/m8VX/EElfL6FcYx7EeutN4HJA6A==} - dev: false - /to-arraybuffer@1.0.1: resolution: {integrity: sha512-okFlQcoGTi4LQBG/PgSYblw9VOyptsz2KJZqc6qtgGdes8VktzUQkj4BI2blit072iS8VODNcMA+tvnS9dnuMA==} dev: true @@ -21052,9 +20975,8 @@ packages: engines: {node: '>= 0.4.0'} dev: true - /uuid@3.4.0: - resolution: {integrity: sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==} - deprecated: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. + /uuid@10.0.0: + resolution: {integrity: sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ==} hasBin: true dev: false @@ -21612,6 +21534,19 @@ packages: utf-8-validate: optional: true + /ws@8.17.1: + resolution: {integrity: sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==} + 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 + dev: false + /ws@8.18.0: resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==} engines: {node: '>=10.0.0'} @@ -21661,8 +21596,8 @@ packages: resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} dev: true - /xmlhttprequest-ssl@1.6.3: - resolution: {integrity: sha512-3XfeQE/wNkvrIktn2Kf0869fC0BN6UpydVasGIeSm2B1Llihf7/0UfZM+eCkOw3P7bP4+qPgqhm7ZoxuJtFU0Q==} + /xmlhttprequest-ssl@2.0.0: + resolution: {integrity: sha512-QKxVRxiRACQcVuQEYFsI1hhkrMlrXHPegbbd1yn9UHOmRxY+si12nQYzri3vbzt8VdTTRviqcKxcyllFas5z2A==} engines: {node: '>=0.4.0'} dev: false @@ -21741,10 +21676,6 @@ packages: yargs-parser: 21.1.1 dev: true - /yeast@0.1.2: - resolution: {integrity: sha512-8HFIh676uyGYP6wP13R/j6OJ/1HwJ46snpvzE7aHAN3Ryqh2yX6Xox2B4CUmTwwOIzlG3Bs7ocsP5dZH/R1Qbg==} - dev: false - /yn@3.1.1: resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==} engines: {node: '>=6'}