Socket
Socket
Sign inDemoInstall

react-detect-offline

Package Overview
Dependencies
Maintainers
1
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.1.0 to 2.1.1

2

dist/index.js

@@ -54,4 +54,4 @@ "use strict";

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

@@ -58,0 +58,0 @@ });

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

@@ -45,9 +45,3 @@ "main": "dist/index.js",

},
"keywords": [
"react",
"offline",
"online",
"detect",
"disconnect"
],
"keywords": ["react", "offline", "online", "detect", "disconnect"],
"jest": {

@@ -54,0 +48,0 @@ "collectCoverageFrom": [

@@ -25,4 +25,4 @@ import { Component, isValidElement, Children, createElement } from "react";

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

@@ -29,0 +29,0 @@ });

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