Socket
Socket
Sign inDemoInstall

nativescript-plugin-firebase

Package Overview
Dependencies
Maintainers
1
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-plugin-firebase - npm Package Compare versions

Comparing version 2.1.3 to 2.1.4

12

firebase.android.js

@@ -280,2 +280,14 @@ var appModule = require("application");

firebase.update = function (path, val) {
return new Promise(function (resolve, reject) {
try {
instance.child(path).updateChildren(firebase.toHashMap(val));
resolve();
} catch (ex) {
console.log("Error in firebase.update: " + ex);
reject(ex);
}
});
};
firebase.query = function (updateCallback, path, options) {

@@ -282,0 +294,0 @@ return new Promise(function (resolve, reject) {

1

firebase.d.ts

@@ -119,2 +119,3 @@ /// <reference path="firebase-common.d.ts"/>

export function setValue(path: string, value: any): Promise<any>;
export function update(path: string, value: any): Promise<any>;
export function remove(path: string): Promise<any>;

@@ -121,0 +122,0 @@ export function query(onValueEvent: (data: FBData) => void, path: string, options: QueryOptions): Promise<any>;

2

package.json
{
"name": "nativescript-plugin-firebase",
"version": "2.1.3",
"version": "2.1.4",
"description" : "Fire. Base. Firebase!",

@@ -5,0 +5,0 @@ "main" : "firebase.js",

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