Socket
Socket
Sign inDemoInstall

@loopback/http-server

Package Overview
Dependencies
Maintainers
7
Versions
145
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 1.5.4 to 2.0.0

27

CHANGELOG.md

@@ -6,2 +6,29 @@ # Change Log

# [2.0.0](https://github.com/strongloop/loopback-next/compare/@loopback/http-server@1.5.4...@loopback/http-server@2.0.0) (2020-03-05)
### Bug Fixes
* extend test timeout for windows ([249198e](https://github.com/strongloop/loopback-next/commit/249198e41d6ad567f1582701c25abf29fc08c809)), closes [#4425](https://github.com/strongloop/loopback-next/issues/4425)
### chore
* remove support for Node.js v8.x ([4281d9d](https://github.com/strongloop/loopback-next/commit/4281d9df50f0715d32879e1442a90b643ec8f542))
### Features
* add `tslib` as dependency ([a6e0b4c](https://github.com/strongloop/loopback-next/commit/a6e0b4ce7b862764167cefedee14c1115b25e0a4)), closes [#4676](https://github.com/strongloop/loopback-next/issues/4676)
### BREAKING CHANGES
* Node.js v8.x is now end of life. Please upgrade to version
10 and above. See https://nodejs.org/en/about/releases.
## [1.5.4](https://github.com/strongloop/loopback-next/compare/@loopback/http-server@1.5.3...@loopback/http-server@1.5.4) (2020-02-06)

@@ -8,0 +35,0 @@

18

dist/http-server.js

@@ -6,12 +6,10 @@ "use strict";

// License text available at https://opensource.org/licenses/MIT
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const assert_1 = __importDefault(require("assert"));
const http_1 = __importDefault(require("http"));
const https_1 = __importDefault(require("https"));
const os_1 = __importDefault(require("os"));
const p_event_1 = __importDefault(require("p-event"));
const stoppable_1 = __importDefault(require("stoppable"));
const tslib_1 = require("tslib");
const assert_1 = tslib_1.__importDefault(require("assert"));
const http_1 = tslib_1.__importDefault(require("http"));
const https_1 = tslib_1.__importDefault(require("https"));
const os_1 = tslib_1.__importDefault(require("os"));
const p_event_1 = tslib_1.__importDefault(require("p-event"));
const stoppable_1 = tslib_1.__importDefault(require("stoppable"));
/**

@@ -36,3 +34,3 @@ * HTTP / HTTPS server used by LoopBack's RestServer

}
this._protocol = serverOptions ? (_a = serverOptions.protocol, (_a !== null && _a !== void 0 ? _a : 'http')) : 'http';
this._protocol = serverOptions ? (_a = serverOptions.protocol) !== null && _a !== void 0 ? _a : 'http' : 'http';
if (this._protocol === 'https') {

@@ -39,0 +37,0 @@ this.server = https_1.default.createServer(this.serverOptions, this.requestListener);

"use strict";
// Copyright IBM Corp. 2018. All Rights Reserved.
// Copyright IBM Corp. 2018,2019. All Rights Reserved.
// Node module: @loopback/http-server
// This file is licensed under the MIT License.
// License text available at https://opensource.org/licenses/MIT
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./http-server"));
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./http-server"), exports);
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2018. All Rights Reserved.
// Copyright IBM Corp. 2018,2019. All Rights Reserved.
// Node module: @loopback/http-server

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2018. All Rights Reserved.
// Copyright IBM Corp. 2018,2019. All Rights Reserved.
// Node module: @loopback/http-server

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

{
"name": "@loopback/http-server",
"version": "1.5.4",
"version": "2.0.0",
"description": "A wrapper for creating HTTP/HTTPS servers",
"engines": {
"node": ">=8.9"
"node": ">=10"
},

@@ -20,10 +20,11 @@ "scripts": {

"p-event": "^4.1.0",
"stoppable": "^1.1.0"
"stoppable": "^1.1.0",
"tslib": "^1.11.1"
},
"devDependencies": {
"@loopback/build": "^3.1.1",
"@loopback/core": "^1.12.4",
"@loopback/eslint-config": "^5.0.3",
"@loopback/testlab": "^1.10.3",
"@types/node": "^10.17.14",
"@loopback/build": "^4.0.0",
"@loopback/core": "^2.0.0",
"@loopback/eslint-config": "^6.0.0",
"@loopback/testlab": "^2.0.0",
"@types/node": "^10.17.17",
"@types/stoppable": "^1.1.0"

@@ -47,3 +48,3 @@ },

},
"gitHead": "6eea5e428b145cafb84a998bd53979da8c8fba07"
"gitHead": "baf9c89decba06b826204cd43e58a11be05408f8"
}

@@ -1,2 +0,2 @@

// Copyright IBM Corp. 2018. All Rights Reserved.
// Copyright IBM Corp. 2018,2019. All Rights Reserved.
// Node module: @loopback/http-server

@@ -3,0 +3,0 @@ // This file is licensed under the MIT License.

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