New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@firebase/database-types

Package Overview
Dependencies
Maintainers
3
Versions
3217
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@firebase/database-types - npm Package Compare versions

Comparing version 0.3.1-0 to 0.3.1-canary.9556469

17

index.d.ts

@@ -23,3 +23,3 @@ /**

exportVal(): any;
forEach(action: (a: DataSnapshot) => boolean): boolean;
forEach(action: (a: DataSnapshot) => boolean | void): boolean;
getPriority(): string | number | null;

@@ -57,2 +57,9 @@ hasChild(path: string): boolean;

type EventType =
| 'value'
| 'child_added'
| 'child_changed'
| 'child_moved'
| 'child_removed';
export interface Query {

@@ -65,3 +72,3 @@ endAt(value: number | string | boolean | null, key?: string): Query;

off(
eventType?: string,
eventType?: EventType,
callback?: (a: DataSnapshot, b?: string | null) => any,

@@ -71,3 +78,3 @@ context?: Object | null

on(
eventType: string,
eventType: EventType,
callback: (a: DataSnapshot | null, b?: string) => any,

@@ -78,7 +85,7 @@ cancelCallbackOrContext?: Object | null,

once(
eventType: string,
eventType: EventType,
successCallback?: (a: DataSnapshot, b?: string) => any,
failureCallbackOrContext?: Object | null,
context?: Object | null
): Promise<any>;
): Promise<DataSnapshot>;
orderByChild(path: string): Query;

@@ -85,0 +92,0 @@ orderByKey(): Query;

{
"name": "@firebase/database-types",
"version": "0.3.1-0",
"version": "0.3.1-canary.9556469",
"description": "@firebase/database Types",

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

"peerDependencies": {
"@firebase/app-types": "0.x"
"@firebase/app-types": "0.3.1-canary.9556469"
},

@@ -17,0 +17,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc