@ai-ecoverse/slicc-kernel 1.136.7 → 1.136.9
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 +3 -1
- package/dist/kernel-worker.js +12 -2
- package/dist/kernel-worker.js.map +2 -2
- package/dist/node-process-worker.js +15 -8
- package/dist/node-process-worker.js.map +2 -2
- package/dist/node.js +12 -2
- package/dist/node.js.map +2 -2
- package/dist/process-worker.js +15 -8
- package/dist/process-worker.js.map +2 -2
- package/dist/types/kernel/net/sealed-pg.d.ts +1 -0
- package/dist/types/process/process-runtime.d.ts +4 -1
- package/package.json +3 -3
package/dist/node.js
CHANGED
|
@@ -7486,7 +7486,7 @@ function satisfies(version, range2) {
|
|
|
7486
7486
|
}
|
|
7487
7487
|
|
|
7488
7488
|
// src/version.ts
|
|
7489
|
-
var KERNEL_VERSION = true ? "1.136.
|
|
7489
|
+
var KERNEL_VERSION = true ? "1.136.9" : "0.0.0-dev";
|
|
7490
7490
|
var OS_RELEASE = "6.0.0-slicc";
|
|
7491
7491
|
function procVersion() {
|
|
7492
7492
|
return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
|
|
@@ -19336,6 +19336,7 @@ function latin2(bytes) {
|
|
|
19336
19336
|
var PgServer = class {
|
|
19337
19337
|
binding;
|
|
19338
19338
|
plus = false;
|
|
19339
|
+
touch;
|
|
19339
19340
|
constructor(binding) {
|
|
19340
19341
|
this.binding = binding;
|
|
19341
19342
|
}
|
|
@@ -19357,6 +19358,7 @@ var PgServer = class {
|
|
|
19357
19358
|
return message3;
|
|
19358
19359
|
}
|
|
19359
19360
|
mechanisms(message3) {
|
|
19361
|
+
if (this.touch !== true) return message3;
|
|
19360
19362
|
this.sasl = true;
|
|
19361
19363
|
const offered = latin2(message3.subarray(9)).split("\0").filter((n) => n !== "");
|
|
19362
19364
|
this.plus = offered.includes(PLUS);
|
|
@@ -19716,6 +19718,10 @@ var SessionWriter = class {
|
|
|
19716
19718
|
this.proven ??= this.prove(protocol).catch(() => void 0);
|
|
19717
19719
|
return this.proven;
|
|
19718
19720
|
}
|
|
19721
|
+
async mayTouch() {
|
|
19722
|
+
if (this.s.verified) return true;
|
|
19723
|
+
return (await this.proof("pg"))?.anchor !== void 0;
|
|
19724
|
+
}
|
|
19719
19725
|
async prove(protocol) {
|
|
19720
19726
|
const s = this.s;
|
|
19721
19727
|
if (s.anchoring) {
|
|
@@ -19765,7 +19771,10 @@ var SessionWriter = class {
|
|
|
19765
19771
|
this.buffer.fill(0);
|
|
19766
19772
|
this.buffer = joined4;
|
|
19767
19773
|
if (this.mode === "sniff") this.mode = modeOf(latin12(joined4.subarray(0, 8))) ?? "sniff";
|
|
19768
|
-
if (this.mode === "pg"
|
|
19774
|
+
if (this.mode === "pg" && !this.sawPg) {
|
|
19775
|
+
this.sawPg = true;
|
|
19776
|
+
if (!this.s.verified) void this.proof("pg");
|
|
19777
|
+
}
|
|
19769
19778
|
if (this.mode === "pass") await this.release();
|
|
19770
19779
|
else if (this.mode === "http1") await this.http1();
|
|
19771
19780
|
else if (this.mode === "smtp") await this.lines();
|
|
@@ -19945,6 +19954,7 @@ function sealedConn(conn, s) {
|
|
|
19945
19954
|
for (; ; ) {
|
|
19946
19955
|
const bytes = await conn.read();
|
|
19947
19956
|
if (!bytes) return bytes;
|
|
19957
|
+
if (writer?.sawPg && pg.touch === void 0) pg.touch = await writer.mayTouch();
|
|
19948
19958
|
const out = writer?.sawPg ? pg.filter(bytes) : bytes;
|
|
19949
19959
|
if (pg.failed) {
|
|
19950
19960
|
conn.close();
|