Skip to content

Commit 7920565

Browse files
authored
Bump deps (#3929)
* Bump deps * linting
1 parent 4f0069c commit 7920565

File tree

14 files changed

+286
-286
lines changed

14 files changed

+286
-286
lines changed

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"packages/*"
99
],
1010
"resolutions": {
11-
"typescript": "^4.3.5"
11+
"typescript": "^4.4.2"
1212
},
1313
"scripts": {
1414
"build": "yarn build:interfaces && polkadot-dev-build-ts",
@@ -26,11 +26,11 @@
2626
"test:watch": "polkadot-dev-run-test --watch"
2727
},
2828
"devDependencies": {
29-
"@babel/core": "^7.15.0",
29+
"@babel/core": "^7.15.5",
3030
"@babel/register": "^7.15.3",
31-
"@babel/runtime": "^7.15.3",
32-
"@polkadot/dev": "^0.62.64",
33-
"@polkadot/ts": "^0.4.6",
31+
"@babel/runtime": "^7.15.4",
32+
"@polkadot/dev": "^0.62.66",
33+
"@polkadot/ts": "^0.4.7",
3434
"@polkadot/typegen": "workspace:packages/typegen",
3535
"@types/jest": "^27.0.1",
3636
"copyfiles": "^2.4.1"

packages/api-contract/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"bugs": "https://github.com/polkadot-js/api/issues",
2020
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-contract#readme",
2121
"dependencies": {
22-
"@babel/runtime": "^7.15.3",
22+
"@babel/runtime": "^7.15.4",
2323
"@polkadot/api": "5.7.2-7",
2424
"@polkadot/types": "5.7.2-7",
2525
"@polkadot/util": "^7.3.1",

packages/api-derive/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"bugs": "https://github.com/polkadot-js/api/issues",
2020
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api-derive#readme",
2121
"dependencies": {
22-
"@babel/runtime": "^7.15.3",
22+
"@babel/runtime": "^7.15.4",
2323
"@polkadot/api": "5.7.2-7",
2424
"@polkadot/rpc-core": "5.7.2-7",
2525
"@polkadot/types": "5.7.2-7",

packages/api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"bugs": "https://github.com/polkadot-js/api/issues",
2020
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/api#readme",
2121
"dependencies": {
22-
"@babel/runtime": "^7.15.3",
22+
"@babel/runtime": "^7.15.4",
2323
"@polkadot/api-derive": "5.7.2-7",
2424
"@polkadot/keyring": "^7.3.1",
2525
"@polkadot/rpc-core": "5.7.2-7",

packages/rpc-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"bugs": "https://github.com/polkadot-js/api/issues",
2020
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
2121
"dependencies": {
22-
"@babel/runtime": "^7.15.3",
22+
"@babel/runtime": "^7.15.4",
2323
"@polkadot/rpc-provider": "5.7.2-7",
2424
"@polkadot/types": "5.7.2-7",
2525
"@polkadot/util": "^7.3.1",

packages/rpc-core/src/bundle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ export class RpcCore {
305305

306306
subscriptionPromise = this._createSubscriber({ paramsJson, subName, subType, update }, errorHandler);
307307
} catch (error) {
308-
errorHandler(error);
308+
errorHandler(error as Error);
309309
}
310310

311311
// Teardown logic

packages/rpc-provider/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"bugs": "https://github.com/polkadot-js/api/issues",
2020
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-provider#readme",
2121
"dependencies": {
22-
"@babel/runtime": "^7.15.3",
22+
"@babel/runtime": "^7.15.4",
2323
"@polkadot/types": "5.7.2-7",
2424
"@polkadot/util": "^7.3.1",
2525
"@polkadot/util-crypto": "^7.3.1",

packages/rpc-provider/src/ws/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ export class WsProvider implements ProviderInterface {
418418
}
419419
}
420420
} catch (error) {
421-
handler.callback(error, undefined);
421+
handler.callback(error as Error, undefined);
422422
}
423423

424424
delete this.#handlers[response.id];
@@ -446,7 +446,7 @@ export class WsProvider implements ProviderInterface {
446446

447447
handler.callback(null, result);
448448
} catch (error) {
449-
handler.callback(error, undefined);
449+
handler.callback(error as Error, undefined);
450450
}
451451
}
452452

packages/rpc-provider/test/mockWs.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ interface ReplyDef {
2727
};
2828
}
2929

30-
global.WebSocket = WebSocket;
30+
global.WebSocket = WebSocket as typeof global.WebSocket;
3131

3232
export const TEST_WS_URL = 'ws://localhost:9955';
3333

packages/typegen/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
"bugs": "https://github.com/polkadot-js/api/issues",
2727
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/typegen#readme",
2828
"dependencies": {
29-
"@babel/core": "^7.15.0",
29+
"@babel/core": "^7.15.5",
3030
"@babel/register": "^7.15.3",
31-
"@babel/runtime": "^7.15.3",
31+
"@babel/runtime": "^7.15.4",
3232
"@polkadot/api": "5.7.2-7",
3333
"@polkadot/rpc-provider": "5.7.2-7",
3434
"@polkadot/types": "5.7.2-7",

0 commit comments

Comments
 (0)