octo-sansa
Advanced tools
+9
-3
| var events = require('events'), | ||
| net = require('net'), | ||
| util = require('util'), | ||
| sansa = require('./sansa'); | ||
@@ -112,5 +114,9 @@ | ||
| server.ask(someClient, 'function name', { some: "argument" }, function(err, responseBody) { | ||
| }); | ||
| ask = function(client, fn, body, callback) { | ||
| if (callback == null) { | ||
| throw Error('ask(' + fn + ') with no callback'); | ||
| if (typeof callback !== 'function') { | ||
| throw Error('ask(' + fn + ') with callback: ' + util.inspect(callback)); | ||
| } | ||
@@ -136,2 +142,2 @@ | ||
| module.exports = createServer; | ||
| module.exports = createServer; |
+1
-1
| { | ||
| "name": "octo-sansa", | ||
| "version": "1.0.0", | ||
| "version": "1.0.1", | ||
| "homepage": "https://github.com/thepatrick/octo-sansa", | ||
@@ -5,0 +5,0 @@ "author": { |
Network access
Supply chain riskThis module accesses the network.
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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
11827
1.48%284
1.43%2
-33.33%