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

octo-sansa

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

octo-sansa - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

12

lib/server.js
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": {

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