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

n_shell

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

n_shell - npm Package Compare versions

Comparing version 0.3.5 to 0.4.0

2

index.js

@@ -80,3 +80,3 @@ #!/usr/bin/env node

// Add inspect() method, if it doesn't exist
if (argv.inspect) {
if (!argv.noinspect) {
for (var key in shell) {

@@ -83,0 +83,0 @@ shell[key] = wrap(shell[key], key);

{
"name": "n_shell",
"version": "0.3.5",
"version": "0.4.0",
"description": "A node REPL with ShellJS loaded by default",

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

@@ -110,8 +110,10 @@ # n\_shell

PR](https://github.com/nfischer/n_shell/compare)
- `--inspect`: an experimental switch to add a `.inspect()` method to the
output of each command. The return values are still ShellStrings, but appear
more readable and shell-like. Also, commands with no arguments can be
invoked without parentheses, such as `shell.pwd` and `shell.ls`. Recommended
for ShellJS v0.7+. Credit for the idea goes to
[piranna](https://github.com/piranna).
- `--noinspect`: disable the default `--inspect` behavior. This provides
less-readable REPL output, but behaves just as a standard Node REPL would.
- `--inspect` (default): an experimental switch to add a `.inspect()` method to
the output of each command. The return values are still ShellStrings, but
appear more readable and shell-like. Also, commands with no arguments can be
invoked without parentheses, such as `shell.pwd` and `shell.ls`. Recommended
for ShellJS v0.7+. Credit for the idea goes to
[piranna](https://github.com/piranna).

@@ -118,0 +120,0 @@ ## History

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