@loopback/http-server
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="0.1.5"></a> | ||
## [0.1.5](https://github.com/strongloop/loopback-next/compare/@loopback/http-server@0.1.4...@loopback/http-server@0.1.5) (2018-06-26) | ||
### Bug Fixes | ||
* **http-server:** reset addressInfo when server is stopped ([85fcbd4](https://github.com/strongloop/loopback-next/commit/85fcbd4)) | ||
<a name="0.1.4"></a> | ||
@@ -8,0 +19,0 @@ ## [0.1.4](https://github.com/strongloop/loopback-next/compare/@loopback/http-server@0.1.3...@loopback/http-server@0.1.4) (2018-06-20) |
@@ -64,3 +64,3 @@ /// <reference types="node" /> | ||
*/ | ||
readonly address: AddressInfo; | ||
readonly address: AddressInfo | undefined; | ||
} |
@@ -82,3 +82,3 @@ "use strict"; | ||
get address() { | ||
return this._address; | ||
return this._started ? this._address : undefined; | ||
} | ||
@@ -85,0 +85,0 @@ } |
@@ -64,3 +64,3 @@ /// <reference types="node" /> | ||
*/ | ||
readonly address: AddressInfo; | ||
readonly address: AddressInfo | undefined; | ||
} |
@@ -82,3 +82,3 @@ "use strict"; | ||
get address() { | ||
return this._address; | ||
return this._started ? this._address : undefined; | ||
} | ||
@@ -85,0 +85,0 @@ } |
{ | ||
"name": "@loopback/http-server", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "A wrapper for creating HTTP/HTTPS servers", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -116,5 +116,5 @@ // Copyright IBM Corp. 2017,2018. All Rights Reserved. | ||
*/ | ||
public get address(): AddressInfo { | ||
return this._address; | ||
public get address(): AddressInfo | undefined { | ||
return this._started ? this._address : undefined; | ||
} | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
21113
2