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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user