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

simple-websocket

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simple-websocket - npm Package Compare versions

Comparing version 2.5.0 to 2.5.1

2

package.json
{
"name": "simple-websocket",
"description": "Simple, EventEmitter API for WebSockets (browser)",
"version": "2.5.0",
"version": "2.5.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Feross Aboukhadijeh",

@@ -101,10 +101,4 @@ # simple-websocket [![travis](https://img.shields.io/travis/feross/simple-websocket.svg)](https://travis-ci.org/feross/simple-websocket) [![npm](https://img.shields.io/npm/v/simple-websocket.svg)](https://npmjs.org/package/simple-websocket)

Fired when a fatal error occurs. If the `reconnect` option is set to something truthy (defaults to `5000`), then this event will never get emitted because the socket will automatically reconnect on error.
Fired when a fatal error occurs.
### `socket.on('warning', function (err) {})`
`err` is an `Error` object.
Fired when an error occurs but an auto-reconnect will be attempted. Thus, it's only a `warning`, not a full-fledged `error`.
## real-world applications that use simple-websocket

@@ -111,0 +105,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