Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

serialized-query

Package Overview
Dependencies
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

serialized-query - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

8

lib/serialized-query.d.ts

@@ -1,2 +0,2 @@

/// <reference types="firebase" />
import { ISnapShot } from 'typed-conversions';
export interface ISimplifiedDBAdaptor {

@@ -18,3 +18,3 @@ ref: (path: string) => any;

protected _equalTo: string;
protected _handleSnapshot: (snap: FirebaseDataSnapshot) => any;
protected _handleSnapshot: (snap: ISnapShot) => any;
constructor(path: string | LazyPath);

@@ -30,6 +30,6 @@ limitToFirst(num: number): this;

setDB(db: ISimplifiedDBAdaptor): this;
deserialize(db?: ISimplifiedDBAdaptor): FirebaseQuery;
handleSnapshot(fn: (snap: FirebaseDataSnapshot) => any): void;
deserialize(db?: ISimplifiedDBAdaptor): any;
handleSnapshot(fn: (snap: ISnapShot) => any): void;
execute(db?: ISimplifiedDBAdaptor): Promise<any>;
private validateNoKey(caller, key);
}
{
"name": "serialized-query",
"version": "0.2.3",
"version": "0.2.4",
"description": "A simple Typescript class to serialize Firebase queries",

@@ -21,2 +21,3 @@ "license": "MIT",

"build": "ts-node ./scripts/build.ts",
"deploy": "ts-node ./scripts/deploy.ts",
"test": "ts-node ./scripts/test.ts ",

@@ -62,2 +63,3 @@ "coverage": "nyc --reporter=text --reporter=html mocha --compilers ts:ts-node/register",

"tslint-config-prettier": "^1.1.0",
"typed-conversions": "^0.7.3",
"typescript": "^2.0.0"

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

Sorry, the diff of this file is not supported yet

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