Socket
Socket
Sign inDemoInstall

react-desktop-notification

Package Overview
Dependencies
0
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

4

index.js

@@ -8,3 +8,3 @@ /**

statics: {
start: function(title, context, url, icon) {
start: function(title, context, url, icon, name) {
if (!Notification) {

@@ -23,3 +23,3 @@ console.log("Your browser is not support desktop notifications, please try Chrome or Firefox.");

notification.onclick = function() {
window.open(url);
window.open(url, name);
};

@@ -26,0 +26,0 @@ }

{
"name": "react-desktop-notification",
"version": "1.0.3",
"version": "1.0.4",
"description": "Use browser's desktop notification in React. It depends on notifications API of chrome or else browser's other way.",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc