react-clear-cache
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -12,5 +12,5 @@ import { useRef, useEffect, useState } from 'react'; | ||
var _e = useState(false), isLatestVersion = _e[0], setIsLatestVersion = _e[1]; | ||
var _f = useState(''), latestVersion = _f[0], setLatestVersion = _f[1]; | ||
var useAppVersionState = createPersistedState('appVersion'); | ||
var _g = useAppVersionState(''), appVersion = _g[0], setAppVersion = _g[1]; | ||
var _f = useAppVersionState(''), appVersion = _f[0], setAppVersion = _f[1]; | ||
var _g = useState(appVersion), latestVersion = _g[0], setLatestVersion = _g[1]; | ||
function emptyCacheStorage() { | ||
@@ -17,0 +17,0 @@ console.log('Clearing cache and hard reloading...'); |
@@ -16,5 +16,5 @@ 'use strict'; | ||
var _e = React.useState(false), isLatestVersion = _e[0], setIsLatestVersion = _e[1]; | ||
var _f = React.useState(''), latestVersion = _f[0], setLatestVersion = _f[1]; | ||
var useAppVersionState = createPersistedState('appVersion'); | ||
var _g = useAppVersionState(''), appVersion = _g[0], setAppVersion = _g[1]; | ||
var _f = useAppVersionState(''), appVersion = _f[0], setAppVersion = _f[1]; | ||
var _g = React.useState(appVersion), latestVersion = _g[0], setLatestVersion = _g[1]; | ||
function emptyCacheStorage() { | ||
@@ -21,0 +21,0 @@ console.log('Clearing cache and hard reloading...'); |
{ | ||
"name": "react-clear-cache", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "A component to manage application updates.", | ||
@@ -5,0 +5,0 @@ "author": "noahjohn9259", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
29541