octo-sansa
Advanced tools
Comparing version 1.0.0 to 1.0.1
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; |
{ | ||
"name": "octo-sansa", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"homepage": "https://github.com/thepatrick/octo-sansa", | ||
@@ -5,0 +5,0 @@ "author": { |
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
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
11827
284
2