New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

firebase-messaging

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

firebase-messaging - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

11

index.js

@@ -28,3 +28,3 @@ var request = require("request");

json.to = to;
json[typeof to === "object" && to instanceof Array ? "registration_ids" : "to"] = to;
json.data = data;

@@ -41,9 +41,10 @@

if (cb)
if (body != null)
if (body !== null)
try {
cb(JSON.parse(body));
} catch (err) {
} catch (e) {
cb(body);
} else
cb(err);
}
else
cb(err);

@@ -50,0 +51,0 @@ });

{
"name": "firebase-messaging",
"version": "1.0.5",
"version": "1.0.6",
"description": "Module to send firebase messages",

@@ -25,2 +25,2 @@ "main": "index.js",

"homepage": "https://github.com/fcannizzaro/firebase-messaging#readme"
}
}
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