Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@probe.gl/env

Package Overview
Dependencies
Maintainers
3
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@probe.gl/env - npm Package Compare versions

Comparing version 4.0.1 to 4.0.2

15

dist/lib/globals.d.ts

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

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: {};
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.1",
"version": "4.0.2",
"keywords": [

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

},
"gitHead": "6320ab819621b18ea25008a88458edf7f9069fd4"
"gitHead": "ef8723c9c4c6ec6cb03ae696a0868d245c73f4bf"
}

@@ -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 || {};
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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc