Socket
Socket
Sign inDemoInstall

shell

Package Overview
Dependencies
5
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.8.4 to 0.8.5

LICENSE

2

lib/index.js

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.5.1
// Generated by CoffeeScript 2.6.1
// # Shell.js

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.5.1
// Generated by CoffeeScript 2.6.1
// ## Plugin "args"

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.5.1
// Generated by CoffeeScript 2.6.1
// ## Plugin "config"

@@ -31,2 +31,8 @@

}
if (typeof value === 'string') {
// Cast string to object
value = {
name: value
};
}
// Unset the property if null

@@ -36,7 +42,9 @@ if (value === null) {

return builder;
} else if (!is_object_literal(value)) {
throw utils.error(['Invalid Main Configuration:', 'accepted values are string, null and object,', `got \`${JSON.stringify(value)}\``]);
}
if (typeof value === 'string') {
value = {
name: value
};
// Ensure there is no conflict with command
// Get root configuration to extract command name
if (value.name === ctx.confx([]).raw().command) {
throw utils.error(['Conflicting Main Value:', 'main name is conflicting with the command name,', `got \`${JSON.stringify(value.name)}\``]);
}

@@ -43,0 +51,0 @@ config.main = value;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.5.1
// Generated by CoffeeScript 2.6.1
// ## Plugin "help"

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.5.1
// Generated by CoffeeScript 2.6.1
// ## Plugin "router"

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.5.1
// Generated by CoffeeScript 2.6.1
// # Route Help

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.5.1
// Generated by CoffeeScript 2.6.1
// # Shell.js Core object

@@ -3,0 +3,0 @@ var Shell, clone, is_object_literal, load, merge, path, register, registry, stream, types, utils;

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.5.1
// Generated by CoffeeScript 2.6.1
var is_object_literal, mutate;

@@ -3,0 +3,0 @@

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.5.1
// Generated by CoffeeScript 2.6.1
module.exports = {

@@ -3,0 +3,0 @@ error: require('./error'),

@@ -1,2 +0,2 @@

// Generated by CoffeeScript 2.5.1
// Generated by CoffeeScript 2.6.1
var path;

@@ -3,0 +3,0 @@

{
"name": "shell",
"version": "0.8.4",
"version": "0.8.5",
"author": "David Worms <david@adaltas.com> (https://www.adaltas.com)",

@@ -22,8 +22,8 @@ "coffeelintConfig": {

"dependencies": {
"mixme": "^0.3.5",
"mixme": "^0.5.4",
"pad": "^3.2.0"
},
"devDependencies": {
"coffeescript": "^2.5.1",
"mocha": "^8.2.1",
"coffeescript": "^2.6.1",
"mocha": "^9.1.3",
"should": "^13.2.3"

@@ -76,3 +76,4 @@ },

"test": "mocha 'test/**/*.coffee'"
}
},
"gitHead": "2063d9893a477f8a5617dbfc9aca328eb7763bac"
}

@@ -5,1 +5,3 @@

Core engine available as the `shell` package.
Please refer to the [project website](https://shell.js.org/) to access the documentation.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc