Socket
Socket
Sign inDemoInstall

@polkadot/x-global

Package Overview
Dependencies
Maintainers
2
Versions
629
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@polkadot/x-global - npm Package Compare versions

Comparing version 6.2.2-1 to 6.2.2-2

3

index.d.ts

@@ -1,3 +0,2 @@

/// <reference types="node" />
export { packageInfo } from './packageInfo';
export declare const xglobal: (NodeJS.Global & typeof globalThis) | (Window & typeof globalThis);
export declare const xglobal: typeof globalThis;
// Copyright 2017-2021 @polkadot/x-fetch authors & contributors
// SPDX-License-Identifier: Apache-2.0
export { packageInfo } from "./packageInfo.js";
export const xglobal = typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : this;
export const xglobal = typeof globalThis !== 'undefined' ? globalThis : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : this;
{
"name": "@polkadot/x-global",
"version": "6.2.2-1",
"version": "6.2.2-2",
"type": "module",

@@ -5,0 +5,0 @@ "description": "A cross-environment global replacement",

@@ -6,3 +6,3 @@ // Copyright 2017-2021 @polkadot/x-global authors & contributors

name: '@polkadot/x-global',
version: '6.2.2-1'
version: '6.2.2-2'
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc