@scriptc/compiler 0.1.3 → 0.1.5
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/ambient/scriptc-node-fallback.d.ts +275 -62
- package/dist/backend/c/async.d.ts +25 -0
- package/dist/backend/c/async.js +167 -0
- package/dist/backend/c/async.js.map +1 -1
- package/dist/backend/c/c-emitter.d.ts +15 -1
- package/dist/backend/c/c-emitter.js +36 -11
- package/dist/backend/c/c-emitter.js.map +1 -1
- package/dist/backend/c/exprs.d.ts +2 -2
- package/dist/backend/c/exprs.js +556 -71
- package/dist/backend/c/exprs.js.map +1 -1
- package/dist/backend/c/stmts.js +5 -3
- package/dist/backend/c/stmts.js.map +1 -1
- package/dist/backend/c/types.d.ts +2 -3
- package/dist/backend/c/types.js +10 -1
- package/dist/backend/c/types.js.map +1 -1
- package/dist/backend/c/walkers.js +1 -1
- package/dist/backend/c/walkers.js.map +1 -1
- package/dist/backend/link-plan.d.ts +3 -1
- package/dist/backend/link-plan.js +3 -1
- package/dist/backend/link-plan.js.map +1 -1
- package/dist/backend/llvm/dyn.js +1 -1
- package/dist/backend/llvm/dyn.js.map +1 -1
- package/dist/backend/llvm/emitter.js +42 -12
- package/dist/backend/llvm/emitter.js.map +1 -1
- package/dist/backend/llvm/expr-bytes.d.ts +1 -2
- package/dist/backend/llvm/expr-bytes.js +28 -23
- package/dist/backend/llvm/expr-bytes.js.map +1 -1
- package/dist/backend/llvm/expr-callbacks.d.ts +9 -0
- package/dist/backend/llvm/expr-callbacks.js +125 -0
- package/dist/backend/llvm/expr-callbacks.js.map +1 -1
- package/dist/backend/llvm/expr-containers.d.ts +1 -0
- package/dist/backend/llvm/expr-containers.js +32 -4
- package/dist/backend/llvm/expr-containers.js.map +1 -1
- package/dist/backend/llvm/expr-context.d.ts +19 -3
- package/dist/backend/llvm/expr-dispatch.js +1 -0
- package/dist/backend/llvm/expr-dispatch.js.map +1 -1
- package/dist/backend/llvm/expr-primitives.d.ts +1 -1
- package/dist/backend/llvm/expr-primitives.js +49 -13
- package/dist/backend/llvm/expr-primitives.js.map +1 -1
- package/dist/backend/llvm/expr-primitives.test.d.ts +1 -0
- package/dist/backend/llvm/expr-primitives.test.js +38 -0
- package/dist/backend/llvm/expr-primitives.test.js.map +1 -0
- package/dist/backend/llvm/expr-stream-callbacks.d.ts +3 -0
- package/dist/backend/llvm/expr-stream-callbacks.js +69 -0
- package/dist/backend/llvm/expr-stream-callbacks.js.map +1 -1
- package/dist/backend/llvm/lib-filesystem.js +80 -10
- package/dist/backend/llvm/lib-filesystem.js.map +1 -1
- package/dist/backend/llvm/lib-network.js +69 -10
- package/dist/backend/llvm/lib-network.js.map +1 -1
- package/dist/backend/llvm/lib-process.js +156 -6
- package/dist/backend/llvm/lib-process.js.map +1 -1
- package/dist/backend/llvm/lib-shared.js +100 -0
- package/dist/backend/llvm/lib-shared.js.map +1 -1
- package/dist/backend/llvm/lib-stream.js +23 -0
- package/dist/backend/llvm/lib-stream.js.map +1 -1
- package/dist/backend/native-toolchain.d.ts +5 -0
- package/dist/backend/native-toolchain.js +4 -1
- package/dist/backend/native-toolchain.js.map +1 -1
- package/dist/backend/runtime-pack.test.js +28 -10
- package/dist/backend/runtime-pack.test.js.map +1 -1
- package/dist/backend/targets.d.ts +7 -0
- package/dist/backend/targets.js +26 -0
- package/dist/backend/targets.js.map +1 -1
- package/dist/backend/targets.test.js +8 -1
- package/dist/backend/targets.test.js.map +1 -1
- package/dist/coverage/surface-manifest.js +14 -4
- package/dist/coverage/surface-manifest.js.map +1 -1
- package/dist/diagnostics/diagnostic.js +1 -1
- package/dist/diagnostics/diagnostic.js.map +1 -1
- package/dist/executable/executable-cache.d.ts +4 -0
- package/dist/executable/executable-cache.js +6 -1
- package/dist/executable/executable-cache.js.map +1 -1
- package/dist/executable/executable-cache.test.js +3 -3
- package/dist/executable/executable-cache.test.js.map +1 -1
- package/dist/frontend/fork-target.d.ts +17 -0
- package/dist/frontend/fork-target.js +256 -0
- package/dist/frontend/fork-target.js.map +1 -0
- package/dist/frontend/lowering/abstract-equality.d.ts +6 -0
- package/dist/frontend/lowering/abstract-equality.js +250 -0
- package/dist/frontend/lowering/abstract-equality.js.map +1 -0
- package/dist/frontend/lowering/containers/bytes.d.ts +1 -1
- package/dist/frontend/lowering/containers/bytes.js +6 -5
- package/dist/frontend/lowering/containers/bytes.js.map +1 -1
- package/dist/frontend/lowering/containers/string-and-regexp.d.ts +7 -6
- package/dist/frontend/lowering/containers/string-and-regexp.js +237 -28
- package/dist/frontend/lowering/containers/string-and-regexp.js.map +1 -1
- package/dist/frontend/lowering/expressions/object-literals.js +8 -0
- package/dist/frontend/lowering/expressions/object-literals.js.map +1 -1
- package/dist/frontend/lowering/lower-assert.js +71 -2
- package/dist/frontend/lowering/lower-assert.js.map +1 -1
- package/dist/frontend/lowering/lower-builtins.d.ts +54 -28
- package/dist/frontend/lowering/lower-builtins.js +957 -116
- package/dist/frontend/lowering/lower-builtins.js.map +1 -1
- package/dist/frontend/lowering/lower-calls.d.ts +32 -23
- package/dist/frontend/lowering/lower-calls.js +835 -206
- package/dist/frontend/lowering/lower-calls.js.map +1 -1
- package/dist/frontend/lowering/lower-classes.js +41 -10
- package/dist/frontend/lowering/lower-classes.js.map +1 -1
- package/dist/frontend/lowering/lower-containers.d.ts +7 -9
- package/dist/frontend/lowering/lower-containers.js +293 -51
- package/dist/frontend/lowering/lower-containers.js.map +1 -1
- package/dist/frontend/lowering/lower-event-emitter.js +212 -21
- package/dist/frontend/lowering/lower-event-emitter.js.map +1 -1
- package/dist/frontend/lowering/lower-exprs.d.ts +12 -0
- package/dist/frontend/lowering/lower-exprs.js +263 -93
- package/dist/frontend/lowering/lower-exprs.js.map +1 -1
- package/dist/frontend/lowering/lower-inspect.d.ts +4 -0
- package/dist/frontend/lowering/lower-inspect.js +1 -1
- package/dist/frontend/lowering/lower-inspect.js.map +1 -1
- package/dist/frontend/lowering/lower-island.d.ts +6 -3
- package/dist/frontend/lowering/lower-island.js +182 -12
- package/dist/frontend/lowering/lower-island.js.map +1 -1
- package/dist/frontend/lowering/lower-modules.d.ts +6 -0
- package/dist/frontend/lowering/lower-modules.js +184 -38
- package/dist/frontend/lowering/lower-modules.js.map +1 -1
- package/dist/frontend/lowering/lower-namespaces.js +7 -0
- package/dist/frontend/lowering/lower-namespaces.js.map +1 -1
- package/dist/frontend/lowering/lower-server.d.ts +3 -5
- package/dist/frontend/lowering/lower-server.js +413 -54
- package/dist/frontend/lowering/lower-server.js.map +1 -1
- package/dist/frontend/lowering/lower-stmts.js +122 -19
- package/dist/frontend/lowering/lower-stmts.js.map +1 -1
- package/dist/frontend/lowering/lower-stream.d.ts +3 -0
- package/dist/frontend/lowering/lower-stream.js +7 -0
- package/dist/frontend/lowering/lower-stream.js.map +1 -1
- package/dist/frontend/lowering/lowerer.d.ts +86 -9
- package/dist/frontend/lowering/lowerer.js +449 -74
- package/dist/frontend/lowering/lowerer.js.map +1 -1
- package/dist/frontend/lowering/optional-arguments.d.ts +9 -1
- package/dist/frontend/lowering/optional-arguments.js +67 -1
- package/dist/frontend/lowering/optional-arguments.js.map +1 -1
- package/dist/frontend/lowering/pairs-snapshot.d.ts +3 -1
- package/dist/frontend/lowering/pairs-snapshot.js +12 -4
- package/dist/frontend/lowering/pairs-snapshot.js.map +1 -1
- package/dist/frontend/lowering/surfaces.d.ts +34 -14
- package/dist/frontend/lowering/surfaces.js +177 -104
- package/dist/frontend/lowering/surfaces.js.map +1 -1
- package/dist/frontend/npm-static-declarations.d.ts +4 -0
- package/dist/frontend/npm-static-declarations.js +56 -0
- package/dist/frontend/npm-static-declarations.js.map +1 -1
- package/dist/frontend/npm-static-declarations.test.js +23 -2
- package/dist/frontend/npm-static-declarations.test.js.map +1 -1
- package/dist/frontend/npm-static-prune.d.ts +6 -0
- package/dist/frontend/npm-static-prune.js +203 -0
- package/dist/frontend/npm-static-prune.js.map +1 -0
- package/dist/frontend/npm-static-prune.test.d.ts +1 -0
- package/dist/frontend/npm-static-prune.test.js +48 -0
- package/dist/frontend/npm-static-prune.test.js.map +1 -0
- package/dist/frontend/npm-static.js +6 -5
- package/dist/frontend/npm-static.js.map +1 -1
- package/dist/frontend/npm.d.ts +15 -3
- package/dist/frontend/npm.js +87 -14
- package/dist/frontend/npm.js.map +1 -1
- package/dist/frontend/npm.test.js +76 -9
- package/dist/frontend/npm.test.js.map +1 -1
- package/dist/frontend/program.js +107 -14
- package/dist/frontend/program.js.map +1 -1
- package/dist/frontend/provenance.js +8 -3
- package/dist/frontend/provenance.js.map +1 -1
- package/dist/frontend/resolve.d.ts +6 -0
- package/dist/frontend/resolve.js +7 -4
- package/dist/frontend/resolve.js.map +1 -1
- package/dist/frontend/type-mapper.d.ts +5 -0
- package/dist/frontend/type-mapper.js +80 -29
- package/dist/frontend/type-mapper.js.map +1 -1
- package/dist/index.d.ts +8 -3
- package/dist/index.js +34 -41
- package/dist/index.js.map +1 -1
- package/dist/ir/analysis.d.ts +5 -3
- package/dist/ir/analysis.js +25 -11
- package/dist/ir/analysis.js.map +1 -1
- package/dist/ir/analysis.test.js +50 -2
- package/dist/ir/analysis.test.js.map +1 -1
- package/dist/ir/constant-tables.d.ts +17 -0
- package/dist/ir/constant-tables.js +99 -0
- package/dist/ir/constant-tables.js.map +1 -0
- package/dist/ir/constant-tables.test.d.ts +1 -0
- package/dist/ir/constant-tables.test.js +78 -0
- package/dist/ir/constant-tables.test.js.map +1 -0
- package/dist/ir/integer-ranges.d.ts +13 -0
- package/dist/ir/integer-ranges.js +122 -0
- package/dist/ir/integer-ranges.js.map +1 -0
- package/dist/ir/integer-ranges.test.d.ts +1 -0
- package/dist/ir/integer-ranges.test.js +63 -0
- package/dist/ir/integer-ranges.test.js.map +1 -0
- package/dist/ir/ir.d.ts +130 -76
- package/dist/ir/ir.js +69 -4
- package/dist/ir/ir.js.map +1 -1
- package/dist/ir/ir.test.js +20 -1
- package/dist/ir/ir.test.js.map +1 -1
- package/dist/ir/scalar-records.d.ts +8 -0
- package/dist/ir/scalar-records.js +216 -0
- package/dist/ir/scalar-records.js.map +1 -0
- package/dist/ir/scalar-records.test.d.ts +1 -0
- package/dist/ir/scalar-records.test.js +142 -0
- package/dist/ir/scalar-records.test.js.map +1 -0
- package/dist/ir/serialize.d.ts +1 -1
- package/dist/ir/serialize.js +1 -1
- package/dist/ir/serialize.js.map +1 -1
- package/dist/ir/validate.js +256 -20
- package/dist/ir/validate.js.map +1 -1
- package/dist/ir/validate.test.d.ts +1 -0
- package/dist/ir/validate.test.js +31 -0
- package/dist/ir/validate.test.js.map +1 -0
- package/dist/library/cache-primitives.d.ts +1 -1
- package/dist/library/cache-primitives.js +3 -3
- package/dist/library/cache-primitives.js.map +1 -1
- package/dist/library/fence-eval.js +11 -4
- package/dist/library/fence-eval.js.map +1 -1
- package/dist/library/int-infer.test.js +4 -4
- package/dist/library/int-infer.test.js.map +1 -1
- package/dist/library/library-cache.js +0 -1
- package/dist/library/library-cache.js.map +1 -1
- package/dist/library/library-cache.test.js +8 -8
- package/dist/library/library-cache.test.js.map +1 -1
- package/package.json +17 -17
- package/surface-manifest.json +186 -79
package/surface-manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"compilerVersion": "0.1.
|
|
3
|
+
"compilerVersion": "0.1.5",
|
|
4
4
|
"coverage": [
|
|
5
5
|
"Entries are projected mechanically from the compiler's own decision tables: the diagnostics registry, the unsupported-syntax dispatch tables, the stdlib and node-builtin lowering tables, and the supported-builtin-module list. Nothing is hand-maintained; the manifest regenerates byte-identically from the source tree at this version.",
|
|
6
6
|
"Absence from this manifest means 'not projected', never 'unsupported'. Surfaces lowered through dedicated code paths rather than tables are not yet projected: console, JSON, Promise/async and the timer surface, the net/http/tls/https/dgram/dns/assert/test/stream/readline module member surfaces, template literals, the regex slice, global functions (parseInt, parseFloat, isNaN, isFinite), and the process surface outside its ambient slice.",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"name": "loose equality (== and !=)",
|
|
89
89
|
"status": "unsupported",
|
|
90
90
|
"code": "SC1040",
|
|
91
|
-
"note": "
|
|
91
|
+
"note": "primitive and primitive-union coercions plus the x == null / x != null idiom compile statically; object-to-primitive comparisons can execute valueOf/toString — convert the object explicitly first"
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
"id": "diagnostic.sc1042",
|
|
@@ -329,7 +329,7 @@
|
|
|
329
329
|
"name": "assert.deepEqual",
|
|
330
330
|
"status": "unsupported",
|
|
331
331
|
"code": "SC2020",
|
|
332
|
-
"note": "
|
|
332
|
+
"note": "legacy deep equality has no lowering yet — deepStrictEqual and notDeepStrictEqual compare structures with Node's modern semantics"
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
335
|
"id": "node-builtin.assert.doesNotReject",
|
|
@@ -347,14 +347,6 @@
|
|
|
347
347
|
"code": "SC2020",
|
|
348
348
|
"note": "call the function directly — an unexpected throw already fails the test"
|
|
349
349
|
},
|
|
350
|
-
{
|
|
351
|
-
"id": "node-builtin.assert.equal",
|
|
352
|
-
"kind": "node-builtin",
|
|
353
|
-
"name": "assert.equal",
|
|
354
|
-
"status": "unsupported",
|
|
355
|
-
"code": "SC2020",
|
|
356
|
-
"note": "loose == equality has no lowering — the strict forms compare with Object.is/structural equality like Node's assert/strict module, where equal IS strictEqual"
|
|
357
|
-
},
|
|
358
350
|
{
|
|
359
351
|
"id": "node-builtin.assert.ifError",
|
|
360
352
|
"kind": "node-builtin",
|
|
@@ -369,15 +361,7 @@
|
|
|
369
361
|
"name": "assert.notDeepEqual",
|
|
370
362
|
"status": "unsupported",
|
|
371
363
|
"code": "SC2020",
|
|
372
|
-
"note": "
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
"id": "node-builtin.assert.notEqual",
|
|
376
|
-
"kind": "node-builtin",
|
|
377
|
-
"name": "assert.notEqual",
|
|
378
|
-
"status": "unsupported",
|
|
379
|
-
"code": "SC2020",
|
|
380
|
-
"note": "loose == equality has no lowering — the strict forms compare with Object.is/structural equality like Node's assert/strict module, where equal IS strictEqual"
|
|
364
|
+
"note": "legacy deep equality has no lowering yet — deepStrictEqual and notDeepStrictEqual compare structures with Node's modern semantics"
|
|
381
365
|
},
|
|
382
366
|
{
|
|
383
367
|
"id": "node-builtin.assert.rejects",
|
|
@@ -461,7 +445,7 @@
|
|
|
461
445
|
"name": "child_process.execFile",
|
|
462
446
|
"status": "unsupported",
|
|
463
447
|
"code": "SC2020",
|
|
464
|
-
"note": "the callback
|
|
448
|
+
"note": "the callback forms execFile(file, callback), execFile(file, args, callback), and execFile(file, args, { encoding: 'utf8', maxBuffer: N }, callback) lower; maxBuffer is not enforced by the growing native capture; other options and reached no-callback calls remain fenced, while util.promisify(execFile) retains its wider options slice"
|
|
465
449
|
},
|
|
466
450
|
{
|
|
467
451
|
"id": "node-builtin.child_process.execFileSync",
|
|
@@ -475,6 +459,12 @@
|
|
|
475
459
|
"name": "child_process.execSync",
|
|
476
460
|
"status": "static"
|
|
477
461
|
},
|
|
462
|
+
{
|
|
463
|
+
"id": "node-builtin.child_process.fork",
|
|
464
|
+
"kind": "node-builtin",
|
|
465
|
+
"name": "child_process.fork",
|
|
466
|
+
"status": "static"
|
|
467
|
+
},
|
|
478
468
|
{
|
|
479
469
|
"id": "node-builtin.child_process.spawn",
|
|
480
470
|
"kind": "node-builtin",
|
|
@@ -921,6 +911,30 @@
|
|
|
921
911
|
"name": "fs.existsSync",
|
|
922
912
|
"status": "static"
|
|
923
913
|
},
|
|
914
|
+
{
|
|
915
|
+
"id": "node-builtin.fs.fchmodSync",
|
|
916
|
+
"kind": "node-builtin",
|
|
917
|
+
"name": "fs.fchmodSync",
|
|
918
|
+
"status": "static"
|
|
919
|
+
},
|
|
920
|
+
{
|
|
921
|
+
"id": "node-builtin.fs.fstatSync",
|
|
922
|
+
"kind": "node-builtin",
|
|
923
|
+
"name": "fs.fstatSync",
|
|
924
|
+
"status": "static"
|
|
925
|
+
},
|
|
926
|
+
{
|
|
927
|
+
"id": "node-builtin.fs.fsyncSync",
|
|
928
|
+
"kind": "node-builtin",
|
|
929
|
+
"name": "fs.fsyncSync",
|
|
930
|
+
"status": "static"
|
|
931
|
+
},
|
|
932
|
+
{
|
|
933
|
+
"id": "node-builtin.fs.linkSync",
|
|
934
|
+
"kind": "node-builtin",
|
|
935
|
+
"name": "fs.linkSync",
|
|
936
|
+
"status": "static"
|
|
937
|
+
},
|
|
924
938
|
{
|
|
925
939
|
"id": "node-builtin.fs.lstatSync",
|
|
926
940
|
"kind": "node-builtin",
|
|
@@ -958,6 +972,12 @@
|
|
|
958
972
|
"name": "fs/promises.chmod",
|
|
959
973
|
"status": "static"
|
|
960
974
|
},
|
|
975
|
+
{
|
|
976
|
+
"id": "node-builtin.fs.promises.lstat",
|
|
977
|
+
"kind": "node-builtin",
|
|
978
|
+
"name": "fs/promises.lstat",
|
|
979
|
+
"status": "static"
|
|
980
|
+
},
|
|
961
981
|
{
|
|
962
982
|
"id": "node-builtin.fs.promises.mkdir",
|
|
963
983
|
"kind": "node-builtin",
|
|
@@ -982,6 +1002,12 @@
|
|
|
982
1002
|
"name": "fs/promises.readdir",
|
|
983
1003
|
"status": "static"
|
|
984
1004
|
},
|
|
1005
|
+
{
|
|
1006
|
+
"id": "node-builtin.fs.promises.realpath",
|
|
1007
|
+
"kind": "node-builtin",
|
|
1008
|
+
"name": "fs/promises.realpath",
|
|
1009
|
+
"status": "static"
|
|
1010
|
+
},
|
|
985
1011
|
{
|
|
986
1012
|
"id": "node-builtin.fs.promises.rename",
|
|
987
1013
|
"kind": "node-builtin",
|
|
@@ -1097,6 +1123,13 @@
|
|
|
1097
1123
|
"status": "static",
|
|
1098
1124
|
"note": "recognized module (bare and node:-prefixed specifiers)"
|
|
1099
1125
|
},
|
|
1126
|
+
{
|
|
1127
|
+
"id": "node-builtin.http.maxHeaderSize",
|
|
1128
|
+
"kind": "node-builtin",
|
|
1129
|
+
"name": "http.maxHeaderSize",
|
|
1130
|
+
"status": "static",
|
|
1131
|
+
"note": "constant value read"
|
|
1132
|
+
},
|
|
1100
1133
|
{
|
|
1101
1134
|
"id": "node-builtin.http2",
|
|
1102
1135
|
"kind": "node-builtin",
|
|
@@ -1140,7 +1173,7 @@
|
|
|
1140
1173
|
"name": "module.createRequire",
|
|
1141
1174
|
"status": "unsupported",
|
|
1142
1175
|
"code": "SC2020",
|
|
1143
|
-
"note": "the lowered shape is a const binding over createRequire(import.meta.url) (or __filename) whose require calls take STATIC string literals — builtins, relative .json documents, and installed npm packages
|
|
1176
|
+
"note": "the lowered shape is a const binding over createRequire(import.meta.url) (or __filename) whose require calls take STATIC string literals — builtins, project modules (including #imports), relative .json documents, --npm-static packages, and installed npm packages under --dynamic resolve at build time; dynamic specifiers cannot exist in a compiled binary's fixed module graph"
|
|
1144
1177
|
},
|
|
1145
1178
|
{
|
|
1146
1179
|
"id": "node-builtin.module.isBuiltin",
|
|
@@ -1148,7 +1181,7 @@
|
|
|
1148
1181
|
"name": "module.isBuiltin",
|
|
1149
1182
|
"status": "unsupported",
|
|
1150
1183
|
"code": "SC2020",
|
|
1151
|
-
"note": "
|
|
1184
|
+
"note": "the lowered call checks a string against the baked Node v24 list, including bare/node: aliases and prefix-only builtins"
|
|
1152
1185
|
},
|
|
1153
1186
|
{
|
|
1154
1187
|
"id": "node-builtin.module.syncBuiltinESMExports",
|
|
@@ -1156,7 +1189,7 @@
|
|
|
1156
1189
|
"name": "module.syncBuiltinESMExports",
|
|
1157
1190
|
"status": "unsupported",
|
|
1158
1191
|
"code": "SC2020",
|
|
1159
|
-
"note": "
|
|
1192
|
+
"note": "the direct zero-argument call is a no-op because compiled builtin exports are immutable and cannot become stale"
|
|
1160
1193
|
},
|
|
1161
1194
|
{
|
|
1162
1195
|
"id": "node-builtin.net",
|
|
@@ -1542,6 +1575,13 @@
|
|
|
1542
1575
|
"status": "static",
|
|
1543
1576
|
"note": "process.exit and the process._exiting flag read are one surface"
|
|
1544
1577
|
},
|
|
1578
|
+
{
|
|
1579
|
+
"id": "node-builtin.process.exitCode",
|
|
1580
|
+
"kind": "node-builtin",
|
|
1581
|
+
"name": "process.exitCode",
|
|
1582
|
+
"status": "static",
|
|
1583
|
+
"note": "numeric writes in statement position set the implicit exit status; process.exit() reads it"
|
|
1584
|
+
},
|
|
1545
1585
|
{
|
|
1546
1586
|
"id": "node-builtin.process.getgid",
|
|
1547
1587
|
"kind": "node-builtin",
|
|
@@ -1822,7 +1862,7 @@
|
|
|
1822
1862
|
"name": "util.promisify",
|
|
1823
1863
|
"status": "unsupported",
|
|
1824
1864
|
"code": "SC2020",
|
|
1825
|
-
"note": "the
|
|
1865
|
+
"note": "the lowered shapes are const bindings over child_process.execFile and fs.readFile; call the bound function directly"
|
|
1826
1866
|
},
|
|
1827
1867
|
{
|
|
1828
1868
|
"id": "node-builtin.util.types",
|
|
@@ -1865,7 +1905,7 @@
|
|
|
1865
1905
|
"name": "zlib.brotliCompressSync",
|
|
1866
1906
|
"status": "unsupported",
|
|
1867
1907
|
"code": "SC2020",
|
|
1868
|
-
"note": "
|
|
1908
|
+
"note": "the default-options deflate/inflate, raw, gzip/gunzip, and unzip sync/callback forms plus crc32 are the lowered zlib surface"
|
|
1869
1909
|
},
|
|
1870
1910
|
{
|
|
1871
1911
|
"id": "node-builtin.zlib.brotliDecompressSync",
|
|
@@ -1873,7 +1913,31 @@
|
|
|
1873
1913
|
"name": "zlib.brotliDecompressSync",
|
|
1874
1914
|
"status": "unsupported",
|
|
1875
1915
|
"code": "SC2020",
|
|
1876
|
-
"note": "
|
|
1916
|
+
"note": "the default-options deflate/inflate, raw, gzip/gunzip, and unzip sync/callback forms plus crc32 are the lowered zlib surface"
|
|
1917
|
+
},
|
|
1918
|
+
{
|
|
1919
|
+
"id": "node-builtin.zlib.crc32",
|
|
1920
|
+
"kind": "node-builtin",
|
|
1921
|
+
"name": "zlib.crc32",
|
|
1922
|
+
"status": "static"
|
|
1923
|
+
},
|
|
1924
|
+
{
|
|
1925
|
+
"id": "node-builtin.zlib.deflate",
|
|
1926
|
+
"kind": "node-builtin",
|
|
1927
|
+
"name": "zlib.deflate",
|
|
1928
|
+
"status": "static"
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
"id": "node-builtin.zlib.deflateRaw",
|
|
1932
|
+
"kind": "node-builtin",
|
|
1933
|
+
"name": "zlib.deflateRaw",
|
|
1934
|
+
"status": "static"
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
"id": "node-builtin.zlib.deflateRawSync",
|
|
1938
|
+
"kind": "node-builtin",
|
|
1939
|
+
"name": "zlib.deflateRawSync",
|
|
1940
|
+
"status": "static"
|
|
1877
1941
|
},
|
|
1878
1942
|
{
|
|
1879
1943
|
"id": "node-builtin.zlib.deflateSync",
|
|
@@ -1881,21 +1945,47 @@
|
|
|
1881
1945
|
"name": "zlib.deflateSync",
|
|
1882
1946
|
"status": "static"
|
|
1883
1947
|
},
|
|
1948
|
+
{
|
|
1949
|
+
"id": "node-builtin.zlib.gunzip",
|
|
1950
|
+
"kind": "node-builtin",
|
|
1951
|
+
"name": "zlib.gunzip",
|
|
1952
|
+
"status": "static"
|
|
1953
|
+
},
|
|
1884
1954
|
{
|
|
1885
1955
|
"id": "node-builtin.zlib.gunzipSync",
|
|
1886
1956
|
"kind": "node-builtin",
|
|
1887
1957
|
"name": "zlib.gunzipSync",
|
|
1888
|
-
"status": "
|
|
1889
|
-
|
|
1890
|
-
|
|
1958
|
+
"status": "static"
|
|
1959
|
+
},
|
|
1960
|
+
{
|
|
1961
|
+
"id": "node-builtin.zlib.gzip",
|
|
1962
|
+
"kind": "node-builtin",
|
|
1963
|
+
"name": "zlib.gzip",
|
|
1964
|
+
"status": "static"
|
|
1891
1965
|
},
|
|
1892
1966
|
{
|
|
1893
1967
|
"id": "node-builtin.zlib.gzipSync",
|
|
1894
1968
|
"kind": "node-builtin",
|
|
1895
1969
|
"name": "zlib.gzipSync",
|
|
1896
|
-
"status": "
|
|
1897
|
-
|
|
1898
|
-
|
|
1970
|
+
"status": "static"
|
|
1971
|
+
},
|
|
1972
|
+
{
|
|
1973
|
+
"id": "node-builtin.zlib.inflate",
|
|
1974
|
+
"kind": "node-builtin",
|
|
1975
|
+
"name": "zlib.inflate",
|
|
1976
|
+
"status": "static"
|
|
1977
|
+
},
|
|
1978
|
+
{
|
|
1979
|
+
"id": "node-builtin.zlib.inflateRaw",
|
|
1980
|
+
"kind": "node-builtin",
|
|
1981
|
+
"name": "zlib.inflateRaw",
|
|
1982
|
+
"status": "static"
|
|
1983
|
+
},
|
|
1984
|
+
{
|
|
1985
|
+
"id": "node-builtin.zlib.inflateRawSync",
|
|
1986
|
+
"kind": "node-builtin",
|
|
1987
|
+
"name": "zlib.inflateRawSync",
|
|
1988
|
+
"status": "static"
|
|
1899
1989
|
},
|
|
1900
1990
|
{
|
|
1901
1991
|
"id": "node-builtin.zlib.inflateSync",
|
|
@@ -1903,13 +1993,17 @@
|
|
|
1903
1993
|
"name": "zlib.inflateSync",
|
|
1904
1994
|
"status": "static"
|
|
1905
1995
|
},
|
|
1996
|
+
{
|
|
1997
|
+
"id": "node-builtin.zlib.unzip",
|
|
1998
|
+
"kind": "node-builtin",
|
|
1999
|
+
"name": "zlib.unzip",
|
|
2000
|
+
"status": "static"
|
|
2001
|
+
},
|
|
1906
2002
|
{
|
|
1907
2003
|
"id": "node-builtin.zlib.unzipSync",
|
|
1908
2004
|
"kind": "node-builtin",
|
|
1909
2005
|
"name": "zlib.unzipSync",
|
|
1910
|
-
"status": "
|
|
1911
|
-
"code": "SC2020",
|
|
1912
|
-
"note": "deflateSync and inflateSync are the lowered zlib surface"
|
|
2006
|
+
"status": "static"
|
|
1913
2007
|
},
|
|
1914
2008
|
{
|
|
1915
2009
|
"id": "stdlib.abort-controller.abort",
|
|
@@ -2088,6 +2182,12 @@
|
|
|
2088
2182
|
"name": "Array.prototype.join",
|
|
2089
2183
|
"status": "static"
|
|
2090
2184
|
},
|
|
2185
|
+
{
|
|
2186
|
+
"id": "stdlib.array.lastIndexOf",
|
|
2187
|
+
"kind": "stdlib",
|
|
2188
|
+
"name": "Array.prototype.lastIndexOf",
|
|
2189
|
+
"status": "static"
|
|
2190
|
+
},
|
|
2091
2191
|
{
|
|
2092
2192
|
"id": "stdlib.array.map",
|
|
2093
2193
|
"kind": "stdlib",
|
|
@@ -2296,6 +2396,13 @@
|
|
|
2296
2396
|
"status": "static",
|
|
2297
2397
|
"note": "the live clock"
|
|
2298
2398
|
},
|
|
2399
|
+
{
|
|
2400
|
+
"id": "stdlib.date.parse",
|
|
2401
|
+
"kind": "stdlib",
|
|
2402
|
+
"name": "Date.parse",
|
|
2403
|
+
"status": "static",
|
|
2404
|
+
"note": "one date string, using the bounded parser shared with new Date(dateString).getTime()"
|
|
2405
|
+
},
|
|
2299
2406
|
{
|
|
2300
2407
|
"id": "stdlib.date.toISOString",
|
|
2301
2408
|
"kind": "stdlib",
|
|
@@ -2589,36 +2696,36 @@
|
|
|
2589
2696
|
"id": "stdlib.math.acos",
|
|
2590
2697
|
"kind": "stdlib",
|
|
2591
2698
|
"name": "Math.acos",
|
|
2592
|
-
"status": "
|
|
2593
|
-
"
|
|
2699
|
+
"status": "static",
|
|
2700
|
+
"note": "compiles statically at arity 1; other declared call shapes run only in the embedded dynamic engine (SC2012 without --dynamic)"
|
|
2594
2701
|
},
|
|
2595
2702
|
{
|
|
2596
2703
|
"id": "stdlib.math.asin",
|
|
2597
2704
|
"kind": "stdlib",
|
|
2598
2705
|
"name": "Math.asin",
|
|
2599
|
-
"status": "
|
|
2600
|
-
"
|
|
2706
|
+
"status": "static",
|
|
2707
|
+
"note": "compiles statically at arity 1; other declared call shapes run only in the embedded dynamic engine (SC2012 without --dynamic)"
|
|
2601
2708
|
},
|
|
2602
2709
|
{
|
|
2603
2710
|
"id": "stdlib.math.atan",
|
|
2604
2711
|
"kind": "stdlib",
|
|
2605
2712
|
"name": "Math.atan",
|
|
2606
|
-
"status": "
|
|
2607
|
-
"
|
|
2713
|
+
"status": "static",
|
|
2714
|
+
"note": "compiles statically at arity 1; other declared call shapes run only in the embedded dynamic engine (SC2012 without --dynamic)"
|
|
2608
2715
|
},
|
|
2609
2716
|
{
|
|
2610
2717
|
"id": "stdlib.math.atan2",
|
|
2611
2718
|
"kind": "stdlib",
|
|
2612
2719
|
"name": "Math.atan2",
|
|
2613
|
-
"status": "
|
|
2614
|
-
"
|
|
2720
|
+
"status": "static",
|
|
2721
|
+
"note": "compiles statically at arity 2; other declared call shapes run only in the embedded dynamic engine (SC2012 without --dynamic)"
|
|
2615
2722
|
},
|
|
2616
2723
|
{
|
|
2617
2724
|
"id": "stdlib.math.cbrt",
|
|
2618
2725
|
"kind": "stdlib",
|
|
2619
2726
|
"name": "Math.cbrt",
|
|
2620
|
-
"status": "
|
|
2621
|
-
"
|
|
2727
|
+
"status": "static",
|
|
2728
|
+
"note": "compiles statically at arity 1; other declared call shapes run only in the embedded dynamic engine (SC2012 without --dynamic)"
|
|
2622
2729
|
},
|
|
2623
2730
|
{
|
|
2624
2731
|
"id": "stdlib.math.ceil",
|
|
@@ -2631,15 +2738,15 @@
|
|
|
2631
2738
|
"id": "stdlib.math.cos",
|
|
2632
2739
|
"kind": "stdlib",
|
|
2633
2740
|
"name": "Math.cos",
|
|
2634
|
-
"status": "
|
|
2635
|
-
"
|
|
2741
|
+
"status": "static",
|
|
2742
|
+
"note": "compiles statically at arity 1; other declared call shapes run only in the embedded dynamic engine (SC2012 without --dynamic)"
|
|
2636
2743
|
},
|
|
2637
2744
|
{
|
|
2638
2745
|
"id": "stdlib.math.exp",
|
|
2639
2746
|
"kind": "stdlib",
|
|
2640
2747
|
"name": "Math.exp",
|
|
2641
|
-
"status": "
|
|
2642
|
-
"
|
|
2748
|
+
"status": "static",
|
|
2749
|
+
"note": "compiles statically at arity 1; other declared call shapes run only in the embedded dynamic engine (SC2012 without --dynamic)"
|
|
2643
2750
|
},
|
|
2644
2751
|
{
|
|
2645
2752
|
"id": "stdlib.math.floor",
|
|
@@ -2652,29 +2759,29 @@
|
|
|
2652
2759
|
"id": "stdlib.math.hypot",
|
|
2653
2760
|
"kind": "stdlib",
|
|
2654
2761
|
"name": "Math.hypot",
|
|
2655
|
-
"status": "
|
|
2656
|
-
"
|
|
2762
|
+
"status": "static",
|
|
2763
|
+
"note": "compiles statically at any arity, including number[] spreads"
|
|
2657
2764
|
},
|
|
2658
2765
|
{
|
|
2659
2766
|
"id": "stdlib.math.log",
|
|
2660
2767
|
"kind": "stdlib",
|
|
2661
2768
|
"name": "Math.log",
|
|
2662
|
-
"status": "
|
|
2663
|
-
"
|
|
2769
|
+
"status": "static",
|
|
2770
|
+
"note": "compiles statically at arity 1; other declared call shapes run only in the embedded dynamic engine (SC2012 without --dynamic)"
|
|
2664
2771
|
},
|
|
2665
2772
|
{
|
|
2666
2773
|
"id": "stdlib.math.log10",
|
|
2667
2774
|
"kind": "stdlib",
|
|
2668
2775
|
"name": "Math.log10",
|
|
2669
|
-
"status": "
|
|
2670
|
-
"
|
|
2776
|
+
"status": "static",
|
|
2777
|
+
"note": "compiles statically at arity 1; other declared call shapes run only in the embedded dynamic engine (SC2012 without --dynamic)"
|
|
2671
2778
|
},
|
|
2672
2779
|
{
|
|
2673
2780
|
"id": "stdlib.math.log2",
|
|
2674
2781
|
"kind": "stdlib",
|
|
2675
2782
|
"name": "Math.log2",
|
|
2676
|
-
"status": "
|
|
2677
|
-
"
|
|
2783
|
+
"status": "static",
|
|
2784
|
+
"note": "compiles statically at arity 1; other declared call shapes run only in the embedded dynamic engine (SC2012 without --dynamic)"
|
|
2678
2785
|
},
|
|
2679
2786
|
{
|
|
2680
2787
|
"id": "stdlib.math.max",
|
|
@@ -2694,8 +2801,8 @@
|
|
|
2694
2801
|
"id": "stdlib.math.pow",
|
|
2695
2802
|
"kind": "stdlib",
|
|
2696
2803
|
"name": "Math.pow",
|
|
2697
|
-
"status": "
|
|
2698
|
-
"
|
|
2804
|
+
"status": "static",
|
|
2805
|
+
"note": "compiles statically at arity 2; other declared call shapes run only in the embedded dynamic engine (SC2012 without --dynamic)"
|
|
2699
2806
|
},
|
|
2700
2807
|
{
|
|
2701
2808
|
"id": "stdlib.math.random",
|
|
@@ -2715,29 +2822,29 @@
|
|
|
2715
2822
|
"id": "stdlib.math.sign",
|
|
2716
2823
|
"kind": "stdlib",
|
|
2717
2824
|
"name": "Math.sign",
|
|
2718
|
-
"status": "
|
|
2719
|
-
"
|
|
2825
|
+
"status": "static",
|
|
2826
|
+
"note": "compiles statically at arity 1; other declared call shapes run only in the embedded dynamic engine (SC2012 without --dynamic)"
|
|
2720
2827
|
},
|
|
2721
2828
|
{
|
|
2722
2829
|
"id": "stdlib.math.sin",
|
|
2723
2830
|
"kind": "stdlib",
|
|
2724
2831
|
"name": "Math.sin",
|
|
2725
|
-
"status": "
|
|
2726
|
-
"
|
|
2832
|
+
"status": "static",
|
|
2833
|
+
"note": "compiles statically at arity 1; other declared call shapes run only in the embedded dynamic engine (SC2012 without --dynamic)"
|
|
2727
2834
|
},
|
|
2728
2835
|
{
|
|
2729
2836
|
"id": "stdlib.math.sqrt",
|
|
2730
2837
|
"kind": "stdlib",
|
|
2731
2838
|
"name": "Math.sqrt",
|
|
2732
|
-
"status": "
|
|
2733
|
-
"
|
|
2839
|
+
"status": "static",
|
|
2840
|
+
"note": "compiles statically at arity 1; other declared call shapes run only in the embedded dynamic engine (SC2012 without --dynamic)"
|
|
2734
2841
|
},
|
|
2735
2842
|
{
|
|
2736
2843
|
"id": "stdlib.math.tan",
|
|
2737
2844
|
"kind": "stdlib",
|
|
2738
2845
|
"name": "Math.tan",
|
|
2739
|
-
"status": "
|
|
2740
|
-
"
|
|
2846
|
+
"status": "static",
|
|
2847
|
+
"note": "compiles statically at arity 1; other declared call shapes run only in the embedded dynamic engine (SC2012 without --dynamic)"
|
|
2741
2848
|
},
|
|
2742
2849
|
{
|
|
2743
2850
|
"id": "stdlib.math.trunc",
|
|
@@ -3390,35 +3497,35 @@
|
|
|
3390
3497
|
"kind": "stdlib",
|
|
3391
3498
|
"name": "string.prototype.charAt",
|
|
3392
3499
|
"status": "static",
|
|
3393
|
-
"note": "the lowered call form takes
|
|
3500
|
+
"note": "the lowered call form takes 0 to 1 arguments"
|
|
3394
3501
|
},
|
|
3395
3502
|
{
|
|
3396
3503
|
"id": "stdlib.string.charCodeAt",
|
|
3397
3504
|
"kind": "stdlib",
|
|
3398
3505
|
"name": "string.prototype.charCodeAt",
|
|
3399
3506
|
"status": "static",
|
|
3400
|
-
"note": "the lowered call form takes
|
|
3507
|
+
"note": "the lowered call form takes 0 to 1 arguments"
|
|
3401
3508
|
},
|
|
3402
3509
|
{
|
|
3403
3510
|
"id": "stdlib.string.endsWith",
|
|
3404
3511
|
"kind": "stdlib",
|
|
3405
3512
|
"name": "string.prototype.endsWith",
|
|
3406
3513
|
"status": "static",
|
|
3407
|
-
"note": "the lowered call form takes
|
|
3514
|
+
"note": "the lowered call form takes 0 to 2 arguments"
|
|
3408
3515
|
},
|
|
3409
3516
|
{
|
|
3410
3517
|
"id": "stdlib.string.includes",
|
|
3411
3518
|
"kind": "stdlib",
|
|
3412
3519
|
"name": "string.prototype.includes",
|
|
3413
3520
|
"status": "static",
|
|
3414
|
-
"note": "the lowered call form takes
|
|
3521
|
+
"note": "the lowered call form takes 0 to 2 arguments"
|
|
3415
3522
|
},
|
|
3416
3523
|
{
|
|
3417
3524
|
"id": "stdlib.string.indexOf",
|
|
3418
3525
|
"kind": "stdlib",
|
|
3419
3526
|
"name": "string.prototype.indexOf",
|
|
3420
3527
|
"status": "static",
|
|
3421
|
-
"note": "the lowered call form takes
|
|
3528
|
+
"note": "the lowered call form takes 0 to 2 arguments"
|
|
3422
3529
|
},
|
|
3423
3530
|
{
|
|
3424
3531
|
"id": "stdlib.string.isWellFormed",
|
|
@@ -3432,14 +3539,14 @@
|
|
|
3432
3539
|
"kind": "stdlib",
|
|
3433
3540
|
"name": "string.prototype.padEnd",
|
|
3434
3541
|
"status": "static",
|
|
3435
|
-
"note": "the lowered call form takes
|
|
3542
|
+
"note": "the lowered call form takes 0 to 2 arguments"
|
|
3436
3543
|
},
|
|
3437
3544
|
{
|
|
3438
3545
|
"id": "stdlib.string.padStart",
|
|
3439
3546
|
"kind": "stdlib",
|
|
3440
3547
|
"name": "string.prototype.padStart",
|
|
3441
3548
|
"status": "static",
|
|
3442
|
-
"note": "the lowered call form takes
|
|
3549
|
+
"note": "the lowered call form takes 0 to 2 arguments"
|
|
3443
3550
|
},
|
|
3444
3551
|
{
|
|
3445
3552
|
"id": "stdlib.string.repeat",
|
|
@@ -3481,14 +3588,14 @@
|
|
|
3481
3588
|
"kind": "stdlib",
|
|
3482
3589
|
"name": "string.prototype.startsWith",
|
|
3483
3590
|
"status": "static",
|
|
3484
|
-
"note": "the lowered call form takes
|
|
3591
|
+
"note": "the lowered call form takes 0 to 2 arguments"
|
|
3485
3592
|
},
|
|
3486
3593
|
{
|
|
3487
3594
|
"id": "stdlib.string.substring",
|
|
3488
3595
|
"kind": "stdlib",
|
|
3489
3596
|
"name": "string.prototype.substring",
|
|
3490
3597
|
"status": "static",
|
|
3491
|
-
"note": "the lowered call form takes
|
|
3598
|
+
"note": "the lowered call form takes 0 to 2 arguments"
|
|
3492
3599
|
},
|
|
3493
3600
|
{
|
|
3494
3601
|
"id": "stdlib.string.toLowerCase",
|
|
@@ -3725,8 +3832,8 @@
|
|
|
3725
3832
|
"id": "syntax.spread-arguments",
|
|
3726
3833
|
"kind": "syntax",
|
|
3727
3834
|
"name": "spread arguments",
|
|
3728
|
-
"status": "
|
|
3729
|
-
"
|
|
3835
|
+
"status": "static",
|
|
3836
|
+
"note": "non-empty fixed tuples flatten into fixed signatures with evaluate-once ordering; arrays, Sets, and statically represented class iterables spread into typed rest parameters"
|
|
3730
3837
|
},
|
|
3731
3838
|
{
|
|
3732
3839
|
"id": "syntax.typeof-expressions",
|