Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

reconnecting-websocket

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

reconnecting-websocket - npm Package Compare versions

Comparing version 4.0.0-rc1 to 4.0.0-rc2

2

package.json
{
"name": "reconnecting-websocket",
"version": "4.0.0-rc1",
"version": "4.0.0-rc2",
"description": "Reconnecting WebSocket",

@@ -5,0 +5,0 @@ "main": "./dist/reconnecting-websocket-cjs.js",

# Reconnecting WebSocket
[![Build Status](https://travis-ci.org/pladaria/reconnecting-websocket.svg?branch=master)](https://travis-ci.org/pladaria/reconnecting-websocket)
[![Coverage Status](https://coveralls.io/repos/github/pladaria/reconnecting-websocket/badge.svg?branch=master)](https://coveralls.io/github/pladaria/reconnecting-websocket?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/pladaria/reconnecting-websocket/badge.svg?branch=master&v=1)](https://coveralls.io/github/pladaria/reconnecting-websocket?branch=master)

@@ -13,3 +13,3 @@ WebSocket that will automatically reconnect if the connection is closed.

* Multiplatform (Web, ServiceWorkers, Node.js, React Native)
* Dependency free (does not depends on Window, DOM or any EventEmitter library)
* Dependency free (does not depend on Window, DOM or any EventEmitter library)
* Handle connection timeouts

@@ -86,4 +86,4 @@ * Full test coverage

```javascript
const ReconnectingWebSocket = require('reconnecting-websocket');
const WS = require('ws');
import ReconnectingWebSocket from 'reconnecting-websocket';
import WS from 'ws';

@@ -148,3 +148,3 @@ const options = {

binaryType: string;
bufferedAmount: number; // read only
bufferedAmount: number;
extensions: string;

@@ -156,4 +156,5 @@ onclose: EventListener;

protocol: string;
readyState: number; // read only
url: string; // read only
readyState: number;
url: string;
retryCount: number;
```

@@ -160,0 +161,0 @@

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