Socket
Socket
Sign inDemoInstall

react-detect-offline

Package Overview
Dependencies
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-detect-offline - npm Package Compare versions

Comparing version 2.4.3 to 2.4.4

4

dist/index.js

@@ -57,3 +57,3 @@ "use strict";

xhr.open("HEAD", url);
xhr.open("GET", url);
xhr.timeout = timeout;

@@ -82,3 +82,3 @@ xhr.send();

enabled: inBrowser && unsupportedUserAgentsPattern.test(navigator.userAgent),
url: "https://www.swapi.tech/api/",
url: "https://httpbin.org/get",
timeout: 5000,

@@ -85,0 +85,0 @@ interval: 5000

{
"name": "react-detect-offline",
"version": "2.4.3",
"version": "2.4.4",
"description": "Offline and Online components for React",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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