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

react-clear-cache

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-clear-cache - npm Package Compare versions

Comparing version 1.0.17 to 1.0.18

3

dist/index.es.js

@@ -17,5 +17,2 @@ import { useRef, useEffect, useState } from 'react';

console.log('Clearing cache and hard reloading...');
if (!latestVersion)
return;
setAppVersion(latestVersion);
if ('caches' in window) {

@@ -22,0 +19,0 @@ // Service worker cache should be cleared with caches.delete()

@@ -21,5 +21,2 @@ 'use strict';

console.log('Clearing cache and hard reloading...');
if (!latestVersion)
return;
setAppVersion(latestVersion);
if ('caches' in window) {

@@ -26,0 +23,0 @@ // Service worker cache should be cleared with caches.delete()

2

package.json
{
"name": "react-clear-cache",
"version": "1.0.17",
"version": "1.0.18",
"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

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