@polkadot/x-global
Advanced tools
Comparing version 6.2.2-1 to 6.2.2-2
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2958
42