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

cli-router

Package Overview
Dependencies
Maintainers
5
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-router - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

2

lib/spec/cli_controller_spec.js

@@ -58,2 +58,2 @@ 'use strict';

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNsaV9jb250cm9sbGVyX3NwZWMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OzBCQUFjLGVBQWU7Ozs7aUNBRUMsdUJBQXVCOztBQUVyRCxRQUFRLENBQUMsc0JBQXNCLEVBQUUsWUFBVztBQUMxQyxJQUFFLENBQUMsK0NBQStDLEVBQUUsWUFBVztRQUN2RCx3QkFBd0I7ZUFBeEIsd0JBQXdCOzhCQUF4Qix3QkFBd0I7Ozs7Ozs7Z0JBQXhCLHdCQUF3Qjs7bUJBQXhCLHdCQUF3Qjs7ZUFDdkIsZUFBQyxJQUFJLEVBQUU7QUFDVixpQkFBTyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUM7U0FDaEI7OztlQUVZLHVCQUFDLE1BQU0sRUFBRSxJQUFJLEVBQUU7QUFDMUIsY0FBSSxDQUFDLE9BQU8sQ0FBQyxRQUFRLENBQUMsQ0FBQztBQUN2Qiw0Q0FQRSx3QkFBd0IsK0NBT0MsTUFBTSxFQUFFLElBQUksRUFBRTtTQUMxQzs7O2VBRVcsc0JBQUMsTUFBTSxFQUFFLE1BQU0sRUFBRTtBQUMzQiw0Q0FYRSx3QkFBd0IsOENBV0EsTUFBTSxPQUFLLE1BQU0saUJBQWM7U0FDMUQ7OzthQVpHLHdCQUF3QjswQkFKekIsYUFBYTs7QUFtQmxCLFFBQUksVUFBVSxHQUFHLElBQUksd0JBQXdCLEVBQUUsQ0FBQztB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yBDbGlDb250cm9sbGVyIHtcbiAgc3NoKHBhcmFtcz17fSkge1xuICAgIHJldHVybiBwYXJhbXNbJ3NzaC1vcHRpb25zJ10uam9pbignICcpO1xuICB9XG59XG5cbm1vZHVsZS5leHBvcnRzID0gVk07XG4iXSwic291cmNlUm9vdCI6Ii9jbGktcm91dGVyOjAuMS40L3NwZWMifQ==
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZpeHR1cmVzL2NvbnRyb2xsZXJzL3ZtLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7O2lDQUE4Qiw2QkFBNkI7O0lBRXJELEVBQUU7V0FBRixFQUFFOzBCQUFGLEVBQUU7Ozs7Ozs7WUFBRixFQUFFOztlQUFGLEVBQUU7O1dBQ0gsZUFBWTtVQUFYLE1BQU0sZ0NBQUMsRUFBRTs7QUFDWCxhQUFPLE1BQU0sQ0FBQyxhQUFhLENBQUMsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7S0FDeEM7OztTQUhHLEVBQUU7c0JBRkMsYUFBYTs7QUFRdEIsTUFBTSxDQUFDLE9BQU8sR0FBRyxFQUFFLENBQUMiLCJmaWxlIjoiZml4dHVyZXMvY29udHJvbGxlcnMvdm0uanMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDbGlDb250cm9sbGVyIH0gZnJvbSAnLi4vLi4vLi4vc3JjL2NsaV9jb250cm9sbGVyJztcblxuY2xhc3MgVk0gZXh0ZW5kcyBDbGlDb250cm9sbGVyIHtcbiAgc3NoKHBhcmFtcz17fSkge1xuICAgIHJldHVybiBwYXJhbXNbJ3NzaC1vcHRpb25zJ10uam9pbignICcpO1xuICB9XG59XG5cbm1vZHVsZS5leHBvcnRzID0gVk07XG4iXSwic291cmNlUm9vdCI6Ii9jbGktcm91dGVyOjAuMi4wL3NwZWMifQ==

@@ -136,2 +136,2 @@ 'use strict';

});
//# sour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dlbnQnLCAnc3RhcnQnXTtcbiAgICAgIHZhciByZXN1bHQgID0gY2xpLnJ1bihkb2Nfb3B0cywgY29udHJvbGxlcl9vcHRzKTtcblxuICAgICAgaC5leHBlY3QoY2xpLnJvdXRlc1swXSkudG8uaGF2ZS5wcm9wZXJ0eSgnY29udHJvbGxlcicsICdhZ2VudCcpO1xuICAgICAgaC5leHBlY3QoY2xpLnJvdXRlc1swXS5hY3Rpb25zKS50by5kZWVwLmVxbChbXSk7XG4gICAgICBoLmV4cGVjdChjbGkucm91dGVzWzBdLmZuKS50by5kZWVwLmVxbCh1bmRlZmluZWQpO1xuICAgICAgaC5leHBlY3QocmVzdWx0KS50by5lcWwoJ2FnZW50IHN0YXJ0IG51bGwnKTtcbiAgICB9KTtcbiAgfSk7XG59KTtcbiJdLCJzb3VyY2VSb290IjoiL2NsaS1yb3V0ZXI6MC4yLjAvc3BlYyJ9

