Comparing version 0.4.0 to 0.5.0
@@ -22,3 +22,4 @@ "use strict"; | ||
.describe('v', 'Print compiled javascript before evaluating.') | ||
.describe('dere', "I-its's not like I'm an option so DON'T GET THE WRONG IDEA!"); | ||
.describe('dere', "I-its's not like I'm an option so DON'T GET THE WRONG IDEA!") | ||
.describe('ignore-undefined', 'Do not output the return value of a command if it evaluates to undefined'); | ||
var argv = options.argv; | ||
@@ -148,3 +149,5 @@ var verbose = argv.verbose; | ||
var result = vm.runInContext(current, context); | ||
console.log(util.inspect(result, false, 2, true)); | ||
if (result === undefined && !argv['ignore-undefined']) { | ||
console.log(util.inspect(result, false, 2, true)); | ||
} | ||
} | ||
@@ -151,0 +154,0 @@ catch (e) { |
{ | ||
"name": "tsun", | ||
"preferGlobal": true, | ||
"version": "0.4.0", | ||
"version": "0.5.0", | ||
"description": "TSUN: a repl for TypeScript Upgraded Node", | ||
@@ -6,0 +6,0 @@ "bin": "./bin/tsun", |
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
27753
654