@serveryyswys/node.operit 0.1.3 → 0.1.4
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/BUILTINS.json +16 -8
- package/dist/index.js +1 -1
- package/package.json +2 -1
package/BUILTINS.json
CHANGED
|
@@ -17,11 +17,13 @@
|
|
|
17
17
|
"builtins": {
|
|
18
18
|
"path": {
|
|
19
19
|
"subpath": "path",
|
|
20
|
-
"status": "ready"
|
|
20
|
+
"status": "ready",
|
|
21
|
+
"note": "与 Node 对拍通过;见 README 的对应说明。"
|
|
21
22
|
},
|
|
22
23
|
"path/posix": {
|
|
23
24
|
"subpath": "path/posix",
|
|
24
|
-
"status": "ready"
|
|
25
|
+
"status": "ready",
|
|
26
|
+
"note": "与 Node 对拍通过;见 README 的对应说明。"
|
|
25
27
|
},
|
|
26
28
|
"path/win32": {
|
|
27
29
|
"subpath": "path/win32",
|
|
@@ -165,27 +167,33 @@
|
|
|
165
167
|
},
|
|
166
168
|
"vm": {
|
|
167
169
|
"status": "unsupported",
|
|
168
|
-
"
|
|
170
|
+
"note": "QuickJS 运行时未暴露独立上下文创建能力。",
|
|
171
|
+
"subpath": "vm"
|
|
169
172
|
},
|
|
170
173
|
"worker_threads": {
|
|
171
174
|
"status": "unsupported",
|
|
172
|
-
"
|
|
175
|
+
"note": "QuickJS 运行时为单线程解释器,无 worker 能力。",
|
|
176
|
+
"subpath": "worker_threads"
|
|
173
177
|
},
|
|
174
178
|
"cluster": {
|
|
175
179
|
"status": "unsupported",
|
|
176
|
-
"
|
|
180
|
+
"note": "依赖 worker_threads。",
|
|
181
|
+
"subpath": "cluster"
|
|
177
182
|
},
|
|
178
183
|
"async_hooks": {
|
|
179
184
|
"status": "unsupported",
|
|
180
|
-
"
|
|
185
|
+
"note": "QuickJS 未暴露异步资源跟踪钩子。",
|
|
186
|
+
"subpath": "async_hooks"
|
|
181
187
|
},
|
|
182
188
|
"inspector": {
|
|
183
189
|
"status": "unsupported",
|
|
184
|
-
"
|
|
190
|
+
"note": "无 V8 inspector 协议。",
|
|
191
|
+
"subpath": "inspector"
|
|
185
192
|
},
|
|
186
193
|
"repl": {
|
|
187
194
|
"status": "unsupported",
|
|
188
|
-
"
|
|
195
|
+
"note": "无 stdin/stdout 终端语义。",
|
|
196
|
+
"subpath": "repl"
|
|
189
197
|
},
|
|
190
198
|
"tty": {
|
|
191
199
|
"subpath": "tty",
|
package/dist/index.js
CHANGED
|
@@ -51,7 +51,7 @@ const diagnosticsChannelModule = require("./diagnostics_channel");
|
|
|
51
51
|
const streamConsumersModule = require("./stream/consumers");
|
|
52
52
|
const v8Module = require("./v8");
|
|
53
53
|
const api = {
|
|
54
|
-
version: '0.1.
|
|
54
|
+
version: '0.1.4',
|
|
55
55
|
path: pathModule,
|
|
56
56
|
'path/posix': pathPosixModule,
|
|
57
57
|
'path/win32': pathWin32Module,
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serveryyswys/node.operit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "为 Operit 的 CommonJS 运行时补齐 Node 核心能力(fs / path / os / buffer / ...)",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "serveryyswys",
|
|
7
|
+
"type": "commonjs",
|
|
7
8
|
"main": "dist/index.js",
|
|
8
9
|
"types": "dist/index.d.ts",
|
|
9
10
|
"exports": {
|