react-detect-offline
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -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 @@ }); |
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
223353
20