Dependency version checks (#904)

* Dependency version checks

* Add depndecy detection for all

* Cleanup util detectPackage

* Single detectPackage

* Update packages/hw-ledger/src/detectPackage.ts

* Update packages/util/src/detectPackage.ts

* non-indexed imports
This commit is contained in:
Jaco Greeff
2021-02-27 13:46:07 +01:00
committed by GitHub
parent cb0429fae9
commit 86f17113e3
34 changed files with 275 additions and 99 deletions
+2
View File
@@ -5,6 +5,8 @@ import util from 'util';
import { xglobal } from '@polkadot/x-global';
export { packageInfo } from './packageInfo';
export const TextDecoder = (
typeof xglobal.TextDecoder === 'undefined'
? util.TextDecoder as unknown as typeof xglobal.TextDecoder