Socket
Socket
Sign inDemoInstall

hotel

Package Overview
Dependencies
Maintainers
1
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hotel - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

19

bin/index.js

@@ -31,28 +31,29 @@ #!/usr/bin/env node

var argv = yargs.argv
var _ = argv._
if (argv._[0] === 'add' && argv._[1]) {
return servers.add(argv._[1], argv)
if (_[0] === 'add' && _[1]) {
return servers.add(_[1], argv)
}
if (argv._[0] === 'rm') {
return servers.rm(argv._[1])
if (_[0] === 'rm') {
return servers.rm(_[1])
}
if (argv._[0] === 'ls') {
if (_[0] === 'ls') {
return servers.ls()
}
if (argv._[0] === 'start') {
if (_[0] === 'start') {
return daemon.start()
}
if (argv._[0] === 'stop') {
if (_[0] === 'stop') {
return daemon.stop()
}
if (argv._[0] === 'autostart') {
if (_[0] === 'autostart') {
return autostart.create()
}
if (argv._[0] === 'rm-autostart') {
if (_[0] === 'rm-autostart') {
return autostart.remove()

@@ -59,0 +60,0 @@ }

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

var html = template(context);
$('#targets').html(html);
$('#content').html(html);
});
{
"name": "hotel",
"version": "0.1.1",
"version": "0.1.2",
"description": "Easily start, stop and access your servers from the browser",

@@ -5,0 +5,0 @@ "main": "lib",

{
"optOut": false,
"lastUpdateCheck": 1432893113169
"lastUpdateCheck": 1432918924953
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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