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.2.1 to 0.2.2

13

bin/install.js

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

var downgradeRoot = require('downgrade-root');
var autostart = require('../lib/actions/autostart')

@@ -5,11 +6,15 @@ var daemon = require('../lib/actions/daemon')

console.log()
try {
downgradeRoot()
} catch (err) {
console.log(' Error: Couldn\'t downgrade permissions')
console.log(' Please run: hotel autostart && hotal start')
console.log()
return
}
autostart.create()
console.log()
daemon.start()
console.log()
console.log(' To uninstall: npm rm -g hotel')
console.log('')
{
"name": "hotel",
"version": "0.2.1",
"version": "0.2.2",
"description": "Easily start, stop and access your servers from the browser",

@@ -36,2 +36,3 @@ "main": "lib",

"dependencies": {
"downgrade-root": "^1.1.0",
"express": "^4.12.3",

@@ -38,0 +39,0 @@ "get-port": "^1.0.0",

@@ -54,3 +54,3 @@ # hotel [![](https://img.shields.io/travis/typicode/hotel.svg)](https://travis-ci.org/typicode/hotel) [![](https://badge.fury.io/js/hotel.svg)](https://www.npmjs.com/package/hotel)

```
```bash
hotel ls # List servers

@@ -75,7 +75,4 @@ hotel rm [name] # Remove server

```bash
# OS X, Linux
hotel add 'cmd -p $PORT'
# Windows
hotel add "cmd -p %PORT"
hotel add 'cmd -p $PORT' # OS X, Linux
hotel add "cmd -p %PORT%" # Windows
```

@@ -82,0 +79,0 @@

{
"optOut": false,
"lastUpdateCheck": 1433357476956
"lastUpdateCheck": 1434380840061
}

@@ -6,4 +6,4 @@ {

"env": {
"PATH": "/home/sonic/.nvm/versions/node/v0.12.4/lib/node_modules/npm/bin/node-gyp-bin:/home/sonic/d/hotel/node_modules/.bin:/home/sonic/.nvm/versions/node/v0.12.4/lib/node_modules/npm/bin/node-gyp-bin:/home/sonic/d/hotel/node_modules/.bin:/home/sonic/.nvm/versions/node/v0.12.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
"PATH": "/home/sonic/.nvm/versions/node/v0.12.2/lib/node_modules/npm/bin/node-gyp-bin:/home/sonic/d/hotel/node_modules/.bin:/home/sonic/.nvm/versions/node/v0.12.2/lib/node_modules/npm/bin/node-gyp-bin:/home/sonic/d/hotel/node_modules/.bin:/home/sonic/.nvm/versions/node/v0.12.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
}
}

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