diff --git a/.pnp.cjs b/.pnp.cjs index 8ec7b8da8b..a1eae776c9 100644 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -5521,7 +5521,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@chainlink/ea-test-helpers", "workspace:packages/core/test-helpers"],\ ["@types/jest", "npm:27.5.2"],\ ["@types/node", "npm:16.11.51"],\ - ["@types/ws", "npm:8.5.4"],\ + ["@types/ws", "npm:8.5.5"],\ ["ethers", "npm:5.7.2"],\ ["tslib", "npm:2.4.1"],\ ["typescript", "patch:typescript@npm%3A5.0.4#~builtin::version=5.0.4&hash=b5f058"],\ @@ -6802,7 +6802,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@types/remote-redux-devtools", "npm:0.5.5"],\ ["@types/sinon", "npm:10.0.15"],\ ["@types/uuid", "npm:8.3.4"],\ - ["@types/ws", "npm:8.5.4"],\ + ["@types/ws", "npm:8.5.5"],\ ["ajv", "npm:8.12.0"],\ ["axios", "npm:0.24.0"],\ ["decimal.js", "npm:10.4.3"],\ @@ -7549,7 +7549,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@types/jest", "npm:27.5.2"],\ ["@types/node", "npm:16.11.51"],\ ["@types/sinonjs__fake-timers", "npm:8.1.2"],\ - ["@types/ws", "npm:8.5.4"],\ + ["@types/ws", "npm:8.5.5"],\ ["axios", "npm:0.27.2"],\ ["crypto", "npm:1.0.1"],\ ["nock", "npm:13.2.9"],\ @@ -9001,7 +9001,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@types/jest", "npm:27.5.2"],\ ["@types/node", "npm:16.11.51"],\ ["@types/sinonjs__fake-timers", "npm:8.1.2"],\ - ["@types/ws", "npm:8.5.4"],\ + ["@types/ws", "npm:8.5.5"],\ ["nock", "npm:13.2.9"],\ ["tslib", "npm:2.4.1"],\ ["typescript", "patch:typescript@npm%3A5.0.4#~builtin::version=5.0.4&hash=b5f058"]\ @@ -15550,10 +15550,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ "linkType": "HARD"\ }],\ - ["npm:8.5.4", {\ - "packageLocation": "./.yarn/cache/@types-ws-npm-8.5.4-c0237574ef-fefbad20d2.zip/node_modules/@types/ws/",\ + ["npm:8.5.5", {\ + "packageLocation": "./.yarn/cache/@types-ws-npm-8.5.5-5f5e3bde2d-d00bf8070e.zip/node_modules/@types/ws/",\ "packageDependencies": [\ - ["@types/ws", "npm:8.5.4"],\ + ["@types/ws", "npm:8.5.5"],\ ["@types/node", "npm:18.8.3"]\ ],\ "linkType": "HARD"\ diff --git a/.yarn/cache/@types-ws-npm-8.5.4-c0237574ef-fefbad20d2.zip b/.yarn/cache/@types-ws-npm-8.5.4-c0237574ef-fefbad20d2.zip deleted file mode 100644 index 9f44d3ed17..0000000000 Binary files a/.yarn/cache/@types-ws-npm-8.5.4-c0237574ef-fefbad20d2.zip and /dev/null differ diff --git a/.yarn/cache/@types-ws-npm-8.5.5-5f5e3bde2d-d00bf8070e.zip b/.yarn/cache/@types-ws-npm-8.5.5-5f5e3bde2d-d00bf8070e.zip new file mode 100644 index 0000000000..89746601f0 Binary files /dev/null and b/.yarn/cache/@types-ws-npm-8.5.5-5f5e3bde2d-d00bf8070e.zip differ diff --git a/packages/core/bootstrap/package.json b/packages/core/bootstrap/package.json index c27f25c9a6..e2cd9be645 100644 --- a/packages/core/bootstrap/package.json +++ b/packages/core/bootstrap/package.json @@ -55,7 +55,7 @@ "@types/remote-redux-devtools": "0.5.5", "@types/sinon": "10.0.15", "@types/uuid": "8.3.4", - "@types/ws": "8.5.4", + "@types/ws": "8.5.5", "mock-socket": "9.1.5", "sinon": "14.0.2", "typescript": "5.0.4" diff --git a/packages/sources/ada-balance/package.json b/packages/sources/ada-balance/package.json index ab8b79736e..e4a40c58ed 100644 --- a/packages/sources/ada-balance/package.json +++ b/packages/sources/ada-balance/package.json @@ -31,7 +31,7 @@ "@cardano-ogmios/client": "^5.0.0", "@chainlink/ea-bootstrap": "workspace:*", "@chainlink/ea-test-helpers": "workspace:*", - "@types/ws": "8.5.4", + "@types/ws": "8.5.5", "ethers": "^5.4.6", "tslib": "^2.3.1", "ws": "^7.4.6" diff --git a/packages/sources/gsr/package.json b/packages/sources/gsr/package.json index fc32a99363..bd5e5903c4 100644 --- a/packages/sources/gsr/package.json +++ b/packages/sources/gsr/package.json @@ -38,7 +38,7 @@ "@types/jest": "27.5.2", "@types/node": "16.11.51", "@types/sinonjs__fake-timers": "8.1.2", - "@types/ws": "8.5.4", + "@types/ws": "8.5.5", "nock": "13.2.9", "typescript": "5.0.4" } diff --git a/packages/sources/onchain-gas/test/integration/adapter.test.ts b/packages/sources/onchain-gas/test/integration/adapter.test.ts index 80973e2c24..64e41a4f92 100644 --- a/packages/sources/onchain-gas/test/integration/adapter.test.ts +++ b/packages/sources/onchain-gas/test/integration/adapter.test.ts @@ -53,7 +53,11 @@ describe('websocket', () => { let flowFulfilled = Promise.resolve(true) if (!process.env.RECORD) { mockGetBlockByNumber() - flowFulfilled = mockWebSocketFlow(mockedWsServer, [mockWSResponse]) + // eslint-disable-next-line @typescript-eslint/ban-ts-comment + // @ts-ignore is needed since errorOnUnexpectedMessage has type 'true' instead of value 'true' and type 'boolean' + flowFulfilled = mockWebSocketFlow(mockedWsServer, [mockWSResponse], { + errorOnUnexpectedMessage: false, + }) } const makeRequest = () => diff --git a/packages/sources/twosigma/package.json b/packages/sources/twosigma/package.json index ab8b7c0d38..4bc5c8163c 100644 --- a/packages/sources/twosigma/package.json +++ b/packages/sources/twosigma/package.json @@ -36,7 +36,7 @@ "@types/jest": "27.5.2", "@types/node": "16.11.51", "@types/sinonjs__fake-timers": "8.1.2", - "@types/ws": "8.5.4", + "@types/ws": "8.5.5", "nock": "13.2.9", "typescript": "5.0.4" } diff --git a/yarn.lock b/yarn.lock index 43695db3ef..6b8eb23a41 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1968,7 +1968,7 @@ __metadata: "@chainlink/ea-test-helpers": "workspace:*" "@types/jest": 27.5.2 "@types/node": 16.11.51 - "@types/ws": 8.5.4 + "@types/ws": 8.5.5 ethers: ^5.4.6 tslib: ^2.3.1 typescript: 5.0.4 @@ -3115,7 +3115,7 @@ __metadata: "@types/remote-redux-devtools": 0.5.5 "@types/sinon": 10.0.15 "@types/uuid": 8.3.4 - "@types/ws": 8.5.4 + "@types/ws": 8.5.5 ajv: ^8.6.2 axios: ^0.24.0 decimal.js: ^10.3.1 @@ -3787,7 +3787,7 @@ __metadata: "@types/jest": 27.5.2 "@types/node": 16.11.51 "@types/sinonjs__fake-timers": 8.1.2 - "@types/ws": 8.5.4 + "@types/ws": 8.5.5 axios: 0.27.2 crypto: 1.0.1 nock: 13.2.9 @@ -5083,7 +5083,7 @@ __metadata: "@types/jest": 27.5.2 "@types/node": 16.11.51 "@types/sinonjs__fake-timers": 8.1.2 - "@types/ws": 8.5.4 + "@types/ws": 8.5.5 nock: 13.2.9 tslib: ^2.3.1 typescript: 5.0.4 @@ -10997,12 +10997,12 @@ __metadata: languageName: node linkType: hard -"@types/ws@npm:8.5.4": - version: 8.5.4 - resolution: "@types/ws@npm:8.5.4" +"@types/ws@npm:8.5.5": + version: 8.5.5 + resolution: "@types/ws@npm:8.5.5" dependencies: "@types/node": "*" - checksum: fefbad20d211929bb996285c4e6f699b12192548afedbe4930ab4384f8a94577c9cd421acaad163cacd36b88649509970a05a0b8f20615b30c501ed5269038d1 + checksum: d00bf8070e6938e3ccf933010921c6ce78ac3606696ce37a393b27a9a603f7bd93ea64f3c5fa295a2f743575ba9c9a9fdb904af0f5fe2229bf2adf0630386e4a languageName: node linkType: hard