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.3.0 to 2.4.0

2

dist/index.js

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

if (xhr.readyState === xhr.HEADERS_RECEIVED) {
if (xhr.status >= 200 && xhr.status < 400) {
if (xhr.status) {
isOnline();

@@ -52,0 +52,0 @@ } else {

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

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

[![npm](https://img.shields.io/npm/v/react-detect-offline.svg)](https://www.npmjs.com/package/react-detect-offline)
[![npm downloads](https://img.shields.io/npm/dm/react-detect-offline.svg)](https://www.npmjs.com/package/react-detect-offline)
![gzip size](http://img.badgesize.io/https://unpkg.com/react-detect-offline?compression=gzip&label=gzip%20size)
![badges](https://img.shields.io/badge/license-MIT-lightgrey.svg)
![badges](https://img.shields.io/badge/badges-4-lightgrey.svg)

@@ -6,0 +6,0 @@ ### Offline and Online components for React

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