Socket
Socket
Sign inDemoInstall

check-internet-connected

Package Overview
Dependencies
1
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

2

index.js

@@ -33,2 +33,3 @@ const url = require('url');

client.on('error', (err) => {
client.destroy();
reject(err);

@@ -46,2 +47,3 @@ });

} catch (ex) {
console.log(ex);
if (i === (retries - 1)) {

@@ -48,0 +50,0 @@ throw ex;

2

package.json
{
"name": "check-internet-connected",
"version": "2.0.0",
"version": "2.0.1",
"description": "Utility to check if internet is connected or not",

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

Sorry, the diff of this file is not supported yet

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