@loopback/http-server 4.0.5 → 4.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,13 +7,13 @@ import { AddressInfo, ListenOptions } from 'net';
7
7
  /**
8
8
  * Request listener function for http/https requests
9
9
  */
10
- export declare type RequestListener = (req: IncomingMessage, res: ServerResponse) => void;
10
+ export type RequestListener = (req: IncomingMessage, res: ServerResponse) => void;
11
11
  /**
12
12
  * The following are for configuring properties which are directly set on
13
13
  * https://nodejs.org/api/http.html#http_class_http_server and
14
14
  * https://nodejs.org/api/net.html#net_class_net_server
15
15
  */
16
- export declare type HttpServerProperties = Pick<Server, 'keepAliveTimeout' | 'headersTimeout' | 'maxConnections' | 'maxHeadersCount' | 'timeout'>;
16
+ export type HttpServerProperties = Pick<Server, 'keepAliveTimeout' | 'headersTimeout' | 'maxConnections' | 'maxHeadersCount' | 'timeout'>;
17
17
  /**
18
18
  * Base options that are common to http and https servers
19
19
  */
@@ -48,12 +48,12 @@ export interface HttpsOptions extends BaseHttpOptions, https.ServerOptions {
48
48
  * Possible server options
49
49
  *
50
50
  */
51
- export declare type HttpServerOptions = HttpOptions | HttpsOptions;
51
+ export type HttpServerOptions = HttpOptions | HttpsOptions;
52
52
  /**
53
53
  * Supported protocols
54
54
  *
55
55
  */
56
- export declare type HttpProtocol = 'http' | 'https';
56
+ export type HttpProtocol = 'http' | 'https';
57
57
  /**
58
58
  * HTTP / HTTPS server used by LoopBack's RestServer
59
59
  */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loopback/http-server",
3
3
  "description": "A wrapper for creating HTTP/HTTPS servers",
4
- "version": "4.0.5",
4
+ "version": "4.0.7",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -13,7 +13,7 @@
13
13
  "directory": "packages/http-server"
14
14
  },
15
15
  "engines": {
16
- "node": "14 || 16 || 17 || 18"
16
+ "node": "14 || 16 || 18 || 19"
17
17
  },
18
18
  "scripts": {
19
19
  "build": "lb-tsc",
@@ -37,13 +37,13 @@
37
37
  "tslib": "^2.4.1"
38
38
  },
39
39
  "devDependencies": {
40
- "@loopback/build": "^9.0.5",
41
- "@loopback/core": "^4.0.5",
42
- "@loopback/eslint-config": "^13.0.5",
43
- "@loopback/testlab": "^5.0.5",
40
+ "@loopback/build": "^9.0.7",
41
+ "@loopback/core": "^4.0.7",
42
+ "@loopback/eslint-config": "^13.0.7",
43
+ "@loopback/testlab": "^5.0.7",
44
44
  "@types/debug": "^4.1.7",
45
- "@types/node": "^14.18.33",
45
+ "@types/node": "^14.18.36",
46
46
  "@types/stoppable": "^1.1.1"
47
47
  },
48
- "gitHead": "2d762e2a1bcc73263dd7776e072b3ec3a9279472"
48
+ "gitHead": "06cbcba72ceb28ab5033bae80cc5504c80ac53c2"
49
49
  }