You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@firebase/database-compat

Package Overview
Dependencies
Maintainers
4
Versions
1338
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

to
2.1.0-20250715195345

dist/index.esm.js

5

dist/index.js

@@ -14,3 +14,3 @@ 'use strict';

const name = "@firebase/database-compat";
const version = "2.0.11";
const version = "2.1.0-20250715195345";

@@ -338,3 +338,2 @@ /**

on(eventType, callback, cancelCallbackOrContext, context) {
var _a;
util.validateArgCount('Query.on', 2, 4, arguments.length);

@@ -348,3 +347,3 @@ util.validateCallback('Query.on', 'callback', callback, false);

valueCallback.context = ret.context;
const cancelCallback = (_a = ret.cancel) === null || _a === void 0 ? void 0 : _a.bind(ret.context);
const cancelCallback = ret.cancel?.bind(ret.context);
switch (eventType) {

@@ -351,0 +350,0 @@ case 'value':

@@ -8,3 +8,3 @@ import firebase from '@firebase/app-compat';

const name = "@firebase/database-compat";
const version = "2.0.11";
const version = "2.1.0-20250715195345";

@@ -332,3 +332,2 @@ /**

on(eventType, callback, cancelCallbackOrContext, context) {
var _a;
validateArgCount('Query.on', 2, 4, arguments.length);

@@ -342,3 +341,3 @@ validateCallback('Query.on', 'callback', callback, false);

valueCallback.context = ret.context;
const cancelCallback = (_a = ret.cancel) === null || _a === void 0 ? void 0 : _a.bind(ret.context);
const cancelCallback = ret.cancel?.bind(ret.context);
switch (eventType) {

@@ -345,0 +344,0 @@ case 'value':

24

package.json
{
"name": "@firebase/database-compat",
"version": "2.0.11",
"version": "2.1.0-20250715195345",
"description": "The Realtime Database component of the Firebase JS SDK.",
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
"main": "dist/index.js",
"browser": "dist/index.esm2017.js",
"module": "dist/index.esm2017.js",
"browser": "dist/index.esm.js",
"module": "dist/index.esm.js",
"license": "Apache-2.0",

@@ -25,5 +25,5 @@ "typings": "dist/database-compat/src/index.d.ts",

"require": "./dist/index.js",
"import": "./dist/index.esm2017.js"
"import": "./dist/index.esm.js"
},
"default": "./dist/index.esm2017.js"
"default": "./dist/index.esm.js"
},

@@ -53,11 +53,11 @@ "./standalone": {

"dependencies": {
"@firebase/database": "1.0.20",
"@firebase/database-types": "1.0.15",
"@firebase/logger": "0.4.4",
"@firebase/util": "1.12.1",
"@firebase/component": "0.6.18",
"@firebase/database": "1.1.0-20250715195345",
"@firebase/database-types": "1.0.16-20250715195345",
"@firebase/logger": "0.5.0-20250715195345",
"@firebase/util": "1.13.0-20250715195345",
"@firebase/component": "0.7.0-20250715195345",
"tslib": "^2.1.0"
},
"devDependencies": {
"@firebase/app-compat": "0.4.2",
"@firebase/app-compat": "0.5.0-20250715195345",
"typescript": "5.5.4"

@@ -74,4 +74,4 @@ },

"engines": {
"node": ">=18.0.0"
"node": ">=20.0.0"
}
}

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 not supported yet