@zukhruf/net 0.8.223 → 0.8.225
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.
- package/README.md +11 -11
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @zukhruf/net
|
|
2
2
|
|
|
3
|
-
> **In build (backlog #6078).** The API on paper was approved on 2026-11-28, and it is built as the paper shows
|
|
3
|
+
> **In build (backlog #6078).** The API on paper was approved on 2026-11-28, and it is built as the paper shows. It is on npm, and the test files of sdk-it, text2sql, finetuning, mteb, deepagents and offers-evals moved onto it; the other consumers move next (see [Who uses it](#who-uses-it)). Each decision is an accepted ADR, and each detail that the review decided is in [Decided in the review](#decided-in-the-review).
|
|
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
|
|
|
@@ -115,16 +115,16 @@ 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
|
|
119
|
-
|
|
|
120
|
-
|
|
|
121
|
-
|
|
|
122
|
-
| docker's 12 test files of the engine
|
|
123
|
-
| ssh's `client`, `config-dial-route` and `config-dial` tests
|
|
124
|
-
| 6 mutex and 3 single-flight test files
|
|
125
|
-
| ssh `control.test.ts`, `owner-death.test.ts`
|
|
126
|
-
| 13 files of docker, ssh, testing and tools/eslint-rules
|
|
127
|
-
| `@zukhruf/chaos`
|
|
118
|
+
| Consumer | How | Record |
|
|
119
|
+
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- | ------------- |
|
|
120
|
+
| 56 test files of sdk-it (18), text2sql (20), finetuning (9), mteb (6), deepagents (2) and offers-evals (1) | `HttpServer` on a `TcpEndpoint` | backlog #6078 |
|
|
121
|
+
| 50 test files of elt (49) and context-compiler (1) | `HttpServer`, today from `@zukhruf/testing/http` | backlog #6078 |
|
|
122
|
+
| docker's 12 test files of the engine | `HttpServer` on a `PipeEndpoint`, today `fakeEngine` | backlog #6078 |
|
|
123
|
+
| ssh's `client`, `config-dial-route` and `config-dial` tests | `Server` with no handler, today `startSilentServer` | backlog #6078 |
|
|
124
|
+
| 6 mutex and 3 single-flight test files | `Server` on a `PipeEndpoint`, today `standInServer` | backlog #6078 |
|
|
125
|
+
| ssh `control.test.ts`, `owner-death.test.ts` | `Server` with `allowHalfOpen`, today `listen` | backlog #6078 |
|
|
126
|
+
| 13 files of docker, ssh, testing and tools/eslint-rules | `serving.address.port`, today `portOf` | backlog #5947 |
|
|
127
|
+
| `@zukhruf/chaos` | `Proxy` is a handler that a `Server` serves | backlog #6078 |
|
|
128
128
|
|
|
129
129
|
## The same concepts in other systems
|
|
130
130
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zukhruf/net",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.225",
|
|
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.
|
|
53
|
-
"@zukhruf/parameterized-test": "^0.8.
|
|
54
|
-
"@zukhruf/pipes": "^0.8.
|
|
55
|
-
"@zukhruf/process": "^0.8.
|
|
52
|
+
"@zukhruf/fs": "^0.8.225",
|
|
53
|
+
"@zukhruf/parameterized-test": "^0.8.225",
|
|
54
|
+
"@zukhruf/pipes": "^0.8.225",
|
|
55
|
+
"@zukhruf/process": "^0.8.225"
|
|
56
56
|
}
|
|
57
57
|
}
|