Comparing version 2.0.1 to 2.0.2
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
77672
40
996
4
3
5