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

shrvr

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shrvr - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

10

dist/bin/shrvr.js
#!/usr/bin/env node
var app, argv, bodyParser, express, fslib, http, util, yargs, _ref;
var app, argv, bodyParser, express, fslib, http, ref, util, yargs;

@@ -37,7 +37,7 @@ fslib = require('fs');

if ((_ref = argv.templates) != null) {
_ref.split(/\s*,\s*/).forEach(function(filepath) {
var template;
if ((ref = argv.templates) != null) {
ref.split(/\s*,\s*/).forEach(function(filepath) {
var templates;
if (fslib.existsSync(filepath)) {
template = util.parseFile(filepath);
templates = util.parseFile(filepath);
} else {

@@ -44,0 +44,0 @@ throw "Cannot parse template file: " + filepath;

@@ -28,5 +28,5 @@ var Command, createHandler, debug, exec, extend, fslib, parse, parseFile;

exports.Command = Command = (function() {
function Command(_at_template, _at_safe) {
this.template = _at_template;
this.safe = _at_safe != null ? _at_safe : true;
function Command(template, safe) {
this.template = template;
this.safe = safe != null ? safe : true;
if (this._fn == null) {

@@ -64,8 +64,8 @@ this._fn = this.compile();

Command.prototype.exec = function(obj, opts, cb) {
var cmd, e, _ref, _ref1;
var cmd, e, ref, ref1;
if (cb == null) {
_ref = [opts, null], cb = _ref[0], opts = _ref[1];
ref = [opts, null], cb = ref[0], opts = ref[1];
}
if (cb == null) {
_ref1 = [obj, null], cb = _ref1[0], obj = _ref1[1];
ref1 = [obj, null], cb = ref1[0], obj = ref1[1];
}

@@ -72,0 +72,0 @@ try {

{
"name": "shrvr",
"version": "0.1.0",
"version": "0.1.1",
"description": "Shell server",

@@ -5,0 +5,0 @@ "bin": {

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