diff --git a/packages/library-legacy/package.json b/packages/library-legacy/package.json index 9bb7e8eb849..32993513c2c 100644 --- a/packages/library-legacy/package.json +++ b/packages/library-legacy/package.json @@ -68,7 +68,7 @@ "fast-stable-stringify": "^1.0.0", "jayson": "^4.1.0", "node-fetch": "^2.7.0", - "rpc-websockets": "^8.0.1", + "rpc-websockets": "^9.0.0", "superstruct": "^1.0.4" }, "devDependencies": { diff --git a/packages/library-legacy/rollup.config.mjs b/packages/library-legacy/rollup.config.mjs index 0a9cb2a92e9..d00b589ab7f 100644 --- a/packages/library-legacy/rollup.config.mjs +++ b/packages/library-legacy/rollup.config.mjs @@ -110,10 +110,6 @@ function generateConfig(configType, format) { 'jayson/lib/client/browser', 'node-fetch', 'rpc-websockets', - 'rpc-websockets/dist/lib/client.cjs', - 'rpc-websockets/dist/lib/client/client.types.cjs', - 'rpc-websockets/dist/lib/client/websocket.cjs', - 'rpc-websockets/dist/lib/client/websocket.browser.cjs', 'superstruct', ]; } @@ -182,10 +178,6 @@ function generateConfig(configType, format) { 'node-fetch', 'react-native-url-polyfill', 'rpc-websockets', - 'rpc-websockets/dist/lib/client.cjs', - 'rpc-websockets/dist/lib/client/client.types.cjs', - 'rpc-websockets/dist/lib/client/websocket.cjs', - 'rpc-websockets/dist/lib/client/websocket.browser.cjs', 'superstruct', ]; diff --git a/packages/library-legacy/src/__forks__/browser/rpc-websocket-factory.ts b/packages/library-legacy/src/__forks__/browser/rpc-websocket-factory.ts deleted file mode 100644 index 013a5fc8941..00000000000 --- a/packages/library-legacy/src/__forks__/browser/rpc-websocket-factory.ts +++ /dev/null @@ -1 +0,0 @@ -export {default} from 'rpc-websockets/dist/lib/client/websocket.browser.cjs'; diff --git a/packages/library-legacy/src/__forks__/react-native/rpc-websocket-factory.ts b/packages/library-legacy/src/__forks__/react-native/rpc-websocket-factory.ts deleted file mode 100644 index 013a5fc8941..00000000000 --- a/packages/library-legacy/src/__forks__/react-native/rpc-websocket-factory.ts +++ /dev/null @@ -1 +0,0 @@ -export {default} from 'rpc-websockets/dist/lib/client/websocket.browser.cjs'; diff --git a/packages/library-legacy/src/rpc-websocket-factory.ts b/packages/library-legacy/src/rpc-websocket-factory.ts deleted file mode 100644 index d4af0bbdc4f..00000000000 --- a/packages/library-legacy/src/rpc-websocket-factory.ts +++ /dev/null @@ -1,4 +0,0 @@ -import {ICommonWebSocketFactory} from 'rpc-websockets/dist/lib/client/client.types.cjs'; -import WebsocketFactory from 'rpc-websockets/dist/lib/client/websocket.cjs'; - -export default WebsocketFactory as ICommonWebSocketFactory; diff --git a/packages/library-legacy/src/rpc-websocket.ts b/packages/library-legacy/src/rpc-websocket.ts index 114c2dd725a..5c5863866ea 100644 --- a/packages/library-legacy/src/rpc-websocket.ts +++ b/packages/library-legacy/src/rpc-websocket.ts @@ -1,19 +1,17 @@ -import RpcWebSocketCommonClient from 'rpc-websockets/dist/lib/client.cjs'; -import WebSocketBrowserImpl from 'rpc-websockets/dist/lib/client/websocket.cjs'; import { + CommonClient, ICommonWebSocket, IWSClientAdditionalOptions, NodeWebSocketType, NodeWebSocketTypeOptions, -} from 'rpc-websockets/dist/lib/client/client.types.cjs'; - -import createRpc from './rpc-websocket-factory'; + WebSocket as createRpc, +} from 'rpc-websockets'; interface IHasReadyState { readyState: WebSocket['readyState']; } -export default class RpcWebSocketClient extends RpcWebSocketCommonClient { +export default class RpcWebSocketClient extends CommonClient { private underlyingSocket: IHasReadyState | undefined; constructor( address?: string, @@ -32,9 +30,7 @@ export default class RpcWebSocketClient extends RpcWebSocketCommonClient { ...options, }); if ('socket' in rpc) { - this.underlyingSocket = rpc.socket as ReturnType< - typeof WebSocketBrowserImpl - >; + this.underlyingSocket = rpc.socket as ReturnType; } else { this.underlyingSocket = rpc as NodeWebSocketType; } @@ -43,8 +39,8 @@ export default class RpcWebSocketClient extends RpcWebSocketCommonClient { super(webSocketFactory, address, options, generate_request_id); } call( - ...args: Parameters - ): ReturnType { + ...args: Parameters + ): ReturnType { const readyState = this.underlyingSocket?.readyState; if (readyState === 1 /* WebSocket.OPEN */) { return super.call(...args); @@ -60,8 +56,8 @@ export default class RpcWebSocketClient extends RpcWebSocketCommonClient { ); } notify( - ...args: Parameters - ): ReturnType { + ...args: Parameters + ): ReturnType { const readyState = this.underlyingSocket?.readyState; if (readyState === 1 /* WebSocket.OPEN */) { return super.notify(...args); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9adfe62c7ad..152fdcea7c8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -31,7 +31,7 @@ importers: version: link:packages/build-scripts '@solana/eslint-config-solana': specifier: ^3.0.3 - version: 3.0.3(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)))(typescript@5.4.5))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-simple-import-sort@10.0.0(eslint@8.57.0))(eslint-plugin-sort-keys-fix@1.1.2)(eslint-plugin-typescript-sort-keys@3.2.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) + version: 3.0.3(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)))(typescript@5.4.5))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-simple-import-sort@10.0.0(eslint@8.57.0))(eslint-plugin-sort-keys-fix@1.1.2)(eslint-plugin-typescript-sort-keys@3.2.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) '@solana/prettier-config-solana': specifier: 0.0.5 version: 0.0.5(prettier@3.3.1) @@ -46,7 +46,7 @@ importers: version: link:packages/tsconfig '@swc/jest': specifier: ^0.2.36 - version: 0.2.36(@swc/core@1.3.93) + version: 0.2.36(@swc/core@1.3.93(@swc/helpers@0.5.11)) '@types/jest': specifier: ^29.5.12 version: 29.5.12 @@ -70,7 +70,7 @@ importers: version: 1.13.3(eslint@8.57.0) eslint-plugin-jest: specifier: ^27.9.0 - version: 27.9.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)))(typescript@5.4.5) + version: 27.9.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)))(typescript@5.4.5) eslint-plugin-react-hooks: specifier: ^4.6.2 version: 4.6.2(eslint@8.57.0) @@ -85,34 +85,34 @@ importers: version: 3.2.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) jest: specifier: ^30.0.0-alpha.4 - version: 30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)) + version: 30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)) jest-environment-jsdom: specifier: ^30.0.0-alpha.5 version: 30.0.0-alpha.5(bufferutil@4.0.8)(utf-8-validate@5.0.10) jest-runner-eslint: specifier: ^2.2.0 - version: 2.2.0(eslint@8.57.0)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5))) + version: 2.2.0(eslint@8.57.0)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5))) jest-runner-prettier: specifier: ^1.0.0 - version: 1.0.0(patch_hash=wxyu3ekhzy6qhvwrai2xltdhn4)(bufferutil@4.0.8)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)))(prettier@3.3.1)(utf-8-validate@5.0.10) + version: 1.0.0(patch_hash=wxyu3ekhzy6qhvwrai2xltdhn4)(bufferutil@4.0.8)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)))(prettier@3.3.1)(utf-8-validate@5.0.10) jest-watch-master: specifier: ^1.0.0 - version: 1.0.0(jest-validate@30.0.0-alpha.4)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5))) + version: 1.0.0(jest-validate@30.0.0-alpha.4)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5))) jest-watch-select-projects: specifier: ^2.0.0 version: 2.0.0 jest-watch-typeahead: specifier: ^2.2.2 - version: 2.2.2(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5))) + version: 2.2.2(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5))) prettier: specifier: ^3.3 version: 3.3.1 ts-node: specifier: ^10.9.2 - version: 10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5) + version: 10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5) tsup: specifier: ^8.0.2 - version: 8.0.2(@swc/core@1.3.93)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5))(typescript@5.4.5) + version: 8.0.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5))(typescript@5.4.5) turbo: specifier: ^1.13.3 version: 1.13.3 @@ -459,8 +459,8 @@ importers: specifier: ^2.7.0 version: 2.7.0 rpc-websockets: - specifier: ^8.0.1 - version: 8.0.1 + specifier: ^9.0.0 + version: 9.0.0 superstruct: specifier: ^1.0.4 version: 1.0.4 @@ -3102,6 +3102,9 @@ packages: '@swc/counter@0.1.3': resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} + '@swc/helpers@0.5.11': + resolution: {integrity: sha512-YNlnKRWF2sVojTpIyzwou9XoTNbzbzONwRhOoniEioF1AtaitTvVZblaQRrAzChWQ1bLYyYSWzM18y4WwgzJ+A==} + '@swc/jest@0.2.36': resolution: {integrity: sha512-8X80dp81ugxs4a11z1ka43FPhP+/e+mJNXJSxiNYk8gIX/jPBtY4gQTrKu/KIoco8bzKuPI5lUxjfLiGsfvnlw==} engines: {npm: '>= 7.0.0'} @@ -3289,6 +3292,9 @@ packages: '@types/unist@2.0.6': resolution: {integrity: sha512-PBjIUxZHOuj0R15/xuwJYjFi+KZdNFrehocChv4g5hu6aFroHue8m0lBP0POdK2nKzbw0cgV1mws8+V/JAcEkQ==} + '@types/uuid@8.3.4': + resolution: {integrity: sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==} + '@types/ws@7.4.7': resolution: {integrity: sha512-JQbbmxZTZehdc2iszGKs5oC3NFnjeay7mtAWrdt7qNtAVK0g19muApzAy4bm9byz79xa2ZnO/BOBC2R8RC5Lww==} @@ -6896,8 +6902,8 @@ packages: engines: {node: '>=18.0.0', npm: '>=8.0.0'} hasBin: true - rpc-websockets@8.0.1: - resolution: {integrity: sha512-PptrPRK40uQvifq5sCcObmqInVcZXhy+RRrirzdE5KUPvDI47y1wPvfckD2QzqngOU9xaPW/dT+G+b+wj6M1MQ==} + rpc-websockets@9.0.0: + resolution: {integrity: sha512-1yf8FM6PY6Uhip2Fe+UrgPq9EhUu0qxr5mcVSEGOTWhpzffTh5IBKy5S+C68zJv0Gg0k9ey0pw7K06+EfbnN3g==} rrweb-cssom@0.6.0: resolution: {integrity: sha512-APM0Gt1KoXBz0iIkkdB/kfvGOwC4UuJFeG/c+yV7wSc7q96cG/kJ0HiYCnzivD9SB53cLV1MlHFNfOuPaadYSw==} @@ -9381,7 +9387,7 @@ snapshots: jest-util: 30.0.0-alpha.4 slash: 3.0.0 - '@jest/core@30.0.0-alpha.4(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5))': + '@jest/core@30.0.0-alpha.4(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5))': dependencies: '@jest/console': 30.0.0-alpha.4 '@jest/reporters': 30.0.0-alpha.4 @@ -9395,7 +9401,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 30.0.0-alpha.4 - jest-config: 30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)) + jest-config: 30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)) jest-haste-map: 30.0.0-alpha.4 jest-message-util: 30.0.0-alpha.4 jest-regex-util: 30.0.0-alpha.4 @@ -10113,12 +10119,12 @@ snapshots: chalk: 5.3.0 commander: 12.1.0 - '@solana/eslint-config-solana@3.0.3(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)))(typescript@5.4.5))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-simple-import-sort@10.0.0(eslint@8.57.0))(eslint-plugin-sort-keys-fix@1.1.2)(eslint-plugin-typescript-sort-keys@3.2.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5)': + '@solana/eslint-config-solana@3.0.3(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)))(typescript@5.4.5))(eslint-plugin-react-hooks@4.6.2(eslint@8.57.0))(eslint-plugin-simple-import-sort@10.0.0(eslint@8.57.0))(eslint-plugin-sort-keys-fix@1.1.2)(eslint-plugin-typescript-sort-keys@3.2.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5)': dependencies: '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) '@typescript-eslint/parser': 6.21.0(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 - eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)))(typescript@5.4.5) + eslint-plugin-jest: 27.9.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)))(typescript@5.4.5) eslint-plugin-react-hooks: 4.6.2(eslint@8.57.0) eslint-plugin-simple-import-sort: 10.0.0(eslint@8.57.0) eslint-plugin-sort-keys-fix: 1.1.2 @@ -10192,7 +10198,7 @@ snapshots: '@swc/core-win32-x64-msvc@1.3.93': optional: true - '@swc/core@1.3.93': + '@swc/core@1.3.93(@swc/helpers@0.5.11)': dependencies: '@swc/counter': 0.1.3 '@swc/types': 0.1.5 @@ -10207,13 +10213,18 @@ snapshots: '@swc/core-win32-arm64-msvc': 1.3.93 '@swc/core-win32-ia32-msvc': 1.3.93 '@swc/core-win32-x64-msvc': 1.3.93 + '@swc/helpers': 0.5.11 '@swc/counter@0.1.3': {} - '@swc/jest@0.2.36(@swc/core@1.3.93)': + '@swc/helpers@0.5.11': + dependencies: + tslib: 2.6.2 + + '@swc/jest@0.2.36(@swc/core@1.3.93(@swc/helpers@0.5.11))': dependencies: '@jest/create-cache-key-function': 29.7.0 - '@swc/core': 1.3.93 + '@swc/core': 1.3.93(@swc/helpers@0.5.11) '@swc/counter': 0.1.3 jsonc-parser: 3.2.0 @@ -10412,6 +10423,8 @@ snapshots: '@types/unist@2.0.6': {} + '@types/uuid@8.3.4': {} + '@types/ws@7.4.7': dependencies: '@types/node': 18.19.21 @@ -11726,13 +11739,13 @@ snapshots: - eslint-import-resolver-webpack - supports-color - eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)))(typescript@5.4.5): + eslint-plugin-jest@27.9.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)))(typescript@5.4.5): dependencies: '@typescript-eslint/utils': 5.61.0(eslint@8.57.0)(typescript@5.4.5) eslint: 8.57.0 optionalDependencies: '@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.57.0)(typescript@5.4.5))(eslint@8.57.0)(typescript@5.4.5) - jest: 30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)) + jest: 30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)) transitivePeerDependencies: - supports-color - typescript @@ -12843,15 +12856,15 @@ snapshots: - babel-plugin-macros - supports-color - jest-cli@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)): + jest-cli@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)): dependencies: - '@jest/core': 30.0.0-alpha.4(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)) + '@jest/core': 30.0.0-alpha.4(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)) '@jest/test-result': 30.0.0-alpha.4 '@jest/types': 30.0.0-alpha.4 chalk: 4.1.2 exit: 0.1.2 import-local: 3.1.0 - jest-config: 30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)) + jest-config: 30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)) jest-util: 30.0.0-alpha.4 jest-validate: 30.0.0-alpha.4 yargs: 17.7.2 @@ -12861,7 +12874,7 @@ snapshots: - supports-color - ts-node - jest-config@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)): + jest-config@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)): dependencies: '@babel/core': 7.24.7 '@jest/test-sequencer': 30.0.0-alpha.4 @@ -12887,7 +12900,7 @@ snapshots: strip-json-comments: 3.1.1 optionalDependencies: '@types/node': 18.19.21 - ts-node: 10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5) + ts-node: 10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5) transitivePeerDependencies: - babel-plugin-macros - supports-color @@ -13169,23 +13182,23 @@ snapshots: resolve.exports: 2.0.2 slash: 3.0.0 - jest-runner-eslint@2.2.0(eslint@8.57.0)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5))): + jest-runner-eslint@2.2.0(eslint@8.57.0)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5))): dependencies: chalk: 4.1.2 cosmiconfig: 7.1.0 create-jest-runner: 0.11.2 dot-prop: 6.0.1 eslint: 8.57.0 - jest: 30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)) + jest: 30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)) transitivePeerDependencies: - '@jest/test-result' - jest-runner - jest-runner-prettier@1.0.0(patch_hash=wxyu3ekhzy6qhvwrai2xltdhn4)(bufferutil@4.0.8)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)))(prettier@3.3.1)(utf-8-validate@5.0.10): + jest-runner-prettier@1.0.0(patch_hash=wxyu3ekhzy6qhvwrai2xltdhn4)(bufferutil@4.0.8)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)))(prettier@3.3.1)(utf-8-validate@5.0.10): dependencies: create-jest-runner: 0.8.0 emphasize: 5.0.0 - jest: 30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)) + jest: 30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)) jest-diff: 27.5.1 jest-runner: 27.5.1(bufferutil@4.0.8)(utf-8-validate@5.0.10) p-limit: 4.0.0 @@ -13418,10 +13431,10 @@ snapshots: leven: 3.1.0 pretty-format: 30.0.0-alpha.4 - jest-watch-master@1.0.0(jest-validate@30.0.0-alpha.4)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5))): + jest-watch-master@1.0.0(jest-validate@30.0.0-alpha.4)(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5))): dependencies: chalk: 2.4.2 - jest: 30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)) + jest: 30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)) jest-validate: 30.0.0-alpha.4 jest-watch-select-projects@2.0.0: @@ -13430,11 +13443,11 @@ snapshots: chalk: 3.0.0 prompts: 2.4.2 - jest-watch-typeahead@2.2.2(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5))): + jest-watch-typeahead@2.2.2(jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5))): dependencies: ansi-escapes: 6.2.0 chalk: 5.3.0 - jest: 30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)) + jest: 30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)) jest-regex-util: 29.6.3 jest-watcher: 29.7.0 slash: 5.1.0 @@ -13487,12 +13500,12 @@ snapshots: merge-stream: 2.0.0 supports-color: 8.1.1 - jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)): + jest@30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)): dependencies: - '@jest/core': 30.0.0-alpha.4(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)) + '@jest/core': 30.0.0-alpha.4(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)) '@jest/types': 30.0.0-alpha.4 import-local: 3.1.0 - jest-cli: 30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)) + jest-cli: 30.0.0-alpha.4(@types/node@18.19.21)(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)) transitivePeerDependencies: - '@types/node' - babel-plugin-macros @@ -14271,12 +14284,12 @@ snapshots: transitivePeerDependencies: - supports-color - postcss-load-config@4.0.1(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)): + postcss-load-config@4.0.1(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)): dependencies: lilconfig: 2.1.0 yaml: 2.3.1 optionalDependencies: - ts-node: 10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5) + ts-node: 10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5) preferred-pm@3.1.3: dependencies: @@ -14606,8 +14619,12 @@ snapshots: '@rollup/rollup-win32-x64-msvc': 4.18.0 fsevents: 2.3.3 - rpc-websockets@8.0.1: + rpc-websockets@9.0.0: dependencies: + '@swc/helpers': 0.5.11 + '@types/uuid': 8.3.4 + '@types/ws': 8.5.10 + buffer: 6.0.3 eventemitter3: 4.0.7 uuid: 8.3.2 ws: 8.14.2(bufferutil@4.0.8)(utf-8-validate@5.0.10) @@ -15158,7 +15175,7 @@ snapshots: ts-interface-checker@0.1.13: {} - ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5): + ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5): dependencies: '@cspotcode/source-map-support': 0.8.1 '@tsconfig/node10': 1.0.11 @@ -15176,7 +15193,7 @@ snapshots: v8-compile-cache-lib: 3.0.1 yn: 3.1.1 optionalDependencies: - '@swc/core': 1.3.93 + '@swc/core': 1.3.93(@swc/helpers@0.5.11) tsconfig-paths@3.14.2: dependencies: @@ -15189,7 +15206,7 @@ snapshots: tslib@2.6.2: {} - tsup@8.0.2(@swc/core@1.3.93)(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5))(typescript@5.4.5): + tsup@8.0.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5))(typescript@5.4.5): dependencies: bundle-require: 4.0.1(esbuild@0.19.12) cac: 6.7.14 @@ -15199,14 +15216,14 @@ snapshots: execa: 5.1.1 globby: 11.1.0 joycon: 3.1.1 - postcss-load-config: 4.0.1(ts-node@10.9.2(@swc/core@1.3.93)(@types/node@18.19.21)(typescript@5.4.5)) + postcss-load-config: 4.0.1(ts-node@10.9.2(@swc/core@1.3.93(@swc/helpers@0.5.11))(@types/node@18.19.21)(typescript@5.4.5)) resolve-from: 5.0.0 rollup: 4.18.0 source-map: 0.8.0-beta.0 sucrase: 3.32.0 tree-kill: 1.2.2 optionalDependencies: - '@swc/core': 1.3.93 + '@swc/core': 1.3.93(@swc/helpers@0.5.11) typescript: 5.4.5 transitivePeerDependencies: - supports-color