Comparing version 0.0.0 to 0.0.1
11
index.js
@@ -50,7 +50,14 @@ module.exports = '(' + function () { | ||
output : output, | ||
eval : evaluator | ||
eval : function (s, _, _, cb) { | ||
try { | ||
evaluator(s, cb) | ||
} | ||
catch (err) { | ||
cb(err); | ||
} | ||
} | ||
}); | ||
return duplex; | ||
})(function (s, _, _, cb) { cb(eval(s)) }); | ||
})(function (s, cb) { cb(eval(s)) }); | ||
} + ')()'; |
{ | ||
"name" : "humbug", | ||
"version" : "0.0.0", | ||
"version" : "0.0.1", | ||
"description" : "debug inline state with a streaming repl", | ||
@@ -5,0 +5,0 @@ "main" : "index.js", |
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
7455
10
130
4
5