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

react-desktop-notification

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-desktop-notification - npm Package Compare versions

Comparing version 1.0.8 to 1.0.9

8

index.js

@@ -16,4 +16,4 @@ /**

})(5));
if (!Notification) {
console.log("Your browser is not support desktop notifications, please try Chrome or Firefox.");
if (!('Notification' in window)) {
console.log("Your browser does not support desktop notifications, please try Chrome or Firefox.");
return false;

@@ -36,4 +36,4 @@ }

focus:function(title, context, url, icon){
if (!Notification) {
console.log("Your browser is not support desktop notifications, please try Chrome or Firefox.");
if (!('Notification' in window)) {
console.log("Your browser does not support desktop notifications, please try Chrome or Firefox.");
return false;

@@ -40,0 +40,0 @@ }

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

@@ -9,2 +9,12 @@ "main": "index.js",

},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/leejaen/React-Desktop-Notification.git"
},
"keywords": [
"react notification",
"desktop-notification",
"react-desktop-notification",
"react-browser-notification"
],
"author": "leejaen",

@@ -11,0 +21,0 @@ "license": "ISC",

@@ -39,1 +39,11 @@ ## react-desktop-notification

https://github.com/leejaen/React-Desktop-Notification.git
## contributors
* Oscar Ruckdeschel: https://github.com/ibiBgOR
* Johnathan Saunders: https://github.com/SirSaunders
* Alexandre Amoedo Amorim: https://github.com/amoedoamorim
BIG Thanks!
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