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.4.12 to 0.4.13

6

CHANGELOG.md
# Change Log
## Unreleased
## 0.4.13
* Fix issue with Node 0.12
## 0.4.12
* Add wildcard subdomains `http://*.app.dev`

@@ -6,0 +10,0 @@

7

lib/daemon/vhosts/utils/get-server-id.js
'use strict';
var matcher = require('matcher');
var find = require('array-find'); // Node 0.12 ponyfill
// Wildcard host matching
// "wildcard" host matching
// (['app'], 'foo.app') -> app

@@ -17,6 +18,6 @@ // (['app', 'foo.app'], 'foo.app') -> foo.app

var strictMatch = arr.find(function (h) {
var strictMatch = find(arr, function (h) {
return h.strict;
});
var wildcardMatch = arr.find(function (h) {
var wildcardMatch = find(arr, function (h) {
return h.wildcard;

@@ -23,0 +24,0 @@ });

{
"name": "hotel",
"version": "0.4.12",
"version": "0.4.13",
"description": "Easily start, stop and access your servers from the browser",

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

"dependencies": {
"array-find": "^1.0.0",
"body-parser": "^1.14.2",

@@ -44,0 +45,0 @@ "chokidar": "^1.2.0",

Sorry, the diff of this file is too big to display

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