@loopback/http-server
Advanced tools
Comparing version 0.3.2 to 0.3.3
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="0.3.3"></a> | ||
## [0.3.3](https://github.com/strongloop/loopback-next/compare/@loopback/http-server@0.3.2...@loopback/http-server@0.3.3) (2018-08-08) | ||
### Bug Fixes | ||
* **http-server:** use loopback instead of 0.0.0.0/[::] in URLs ([5b83a0c](https://github.com/strongloop/loopback-next/commit/5b83a0c)) | ||
<a name="0.3.2"></a> | ||
@@ -8,0 +19,0 @@ ## [0.3.2](https://github.com/strongloop/loopback-next/compare/@loopback/http-server@0.3.1...@loopback/http-server@0.3.2) (2018-07-21) |
@@ -78,4 +78,9 @@ "use strict"; | ||
if (this._address.family === 'IPv6') { | ||
if (host === '::') | ||
host = '::1'; | ||
host = `[${host}]`; | ||
} | ||
else if (host === '0.0.0.0') { | ||
host = '127.0.0.1'; | ||
} | ||
return `${this._protocol}://${host}:${this.port}`; | ||
@@ -82,0 +87,0 @@ } |
@@ -78,4 +78,9 @@ "use strict"; | ||
if (this._address.family === 'IPv6') { | ||
if (host === '::') | ||
host = '::1'; | ||
host = `[${host}]`; | ||
} | ||
else if (host === '0.0.0.0') { | ||
host = '127.0.0.1'; | ||
} | ||
return `${this._protocol}://${host}:${this.port}`; | ||
@@ -82,0 +87,0 @@ } |
{ | ||
"name": "@loopback/http-server", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"description": "A wrapper for creating HTTP/HTTPS servers", | ||
"engines": { | ||
"node": ">=8" | ||
"node": ">=8.9" | ||
}, | ||
@@ -23,9 +23,9 @@ "scripts": { | ||
"dependencies": { | ||
"@loopback/dist-util": "^0.3.5", | ||
"@loopback/dist-util": "^0.3.6", | ||
"p-event": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"@loopback/build": "^0.6.13", | ||
"@loopback/core": "^0.11.2", | ||
"@loopback/testlab": "^0.11.2", | ||
"@loopback/build": "^0.6.14", | ||
"@loopback/core": "^0.11.3", | ||
"@loopback/testlab": "^0.11.3", | ||
"@types/node": "^10.1.2", | ||
@@ -32,0 +32,0 @@ "@types/p-event": "^1.3.0", |
@@ -148,3 +148,6 @@ // Copyright IBM Corp. 2017,2018. All Rights Reserved. | ||
if (this._address.family === 'IPv6') { | ||
if (host === '::') host = '::1'; | ||
host = `[${host}]`; | ||
} else if (host === '0.0.0.0') { | ||
host = '127.0.0.1'; | ||
} | ||
@@ -151,0 +154,0 @@ return `${this._protocol}://${host}:${this.port}`; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
27625
594
Updated@loopback/dist-util@^0.3.6