@superhero/http-server 4.4.5 → 4.4.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.
@@ -6,9 +6,6 @@ export function locate(locator)
6
6
  return new StatusDispatcher(server)
7
7
  }
8
8
 
9
- /**
10
- * @memberof @superhero/http-server:dispatcher
11
- */
12
9
  export default class StatusDispatcher
13
10
  {
14
11
  started = new Date()
@@ -24,7 +21,7 @@ export default class StatusDispatcher
24
21
  session.view.body.name = this.server.name
25
22
  session.view.body.started = this.started_json
26
23
 
27
- // Statistics
24
+ // Statistics
28
25
  if(request.url.searchParams.get('stats'))
29
26
  {
30
27
  session.view.body.dispatched = String(this.server.dispatched)
@@ -1,6 +1,3 @@
1
- /**
2
- * @memberof @superhero/http-server:dispatcher/upstream/header
3
- */
4
1
  export default new class AcceptHeaderUpstreamDispatcher
5
2
  {
6
3
  #listFormat = new Intl.ListFormat('en', { style:'long', type:'disjunction' })
@@ -1,7 +1,5 @@
1
1
  /**
2
2
  * Does not validate headers, just assumes that the body is a JSON string
3
- *
4
- * @memberof @superhero/http-server:dispatcher/upstream/header/content-type/application
5
3
  */
6
4
  export default new class ContentTypeApplicationJsonHeaderUpstreamDispatcher
7
5
  {
@@ -1,6 +1,3 @@
1
- /**
2
- * @memberof @superhero/http-server:dispatcher/upstream/header
3
- */
4
1
  export default new class ContentTypeHeaderUpstreamDispatcher
5
2
  {
6
3
  #listFormat = new Intl.ListFormat('en', { style:'long', type:'disjunction' })
@@ -1,6 +1,3 @@
1
- /**
2
- * @memberof @superhero/http-server:dispatcher/upstream
3
- */
4
1
  export default new class MethodUpstreamDispatcher
5
2
  {
6
3
  #listFormat = new Intl.ListFormat('en', { style:'long', type:'disjunction' })
package/index.js CHANGED
@@ -15,9 +15,6 @@ export function locate(locator)
15
15
  return new HttpServer(router)
16
16
  }
17
17
 
18
- /**
19
- * @memberof @superhero/http-server
20
- */
21
18
  export default class HttpServer
22
19
  {
23
20
  // Name the server to easier be able to identify what logs
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superhero/http-server",
3
- "version": "4.4.5",
3
+ "version": "4.4.7",
4
4
  "description": "HTTP(S) server component supporting both HTTP 1.1 and HTTP 2.0",
5
5
  "keywords": [
6
6
  "http server",
@@ -23,13 +23,13 @@
23
23
  "./*/*/*/*/*/*": "./*/*/*/*/*/*.js"
24
24
  },
25
25
  "dependencies": {
26
- "@superhero/router": "^4.1.7",
26
+ "@superhero/router": "^4.1.9",
27
27
  "@superhero/deep": "^4.5.0",
28
28
  "@superhero/log": "^4.0.2",
29
29
  "@superhero/id-name-generator": "^4.0.0"
30
30
  },
31
31
  "devDependencies": {
32
- "@superhero/locator": "^4.4.4",
32
+ "@superhero/locator": "^4.4.5",
33
33
  "@superhero/http-request": "^4.0.10"
34
34
  },
35
35
  "scripts": {