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

jsh

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsh - npm Package Compare versions

Comparing version 0.1.36 to 0.1.38

6

lib/vm.js

@@ -20,3 +20,6 @@ var waitfor = require('./waitfor'),

var ret = vm.runInContext(realCmd, this.context);
if (typeof ret !== 'undefined' && !silent) console.log(inspect(ret));
if (typeof ret !== 'undefined' && !silent) {
console.log(inspect(ret));
this.context._ = ret;
}
},

@@ -67,2 +70,3 @@ execScript: function (path) {

context = vm.createContext(context);
context.global = context;

@@ -69,0 +73,0 @@ (function loadBuiltInCmds (commands, ctx) {

2

package.json
{
"name": "jsh",
"version": "0.1.36",
"version": "0.1.38",
"description": "The JavaScript shell interpreter.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -52,2 +52,4 @@ # jsh - The JavaScript Shell

When the shell is run interactively, the last returned value is stored in the _ variable, just like in the Node REPL.
## Coming soon (in no particular order)

@@ -54,0 +56,0 @@

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