Comparing version 0.5.5 to 0.5.6
@@ -1,2 +0,2 @@ | ||
var http = require('http') | ||
var http = require('htt' + 'p') | ||
var engine = require('engine.io') | ||
@@ -3,0 +3,0 @@ var common = require('./common') |
exports.tcp = { | ||
bind: function(target, smq, options, callback) { | ||
return require('./net' + '/tcp').bind(target, smq, options, callback) | ||
return require('./net/tcp').bind(target, smq, options, callback) | ||
}, | ||
connect: function(target, smq, options, callback) { | ||
return require('./net' + '/tcp').connect(target, smq, options, callback) | ||
return require('./net/tcp').connect(target, smq, options, callback) | ||
} | ||
@@ -12,6 +12,6 @@ } | ||
bind: function(target, smq, options, callback) { | ||
return require('./net' + '/tls').bind(target, smq, options, callback) | ||
return require('./net/tls').bind(target, smq, options, callback) | ||
}, | ||
connect: function(target, smq, options, callback) { | ||
return require('./net' + '/tls').connect(target, smq, options, callback) | ||
return require('./net/tls').connect(target, smq, options, callback) | ||
} | ||
@@ -22,3 +22,3 @@ } | ||
bind: function(target, smq, options, callback) { | ||
return require('./engine.io' + '/bind')(target, smq, options, callback) | ||
return require('./engine.io/bind')(target, smq, options, callback) | ||
}, | ||
@@ -25,0 +25,0 @@ connect: function(target, smq, options, callback) { |
@@ -1,2 +0,2 @@ | ||
var net = require('net') | ||
var net = require('ne' + 't') | ||
var common = require('./common') | ||
@@ -3,0 +3,0 @@ |
@@ -1,2 +0,2 @@ | ||
var tls = require('tls') | ||
var tls = require('tl' + 's') | ||
var common = require('./common') | ||
@@ -3,0 +3,0 @@ |
{ | ||
"name": "socketmq", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"description": "Lightweight stream-oriented messaging library for node.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 3 instances in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
6
0
41764