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
3211
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.d752e8096 to 1.9.7-canary.e542f1dbd

2

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

@@ -23,3 +23,3 @@ /**

/**
* Our API internals are not promiseified and cannot because our callback APIs have subtle expectations around
* Our API internals are not promisified and cannot because our callback APIs have subtle expectations around
* invoking promises inline, which Promises are forbidden to do. This method accepts an optional node-style callback

@@ -26,0 +26,0 @@ * and returns a node-style callback which will resolve or reject the Deferred's promise.

@@ -38,2 +38,5 @@ /**

* Detect Browser Environment
* Note: This will return true for certain test frameworks that are incompletely
* mimicking a browser, and should not lead to assuming all browser APIs are
* available.
*/

@@ -40,0 +43,0 @@ export declare function isBrowser(): boolean;

@@ -22,3 +22,3 @@ /**

*
* // Typescript string literals for type-safe codes
* // TypeScript string literals for type-safe codes
* type Err =

@@ -25,0 +25,0 @@ * 'unknown' |

@@ -26,5 +26,5 @@ /**

* Returns JSON representing a javascript object.
* @param {*} data Javascript object to be stringified.
* @param {*} data JavaScript object to be stringified.
* @return {string} The JSON contents of the object.
*/
export declare function stringify(data: unknown): string;

@@ -23,3 +23,3 @@ /**

/**
* Our API internals are not promiseified and cannot because our callback APIs have subtle expectations around
* Our API internals are not promisified and cannot because our callback APIs have subtle expectations around
* invoking promises inline, which Promises are forbidden to do. This method accepts an optional node-style callback

@@ -26,0 +26,0 @@ * and returns a node-style callback which will resolve or reject the Deferred's promise.

@@ -38,2 +38,5 @@ /**

* Detect Browser Environment
* Note: This will return true for certain test frameworks that are incompletely
* mimicking a browser, and should not lead to assuming all browser APIs are
* available.
*/

@@ -40,0 +43,0 @@ export declare function isBrowser(): boolean;

@@ -22,3 +22,3 @@ /**

*
* // Typescript string literals for type-safe codes
* // TypeScript string literals for type-safe codes
* type Err =

@@ -25,0 +25,0 @@ * 'unknown' |

@@ -26,5 +26,5 @@ /**

* Returns JSON representing a javascript object.
* @param {*} data Javascript object to be stringified.
* @param {*} data JavaScript object to be stringified.
* @return {string} The JSON contents of the object.
*/
export declare function stringify(data: unknown): string;

@@ -277,3 +277,3 @@

/**
* Our API internals are not promiseified and cannot because our callback APIs have subtle expectations around
* Our API internals are not promisified and cannot because our callback APIs have subtle expectations around
* invoking promises inline, which Promises are forbidden to do. This method accepts an optional node-style callback

@@ -328,3 +328,3 @@ * and returns a node-style callback which will resolve or reject the Deferred's promise.

*
* // Typescript string literals for type-safe codes
* // TypeScript string literals for type-safe codes
* type Err =

@@ -581,2 +581,5 @@ * 'unknown' |

* Detect Browser Environment
* Note: This will return true for certain test frameworks that are incompletely
* mimicking a browser, and should not lead to assuming all browser APIs are
* available.
*/

@@ -892,3 +895,3 @@ export declare function isBrowser(): boolean;

* Returns JSON representing a javascript object.
* @param {*} data Javascript object to be stringified.
* @param {*} data JavaScript object to be stringified.
* @return {string} The JSON contents of the object.

@@ -895,0 +898,0 @@ */

@@ -277,3 +277,3 @@

/**
* Our API internals are not promiseified and cannot because our callback APIs have subtle expectations around
* Our API internals are not promisified and cannot because our callback APIs have subtle expectations around
* invoking promises inline, which Promises are forbidden to do. This method accepts an optional node-style callback

@@ -328,3 +328,3 @@ * and returns a node-style callback which will resolve or reject the Deferred's promise.

*
* // Typescript string literals for type-safe codes
* // TypeScript string literals for type-safe codes
* type Err =

@@ -581,2 +581,5 @@ * 'unknown' |

* Detect Browser Environment
* Note: This will return true for certain test frameworks that are incompletely
* mimicking a browser, and should not lead to assuming all browser APIs are
* available.
*/

@@ -912,3 +915,3 @@ export declare function isBrowser(): boolean;

* Returns JSON representing a javascript object.
* @param {*} data Javascript object to be stringified.
* @param {*} data JavaScript object to be stringified.
* @return {string} The JSON contents of the object.

@@ -915,0 +918,0 @@ */

{
"name": "@firebase/util",
"version": "1.9.7-canary.d752e8096",
"version": "1.9.7-canary.e542f1dbd",
"description": "",

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

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