@firebase/database 0.13.5-canary.f88805e48 → 0.13.6
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 +6 -0
- package/dist/index.esm2017.js +12 -3
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +12 -3
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +12 -3
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.standalone.js +11 -2
- package/dist/index.standalone.js.map +1 -1
- package/dist/node-esm/index.node.esm.js +12 -3
- package/dist/node-esm/index.node.esm.js.map +1 -1
- package/dist/node-esm/test/deno.test.d.ts +17 -0
- package/dist/test/deno.test.d.ts +17 -0
- package/package.json +6 -6
package/dist/index.node.cjs.js
CHANGED
|
@@ -711,8 +711,17 @@ var beingCrawled = function () {
|
|
|
711
711
|
*/
|
|
712
712
|
var setTimeoutNonBlocking = function (fn, time) {
|
|
713
713
|
var timeout = setTimeout(fn, time);
|
|
714
|
-
//
|
|
715
|
-
if (typeof timeout === '
|
|
714
|
+
// Note: at the time of this comment, unrefTimer is under the unstable set of APIs. Run with --unstable to enable the API.
|
|
715
|
+
if (typeof timeout === 'number' &&
|
|
716
|
+
// @ts-ignore Is only defined in Deno environments.
|
|
717
|
+
typeof Deno !== 'undefined' &&
|
|
718
|
+
// @ts-ignore Deno and unrefTimer are only defined in Deno environments.
|
|
719
|
+
Deno['unrefTimer']) {
|
|
720
|
+
// @ts-ignore Deno and unrefTimer are only defined in Deno environments.
|
|
721
|
+
Deno.unrefTimer(timeout);
|
|
722
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
723
|
+
}
|
|
724
|
+
else if (typeof timeout === 'object' && timeout['unref']) {
|
|
716
725
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
717
726
|
timeout['unref']();
|
|
718
727
|
}
|
|
@@ -1289,7 +1298,7 @@ var WebSocketConnection = /** @class */ (function () {
|
|
|
1289
1298
|
}());
|
|
1290
1299
|
|
|
1291
1300
|
var name = "@firebase/database";
|
|
1292
|
-
var version = "0.13.
|
|
1301
|
+
var version = "0.13.6";
|
|
1293
1302
|
|
|
1294
1303
|
/**
|
|
1295
1304
|
* @license
|