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.2 to 2.1.3

12

firebase.ios.js

@@ -234,2 +234,14 @@ var firebase = require("./firebase-common");

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

@@ -236,0 +248,0 @@ return new Promise(function (resolve, reject) {

2

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

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

@@ -147,2 +147,12 @@ # NativeScript Firebase plugin

### update
Changes the values of the keys specified in the dictionary without overwriting other keys at this location.
```js
firebase.update(
'/companies',
{'foo':'baz'}
);
```
### addChildEventListener

@@ -149,0 +159,0 @@ To listen for changes in your database you can pass in a listener callback function.

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