@@ -29,2 +29,2 @@ 'use strict';

module.exports = exports['default'];
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNwZWMtaGVscGVyLmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7O0FBQUEsSUFBSSxJQUFJLEdBQUcsT0FBTyxDQUFDLE1BQU0sQ0FBQyxDQUFDOztBQUUzQixJQUFJLE9BQU8sR0FBRztBQUNaLFFBQU0sRUFBRyxPQUFPLENBQUMsY0FBYyxDQUFDLENBQUMsTUFBTTs7QUFFdkMsY0FBWSxFQUFBLHdCQUFhO3NDQUFULE9BQU87QUFBUCxhQUFPOzs7QUFDckIsV0FBTyxJQUFJLENBQUMsT0FBTyxNQUFBLENBQVosSUFBSSxHQUNULEdBQUcsRUFBRSxNQUFNLEVBQUUsVUFBVSxTQUFLLE9BQU8sRUFDcEMsQ0FBQztHQUNIOztBQUVELHNCQUFvQixFQUFBLGdDQUFhO3VDQUFULE9BQU87QUFBUCxhQUFPOzs7QUFDN0IsV0FBTyxJQUFJLENBQ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FDckIsV0FBTyxJQUFJLENBQUMsT0FBTyxNQUFBLENBQVosSUFBSSxHQUNULEdBQUcsRUFBRSxNQUFNLEVBQUUsVUFBVSxTQUFLLE9BQU8sRUFDcEMsQ0FBQztHQUNIOztBQUVELHNCQUFvQixFQUFBLGdDQUFhO3VDQUFULE9BQU87QUFBUCxhQUFPOzs7QUFDN0IsV0FBTyxJQUFJLENBQUMsT0FBTyxNQUFBLENBQVosSUFBSSxHQUNULEdBQUcsRUFBRSxLQUFLLEVBQUUsTUFBTSxFQUFFLFVBQVUsU0FBSyxPQUFPLEVBQzNDLENBQUM7R0FDSCxFQUNGLENBQUM7O3FCQUVhLE9BQU8iLCJmaWxlIjoic3BlYy1oZWxwZXIuanMiLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgcGF0aCA9IHJlcXVpcmUoJ3BhdGgnKTtcblxudmFyIEhlbHBlcnMgPSB7XG4gIGV4cGVjdCA6IHJlcXVpcmUoJ2F6ay1kZXYvY2hhaScpLmV4cGVjdCxcblxuICBmaXh0dXJlX3BhdGgoLi4uZml4dHVyZSkge1xuICAgIHJldHVybiBwYXRoLnJlc29sdmUoXG4gICAgICAnLicsICdzcGVjJywgJ2ZpeHR1cmVzJywgLi4uZml4dHVyZVxuICAgICk7XG4gIH0sXG5cbiAgZml4dHVyZV9yZXF1aXJlX3BhdGgoLi4uZml4dHVyZSkge1xuICAgIHJldHVybiBwYXRoLnJlc29sdmUoXG4gICAgICAnLicsICdsaWInLCAnc3BlYycsICdmaXh0dXJlcycsIC4uLmZpeHR1cmVcbiAgICApO1xuICB9LFxufTtcblxuZXhwb3J0IGRlZmF1bHQgSGVscGVycztcbiJdLCJzb3VyY2VSb290IjoiL2NsaS1yb3V0ZXI6MC4yLjAvc3BlYyJ9

@@ -66,2 +66,2 @@ 'use strict';

