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 8.1.0 to 8.1.1

8

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

@@ -25,2 +25,3 @@ "name": "Feross Aboukhadijeh",

"airtap": "^2.0.3",
"babel-minify": "^0.5.1",
"browserify": "^16.1.0",

@@ -30,4 +31,3 @@ "prettier-bytes": "^1.0.3",

"standard": "*",
"tape": "^4.0.0",
"tinyify": "^2.5.2"
"tape": "^4.0.0"
},

@@ -50,3 +50,3 @@ "homepage": "https://github.com/feross/simple-websocket",

"scripts": {
"build": "browserify --plugin tinyify -s SimpleWebsocket -r ./ > simplewebsocket.min.js",
"build": "browserify -s SimpleWebsocket -r . | minify > simplewebsocket.min.js",
"size": "npm run build && cat simplewebsocket.min.js | gzip | wc -c",

@@ -53,0 +53,0 @@ "test": "standard && npm run test-node && npm run test-browser",

@@ -23,3 +23,3 @@ # simple-websocket [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]

This module works in the browser with [browserify](http://browserify.org/), and it's used by [WebTorrent](http://webtorrent.io)!
This package is used by [WebTorrent](https://webtorrent.io).

@@ -32,2 +32,8 @@ ## install

This package works in the browser with [browserify](https://browserify.org). If
you do not use a bundler, you can use the `simplewebsocket.min.js` standalone script
directly in a `<script>` tag. This exports a `SimpleWebsocket` constructor on
`window`. Wherever you see `Socket` in the examples below, substitute that with
`SimpleWebsocket`.
## real-world applications that use simple-websocket

@@ -59,7 +65,2 @@

**Note:** If you're **NOT** using browserify, then use the included standalone file
`simplewebsocket.min.js`. This exports a `SimpleWebsocket` constructor on `window`.
Wherever you see `Socket` in the examples below, substitute that with
`SimpleWebsocket`.
## api

@@ -66,0 +67,0 @@

Sorry, the diff of this file is too big to display

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