Socket
Socket
Sign inDemoInstall

ws

Package Overview
Dependencies
Maintainers
1
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 0.4.10 to 0.4.11

binding.gyp

8

History.md

@@ -0,1 +1,9 @@

v0.4.11 - Mar 24th 2012
=====================
* node v0.7 compatibillity release
* gyp support [TooTallNate]
* commander dependency update [jwueller]
* loadbalancer support [nicokaiser]
v0.4.10 - Mar 22th 2012

@@ -2,0 +10,0 @@ =====================

2

lib/WebSocketServer.js

@@ -345,3 +345,3 @@ /*!

// verify client
var location = (socket.encrypted ? 'wss' : 'ws') + '://' + req.headers.host + req.url
var location = ((req.headers['x-forwarded-proto'] === 'https' || socket.encrypted) ? 'wss' : 'ws') + '://' + req.headers.host + req.url
, origin = req.headers['origin'];

@@ -348,0 +348,0 @@ if (typeof this.options.verifyClient == 'function') {

@@ -5,3 +5,3 @@ {

"description": "simple to use, blazing fast and thoroughly tested websocket client, server and console for node.js, up-to-date against RFC-6455",
"version": "0.4.10",
"version": "0.4.11",
"repository": {

@@ -22,3 +22,3 @@ "type": "git",

"dependencies": {
"commander": "0.5.0",
"commander": "0.5.x",
"options": "latest"

@@ -25,0 +25,0 @@ },

Sorry, the diff of this file is not supported yet

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