exports.CliController = CliController;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNsaV9jb250cm9sbGVyLmpzIl0sIm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W5kZXgoKSB7XG4gICAgdGhyb3cgbmV3IEVycm9yKFwiRG9uJ3QgdXNlIENsaUNvbnRyb2xsZXIgZGlyZWN0bHksIGltcGxlbWVudGUgdGhlIGluZGV4IGFjdGlvbi5cIik7XG4gIH1cblxuICBydW5fYWN0aW9uKGFjdGlvbl9uYW1lLCAuLi5hcmdzKSB7XG4gICAgaWYgKFIuaXNOaWwoYWN0aW9uX25hbWUpIHx8ICFSLmlzKEZ1bmN0aW9uLCB0aGlzW2FjdGlvbl9uYW1lXSkpIHtcbiAgICAgIGFjdGlvbl9uYW1lID0gJ2luZGV4JztcbiAgICB9XG4gICAgcmV0dXJuIHRoaXMuYmVmb3JlX2FjdGlvbihhY3Rpb25fbmFtZSwgLi4uYXJncyk7XG4gIH1cblxuICBiZWZvcmVfYWN0aW9uKGFjdGlvbl9uYW1lLCAuLi5hcmdzKSB7XG4gICAgdmFyIGFjdGlvbl9yZXN1bHQgPSB0aGlzW2FjdGlvbl9uYW1lXS5hcHBseSh0aGlzLCBhcmdzKTtcbiAgICByZXR1cm4gdGhpcy5hZnRlcl9hY3Rpb24oYWN0aW9uX25hbWUsIGFjdGlvbl9yZXN1bHQsIC4uLmFyZ3MpO1xuICB9XG5cbiAgYWZ0ZXJfYWN0aW9uKGFjdGlvbl9uYW1lLCBhY3Rpb25fcmVzdWx0KSB7XG4gICAgcmV0dXJuIGFjdGlvbl9yZXN1bHQ7XG4gIH1cbn1cbiJdLCJzb3VyY2VSb290IjoiL2NsaS1yb3V0ZXI6MC4yLjAvc3JjIn0=

@@ -183,5 +183,9 @@ 'use strict';

