Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@loopback/http-server

Package Overview
Dependencies
Maintainers
17
Versions
146
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@loopback/http-server - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

11

CHANGELOG.md

@@ -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)

2

dist10/src/http-server.d.ts

@@ -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

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