Socket
Socket
Sign inDemoInstall

@probe.gl/env

Package Overview
Dependencies
2
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.0.0-alpha.1 to 4.0.0-alpha.2

16

dist/lib/globals.d.ts

@@ -1,9 +0,9 @@

/// <reference types="node" />
export declare const global: typeof globalThis;
export declare const self: typeof globalThis;
export declare const window: Window;
export declare const document: Document;
export declare const process: NodeJS.Process;
export declare const console: Console;
export declare const navigator: Navigator;
declare const global_: typeof globalThis;
declare const self_: typeof globalThis;
declare const window_: Window;
declare const document_: Document;
declare const process_: {};
declare const console_: Console;
declare const navigator_: Navigator;
export { global_ as global, self_ as self, window_ as window, document_ as document, process_ as process, console_ as console, navigator_ as navigator };
//# sourceMappingURL=globals.d.ts.map

@@ -1,8 +0,9 @@

export const global = globalThis;
export const self = globalThis.self || globalThis.window || globalThis.global;
export const window = globalThis.window || globalThis.self || globalThis.global;
export const document = globalThis.document || {};
export const process = globalThis.process || {};
export const console = globalThis.console;
export const navigator = globalThis.navigator || {};
const global_ = globalThis;
const self_ = globalThis.self || globalThis.window || globalThis.global;
const window_ = globalThis.window || globalThis.self || globalThis.global;
const document_ = globalThis.document || {};
const process_ = globalThis.process || {};
const console_ = globalThis.console;
const navigator_ = globalThis.navigator || {};
export { global_ as global, self_ as self, window_ as window, document_ as document, process_ as process, console_ as console, navigator_ as navigator };
//# sourceMappingURL=globals.js.map

@@ -6,3 +6,3 @@ {

"type": "module",
"version": "4.0.0-alpha.1",
"version": "4.0.0-alpha.2",
"keywords": [

@@ -39,3 +39,3 @@ "javascript",

},
"gitHead": "b0ccf490575a284b75b761408e047cdda591f96a"
"gitHead": "7ffda58f4c5e863606a80e781967b0a6675676b7"
}

@@ -1,10 +0,19 @@

export const global = globalThis;
// Do not name these variables the same as the global objects - will break bundling
const global_ = globalThis;
// eslint-disable-next-line consistent-this
export const self = globalThis.self || globalThis.window || globalThis.global;
export const window = (globalThis.window ||
globalThis.self ||
globalThis.global) as unknown as Window;
export const document = globalThis.document || ({} as Document);
export const process = globalThis.process || ({} as NodeJS.Process);
export const console = globalThis.console;
export const navigator = globalThis.navigator || ({} as Navigator);
const self_ = globalThis.self || globalThis.window || globalThis.global;
const window_ = (globalThis.window || globalThis.self || globalThis.global) as unknown as Window;
const document_ = globalThis.document || ({} as Document);
const process_ = globalThis.process || {};
const console_ = globalThis.console;
const navigator_ = globalThis.navigator || ({} as Navigator);
export {
global_ as global,
self_ as self,
window_ as window,
document_ as document,
process_ as process,
console_ as console,
navigator_ as navigator
};

Sorry, the diff of this file is not supported yet

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc