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

karg

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

karg - npm Package Compare versions

Comparing version 1.6.0 to 1.7.0

37

js/karg.js

@@ -26,2 +26,4 @@ (function() {

log = console.log;
noon = require('noon');

@@ -41,4 +43,2 @@

log = console.log;
expand = function(l) {

@@ -91,3 +91,3 @@ var a, j, len, match;

*/
var a, c, df, h, help, k, l, maxHelpLength, maxKeyLength, n, oh, p, r, ref, ref1, s, short, v, version;
var a, df, h, help, k, l, maxHelpLength, maxKeyLength, n, oh, p, r, ref, ref1, s, short, v, version;
if (options.ignoreArgs == null) {

@@ -98,7 +98,5 @@ options.ignoreArgs = 2;

if (isString(config)) {
c = noon.parse(config);
} else {
c = config;
config = noon.parse(config);
}
n = Object.keys(c)[0];
n = Object.keys(config)[0];
r = {};

@@ -109,3 +107,3 @@ p = '';

short = {}; // maps shortcut keys to long key names
ref = c[n];
ref = config[n];
for (k in ref) {

@@ -121,2 +119,3 @@ v = ref[k];

s = (v['-'] != null) && v['-'] || k[0];
k = k.toLowerCase();
if (indexOf.call(Object.keys(v), '*') >= 0) {

@@ -170,6 +169,6 @@ p = k;

h += '\n';
if ((ref1 = c[n][p]) != null ? ref1['?'] : void 0) {
h += `\n${padEnd(' ' + p, maxKeyLength + 9)} ${c[n][p]['?'].gray}`.yellow.bold;
if ((c[n][p]['='] != null) && !l) {
h += ` ${padEnd('', Math.max(0, maxHelpLength - c[n][p]['?'].strip.length))} ${c[n][p]['=']}`.magenta;
if ((ref1 = config[n][p]) != null ? ref1['?'] : void 0) {
h += `\n${padEnd(' ' + p, maxKeyLength + 9)} ${config[n][p]['?'].gray}`.yellow.bold;
if ((config[n][p]['='] != null) && !l) {
h += ` ${padEnd('', Math.max(0, maxHelpLength - config[n][p]['?'].strip.length))} ${config[n][p]['=']}`.magenta;
}

@@ -184,10 +183,10 @@ h += '\n';

short['h'] = 'help';
if (c['version'] != null) {
version = c['version'];
delete c['version'];
if (config.version != null) {
version = config.version;
delete config.version;
short['V'] = 'version';
}
delete c[n];
if (!isEmpty(c)) {
h += noon.stringify(c, {
delete config[n];
if (!isEmpty(config)) {
h += noon.stringify(config, {
maxalign: 16,

@@ -256,3 +255,3 @@ colors: {

//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2FyZy5qcyIsInNvdXJjZVJvb3QiOiIuLiIsInNvdXJjZXMiOlsiY29mZmVlL2thcmcuY29mZmVlIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0VBQUE7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUFBLE1BQUEsTUFBQSxFQUFBLEtBQUEsRUFBQSxNQUFBLEVBQUEsT0FBQSxFQUFBLFFBQUEsRUFBQSxHQUFBLEVBQUEsSUFBQSxFQUFBLE1BQUEsRUFBQSxLQUFBLEVBQUEsSUFBQSxFQUFBLE1BQUE7SUFBQTs7RUFRQSxJQUFBLEdBQVcsT0FBQSxDQUFRLE1BQVI7O0VBQ1gsTUFBQSxHQUFXLE9BQUEsQ0FBUSxRQUFSOztFQUNYLE9BQUEsR0FBVyxPQUFBLENBQVEsZ0JBQVI7O0VBQ1gsTUFBQSxHQUFXLE9BQUEsQ0FBUSxlQUFSOztFQUNYLElBQUEsR0FBVyxPQUFBLENBQVEsYUFBUjs7RUFDWCxNQUFBLEdBQVcsT0FBQSxDQUFRLGVBQVI7O0VBQ1gsUUFBQSxHQUFXLE9BQUEsQ0FBUSxpQkFBUjs7RUFDWCxHQUFBLEdBQVcsT0FBTyxDQUFDOztFQVVuQixNQUFBLEdBQVMsUUFBQSxDQUFDLENBQUQsQ0FBQTtBQUNMLFFBQUEsQ0FBQSxFQUFBLENBQUEsRUFBQSxHQUFBLEVBQUE7SUFBQSxLQUFBLG1DQUFBOztNQUNJLElBQUcsS0FBQS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IHdyb25nIGthcmcgc2V0dXA6ICN7XCJrZXlzIGNhbid0IGNvbnRhaW4gc3BhY2VzIVwiLmJvbGR9XG4gICAgICAgICAgICBicm9rZW4ga2V5OiAje2suYm9sZC55ZWxsb3d9XG4gICAgICAgICAgICBcIlwiXCJcbiAgICAgICAgICAgIHByb2Nlc3MuZXhpdCAxXG4gICAgICAgIFxuICAgICAgICBpZiB2Wyc9J10/IHRoZW4gcltrXSA9IHZbJz0nXVxuICAgICAgICBzID0gdlsnLSddPyBhbmQgdlsnLSddIG9yIGtbMF1cbiAgICAgICAgaWYgJyonIGluIE9iamVjdC5rZXlzIHZcbiAgICAgICAgICAgIHAgPSBrXG4gICAgICAgIGVsc2UgaWYgJyoqJyBpbiBPYmplY3Qua2V5cyB2XG4gICAgICAgICAgICBwID0ga1xuICAgICAgICAgICAgbCA9IHRydWVcbiAgICAgICAgICAgIHJbcF0gPSBbXVxuICAgICAgICBlbHNlXG4gICAgICAgICAgICBzaG9ydFtzXSA9IGtcbiAgICAgICAgICAgIGhlbHBbc10gPSB2Wyc/J11cblxuICAgICMjI1xuICAgICAwMDAwMDAwICAgMDAwMDAwMDAgICAwMDAwMDAwMDAgIDAwMCAgIDAwMDAwMDAgICAwMDAgICAwMDAgICAwMDAwMDAwXG4gICAgMDAwICAgMDAwICAwMDAgICAwMDAgICAgIDAwMCAgICAgMDAwICAwMDAgICAwMDAgIDAwMDAgIDAwMCAgMDAwICAgICBcbiAgICAwMDAgICAwMDAgIDAwMDAwMDAwICAgICAgMDAwICAgICAwMDAgIDAwMCAgIDAwMCAgMDAwIDAgMDAwICAwMDAwMDAwIFxuICAgIDAwMCAgIDAwMCAgMDAwICAgICAgICAgICAwMDAgICAgIDAwMCAgMDAwICAgMDAwICAwMDAgIDAwMDAgICAgICAgMDAwXG4gICAgIDAwMDAwMDAgICAwMDAgICAgICAgICAgIDAwMCAgICAgMDAwICAgMDAwMDAwMCAgIDAwMCAgIDAwMCAgMDAwMDAwMCBcbiAgICAjI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c2lvbiddP1xuICAgICAgICB2ZXJzaW9uID0gY1sndmVyc2lvbiddXG4gICAgICAgIGRlbGV0ZSBjWyd2ZXJzaW9uJ11cbiAgICAgICAgc2hvcnRbJ1YnXSA9ICd2ZXJzaW9uJ1xuICAgICAgICBcbiAgICBkZWxldGUgY1tuXVxuICAgIGlmIG5vdCBpc0VtcHR5IGNcbiAgICAgICAgaCArPSBub29uLnN0cmluZ2lmeSBjLCBcbiAgICAgICAgICAgIG1heGFsaWduOiAxNlxuICAgICAgICAgICAgY29sb3JzOiBcbiAgICAgICAgICAgICAgICBrZXk6ICAgICBjb2xvcnMuZ3JheVxuICAgICAgICAgICAgICAgIHN0cmluZzogIGNvbG9ycy53aGl0ZVxuICAgICAgICBoICs9ICdcXG4nXG4gICAgICAgIFxuICAgICMjI1xuICAgIDAwMDAwMDAwICAgMDAwMDAwMDAgICAwMDAwMDAwICAwMDAgICAwMDAgIDAwMCAgICAgIDAwMDAwMDAwMFxuICAgIDAwMCAgIDAwMCAgMDAwICAgICAgIDAwMCAgICAgICAwMDAgICAwMDAgIDAwMCAgICAgICAgIDAwMCAgIFxuICAgIDAwMDAwMDAgICAgMDAwMDAwMCAgIDAwMDAwMDAgICAwMDAgICAwMDAgIDAwMCAgICAgICAgIDAwMCAgIFxuICAgIDAwMCAgIDAwMCAgMDAwICAgICAgICAgICAgMDAwICAwMDAgICAwMDAgIDAwMCAgICAgICAgIDAwMCAgIFxuICAgIDAwMCAgIDAwMCAgMDAwMDAwMDAgIDAwMDAwMDAgICAgMDAwMDAwMCAgIDAwMDAwMDAgICAgIDAwMCAgIFxuICAgICMjI1xuICAgICAgICBcbiAgICB3aGlsZSBhLmxlbmd0aFxuICAgICAgICBrID0gYS5zaGlmdCgpXG4gICAgICAgICAgICBcbiAgICAgICAgaWYgay5zdWJzdHIoMCwyKSA9PSAnLS0nXG4gICAgICAgICAgICBrID0gay5zdWJzdHIgMlxuICAgICAgICBlbHNlIGlmIGtbMF0gPT0gJy0nXG4gICAgICAgICAgICBrID0gc2hvcnRbay5zdWJzdHIgMV1cbiAgICAgICAgZWxzZSBcbiAgICAgICAgICAgIGlmIGxcbiAgICAgICAgICAgICAgICByW3BdLnB1c2gga1xuICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgIHJbcF0gPSBrXG4gICAgICAgICAgICBjb250aW51ZVxuICAgICAgICAgICAgXG4gICAgICAgIGlmIGsgPT0gJ2hlbHAnXG4gICAgICAgICAgICBsb2cgaFxuICAgICAgICAgICAgcmV0dXJuIGlmIG9wdGlvbnMuZG9udEV4aXRcbiAgICAgICAgICAgIHByb2Nlc3MuZXhpdCgpXG4gICAgICAgIGVsc2UgaWYgayA9PSAndmVyc2lvbicgYW5kIHZlcnNpb24/XG4gICAgICAgICAgICBsb2cgdmVyc2lvblxuICAgICAgICAgICAgcmV0dXJuIGlmIG9wdGlvbnMuZG9udEV4aXRcbiAgICAgICAgICAgIHByb2Nlc3MuZXhpdCgpXG4gICAgICAgICAgICBcbiAgICAgICAgaWYgcltrXSA9PSBmYWxzZSBvciByW2tdID09IHRydWVcbiAgICAgICAgICAgIHJba10gPSBub3QgcltrXVxuICAgICAgICBlbHNlIGlmIG5vdCBpc05hTiBwYXJzZUludCByW2tdXG4gICAgICAgICAgICByW2tdID0gcGFyc2VJbnQgYS5zaGlmdCgpXG4gICAgICAgIGVsc2UgaWYgayBpbiB2YWx1ZXMgc2hvcnRcbiAgICAgICAgICAgIHJba10gPSBhLnNoaWZ0KClcbiAgICAgICAgZWxzZVxuICAgICAgICAgICAgaWYgbFxuICAgICAgICAgICAgICAgIHJbcF0ucHVzaCBrXG4gICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgcltwXSA9IGtcbiAgICByXG5cbm1vZHVsZS5leHBvcnRzID0gcGFyc2VcbiJdfQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoia2FyZy5qcyIsInNvdXJjZVJvb3QiOiIuLiIsInNvdXJjZXM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xuICAgICAgICBpZiAnKicgaW4gT2JqZWN0LmtleXMgdlxuICAgICAgICAgICAgcCA9IGtcbiAgICAgICAgZWxzZSBpZiAnKionIGluIE9iamVjdC5rZXlzIHZcbiAgICAgICAgICAgIHAgPSBrXG4gICAgICAgICAgICBsID0gdHJ1ZVxuICAgICAgICAgICAgcltwXSA9IFtdXG4gICAgICAgIGVsc2VcbiAgICAgICAgICAgIHNob3J0W3NdID0ga1xuICAgICAgICAgICAgaGVscFtzXSA9IHZbJz8nXVxuXG4gICAgIyMjXG4gICAgIDAwMDAwMDAgICAwMDAwMDAwMCAgIDAwMDAwMDAwMCAgMDAwICAgMDAwMDAwMCAgIDAwMCAgIDAwMCAgIDAwMDAwMDBcbiAgICAwMDAgICAwMDAgIDAwMCAgIDAwMCAgICAgMDAwICAgICAwMDAgIDAwMCAgIDAwMCAgMDAwMCAgMDAwICAwMDAgICAgIFxuICAgIDAwMCAgIDAwMCAgMDAwMDAwMDAgICAgICAwMDAgICAgIDAwMCAgMDAwICAgMDAwICAwMDAgMCAwMDAgIDAwMDAwMDAgXG4gICAgMDAwICAgMDAwICAwMDAgICAgICAgICAgIDAwMCAgICAgMDAwICAwMDAgICAwMDAgIDAwMCAgMDAwMCAgICAgICAwMDBcbiAgICAgMDAwMDAwMCAgIDAwMCAgICAgICAgICAgMDAwICAgICAwMDAgICAwMDAwMDAwICAgMDAwICAgMDAwICAwMDAwMDAwIFxuICAgICMjI1xuICAgIFxuICAgIG9oID0gXCJcIlxuICAgIFxuICAgIG1heEtleUxlbmd0aCA9IDBcbiAgICBtYXhIZWxwTGVuZ3RoID0gMFxuICAgIGZvciBzLGsgb2Ygc2hvcnRcbiAgICAgICAgaWYgaGVscFtzXT9cbiAgICAgICAgICAgIG1heEtleUxlbmd0aCA9IE1hdGgubWF4KG1heEtleUxlbmd0aCwgcy5sZW5ndGgray5sZW5ndGgpXG4gICAgICAgICAgICBtYXhIZWxwTGVuZ3RoID0gTWF0aC5tYXgobWF4SGVscExlb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BcIiN7J1snLmdyYXl9I3snb3B0aW9ucycuYm9sZC5ncmF5fSN7J10nLmdyYXl9IFwiIGlmIDEgPCBzaXplIHNob3J0XG4gICAgaCArPSBcIiN7J1snLmdyYXl9I3twLmJvbGQueWVsbG93fSN7bCBhbmQgKCcgLi4uIF0nLmdyYXkpIG9yICgnXScuZ3JheSl9XCJcbiAgICBoICs9ICdcXG4nXG4gICAgaWYgY29uZmlnW25dW3BdP1snPyddXG4gICAgICAgIGggKz0gXCJcXG4je3BhZEVuZCAnICAgICAgICAnK3AsIG1heEtleUxlbmd0aCs5fSAje2NvbmZpZ1tuXVtwXVsnPyddLmdyYXl9XCIueWVsbG93LmJvbGRcbiAgICAgICAgaCArPSBcIiAgI3twYWRFbmQgJycsIE1hdGgubWF4KDAsbWF4SGVscExlbmd0aC1jb25maWdbbl1bcF1bJz8nXS5zdHJpcC5sZW5ndGgpfSAje2NvbmZpZ1tuXVtwXVsnPSddfVwiLm1hZ2VudGEgaWYgY29uZmlnW25dW3BdWyc9J10/IGFuZCBub3QgbFxuICAgICAgICBoICs9ICdcXG4nXG4gICAgICAgICAgICBcbiAgICBpZiBvaC5sZW5ndGhcbiAgICAgICAgaCArPSBcIlxcbm9wdGlvbnM6XFxuXCIuZ3JheVxuICAgICAgICBoICs9IG9oXG4gICAgICAgIGggKz0gJ1xcblxcbidcbiAgICBcbiAgICBzaG9ydFsnaCddID0gJ2hlbHAnXG4gICAgXG4gICAgaWYgY29uZmlnLnZlcnNpb24/XG4gICAgICAgIHZlcnNpb24gPSBjb25maWcudmVyc2lvblxuICAgICAgICBkZWxldGUgY29uZmlnLnZlcnNpb25cbiAgICAgICAgc2hvcnRbJ1YnXSA9ICd2ZXJzaW9uJ1xuICAgICAgICBcbiAgICBkZWxldGUgY29uZmlnW25dXG4gICAgaWYgbm90IGlzRW1wdHkgY29uZmlnXG4gICAgICAgIGggKz0gbm9vbi5zdHJpbmdpZnkgY29uZmlnLCBcbiAgICAgICAgICAgIG1heGFsaWduOiAxNlxuICAgICAgICAgICAgY29sb3JzOiBcbiAgICAgICAgICAgICAgICBrZXk6ICAgICBjb2xvcnMuZ3JheVxuICAgICAgICAgICAgICAgIHN0cmluZzogIGNvbG9ycy53aGl0ZVxuICAgICAgICBoICs9ICdcXG4nXG4gICAgICAgIFxuICAgICMjI1xuICAgIDAwMDAwMDAwICAgMDAwMDAwMDAgICAwMDAwMDAwICAwMDAgICAwMDAgIDAwMCAgICAgIDAwMDAwMDAwMFxuICAgIDAwMCAgIDAwMCAgMDAwICAgICAgIDAwMCAgICAgICAwMDAgICAwMDAgIDAwMCAgICAgICAgIDAwMCAgIFxuICAgIDAwMDAwMDAgICAgMDAwMDAwMCAgIDAwMDAwMDAgICAwMDAgICAwMDAgIDAwMCAgICAgICAgIDAwMCAgIFxuICAgIDAwMCAgIDAwMCAgMDAwICAgICAgICAgICAgMDAwICAwMDAgICAwMDAgIDAwMCAgICAgICAgIDAwMCAgIFxuICAgIDAwMCAgIDAwMCAgMDAwMDAwMDAgIDAwMDAwMDAgICAgMDAwMDAwMCAgIDAwMDAwMDAgICAgIDAwMCAgIFxuICAgICMjI1xuICAgICAgICBcbiAgICB3aGlsZSBhLmxlbmd0aFxuICAgICAgICBrID0gYS5zaGlmdCgpXG4gICAgICAgICAgICBcbiAgICAgICAgaWYgay5zdWJzdHIoMCwyKSA9PSAnLS0nXG4gICAgICAgICAgICBrID0gay5zdWJzdHIgMlxuICAgICAgICBlbHNlIGlmIGtbMF0gPT0gJy0nXG4gICAgICAgICAgICBrID0gc2hvcnRbay5zdWJzdHIgMV1cbiAgICAgICAgZWxzZSBcbiAgICAgICAgICAgIGlmIGxcbiAgICAgICAgICAgICAgICByW3BdLnB1c2gga1xuICAgICAgICAgICAgZWxzZVxuICAgICAgICAgICAgICAgIHJbcF0gPSBrXG4gICAgICAgICAgICBjb250aW51ZVxuICAgICAgICAgICAgXG4gICAgICAgIGlmIGsgPT0gJ2hlbHAnXG4gICAgICAgICAgICBsb2cgaFxuICAgICAgICAgICAgcmV0dXJuIGlmIG9wdGlvbnMuZG9udEV4aXRcbiAgICAgICAgICAgIHByb2Nlc3MuZXhpdCgpXG4gICAgICAgIGVsc2UgaWYgayA9PSAndmVyc2lvbicgYW5kIHZlcnNpb24/XG4gICAgICAgICAgICBsb2cgdmVyc2lvblxuICAgICAgICAgICAgcmV0dXJuIGlmIG9wdGlvbnMuZG9udEV4aXRcbiAgICAgICAgICAgIHByb2Nlc3MuZXhpdCgpXG4gICAgICAgICAgICBcbiAgICAgICAgaWYgcltrXSA9PSBmYWxzZSBvciByW2tdID09IHRydWVcbiAgICAgICAgICAgIHJba10gPSBub3QgcltrXVxuICAgICAgICBlbHNlIGlmIG5vdCBpc05hTiBwYXJzZUludCByW2tdXG4gICAgICAgICAgICByW2tdID0gcGFyc2VJbnQgYS5zaGlmdCgpXG4gICAgICAgIGVsc2UgaWYgayBpbiB2YWx1ZXMgc2hvcnRcbiAgICAgICAgICAgIHJba10gPSBhLnNoaWZ0KClcbiAgICAgICAgZWxzZVxuICAgICAgICAgICAgaWYgbFxuICAgICAgICAgICAgICAgIHJbcF0ucHVzaCBrXG4gICAgICAgICAgICBlbHNlXG4gICAgICAgICAgICAgICAgcltwXSA9IGtcbiAgICByXG5cbm1vZHVsZS5leHBvcnRzID0gcGFyc2VcbiJdfQ==
//# sourceURL=C:/Users/kodi/s/karg/coffee/karg.coffee
{
"name": "karg",
"version": "1.6.0",
"version": "1.7.0",
"description": "option parser",

@@ -5,0 +5,0 @@ "main": "js/karg.js",

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