@zukhruf/net 0.8.242 → 0.8.243

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.
Files changed (2) hide show
  1. package/README.md +12 -10
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  A server of this program that accepts connections, and that ends each one at its end. A `Server` says what to do with each connection. `server.serve(endpoint)` listens on a TCP port of the loopback address or on a pipe, and gives a `Serving`. The serving keeps each socket that it accepted. Its `close()` destroys each one and waits for its close, and its `shutdown(signal)` waits until each one ends by itself and closes the rest at the abort. `@zukhruf/net/http` is the same server for HTTP.
6
6
 
7
- A test needs this server most: 48 test files of 9 repositories have their own copy of it, and 13 files have their own `portOf` ([ADR 0001](./docs/adr/0001-a-base-package-above-pipes-owns-the-connections-that-a-server-accepts-and-testings-httpserver-converges-into-it.md)). It is a base package, so shipped code can use it too.
7
+ A test needs this server most: when the package began, 48 test files of 9 repositories had their own copy of it, and 13 files had their own `portOf` ([ADR 0001](./docs/adr/0001-a-base-package-above-pipes-owns-the-connections-that-a-server-accepts-and-testings-httpserver-converges-into-it.md)). It is a base package, so shipped code can use it too.
8
8
 
9
9
  The words in these documents have one meaning each. See the glossary in [CONTEXT.md](./CONTEXT.md).
10
10
 
@@ -115,15 +115,17 @@ The package has no error class of its own. A caller does not do a different next
115
115
 
116
116
  ## Who uses it
117
117
 
118
- | Consumer | How | Record |
119
- | ------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- | ------------- |
120
- | 106 test files of elt (49), text2sql (20), sdk-it (18), finetuning (9), mteb (6), deepagents (2), context-compiler (1) and offers-evals (1) | `HttpServer` on a `TcpEndpoint` | backlog #6078 |
121
- | docker's 12 test files of the engine | `HttpServer` on a `PipeEndpoint`, today `fakeEngine` | backlog #6078 |
122
- | ssh's `client`, `config-dial-route` and `config-dial` tests | `Server` with no handler, today `startSilentServer` | backlog #6078 |
123
- | 6 mutex and 3 single-flight test files | `Server` on a `PipeEndpoint`, today `standInServer` | backlog #6078 |
124
- | ssh `control.test.ts`, `owner-death.test.ts` | `Server` with `allowHalfOpen`, today `listen` | backlog #6078 |
125
- | 13 files of docker, ssh, testing and tools/eslint-rules | `serving.address.port`, today `portOf` | backlog #5947 |
126
- | `@zukhruf/chaos` | `Proxy` is a handler that a `Server` serves | backlog #6078 |
118
+ | Consumer | How | Record |
119
+ | ------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ------------- |
120
+ | 106 test files of elt (49), text2sql (20), sdk-it (18), finetuning (9), mteb (6), deepagents (2), context-compiler (1) and offers-evals (1) | `HttpServer` on a `TcpEndpoint` | backlog #6078 |
121
+ | docker's 12 test files of the engine | `HttpServer` on a `PipeEndpoint`, today `fakeEngine` | backlog #6078 |
122
+ | ssh's `client`, `config-dial-route` and `config-dial` tests | `Server` whose handler only notes the accept, in place of `startSilentServer` | backlog #6078 |
123
+ | 6 mutex and 3 single-flight test files | `Server` on a `PipeEndpoint`, today `standInServer` | backlog #6078 |
124
+ | ssh `control.test.ts`, `owner-death.test.ts` and `channels.test.ts` | `Server` on a `TcpEndpoint` or a `PipeEndpoint`, with `allowHalfOpen` where the test answers after the end, in place of `listen` | backlog #6078 |
125
+ | ssh `client-ref.test.ts`, `src/testing/reports.ts` and `src/testing/ssh-client.ts` | `Server` on a `TcpEndpoint`; `ssh-client.ts` ends with `shutdown(signal)` | backlog #6078 |
126
+ | 9 files of ssh, and tools/eslint-rules `repoint.test.ts` | `serving.address.port`, in place of `portOf` | backlog #5947 |
127
+ | the `sshd.ts` of ssh, docker and testing | `serving.address.port`, today `portOf`; each `sshd.ts` hands the socket to a child and needs `pauseOnConnect`, which `Server` lacks | backlog #5947 |
128
+ | `@zukhruf/chaos` | `Proxy` is a handler that a `Server` serves | backlog #6078 |
127
129
 
128
130
  ## The same concepts in other systems
129
131
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zukhruf/net",
3
- "version": "0.8.242",
3
+ "version": "0.8.243",
4
4
  "description": "A server that accepts connections on a TCP port or a pipe and owns each socket: close destroys each one and waits for its close, shutdown waits until its signal aborts; @zukhruf/net/http serves HTTP the same way. After Go's net and net/http.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -49,9 +49,9 @@
49
49
  "access": "public"
50
50
  },
51
51
  "devDependencies": {
52
- "@zukhruf/fs": "^0.8.242",
53
- "@zukhruf/parameterized-test": "^0.8.242",
54
- "@zukhruf/pipes": "^0.8.242",
55
- "@zukhruf/process": "^0.8.242"
52
+ "@zukhruf/fs": "^0.8.243",
53
+ "@zukhruf/parameterized-test": "^0.8.243",
54
+ "@zukhruf/pipes": "^0.8.243",
55
+ "@zukhruf/process": "^0.8.243"
56
56
  }
57
57
  }