key: 'run',
value: function run(args, default_params, obj) {
var _cleanArgs = this.cleanArgs(args, default_params);
value: function run(args, opts, obj) {
if (!(opts.hasOwnProperty('default_params') && R.is(Object, opts.default_params))) {
opts = { default_params: opts };
}
var _cleanArgs = this.cleanArgs(args, opts.default_params);
var _cleanArgs2 = _slicedToArray(_cleanArgs, 2);

@@ -192,5 +196,7 @@

var route = this.find(args, default_params);
var fn = this.getFn(route, cargs, { args: args, params: params, default_params: default_params });
var route = this.find(args, opts.default_params);
opts = R.merge(opts, { args: args, params: params });
var fn = this.getFn(route, cargs, opts);
if (R.is(Function, fn)) {

@@ -206,2 +212,2 @@ return fn(params, obj || this);

exports.CliRouter = CliRouter;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImNsaV9yb3V0ZXIuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7O0FBQUEsSUFBSSxDQUFDLEdBQU0sT0FBTyxDQUFDLE9BQU8sQ0FBQyxDQUFDO0FBQzVCLElBQUksSUFBSSxHQUFHLE9BQU8sQ0FBQyxNQUFNLENBQUMsQ0FBQzs7SUFFZCxTQUFTO0FBQ1QsV0FEQSxTQUFTLENBQ1IsZ0JBQWdCLEVBQUU7MEJBRG5CLFNBQVM7O0FBRWxCLFFBQUksQ0FBQyxnQkFBZ0IsR0FBRyxnQkFBZ0IsSUFBSSxJQUFJLENBQUM7O0FBRWpELFFBQUksQ0FBQyxNQUFNLEdBQUcsRUFBRSxDQUFDOztBQUVqQixRQUFJLENBQUMsV0FBVyxHQUFHLHdCQUF3QixDQUFDO0dBQzdDOztlQVBVLFNBQVM7O1dBU2pCLGFBQUMsSUFBSSxFQUFFLE1BQU0sRUFBRSxVQUFVLEVBQUU7QUFDNUIsVUFBSSxDQUFDLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxFQUFFO0FBQ2pCLGNBQU0sSUFBSSxLQUFLLENBQUMsd0JBQXdCLENBQUMsQ0FBQztPQUMzQztBQUNELGdCQUFVLEdBQUcsVUFBVSxJQUFJLElBQUksQ0FBQztBQUNoQyxVQUFJLE9BQU8sR0FBRyxFQUFFLENBQUM7QUFDakIsVUFBSSxFQUFFLENBQUM7QUFDUCxVQUFJLENBQUMsQ0FBQyxFQUFFLENBQUMsUUFBUSxFQUFFLFVBQVUsQ0FBQyxFQUFFO0FBQ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biAgLy8gaHR0cHM6Ly9naXRodWIuY29tL3N1YnN0YWNrL2NhbWVsaXplL2Jsb2IvbWFzdGVyL2luZGV4LmpzI0wxNy1MMjFcbiAgX2NhbWVsQ2FzZShzdHIpIHtcbiAgICBpZiAoIVIuaXNOaWwoc3RyKSkge1xuICAgICAgc3RyID0gc3RyLnJlcGxhY2UoL1tfLi1dKFxcd3wkKS9nLCBmdW5jdGlvbiAoXywgeCkge1xuICAgICAgICByZXR1cm4geC50b1VwcGVyQ2FzZSgpO1xuICAgICAgfSk7XG4gICAgfVxuICAgIHJldHVybiBzdHI7XG4gIH1cblxuICBydW4oYXJncywgb3B0cywgb2JqKSB7XG4gICAgaWYgKCEob3B0cy5oYXNPd25Qcm9wZXJ0eSgnZGVmYXVsdF9wYXJhbXMnKSAmJiBSLmlzKE9iamVjdCwgb3B0cy5kZWZhdWx0X3BhcmFtcykpKSB7XG4gICAgICBvcHRzID0geyBkZWZhdWx0X3BhcmFtczogb3B0cyB9O1xuICAgIH1cbiAgICB2YXIgW2NhcmdzLCBwYXJhbXNdID0gdGhpcy5jbGVhbkFyZ3MoYXJncywgb3B0cy5kZWZhdWx0X3BhcmFtcyk7XG4gICAgdmFyIHJvdXRlID0gdGhpcy5maW5kKGFyZ3MsIG9wdHMuZGVmYXVsdF9wYXJhbXMpO1xuXG4gICAgb3B0cyA9IFIubWVyZ2Uob3B0cywgeyBhcmdzLCBwYXJhbXMgfSk7XG4gICAgdmFyIGZuID0gdGhpcy5nZXRGbihyb3V0ZSwgY2FyZ3MsIG9wdHMpO1xuXG4gICAgaWYgKFIuaXMoRnVuY3Rpb24sIGZuKSkge1xuICAgICAgcmV0dXJuIGZuKHBhcmFtcywgKG9iaiB8fCB0aGlzKSk7XG4gICAgfVxuICB9XG59XG4iXSwic291cmNlUm9vdCI6Ii9jbGktcm91dGVyOjAuMi4wL3NyYyJ9

@@ -14,3 +14,3 @@ 'use strict';

var fs = require('fs');
var R = require('ramda');
var Docopt = require('docopt');

@@ -76,8 +76,10 @@

value: function run(args, opts, obj) {
if (Array.isArray(args) || typeof args === 'string') {
if (R.is(Array, args) || R.is(String, args)) {
args = { argv: args };
}
args.argv = R.flatten([args.argv]);
var result = this.docopt(args);
if (typeof result !== 'string') {
result = this.router.run(args.argv, result, obj || this);
opts = R.merge(opts, { default_params: result });
result = this.router.run(args.argv, opts, obj || this);
}

@@ -93,2 +95,2 @@

exports.Cli = Cli;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7MEJBQTBCLGNBQWM7O0FBRXhDLElBQUksRUFBRSxHQUFLLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQzs7QUFFekIsSUFBSSxNQUFNLEdBQUcsT0FBTyxDQUFDLFFBQVEsQ0FBQyxDQUFDOztJQUVsQixHQUFHO0FBQ0gsV0FEQSxHQUFHLENBQ0YsT0FBTyxFQUFFOzBCQURWLEdBQUc7O0FBRVosUUFBSSxPQUFPLE9BQU8sS0FBSyxRQUFRLEVBQUU7QUFDL0IsWUFBTSxLQUFLLENBQUMsZ0NBQWdDLENBQUMsQ0FBQztLQUMvQyxNQUFNLElBQUksT0FBTyxDQUFDLElBQUksRUFBRTtBQUN2QixVQUFJLENBQUMsU0FBUyxHQUFHLEVBQUUsQ0FBQyxZQUFZLENBQUMsT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFDLFFBQVEsRUFBRSxDQUFDO0tBQzNELE1BQU0sSUFBSSxDQUFDLENBQUMsT0FBTyxDQUFDLFNBQVMsRUFBRTtBQUM5QixVQUFJLENBQUMsU0FBUyxHQUFHLE9BQU8sQ0FBQyxTQUFTLENBQUM7S0FDcEM7O0FBRUQsUUFBSSxDQUFDLE1BQU0sR0FBSyxnQkFoQlgsU0FBUyxDQWdCZ0IsT0FBTyxDQUFDLGdCQUFnQixJQUFJLGVBQWUsQ0FBQ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Z2Uob3B0cywgeyBkZWZhdWx0X3BhcmFtczogcmVzdWx0IH0pO1xuICAgICAgcmVzdWx0ID0gdGhpcy5yb3V0ZXIucnVuKGFyZ3MuYXJndiwgb3B0cywgKG9iaiB8fCB0aGlzKSk7XG4gICAgfVxuXG4gICAgcmV0dXJuIHJlc3VsdDtcbiAgfVxufVxuIl0sInNvdXJjZVJvb3QiOiIvY2xpLXJvdXRlcjowLjIuMC9zcmMifQ==
{
"name": "cli-router",
"version": "0.2.0",
"version": "0.2.1",
"description": "cli-router",

@@ -5,0 +5,0 @@ "main": "index.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