Comparing version 0.4.12 to 0.4.13
# 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 @@ |
'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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1331539
23
+ Addedarray-find@^1.0.0
+ Addedarray-find@1.0.0(transitive)