@firebase/util
Advanced tools
Comparing version 1.9.7-canary.84fe88079 to 1.9.7-canary.8a96f4f11
@@ -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.84fe88079", | ||
"version": "1.9.7-canary.8a96f4f11", | ||
"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
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
1146428
14785