react-desktop-notification
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -5,4 +5,5 @@ /** | ||
var React = require('react'); | ||
var createReactClass = React.createClass || require('create-react-class'); | ||
var Notifier = React.createClass({ | ||
var Notifier = createReactClass({ | ||
statics: { | ||
@@ -9,0 +10,0 @@ start: function(title, context, url, icon, name) { |
{ | ||
"name": "react-desktop-notification", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Use browser's desktop notification in React. It depends on notifications API of chrome or else browser's other way.", | ||
@@ -10,3 +10,6 @@ "main": "index.js", | ||
"author": "leejaen", | ||
"license": "ISC" | ||
"license": "ISC", | ||
"dependencies": { | ||
"create-react-class": "15.6.2" | ||
} | ||
} |
## react-desktop-notification | ||
* Use browser's desktop notification in React. It depends on notifications API of chrome or else browser's other way. | ||
## install | ||
``` | ||
npm install --save react-desktop-notification | ||
OR | ||
yarn add react-desktop-notification``` | ||
npm install --save react-desktop-notification | ||
OR | ||
yarn add react-desktop-notification | ||
``` | ||
## usage | ||
@@ -25,2 +29,3 @@ ``` | ||
} | ||
``` | ||
@@ -27,0 +32,0 @@ ## API |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3927
69
39
1
+ Addedcreate-react-class@15.6.2
+ Addedasap@2.0.6(transitive)
+ Addedcore-js@1.2.7(transitive)
+ Addedcreate-react-class@15.6.2(transitive)
+ Addedencoding@0.1.13(transitive)
+ Addedfbjs@0.8.18(transitive)
+ Addediconv-lite@0.6.3(transitive)
+ Addedis-stream@1.1.0(transitive)
+ Addedisomorphic-fetch@2.2.1(transitive)
+ Addedjs-tokens@4.0.0(transitive)
+ Addedloose-envify@1.4.0(transitive)
+ Addednode-fetch@1.7.3(transitive)
+ Addedobject-assign@4.1.1(transitive)
+ Addedpromise@7.3.1(transitive)
+ Addedsafer-buffer@2.1.2(transitive)
+ Addedsetimmediate@1.0.5(transitive)
+ Addedua-parser-js@0.7.39(transitive)
+ Addedwhatwg-fetch@3.6.20(transitive)