Socket
Socket
Sign inDemoInstall

ddp

Package Overview
Dependencies
Maintainers
4
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ddp - npm Package Compare versions

Comparing version 0.3.4 to 0.3.5

5

CHANGELOG.md

@@ -0,1 +1,4 @@

0.3.5 - 2013-11-05
- Added non strict SSL option in case of missing root certificates
0.3.4 - 2013-08-28

@@ -15,2 +18,2 @@ - added EJSON support (default is off) with a couple tests

0.3.0 - 2013-03-18
- moved over to DDP-pre1
- moved over to DDP-pre1

3

lib/ddp-client.js

@@ -18,2 +18,3 @@ var WebSocket = require('ws'),

self.auto_reconnect_timer = ('auto_reconnect_timer' in opts) ? opts.auto_reconnect_timer : 500;
self.use_ssl_strict = true;

@@ -235,3 +236,3 @@ // add support for EJSON, off by default to avoid breaking change

var protocol = self.use_ssl ? 'wss://' : 'ws://';
self.socket = new WebSocket(protocol + self.host + ':' + self.port + '/' + self.path);
self.socket = new WebSocket(protocol + self.host + ':' + self.port + '/' + self.path, {rejectUnauthorized: self.use_ssl_strict});
self._prepareHandlers();

@@ -238,0 +239,0 @@ };

{
"name": "ddp",
"version": "0.3.4",
"version": "0.3.5",
"description": "Node.js module to connect to servers using DDP protocol.",

@@ -40,2 +40,2 @@ "author": "Tom Coleman <tom@thesnail.org> (http://tom.thesnail.org)",

"bugs": "https://github.com/oortcloud/node-ddp-client/issues"
}
}

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