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 1.6.1 to 1.6.2

13

lib/stats.js

@@ -6,3 +6,3 @@

Fireproof.stats = {};
Fireproof.stats = { };

@@ -24,4 +24,12 @@ /**

};
/**
* Resets the count of Firebase listeners back to 0.
* @method Fireproof.stats.reset
* @method Fireproof.stats.reset
*/
Fireproof.stats.resetListeners = function() {
Fireproof.stats.listeners = {};
};

@@ -158,3 +166,4 @@

Fireproof.stats.reset();
Fireproof.stats.resetListeners();
};

2

package.json
{
"name": "fireproof",
"version": "1.6.1",
"version": "1.6.2",
"description": "Promises for Firebase objects.",

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

@@ -25,5 +25,7 @@

Fireproof.stats.reset();
Fireproof.stats.resetListeners();
expect(Fireproof.stats.events.read.length).to.equal(0);
expect(Fireproof.stats.events.write.length).to.equal(0);
expect(Fireproof.stats.events.update.length).to.equal(0);
expect(Object.keys(Fireproof.stats.listeners).length).to.equal(0);

@@ -92,5 +94,2 @@ });

console.log(pathStats);
console.log(correctedPathStats);
expect(correctedPathStats).to.deep.equal({

@@ -97,0 +96,0 @@

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