@ai-ecoverse/slicc-kernel 1.151.0 → 1.151.1

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 CHANGED
@@ -509,6 +509,7 @@ The module's default export (or its `main` export) is called with a context and
509
509
  - `cert` and `key` take the same forms as a client certificate, and are refused the same way, at `listen` (or `secure`) before anything is accepted: a key for another certificate is `ERR_OSSL_X509_KEY_VALUES_MISMATCH`, a wrong passphrase `ERR_OSSL_BAD_DECRYPT`.
510
510
  - `alpn` is the server's list in order of preference; the first one the client also offers wins, and a client that offers ALPN but none of these fails the handshake.
511
511
  - `requestCert` asks for a client certificate, checked against `ca` (the roots it must reach) or, without `ca`, the kernel's bundled roots, as Node's default store ([#1503](https://github.com/ai-ecoverse/slicc-kernel/issues/1503)). With it the handshake fails without a client certificate that verifies, unless `rejectUnauthorized: false`, which only asks for one and reports the verdict.
512
+ - A refused client gets the server's alert ([#1499](https://github.com/ai-ecoverse/slicc-kernel/issues/1499), tls-engine 4.2.0-9): 116 (certificate_required) for none on TLS 1.3 and 40 (handshake_failure) on TLS 1.2, and the verifier's alert, such as 48 (unknown_ca), for one that doesn't verify. A kernel client reads it as `ERR_SSL_FATAL_ALERT` with `alert`.
512
513
  - A connection's `tls` is `{ path: 'kernel', protocol, cipher ({ name, standardName, version }, as a client's; [#1500](https://github.com/ai-ecoverse/slicc-kernel/issues/1500)), alpnProtocol, servername (the SNI the client sent, or ''), authorized (whether a client certificate verified), authorizationError?, peerCertificates (the client's chain) }`.
513
514
  - On a `listen({ tls })` listener, the kernel handshakes accepted connections concurrently, from the first `accept` on, and `accept` (and `for await`) yields each as its handshake finishes, so a client that connects and stays silent doesn't hold up the next. It holds at most `backlog` (up to 64) connections in a handshake or handshaken but not yet taken; beyond that it stops accepting, leaving the rest in the kernel's backlog, until one finishes or is taken. A connection whose handshake fails is closed and never yielded. `secure()` rejects instead.
514
515
  - `handshakeTimeout` (milliseconds, 120000 by default, as Node's) ends a handshake that hasn't finished with `ERR_TLS_HANDSHAKE_TIMEOUT`. A listener closes that connection. After `secure()` rejects, the connection stays open and is the program's to answer or close, as with Node's `tlsClientError` ([#1504](https://github.com/ai-ecoverse/slicc-kernel/issues/1504)).
@@ -7915,7 +7915,7 @@ function satisfies(version, range2) {
7915
7915
  }
7916
7916
 
7917
7917
  // src/version.ts
7918
- var KERNEL_VERSION = true ? "1.151.0" : "0.0.0-dev";
7918
+ var KERNEL_VERSION = true ? "1.151.1" : "0.0.0-dev";
7919
7919
  var OS_RELEASE = "6.0.0-slicc";
7920
7920
  function procVersion() {
7921
7921
  return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
@@ -7187,7 +7187,7 @@ var KERNEL_VERSION, OS_RELEASE;
7187
7187
  var init_version = __esm({
7188
7188
  "src/version.ts"() {
7189
7189
  "use strict";
7190
- KERNEL_VERSION = true ? "1.151.0" : "0.0.0-dev";
7190
+ KERNEL_VERSION = true ? "1.151.1" : "0.0.0-dev";
7191
7191
  OS_RELEASE = "6.0.0-slicc";
7192
7192
  }
7193
7193
  });
package/dist/node.js CHANGED
@@ -3362,7 +3362,7 @@ function satisfies(version, range2) {
3362
3362
  }
3363
3363
 
3364
3364
  // src/version.ts
3365
- var KERNEL_VERSION = true ? "1.151.0" : "0.0.0-dev";
3365
+ var KERNEL_VERSION = true ? "1.151.1" : "0.0.0-dev";
3366
3366
  var OS_RELEASE = "6.0.0-slicc";
3367
3367
  function procVersion() {
3368
3368
  return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
@@ -2964,7 +2964,7 @@ var KERNEL_VERSION, OS_RELEASE;
2964
2964
  var init_version = __esm({
2965
2965
  "src/version.ts"() {
2966
2966
  "use strict";
2967
- KERNEL_VERSION = true ? "1.151.0" : "0.0.0-dev";
2967
+ KERNEL_VERSION = true ? "1.151.1" : "0.0.0-dev";
2968
2968
  OS_RELEASE = "6.0.0-slicc";
2969
2969
  }
2970
2970
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-kernel",
3
- "version": "1.151.0",
3
+ "version": "1.151.1",
4
4
  "description": "SLICC's wasm-realm kernel: run Emscripten programs in the browser against OPFS, with fork, spawn, pipes and waitpid",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -64,7 +64,7 @@
64
64
  },
65
65
  "devDependencies": {
66
66
  "@ai-ecoverse/py-numpy": "2.5.4-4",
67
- "@ai-ecoverse/slicc-cdp": "1.37.1",
67
+ "@ai-ecoverse/slicc-cdp": "1.38.0",
68
68
  "@ai-ecoverse/slicc-node": "2.5.2",
69
69
  "@ai-ecoverse/slicc-scrub": "1.1.0",
70
70
  "@ai-ecoverse/slicc-shared-web": "2.11.3",
@@ -87,7 +87,7 @@
87
87
  "@biomejs/biome": "2.5.15",
88
88
  "@types/node": "24.19.2",
89
89
  "esbuild": "0.28.2",
90
- "fake-indexeddb": "6.2.5",
90
+ "fake-indexeddb": "6.2.6",
91
91
  "lefthook": "2.2.2",
92
92
  "monocart-coverage-reports": "2.13.2",
93
93
  "pg-gateway": "0.3.0-beta.4",