Socket
Socket
Sign inDemoInstall

is-online

Package Overview
Dependencies
47
Maintainers
2
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 9.0.0 to 9.0.1

2

browser.js

@@ -12,3 +12,3 @@ /* eslint-env browser */

if (navigator && navigator.onLine === false) {
if (navigator && !navigator.onLine) {
return false;

@@ -15,0 +15,0 @@ }

@@ -27,3 +27,3 @@ declare namespace isOnline {

When the first check succeeds, the returned Promise is resolved to `true`.
When any check succeeds, the returned Promise is resolved to `true`.

@@ -30,0 +30,0 @@ @example

{
"name": "is-online",
"version": "9.0.0",
"version": "9.0.1",
"description": "Check if the internet connection is up",

@@ -53,3 +53,3 @@ "license": "MIT",

"p-timeout": "^3.2.0",
"public-ip": "^4.0.2"
"public-ip": "^4.0.4"
},

@@ -56,0 +56,0 @@ "devDependencies": {

@@ -1,2 +0,2 @@

# is-online [![Build Status](https://travis-ci.com/sindresorhus/is-online.svg?branch=master)](https://travis-ci.com/github/sindresorhus/is-online)
# is-online

@@ -57,3 +57,3 @@ > Check if the internet connection is up

When the first check succeeds, the returned Promise is resolved to `true`.
When any check succeeds, the returned Promise is resolved to `true`.

@@ -60,0 +60,0 @@ ## Proxy support

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc