New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

connection-state

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connection-state - npm Package Compare versions

Comparing version

to
0.0.3

2

dist/index.es.js

@@ -41,3 +41,3 @@ var listenable = function () {

// @TODO: when navigator.onLine === true, check these endpoints
throw new Error('Endpoints are not supported yet');
console.warn('Endpoints are not supported yet');
}

@@ -44,0 +44,0 @@ var getState = function () {

@@ -43,3 +43,3 @@ 'use strict';

// @TODO: when navigator.onLine === true, check these endpoints
throw new Error('Endpoints are not supported yet');
console.warn('Endpoints are not supported yet');
}

@@ -46,0 +46,0 @@ var getState = function () {

{
"name": "connection-state",
"version": "0.0.2",
"version": "0.0.3",
"description": "Detect online and offline network state.",

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

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet