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

@firebase/util

Package Overview
Dependencies
Maintainers
4
Versions
3210
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/util - npm Package Compare versions

Comparing version 1.9.7-canary.62661245f to 1.9.7-canary.629919ea7

8

dist/node-esm/src/environment.d.ts

@@ -37,3 +37,3 @@ /**

/**
* Detect Browser Environment
* Detect Browser Environment.
* Note: This will return true for certain test frameworks that are incompletely

@@ -45,5 +45,9 @@ * mimicking a browser, and should not lead to assuming all browser APIs are

/**
* Detect Web Worker context
* Detect Web Worker context.
*/
export declare function isWebWorker(): boolean;
/**
* Detect Cloudflare Worker context.
*/
export declare function isCloudflareWorker(): boolean;
export declare function isBrowserExtension(): boolean;

@@ -50,0 +54,0 @@ /**

@@ -37,3 +37,3 @@ /**

/**
* Detect Browser Environment
* Detect Browser Environment.
* Note: This will return true for certain test frameworks that are incompletely

@@ -45,5 +45,9 @@ * mimicking a browser, and should not lead to assuming all browser APIs are

/**
* Detect Web Worker context
* Detect Web Worker context.
*/
export declare function isWebWorker(): boolean;
/**
* Detect Cloudflare Worker context.
*/
export declare function isCloudflareWorker(): boolean;
export declare function isBrowserExtension(): boolean;

@@ -50,0 +54,0 @@ /**

@@ -578,3 +578,3 @@

/**
* Detect Browser Environment
* Detect Browser Environment.
* Note: This will return true for certain test frameworks that are incompletely

@@ -588,2 +588,7 @@ * mimicking a browser, and should not lead to assuming all browser APIs are

/**
* Detect Cloudflare Worker context.
*/
export declare function isCloudflareWorker(): boolean;
/** Detects Electron apps. */

@@ -668,3 +673,3 @@ export declare function isElectron(): boolean;

/**
* Detect Web Worker context
* Detect Web Worker context.
*/

@@ -671,0 +676,0 @@ export declare function isWebWorker(): boolean;

@@ -578,3 +578,3 @@

/**
* Detect Browser Environment
* Detect Browser Environment.
* Note: This will return true for certain test frameworks that are incompletely

@@ -588,2 +588,7 @@ * mimicking a browser, and should not lead to assuming all browser APIs are

/**
* Detect Cloudflare Worker context.
*/
export declare function isCloudflareWorker(): boolean;
/** Detects Electron apps. */

@@ -668,3 +673,3 @@ export declare function isElectron(): boolean;

/**
* Detect Web Worker context
* Detect Web Worker context.
*/

@@ -671,0 +676,0 @@ export declare function isWebWorker(): boolean;

{
"name": "@firebase/util",
"version": "1.9.7-canary.62661245f",
"version": "1.9.7-canary.629919ea7",
"description": "",

@@ -39,3 +39,3 @@ "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",

"test:all": "run-p --npm-path npm test:browser test:node",
"test:browser": "karma start --single-run",
"test:browser": "karma start",
"test:node": "TS_NODE_CACHE=NO TS_NODE_COMPILER_OPTIONS='{\"module\":\"commonjs\"}' nyc --reporter lcovonly -- mocha test/**/*.test.* --config ../../config/mocharc.node.js",

@@ -42,0 +42,0 @@ "trusted-type-check": "tsec -p tsconfig.json --noEmit",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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