Sign In

@firebase/database-compat

Package Overview
Dependencies
Maintainers
4
Versions
1470
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/database-compat - npm Package Compare versions

Comparing version
2.1.4-eap-crashlytics.558ee841d
to
2.1.4-eap-crashlytics.659b578fb
+8
-6
dist/index.esm.js
import firebase from '@firebase/app-compat';
import { ComponentContainer, Provider, Component } from '@firebase/component';
import { _validatePathString, onChildMoved, onChildChanged, onChildRemoved, onChildAdded, onValue, off, get, query, limitToFirst, limitToLast, orderByChild, orderByKey, orderByPriority, orderByValue, startAt, startAfter, endAt, endBefore, equalTo, _ReferenceImpl, _QueryImpl, _QueryParams, child, set, _validateWritablePath, update, setWithPriority, remove, runTransaction, setPriority, push, OnDisconnect as OnDisconnect$1, forceWebSockets, forceLongPolling, connectDatabaseEmulator, refFromURL, ref, goOffline, goOnline, serverTimestamp, increment, _setSDKVersion, _repoManagerDatabaseFromApp, enableLogging } from '@firebase/database';
import { _QueryImpl, _QueryParams, child, set, _validateWritablePath, update, setWithPriority, remove, runTransaction, setPriority, push, OnDisconnect as OnDisconnect$1, _validatePathString, onChildMoved, onChildChanged, onChildRemoved, onChildAdded, onValue, off, get, query, limitToFirst, limitToLast, orderByChild, orderByKey, orderByPriority, orderByValue, startAt, startAfter, endAt, endBefore, equalTo, _ReferenceImpl, forceLongPolling, forceWebSockets, connectDatabaseEmulator, refFromURL, ref, goOffline, goOnline, increment, serverTimestamp, _setSDKVersion, _repoManagerDatabaseFromApp, enableLogging } from '@firebase/database';
import { errorPrefix, validateArgCount, validateCallback, validateContextObject, Deferred } from '@firebase/util';

@@ -8,3 +8,3 @@ import { Logger } from '@firebase/logger';

const name = "@firebase/database-compat";
const version = "2.1.4-eap-crashlytics.558ee841d";
const version = "2.1.4-eap-crashlytics.659b578fb";

@@ -50,3 +50,3 @@ /**

const validateBoolean = function (fnName, argumentName, bool, optional) {
if (optional && bool === undefined) {
if (bool === undefined) {
return;

@@ -59,3 +59,3 @@ }

const validateEventType = function (fnName, eventType, optional) {
if (optional && eventType === undefined) {
if (eventType === undefined) {
return;

@@ -367,3 +367,3 @@ }

validateArgCount('Query.off', 0, 3, arguments.length);
validateEventType('Query.off', eventType, true);
validateEventType('Query.off', eventType);
validateCallback('Query.off', 'callback', callback, true);

@@ -657,3 +657,3 @@ validateContextObject('Query.off', 'context', context, true);

validateCallback('Reference.transaction', 'onComplete', onComplete, true);
validateBoolean('Reference.transaction', 'applyLocally', applyLocally, true);
validateBoolean('Reference.transaction', 'applyLocally', applyLocally);
const result = runTransaction(this._delegate, transactionUpdate, {

@@ -720,2 +720,3 @@ applyLocally

*/
// eslint-disable-next-line import/no-extraneous-dependencies
/**

@@ -837,2 +838,3 @@ * Class representing a firebase database.

*/
// eslint-disable-next-line import/no-extraneous-dependencies
const ServerValue = Database.ServerValue;

