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

fireproof

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fireproof - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

34

lib/read.js

@@ -17,23 +17,27 @@

self._ref.transaction(updateFunction, function(err, committed, snap) {
try {
self._ref.transaction(updateFunction, function(err, committed, snap) {
Fireproof.stats._finish(id, err);
snap = new Fireproof.Snapshot(snap);
Fireproof.stats._finish(id, err);
snap = new Fireproof.Snapshot(snap);
if (onComplete) {
onComplete(err, committed, snap);
}
if (onComplete) {
onComplete(err, committed, snap);
}
if (err) {
deferred.reject(err);
} else {
if (err) {
deferred.reject(err);
} else {
deferred.resolve({
committed: committed,
snapshot: snap
});
deferred.resolve({
committed: committed,
snapshot: snap
});
}
}
}, applyLocally);
}, applyLocally);
} catch(e) {
deferred.reject(e);
}

@@ -40,0 +44,0 @@ return deferred.promise;

{
"name": "fireproof",
"version": "3.0.0",
"version": "3.0.1",
"description": "Promises for Firebase objects.",

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