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

zmq

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zmq - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

.gitignore

3

lib/index.js

@@ -341,3 +341,4 @@

exports.socket = function(type, options) {
exports.socket =
exports.createSocket = function(type, options) {
var sock = new Socket(type);

@@ -344,0 +345,0 @@ for (var key in options) sock[key] = options[key];

{
"name": "zmq",
"version": "2.0.1",
"version": "2.0.2",
"description": "Bindings for node.js to zeromq",

@@ -11,5 +11,6 @@ "main": "index",

"devDependencies": {
"should": "*"
, "jade": "*"
, "dox": "*"
"should": "*",
"batch": "*",
"jade": "*",
"dox": "*"
},

@@ -16,0 +17,0 @@ "engines": {

@@ -5,2 +5,6 @@

// alias
zmq.createSocket.should.equal(zmq.socket);
// .socket

@@ -12,6 +16,2 @@

// options
zmq.socket('req', { backlog: 30 }).backlog.should.equal(30);
// setsockopt

@@ -37,2 +37,8 @@

process.exit(0);
sock.close();
// options
sock = zmq.socket('req', { backlog: 30 });
sock.backlog.should.equal(30);
sock.close();

Sorry, the diff of this file is not supported yet

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