Socket
Socket
Sign inDemoInstall

@polkadot/x-global

Package Overview
Dependencies
1
Maintainers
2
Versions
626
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @polkadot/x-global

A cross-environment global replacement


Version published
Maintainers
2
Created

Changelog

Source

12.3.1 Jun 11, 2023

Changes:

  • Only allow padding characters in base64 strings
  • Expand typings for keyring meta with known keys
  • Adjust object index access for stricter tsconfig settings

Readme

Source

@polkadot/x-global

A cross-environment global object. checks for global > self > window > this.

Install it via yarn add @polkadot/x-global

import { xglobal } from '@polkadot/x-global';

console.log(typeof xglobal.TextEncoder);

FAQs

Last updated on 11 Jun 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc