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

fingular

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fingular - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

51

fingular.js

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

this.flush = function() {
this._ref.flush(arguments);
this._ref.flush.apply(this._ref, arguments);
};

@@ -108,11 +108,11 @@

toString: function() {
return this._ref.toString(arguments);
return this._ref.toString.apply(this._ref, arguments);
},
auth: function(token, cb) {
var that = this
, timeout = $timeout(timeoutElapsed, timeoutLimit);
var timeout = $timeout(timeoutElapsed, timeoutLimit);
this._ref.auth(token, function(err) {
cb(arguments);
cb.apply(that, arguments);

@@ -150,7 +150,7 @@ // cancel timeout

set: function(value, onComplete) {
var that = this
, timeout = $timeout(timeoutElapsed, timeoutLimit);
var timeout = $timeout(timeoutElapsed, timeoutLimit);
this._ref.set(value, function(err) {
onComplete(arguments);
onComplete.apply(that, arguments);

@@ -168,7 +168,7 @@ // cancel timeout

update: function(value, onComplete) {
var that = this
, timeout = $timeout(timeoutElapsed, timeoutLimit);
var timeout = $timeout(timeoutElapsed, timeoutLimit);
this._ref.update(value, function(err) {
onComplete(arguments);
onComplete.apply(that, arguments);

@@ -187,7 +187,7 @@ // cancel timeout

remove: function(onComplete) {
var that = this
, timeout = $timeout(timeoutElapsed, timeoutLimit);
var timeout = $timeout(timeoutElapsed, timeoutLimit);
this._ref.remove(function(err) {
onComplete(arguments);
onComplete.apply(that, arguments);

@@ -206,7 +206,7 @@ // cancel timeout

push: function(value, onComplete) {
var that = this
, timeout = $timeout(timeoutElapsed, timeoutLimit);
var timeout = $timeout(timeoutElapsed, timeoutLimit);
this._ref.push(value, function(err) {
onComplete(arguments);
onComplete.apply(that, arguments);

@@ -226,6 +226,7 @@ // cancel timeout

var timeout = $timeout(timeoutElapsed, timeoutLimit);
var that = this
, timeout = $timeout(timeoutElapsed, timeoutLimit);
this._ref.setWithPriority(value, priority, function(err) {
onComplete(arguments);
onComplete.apply(that, arguments);

@@ -245,6 +246,7 @@ // cancel timeout

var timeout = $timeout(timeoutElapsed, timeoutLimit);
var that = this
, timeout = $timeout(timeoutElapsed, timeoutLimit);
this._ref.setPriority(priority, function(err) {
onComplete(arguments);
onComplete.apply(that, arguments);

@@ -264,3 +266,4 @@ // cancel timeout

var timeout;
var timeout
, that = this;

@@ -272,5 +275,5 @@ this._ref.transaction(function() {

updateFn(arguments);
updateFn.apply(that, arguments);
}, function(err) {
onComplete(arguments);
onComplete.apply(that, arguments);

@@ -277,0 +280,0 @@ // cancel timeout

{
"name": "fingular",
"version": "0.2.1",
"version": "0.2.2",
"description": "A Firebase service provider for AngularJS designed for testability.",

@@ -5,0 +5,0 @@ "main": "fingular.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