@firebase/database-compat 0.3.0 → 0.3.1

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @firebase/database-compat
2
2
 
3
+ ## 0.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`d8af08feb`](https://github.com/firebase/firebase-js-sdk/commit/d8af08febfd4507a28bcda38d475b8010ef20f92), [`a4056634a`](https://github.com/firebase/firebase-js-sdk/commit/a4056634a5119dd3f2ca935cae23b90fc99d84ee), [`d4114a4f7`](https://github.com/firebase/firebase-js-sdk/commit/d4114a4f7da3f469c0c900416ac8beee58885ec3), [`06dc1364d`](https://github.com/firebase/firebase-js-sdk/commit/06dc1364d7560f4c563e1ccc89af9cad4cd91df8)]:
8
+ - @firebase/database@0.14.1
9
+ - @firebase/util@1.9.0
10
+ - @firebase/component@0.6.1
11
+ - @firebase/database-types@0.10.1
12
+
3
13
  ## 0.3.0
4
14
 
5
15
  ### Minor Changes
@@ -5,7 +5,7 @@ import { errorPrefix, validateArgCount, validateCallback, validateContextObject,
5
5
  import { Logger } from '@firebase/logger';
6
6
 
7
7
  const name = "@firebase/database-compat";
8
- const version = "0.3.0";
8
+ const version = "0.3.1";
9
9
 
10
10
  /**
11
11
  * @license
@@ -6,7 +6,7 @@ import { __extends } from 'tslib';
6
6
  import { Logger } from '@firebase/logger';
7
7
 
8
8
  var name = "@firebase/database-compat";
9
- var version = "0.3.0";
9
+ var version = "0.3.1";
10
10
 
11
11
  /**
12
12
  * @license
package/dist/index.js CHANGED
@@ -12,7 +12,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
12
12
  var firebase__default = /*#__PURE__*/_interopDefaultLegacy(firebase);
13
13
 
14
14
  var name = "@firebase/database-compat";
15
- var version = "0.3.0";
15
+ var version = "0.3.1";
16
16
 
17
17
  /**
18
18
  * @license
@@ -5351,8 +5351,8 @@ var FirebaseIFrameScriptHolder = /** @class */ (function () {
5351
5351
  if (this.myIFrame) {
5352
5352
  //We have to actually remove all of the html inside this iframe before removing it from the
5353
5353
  //window, or IE will continue loading and executing the script tags we've already added, which
5354
- //can lead to some errors being thrown. Setting innerHTML seems to be the easiest way to do this.
5355
- this.myIFrame.doc.body.innerHTML = '';
5354
+ //can lead to some errors being thrown. Setting textContent seems to be the safest way to do this.
5355
+ this.myIFrame.doc.body.textContent = '';
5356
5356
  setTimeout(function () {
5357
5357
  if (_this.myIFrame !== null) {
5358
5358
  document.body.removeChild(_this.myIFrame);