Bump dev deps (w/ TS 5.3.3.) (#1900)

* Bump dev deps (w/ TS 5.3.3.)

* Deno override to any

* Exdplicit around esm.sh work-around
This commit is contained in:
Jaco
2023-12-12 07:33:59 +02:00
committed by GitHub
parent f55e88c116
commit 6fde7bc5a0
7 changed files with 444 additions and 445 deletions
+3 -3
View File
@@ -37,10 +37,10 @@
"test:one": "polkadot-dev-run-test --env browser"
},
"devDependencies": {
"@polkadot/dev": "^0.77.1",
"@types/node": "^20.9.1"
"@polkadot/dev": "^0.77.2",
"@types/node": "^20.10.4"
},
"resolutions": {
"typescript": "^5.2.2"
"typescript": "^5.3.3"
}
}
+4 -4
View File
@@ -19,13 +19,13 @@
"main": "node.js",
"react-native": "react-native.js",
"dependencies": {
"@ledgerhq/hw-transport": "^6.29.0",
"@ledgerhq/hw-transport-webhid": "^6.27.20",
"@ledgerhq/hw-transport-webusb": "^6.27.20",
"@ledgerhq/hw-transport": "^6.30.0",
"@ledgerhq/hw-transport-webhid": "^6.28.0",
"@ledgerhq/hw-transport-webusb": "^6.28.0",
"@polkadot/util": "12.6.1",
"tslib": "^2.6.2"
},
"optionalDependencies": {
"@ledgerhq/hw-transport-node-hid-singleton": "^6.29.0"
"@ledgerhq/hw-transport-node-hid-singleton": "^6.30.0"
}
}
+7 -1
View File
@@ -124,7 +124,13 @@ export class Ledger {
if (!this.#app) {
const transport = await this.#transportDef.create();
this.#app = newSubstrateApp(transport, this.#ledgerName);
// We need this override for the actual type passing - the Deno environment
// is quite a bit stricter and it yields invalids between the two (specifically
// since we mangle the imports from .default in the types for CJS/ESM and between
// esm.sh versions this yields problematic outputs)
//
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-explicit-any
this.#app = newSubstrateApp(transport as any, this.#ledgerName);
}
return await fn(this.#app);
+5 -5
View File
@@ -27,15 +27,15 @@
},
"main": "index.js",
"dependencies": {
"@noble/curves": "^1.2.0",
"@noble/hashes": "^1.3.2",
"@noble/curves": "^1.3.0",
"@noble/hashes": "^1.3.3",
"@polkadot/networks": "12.6.1",
"@polkadot/util": "12.6.1",
"@polkadot/wasm-crypto": "^7.3.1",
"@polkadot/wasm-util": "^7.3.1",
"@polkadot/wasm-crypto": "^7.3.2",
"@polkadot/wasm-util": "^7.3.2",
"@polkadot/x-bigint": "12.6.1",
"@polkadot/x-randomvalues": "12.6.1",
"@scure/base": "^1.1.3",
"@scure/base": "^1.1.4",
"tslib": "^2.6.2"
},
"peerDependencies": {
+2 -2
View File
@@ -25,8 +25,8 @@
},
"devDependencies": {
"@polkadot/util": "12.6.1",
"@polkadot/wasm-util": "^7.3.1",
"@types/react-native": "^0.72.6"
"@polkadot/wasm-util": "^7.3.2",
"@types/react-native": "^0.72.8"
},
"peerDependencies": {
"@polkadot/util": "12.6.1",
+2 -2
View File
@@ -22,9 +22,9 @@
"dependencies": {
"@polkadot/x-global": "12.6.1",
"tslib": "^2.6.2",
"ws": "^8.14.2"
"ws": "^8.15.0"
},
"devDependencies": {
"@types/ws": "^8.5.9"
"@types/ws": "^8.5.10"
}
}
+421 -428
View File
File diff suppressed because it is too large Load Diff