@@ -839,0 +841,0 @@ function registerDatabase(instance) {

@@ -9,8 +9,4 @@ 'use strict';

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var firebase__default = /*#__PURE__*/_interopDefaultLegacy(firebase);
const name = "@firebase/database-compat";
const version = "2.1.4-eap-crashlytics.558ee841d";
const version = "2.1.4-eap-crashlytics.659b578fb";

@@ -56,3 +52,3 @@ /**

const validateBoolean = function (fnName, argumentName, bool, optional) {
if (optional && bool === undefined) {
if (bool === undefined) {
return;

@@ -65,3 +61,3 @@ }

const validateEventType = function (fnName, eventType, optional) {
if (optional && eventType === undefined) {
if (eventType === undefined) {
return;

@@ -373,3 +369,3 @@ }

util.validateArgCount('Query.off', 0, 3, arguments.length);
validateEventType('Query.off', eventType, true);
validateEventType('Query.off', eventType);
util.validateCallback('Query.off', 'callback', callback, true);

@@ -663,3 +659,3 @@ util.validateContextObject('Query.off', 'context', context, true);

util.validateCallback('Reference.transaction', 'onComplete', onComplete, true);
validateBoolean('Reference.transaction', 'applyLocally', applyLocally, true);
validateBoolean('Reference.transaction', 'applyLocally', applyLocally);
const result = database.runTransaction(this._delegate, transactionUpdate, {

@@ -726,2 +722,3 @@ applyLocally

*/
// eslint-disable-next-line import/no-extraneous-dependencies
/**

@@ -843,2 +840,3 @@ * Class representing a firebase database.

*/
// eslint-disable-next-line import/no-extraneous-dependencies
const ServerValue = Database.ServerValue;

@@ -870,3 +868,3 @@ function registerDatabase(instance) {

}
registerDatabase(firebase__default["default"]);
registerDatabase(firebase);
//# sourceMappingURL=index.js.map
import firebase from '@firebase/app-compat';
import { ComponentContainer, Provider, Component } from '@firebase/component';
import { _validatePathString, onChildMoved, onChildChanged, onChildRemoved, onChildAdded, onValue, off, get, query, limitToFirst, limitToLast, orderByChild, orderByKey, orderByPriority, orderByValue, startAt, startAfter, endAt, endBefore, equalTo, _ReferenceImpl, _QueryImpl, _QueryParams, child, set, _validateWritablePath, update, setWithPriority, remove, runTransaction, setPriority, push, OnDisconnect as OnDisconnect$1, forceWebSockets, forceLongPolling, connectDatabaseEmulator, refFromURL, ref, goOffline, goOnline, serverTimestamp, increment, _setSDKVersion, _repoManagerDatabaseFromApp, enableLogging } from '@firebase/database';
import { _QueryImpl, _QueryParams, child, set, _validateWritablePath, update, setWithPriority, remove, runTransaction, setPriority, push, OnDisconnect as OnDisconnect$1, _validatePathString, onChildMoved, onChildChanged, onChildRemoved, onChildAdded, onValue, off, get, query, limitToFirst, limitToLast, orderByChild, orderByKey, orderByPriority, orderByValue, startAt, startAfter, endAt, endBefore, equalTo, _ReferenceImpl, forceLongPolling, forceWebSockets, connectDatabaseEmulator, refFromURL, ref, goOffline, goOnline, increment, serverTimestamp, _setSDKVersion, _repoManagerDatabaseFromApp, enableLogging } from '@firebase/database';
import { errorPrefix, validateArgCount, validateCallback, validateContextObject, Deferred } from '@firebase/util';

@@ -8,3 +8,3 @@ import { Logger } from '@firebase/logger';

const name = "@firebase/database-compat";
const version = "2.1.4-eap-crashlytics.558ee841d";
const version = "2.1.4-eap-crashlytics.659b578fb";

@@ -50,3 +50,3 @@ /**

const validateBoolean = function (fnName, argumentName, bool, optional) {
if (optional && bool === undefined) {
if (bool === undefined) {
return;

@@ -59,3 +59,3 @@ }

const validateEventType = function (fnName, eventType, optional) {
if (optional && eventType === undefined) {
if (eventType === undefined) {
return;

@@ -367,3 +367,3 @@ }

validateArgCount('Query.off', 0, 3, arguments.length);
validateEventType('Query.off', eventType, true);
validateEventType('Query.off', eventType);
validateCallback('Query.off', 'callback', callback, true);

@@ -657,3 +657,3 @@ validateContextObject('Query.off', 'context', context, true);

validateCallback('Reference.transaction', 'onComplete', onComplete, true);
validateBoolean('Reference.transaction', 'applyLocally', applyLocally, true);
validateBoolean('Reference.transaction', 'applyLocally', applyLocally);
const result = runTransaction(this._delegate, transactionUpdate, {

@@ -720,2 +720,3 @@ applyLocally

*/
// eslint-disable-next-line import/no-extraneous-dependencies
/**

@@ -837,2 +838,3 @@ * Class representing a firebase database.

*/
// eslint-disable-next-line import/no-extraneous-dependencies
const ServerValue = Database.ServerValue;

@@ -839,0 +841,0 @@ function registerDatabase(instance) {

{
"name": "@firebase/database-compat",
"version": "2.1.4-eap-crashlytics.558ee841d",
"version": "2.1.4-eap-crashlytics.659b578fb",
"description": "The Realtime Database component of the Firebase JS SDK.",

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

"scripts": {
"lint": "eslint -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
"lint:fix": "eslint --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
"prettier": "prettier --write '*.js' '*.ts' '@(src|test)/**/*.ts'",
"lint": "eslint --cache --cache-location '../../node_modules/.cache/eslint/' -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
"lint:fix": "eslint --cache --cache-location '../../node_modules/.cache/eslint/' --fix -c .eslintrc.js '**/*.ts' --ignore-path '../../.gitignore'",
"prettier": "prettier --cache --write '*.js' '*.ts' '@(src|test)/**/*.ts'",
"build": "rollup -c rollup.config.js",
"build:release": "yarn build && yarn add-compat-overloads",
"build:deps": "lerna run --scope @firebase/database-compat --include-dependencies build",
"build:deps": "lerna run build --scope @firebase/database-compat --include-dependencies",
"dev": "rollup -c -w",

@@ -53,11 +53,11 @@ "test": "run-p --npm-path npm lint test:browser test:node",

"dependencies": {
"@firebase/database": "1.1.3-eap-crashlytics.558ee841d",
"@firebase/database-types": "1.0.20-eap-crashlytics.558ee841d",
"@firebase/logger": "0.5.1-eap-crashlytics.558ee841d",
"@firebase/util": "1.15.1-eap-crashlytics.558ee841d",
"@firebase/component": "0.7.3-eap-crashlytics.558ee841d",
"@firebase/database": "1.1.3-eap-crashlytics.659b578fb",
"@firebase/database-types": "1.0.20-eap-crashlytics.659b578fb",
"@firebase/logger": "0.5.1-eap-crashlytics.659b578fb",
"@firebase/util": "1.15.1-eap-crashlytics.659b578fb",
"@firebase/component": "0.7.3-eap-crashlytics.659b578fb",
"tslib": "^2.1.0"
},
"devDependencies": {
"@firebase/app-compat": "0.5.13-eap-crashlytics.558ee841d",
"@firebase/app-compat": "0.5.15-eap-crashlytics.659b578fb",
"typescript": "5.5.4"

@@ -64,0 +64,0 @@ },

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display