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

ws

Package Overview
Dependencies
Maintainers
4
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ws - npm Package Compare versions

Comparing version 1.1.4 to 1.1.5

lib/.DS_Store

17

lib/Extensions.js

@@ -23,3 +23,9 @@

var token = params.shift().trim();
var paramsList = extensions[token] = extensions[token] || [];
if (extensions[token] === undefined) {
extensions[token] = [];
} else if (!extensions.hasOwnProperty(token)) {
return;
}
var parsedParams = {};

@@ -42,6 +48,11 @@

}
(parsedParams[key] = parsedParams[key] || []).push(value);
if (parsedParams[key] === undefined) {
parsedParams[key] = [value];
} else if (parsedParams.hasOwnProperty(key)) {
parsedParams[key].push(value);
}
});
paramsList.push(parsedParams);
extensions[token].push(parsedParams);
});

@@ -48,0 +59,0 @@

24

package.json
{
"author": "Einar Otto Stangvik <einaros@gmail.com> (http://2x.io)",
"name": "ws",
"description": "simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455",
"version": "1.1.4",
"license": "MIT",
"main": "index.js",
"description": "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js",
"version": "1.1.5",
"keywords": [

@@ -17,6 +14,12 @@ "Hixie",

],
"repository": {
"type": "git",
"url": "git://github.com/websockets/ws.git"
},
"homepage": "https://github.com/websockets/ws",
"bugs": "https://github.com/websockets/ws/issues",
"repository": "websockets/ws",
"author": "Einar Otto Stangvik <einaros@gmail.com> (http://2x.io)",
"license": "MIT",
"main": "index.js",
"files": [
"index.js",
"lib"
],
"scripts": {

@@ -39,4 +42,3 @@ "test": "make test"

"utf-8-validate": "1.2.x"
},
"gypfile": true
}
}
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