react-update-notification
Advanced tools
Comparing version 0.1.0-alpha.3 to 0.1.0-alpha.4
@@ -7,2 +7,5 @@ import { useState, useEffect } from 'react'; | ||
var checkUpdate = function () { | ||
if (status === 'available') { | ||
return; | ||
} | ||
if (typeof currentVersion === 'undefined') { | ||
@@ -9,0 +12,0 @@ setStatus('current'); |
@@ -9,2 +9,5 @@ "use strict"; | ||
var checkUpdate = function () { | ||
if (status === 'available') { | ||
return; | ||
} | ||
if (typeof currentVersion === 'undefined') { | ||
@@ -11,0 +14,0 @@ setStatus('current'); |
{ | ||
"name": "react-update-notification", | ||
"version": "0.1.0-alpha.3", | ||
"version": "0.1.0-alpha.4", | ||
"description": "New version notification for your React application.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
8825
190