@morojs/engine 1.1.9 → 1.1.10
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/index.d.ts +9 -7
- package/package.json +8 -8
package/index.d.ts
CHANGED
|
@@ -94,18 +94,20 @@ export interface EngineProbeResult {
|
|
|
94
94
|
notify?: 'deferred' | 'sync';
|
|
95
95
|
/** Fast-call build/install diagnostics. */
|
|
96
96
|
fastApi?: FastApiInfo;
|
|
97
|
-
/** I/O transport in use: '
|
|
98
|
-
*
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
|
|
102
|
-
|
|
97
|
+
/** I/O transport in use: 'epoll' (Linux default since 1.1.10: the engine's
|
|
98
|
+
* own readiness loop on one uv_poll, no libuv stream per connection),
|
|
99
|
+
* 'uring' (Linux 6.1+, MORO_ENGINE_TRANSPORT=uring, when the sandbox
|
|
100
|
+
* permits io_uring) or 'uv' (libuv streams - macOS, Windows,
|
|
101
|
+
* MORO_ENGINE_TRANSPORT=uv). Behaviour and wire bytes are identical; only
|
|
102
|
+
* the syscall layer differs. */
|
|
103
|
+
transport?: 'uv' | 'uring' | 'epoll';
|
|
104
|
+
/** Why this transport: 'ok' for io_uring, the default/override note otherwise. */
|
|
103
105
|
transportReason?: string;
|
|
104
106
|
/** 'uv', or the io_uring ring mode in use: 'defer-taskrun' (completions run
|
|
105
107
|
* as one batch inside the engine's own io_uring_enter, woken through a
|
|
106
108
|
* registered eventfd) or 'coop-taskrun' (the 1.1.6 mode). The probe tries
|
|
107
109
|
* defer first; MORO_ENGINE_URING_TASKRUN=coop|defer pins one. */
|
|
108
|
-
transportMode?: 'uv' | 'defer-taskrun' | 'coop-taskrun';
|
|
110
|
+
transportMode?: 'uv' | 'epoll' | 'defer-taskrun' | 'coop-taskrun';
|
|
109
111
|
/** Per-thread fast/slow hit counters per hot entry point - present only when
|
|
110
112
|
* MORO_ENGINE_FASTCALL_STATS=1 was set when the addon loaded (test/CI proof
|
|
111
113
|
* that the fast path is taken). */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@morojs/engine",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.10",
|
|
4
4
|
"description": "MoroJS native HTTP engine - Moro-authored C++ core with per-platform prebuilt binaries and automatic Node.js fallback in MoroJS",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "CM Ventures Inc.",
|
|
@@ -38,13 +38,13 @@
|
|
|
38
38
|
"provenance": true
|
|
39
39
|
},
|
|
40
40
|
"optionalDependencies": {
|
|
41
|
-
"@morojs/engine-darwin-arm64": "1.1.
|
|
42
|
-
"@morojs/engine-darwin-x64": "1.1.
|
|
43
|
-
"@morojs/engine-linux-x64-gnu": "1.1.
|
|
44
|
-
"@morojs/engine-linux-arm64-gnu": "1.1.
|
|
45
|
-
"@morojs/engine-linux-x64-musl": "1.1.
|
|
46
|
-
"@morojs/engine-linux-arm64-musl": "1.1.
|
|
47
|
-
"@morojs/engine-win32-x64": "1.1.
|
|
41
|
+
"@morojs/engine-darwin-arm64": "1.1.10",
|
|
42
|
+
"@morojs/engine-darwin-x64": "1.1.10",
|
|
43
|
+
"@morojs/engine-linux-x64-gnu": "1.1.10",
|
|
44
|
+
"@morojs/engine-linux-arm64-gnu": "1.1.10",
|
|
45
|
+
"@morojs/engine-linux-x64-musl": "1.1.10",
|
|
46
|
+
"@morojs/engine-linux-arm64-musl": "1.1.10",
|
|
47
|
+
"@morojs/engine-win32-x64": "1.1.10"
|
|
48
48
|
},
|
|
49
49
|
"keywords": [
|
|
50
50
|
"morojs",
|