@firebase/util 1.9.7-canary.f58d48cd4 → 1.9.7-canary.fa0ed08fb

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -642,7 +642,7 @@ var Deferred = /** @class */ (function () {
642
642
  });
643
643
  }
644
644
  /**
645
- * Our API internals are not promiseified and cannot because our callback APIs have subtle expectations around
645
+ * Our API internals are not promisified and cannot because our callback APIs have subtle expectations around
646
646
  * invoking promises inline, which Promises are forbidden to do. This method accepts an optional node-style callback
647
647
  * and returns a node-style callback which will resolve or reject the Deferred's promise.
648
648
  */
@@ -786,6 +786,9 @@ function isNode() {
786
786
  }
787
787
  /**
788
788
  * Detect Browser Environment
789
+ * Note: This will return true for certain test frameworks that are incompletely
790
+ * mimicking a browser, and should not lead to assuming all browser APIs are
791
+ * available.
789
792
  */
790
793
  function isBrowser() {
791
794
  return typeof window !== 'undefined' || isWebWorker();
@@ -1000,7 +1003,7 @@ function jsonEval(str) {
1000
1003
  }
1001
1004
  /**
1002
1005
  * Returns JSON representing a javascript object.
1003
- * @param {*} data Javascript object to be stringified.
1006
+ * @param {*} data JavaScript object to be stringified.
1004
1007
  * @return {string} The JSON contents of the object.
1005
1008
  */
1006
1009
  function stringify(data) {
@@ -1612,7 +1615,7 @@ var ObserverProxy = /** @class */ (function () {
1612
1615
  /**
1613
1616
  * Subscribe function that can be used to add an Observer to the fan-out list.
1614
1617
  *
1615
- * - We require that no event is sent to a subscriber sychronously to their
1618
+ * - We require that no event is sent to a subscriber synchronously to their
1616
1619
  * call to subscribe().
1617
1620
  */
1618
1621
  ObserverProxy.prototype.subscribe = function (nextOrObserver, error, complete) {
@@ -1882,7 +1885,7 @@ function validateContextObject(fnName, argumentName, context, optional) {
1882
1885
  // so it's been modified.
1883
1886
  // Note that not all Unicode characters appear as single characters in JavaScript strings.
1884
1887
  // fromCharCode returns the UTF-16 encoding of a character - so some Unicode characters
1885
- // use 2 characters in Javascript. All 4-byte UTF-8 characters begin with a first
1888
+ // use 2 characters in JavaScript. All 4-byte UTF-8 characters begin with a first
1886
1889
  // character in the range 0xD800 - 0xDBFF (the first character of a so-called surrogate
1887
1890
  // pair).
1888
1891
  // See http://www.ecma-international.org/ecma-262/5.1/#sec-15.1.3