TypeScript-to-Native Compiler
This report summarizes scanner evidence for vercel-labs/scriptc, a TypeScript project with 6,445 GitHub stars. SynthScan examined 1,392,055 lines of code across 14271 source files, recording 1444 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 1.2 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 1342 finding(s).
Are imports declared and package/API names verified? 31 finding(s).
Are wrappers, guards, and repeated structures necessary? 914 finding(s).
Which changes need focused human review? 1444 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 1444 distinct pattern matches across 9 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/corpus/2677-runtime-optional-closure.ts | 158 | function captureMutationThenOuterRead(values: string[]): void { | CODE |
| LOW | tests/corpus/2691-retained-lowering-record-order.ts | 96 | function constructGenericClassSourceFirst(): void { | CODE |
| LOW | tests/corpus/2691-retained-lowering-record-order.ts | 100 | function constructGenericClassSourceSecond(): void { | CODE |
| LOW | tests/corpus/typeof-ambient-undefined-names.ts | 6 | declare function webkitRequestAnimationFrame(callback: () => void): number; | CODE |
| LOW | tests/corpus/6170-flight-dev-stacks-dead.ts | 131 | function emitOutlinedDebugModelChunk(model: any): string { | CODE |
| LOW | tests/corpus/4940-async-return-adoption.ts | 83 | async function returnConstructedRejection(): Promise<number> { | CODE |
| LOW | tests/corpus/2850-async-generators-protocol.ts | 29 | async function showPromisedYieldOrdering(): Promise<void> { | CODE |
| LOW | tests/corpus/4941-async-return-adoption-try.ts | 59 | async function catchSeesAwaitedRejection(): Promise<number> { | CODE |
| LOW | tests/corpus/4942-async-return-adoption-values.ts | 158 | function rejectHandlerReturnsPromise(): Promise<number> { | CODE |
| LOW | …rpus/2661-top-level-await-dynamic-runtime-root/main.ts | 1 | async function discoveredFirstButNeverRun() { | CODE |
| LOW | tests/harness/test262-runner.test.ts | 202 | expect(prepared).toContain("function testWithTypedArrayConstructors("); | CODE |
| LOW | tests/harness/differential.test.ts | 211 | function wantsDisallowCodeGeneration(file: string): boolean { | CODE |
| LOW | tests/harness/fetch-conformance-program.ts | 424 | export function generateFetchConformanceProgram( | CODE |
| LOW | tests/harness/library-multi.test.ts | 1299 | function availableIphoneSimulators(listing: SimulatorListing): SimulatorDevice[] { | CODE |
| LOW | tests/harness/library-multi.test.ts | 1601 | function isCompatibleAndroidDevice(abiList: string, sdkLevel: string): boolean { | CODE |
| LOW | tests/ffi/main.ts | 16 | declare function nativeCallbackSymbolCollision(callback: (value: number) => number): number; | CODE |
| LOW | tests/ffi/main.ts | 17 | declare function nativeCallbackTlsCollision(value: number): number; | CODE |
| LOW⚡ | tests/ffi/main.ts | 32 | declare function nativeCallbackStringThrow(callback: (value: string) => void): void; | CODE |
| LOW⚡ | tests/ffi/main.ts | 41 | declare function nativeRetainedRawSetFlush(callback: (value: number) => void): void; | CODE |
| LOW⚡ | tests/ffi/main.ts | 50 | function printFunctionBoundResults() { | CODE |
| LOW | tests/test262/test-typed-array.js | 159 | function ctorArgFactoryMatchesSome(argFactory, features) { | CODE |
| LOW | tests/test262/test-typed-array.js | 208 | function testWithAllTypedArrayConstructors(f, constructors, includeArgFactories, excludeArgFactories) { | CODE |
| LOW⚡ | tests/test262/test-typed-array.js | 245 | function testWithTypedArrayConstructors(f, constructors, includeArgFactories, excludeArgFactories) { | CODE |
| LOW⚡ | tests/test262/test-typed-array.js | 250 | function testWithBigIntTypedArrayConstructors(f, constructors, includeArgFactories, excludeArgFactories) { | CODE |
| LOW⚡ | tests/test262/test-typed-array.js | 256 | function testWithNonAtomicsFriendlyTypedArrayConstructors(f, includeArgFactories, excludeArgFactories) { | CODE |
| LOW⚡ | tests/test262/test-typed-array.js | 265 | function testWithAtomicsFriendlyTypedArrayConstructors(f, includeArgFactories, excludeArgFactories) { | CODE |
| LOW | tests/test262/test-typed-array.js | 281 | function testTypedArrayConversions(byteConversionValues, fn) { | CODE |
| LOW | tests/test262/test-typed-array.js | 299 | function isFloatTypedArrayConstructor(arg) { | CODE |
| LOW | tests/test262/test-typed-array.js | 303 | function floatTypedArrayConstructorPrecision(FA) { | CODE |
| LOW | docs/src/app/node-compatibility/page.tsx | 3 | export default function LegacyNodeCompatibilityPage() { | CODE |
| LOW | packages/compiler/test/bytes-element-emission.test.ts | 85 | function receiverReassignmentFixture(): IrModule { | CODE |
| LOW | packages/compiler/test/promise-union-widening.test.ts | 11 | function promisePayloadConversions(functions: IrFunction[]): number { | CODE |
| LOW | packages/compiler/ambient/node-fallback/v8.d.ts | 33 | export function setHeapSnapshotNearHeapLimit(limit: number): void; | CODE |
| LOW | packages/compiler/ambient/node-fallback/v8.d.ts | 38 | export function isStringOneByteRepresentation(content: string): boolean; | CODE |
| LOW | packages/compiler/ambient/node-fallback/util.d.ts | 105 | export function convertProcessSignalToExitCode(signalCode: string): number; | CODE |
| LOW | packages/compiler/ambient/node-fallback/net.d.ts | 393 | export function getDefaultAutoSelectFamilyAttemptTimeout(): number; | CODE |
| LOW | packages/compiler/ambient/node-fallback/net.d.ts | 394 | export function setDefaultAutoSelectFamilyAttemptTimeout(value: number): void; | CODE |
| LOW | packages/compiler/shims/undici/core/api.ts | 49 | export function hasCustomGlobalDispatcher(): boolean { | CODE |
| LOW | packages/compiler/shims/chalk/v5.ts | 386 | function stringEncaseCRLFWithFirstIndex( | CODE |
| LOW | packages/compiler/src/startup-cache.ts | 21 | export function precompiledRuntimePackTarget( | CODE |
| LOW | packages/compiler/src/heap-collection.ts | 39 | export function collectGarbageUnderHeapPressure(): void { | CODE |
| LOW | packages/compiler/src/index.ts | 526 | function clearCompileSessionCaches(): void { | CODE |
| LOW | packages/compiler/src/index.ts | 641 | async function assertCompileOptionsCompatibility( | CODE |
| LOW | packages/compiler/src/index.ts | 654 | function assertCompileResultCompatibility(result: CompileResult): void { | CODE |
| LOW | packages/compiler/src/index.ts | 682 | async function installRuntimeDataBesideExecutable( | CODE |
| LOW | packages/compiler/src/index.ts | 953 | async function removeNativeProgramObject( | CODE |
| LOW | packages/compiler/src/index.ts | 1032 | function usesPrecompiledRuntimePack(opts: CompileRequestOptions, backend: "llvm"): boolean { | CODE |
| LOW | packages/compiler/src/index.ts | 1532 | async function prepareExecutableInputInChild( | CODE |
| LOW | packages/compiler/src/executable/executable-cache.ts | 497 | export async function recordEarlyExecutableNativeBuild( | CODE |
| LOW | packages/compiler/src/executable/executable-cache.ts | 509 | export async function hasEarlyExecutableNativeBuild( | CODE |
| LOW | packages/compiler/src/executable/executable-cache.ts | 535 | function implementationProofIntegrity( | CODE |
| LOW | packages/compiler/src/executable/executable-cache.ts | 562 | function executableFrontendOutputExclusions( | CODE |
| LOW | packages/compiler/src/executable/executable-cache.ts | 804 | export async function readRoutedExecutableCache( | CODE |
| LOW | packages/compiler/src/executable/executable-cache.ts | 867 | export async function publishEarlyExecutableRoute( | CODE |
| LOW | packages/compiler/src/executable/executable-cache.ts | 913 | export async function publishEarlyExecutableCache( | CODE |
| LOW | …/compiler/src/frontend/npm-static-cjs-exports-alias.ts | 75 | export function normalizeCjsFunctionExports(sf: ts.SourceFile): string | null { | CODE |
| LOW | packages/compiler/src/frontend/runtime-resolve.ts | 129 | export function requireResolvePathsRuntime( | CODE |
| LOW | packages/compiler/src/frontend/npm-static.ts | 54 | export function npmStaticLexerVisibleNames(path: string): readonly string[] { | CODE |
| LOW | packages/compiler/src/frontend/npm-static.ts | 109 | export function setNpmStaticDeclarationOverloads( | CODE |
| LOW | packages/compiler/src/frontend/npm-static.ts | 177 | function registerWorkspaceRealpath(pkg: string, nmDir: string): void { | CODE |
| 783 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | native/llvm-codegen/src/profile-blocks.cpp | 1 | #include "profile-blocks.h" | COMMENT |
| LOW | native/llvm-codegen/src/profile-blocks.h | 1 | #pragma once | COMMENT |
| LOW | native/llvm-codegen/src/profile-blocks.h | 21 | COMMENT | |
| LOW | native/llvm-codegen/src/runtime-import.cpp | 1 | #include "runtime-import.h" | COMMENT |
| LOW | native/llvm-codegen/src/runtime-import.cpp | 21 | #include <memory> | COMMENT |
| LOW | native/llvm-codegen/src/cache.h | 1 | #pragma once | COMMENT |
| LOW | native/llvm-codegen/src/profile.cpp | 1 | #include "profile.h" | COMMENT |
| LOW | native/llvm-codegen/src/emit.cpp | 1 | #include "emit.h" | COMMENT |
| LOW | native/llvm-codegen/src/emit.cpp | 21 | #include "llvm/Bitcode/BitcodeReader.h" | COMMENT |
| LOW | native/llvm-codegen/src/emit.cpp | 41 | #include "llvm/ProfileData/InstrProfReader.h" | COMMENT |
| LOW | native/llvm-codegen/src/emit.cpp | 61 | #include <atomic> | COMMENT |
| LOW | native/llvm-codegen/src/emit.cpp | 161 | // a second instrumentation after inlining recorded (inspectProfile). | COMMENT |
| LOW | native/llvm-codegen/src/emit.cpp | 241 | // type anywhere shifts the counter, so the module after importing, the | COMMENT |
| LOW | native/llvm-codegen/src/emit.cpp | 381 | // Whether F has counts from a profile. | COMMENT |
| LOW | native/llvm-codegen/src/emit.cpp | 881 | // The O2 simplification before the link repeated most of the backend's | COMMENT |
| LOW | native/llvm-codegen/src/cache.cpp | 1 | #include "cache.h" | COMMENT |
| LOW | native/llvm-codegen/src/partition.cpp | 1 | #include "partition.h" | COMMENT |
| LOW | native/llvm-codegen/src/partition.cpp | 761 | // is placed by its own name, unless its body is under AddressOnlyBytes (a | COMMENT |
| LOW | native/llvm-codegen/src/partition.h | 1 | #pragma once | COMMENT |
| LOW | native/llvm-codegen/src/partition.h | 21 | llvm::StringSet<> PublicSymbols; | COMMENT |
| LOW | native/llvm-codegen/src/target.h | 21 | #endif | COMMENT |
| LOW | native/llvm-codegen/src/cpu-copies.h | 1 | #pragma once | COMMENT |
| LOW | native/llvm-codegen/src/cpu-copies.h | 21 | // the level the executable chose. | COMMENT |
| LOW | native/llvm-codegen/src/runtime-unit.cpp | 1 | // `runtime-unit`: turn one optimized runtime translation unit into the | COMMENT |
| LOW | native/llvm-codegen/src/runtime-unit.cpp | 21 | #include "llvm/ADT/SmallString.h" | COMMENT |
| LOW | native/llvm-codegen/src/runtime-import.h | 1 | #pragma once | COMMENT |
| LOW | native/llvm-codegen/src/runtime-import.h | 21 | // program declares and follows calls with a size limit that decays per hop. | COMMENT |
| LOW | native/llvm-codegen/src/emit.h | 21 | std::string Target; | COMMENT |
| LOW | native/llvm-codegen/src/cpu-copies.cpp | 1 | #include "cpu-copies.h" | COMMENT |
| LOW | native/llvm-codegen/src/main.cpp | 1 | #include "diagnostics.h" | COMMENT |
| LOW | tests/library-mode/callbacks/host_project.d.ts | 1 | // A project-owned declaration file is authored callback surface, unlike | COMMENT |
| LOW | tests/library-mode/teach/lib.ts | 1 | // K11 fixture: the structured trap-teaching channel. | COMMENT |
| LOW | tests/library-mode/contract-order/lib.ts | 1 | // Ask-3 §2 conformance fixture: the three adversarial declaration-order | COMMENT |
| LOW | tests/corpus/1564-fs-watch.ts | 1 | // fs.watch: "change" on a rewrite-in-place, "rename" when the name moves, | COMMENT |
| LOW | tests/corpus/2590-object-create-dynamic.js | 1 | // Object.create under --dynamic routes through the ENGINE's own | COMMENT |
| LOW | tests/corpus/2388-tonumber-grammar-zoo.ts | 1 | // The ToNumber(string) grammar zoo — Number(aString) through the ECMA-262 | COMMENT |
| LOW | tests/corpus/7260-teardown-segments.ts | 1 | // Teardowns that hand their blocks back in order. | COMMENT |
| LOW | tests/corpus/function-extra-optional-params.ts | 1 | // A function value with MORE parameters than the slot it flows into: | COMMENT |
| LOW | tests/corpus/2510-dyn-evolving-array-map.ts | 1 | // An evolving-`any` array of pushed closures flowing into a monomorphized | COMMENT |
| LOW | tests/corpus/8530-union-array-filter.ts | 81 | // The empty array is spelled with its arm's type: a bare `[]` literal | COMMENT |
| LOW | tests/corpus/2614-trap-binding-later-writes.ts | 1 | // @exit: 1 | COMMENT |
| LOW | tests/corpus/1770-assert-dyn-strict.ts | 1 | // assert.strictEqual / notStrictEqual over CHECKED-DYNAMIC operands — | COMMENT |
| LOW | tests/corpus/1002-json-parse-cast.ts | 1 | // JSON.parse returns `unknown` (a dynamic value); a checked cast | COMMENT |
| LOW | tests/corpus/2615-nullish-field-record-binding.ts | 1 | // @exit: 1 | COMMENT |
| LOW | tests/corpus/1471-child-unref.ts | 1 | // child.unref(): an unref'd child does not keep the event loop alive — | COMMENT |
| LOW | tests/corpus/8414-proc-stream-writable-length.ts | 1 | // process.stdout/stderr.writableLength is the bytes queued behind the last | COMMENT |
| LOW | tests/corpus/2360-tuple-to-array.ts | 1 | // A TUPLE flowing into an array slot — the `as const` table pattern | COMMENT |
| LOW | tests/corpus/2586-object-assign-spread.js | 1 | // Variadic-spread Object.assign over checked-dynamic targets — the | COMMENT |
| LOW | tests/corpus/7305-string-unit-loop-versions.ts | 1 | // charCodeAt scans of strings that are not ASCII, repeated so the runtime | COMMENT |
| LOW | tests/corpus/2194-ambient-undef-chains.ts | 1 | // @exit: 1 | COMMENT |
| LOW | tests/corpus/2593-generic-inert-bindings.ts | 1 | // @transform-types | COMMENT |
| LOW | tests/corpus/4413-cycle-old-late-death.ts | 1 | // Late-dying survivors of the cycle collector. | COMMENT |
| LOW | tests/corpus/1666-dyn-fn-identity.ts | 1 | // The checked-dynamic function boundary from TypeScript: a typed closure | COMMENT |
| LOW | tests/corpus/1531-process-arch-versions.ts | 21 | // getuid/getgid — the POSIX identities (same user runs both worlds, so | COMMENT |
| LOW | tests/corpus/1792-searchparams-encoding.ts | 1 | // URLSearchParams parse/serialize edges, byte-for-byte against Node's | COMMENT |
| LOW | tests/corpus/8761-js-reduce-untyped-answer.js | 1 | // A reduce callback's answer is what the accumulator becomes, whatever the | COMMENT |
| LOW | tests/corpus/2171-island-json-stringify.ts | 1 | // JSON.stringify of ISLAND values — the error-inspection catch-22: the | COMMENT |
| LOW | tests/corpus/2562-intl-numberformat-en-us.ts | 1 | // The composed en-US Intl.NumberFormat forms with default options — | COMMENT |
| LOW | tests/corpus/1003-json-parse-unions.ts | 1 | // Casting JSON into UNION types: arms are tried in canonical order and the | COMMENT |
| LOW | tests/corpus/6524-match-or-empty-tuple.ts | 1 | // `''.match(/x/) || []` drives tsgo into the TupleType interface-conversion | COMMENT |
| 432 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/corpus/4598-map-set-clear-reuse.ts | 23 | // ── number keys: dense table grown large, then cleared and reused ────────── | COMMENT |
| MEDIUM | tests/corpus/4598-map-set-clear-reuse.ts | 45 | // ── number keys: mass deletion, then iteration and lookups ──────────────── | COMMENT |
| MEDIUM | tests/corpus/4598-map-set-clear-reuse.ts | 80 | // ── string keys ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/corpus/4598-map-set-clear-reuse.ts | 96 | // ── object keys ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/corpus/4598-map-set-clear-reuse.ts | 111 | // ── clear and delete during iteration (Node's live iteration) ──────────── | COMMENT |
| MEDIUM | tests/corpus/2625-bytes-views.ts | 9 | // ── Buffer.slice / Buffer.subarray are views ────────────────────────── | COMMENT |
| MEDIUM | tests/corpus/2625-bytes-views.ts | 41 | // ── typed arrays: subarray aliases, slice copies ────────────────────── | COMMENT |
| MEDIUM | tests/corpus/2625-bytes-views.ts | 57 | // ── Buffer.from(x.buffer, byteOffset?, length?) shares storage ──────── | COMMENT |
| MEDIUM | tests/corpus/2625-bytes-views.ts | 74 | // ── TypedArray.prototype.fill (per element, coercing) ───────────────── | COMMENT |
| MEDIUM | tests/corpus/2448-entries-null-arms-regex-arrays.ts | 89 | // ── JSON.stringify over a dyn root holding undefined ───────────────────── | COMMENT |
| MEDIUM | tests/corpus/2447-island-boundary-slots/main.ts | 8 | // ── intrinsic argument slots ───────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/corpus/2447-island-boundary-slots/main.ts | 42 | // ── `new Set(seed)` over package-exported arrays ───────────────────────── | COMMENT |
| MEDIUM | packages/runtime/src/scr_tls.c | 1914 | /* ── the fetch tunnel through an https:// proxy ─────────────────────── | COMMENT |
| MEDIUM | packages/compiler/test/cjs-lexer-cases.ts | 18 | // ── the module.exports = { ... } table scan ────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/test/cjs-lexer-cases.ts | 202 | // ── require(...) table values and spreads: REEXPORTS ───────────────── | COMMENT |
| MEDIUM | packages/compiler/test/cjs-lexer-cases.ts | 297 | // ── exports.NAME / ['string'] assignments: position-blind ──────────── | COMMENT |
| MEDIUM | packages/compiler/test/cjs-lexer-cases.ts | 328 | // ── module.exports = require(...): leading-require reexports ───────── | COMMENT |
| MEDIUM | packages/compiler/test/cjs-lexer-cases.ts | 432 | // ── Object.defineProperty descriptor shapes ─────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/test/cjs-lexer-cases.ts | 518 | // ── the esbuild annotation and __export helper ──────────────────────── | COMMENT |
| MEDIUM | packages/compiler/test/cjs-lexer-cases.ts | 535 | // ── the transpiler star-reexport patterns ───────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/test/cjs-lexer-cases.ts | 681 | // ── the Babel copy loop ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/shims/chalk/v5.ts | 88 | // ── ansi-styles ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/shims/chalk/v5.ts | 225 | // ── supports-color ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/shims/chalk/v5.ts | 340 | // ── the builder ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/shims/hot-shots/client.ts | 99 | // ── helpers ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/shims/hot-shots/client.ts | 171 | // ── transports ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/shims/hot-shots/client.ts | 433 | // ── the client ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …ompiler/src/frontend/shape-inference/static-objects.ts | 963 | // ── 1. constructors to classes ────────────────────────────────────── | COMMENT |
| MEDIUM | …ompiler/src/frontend/shape-inference/static-objects.ts | 1142 | // ── 2. namespace functions to direct functions ───────────────────── | COMMENT |
| MEDIUM | …ompiler/src/frontend/shape-inference/static-objects.ts | 1178 | // ── cross-file references ────────────────────────────────────────── | COMMENT |
| MEDIUM | …ompiler/src/frontend/shape-inference/static-objects.ts | 1511 | // ── 4. constant primitive members ────────────────────────────────── | COMMENT |
| MEDIUM | …ompiler/src/frontend/shape-inference/static-objects.ts | 1655 | // ── 3. calls through constant function tables ────────────────────── | COMMENT |
| MEDIUM | …es/compiler/src/frontend/lowering/key-order-witness.ts | 545 | // ── collection ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/compiler/src/frontend/lowering/key-order-witness.ts | 777 | // ── width spreads ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/compiler/src/frontend/lowering/key-order-witness.ts | 925 | // ── scope ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/compiler/src/frontend/lowering/key-order-witness.ts | 967 | // ── presence classes and late-write constraints ───────────────────── | COMMENT |
| MEDIUM | …es/compiler/src/frontend/lowering/key-order-witness.ts | 1034 | // ── ordered spreads ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/compiler/src/frontend/lowering/key-order-witness.ts | 1089 | // ── witness sequences ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/compiler/src/frontend/lowering/key-order-witness.ts | 1174 | // ── resolution over inheritance edges ─────────────────────────────── | COMMENT |
| MEDIUM | …es/compiler/src/frontend/lowering/key-order-witness.ts | 1343 | // ── observation ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/compiler/src/frontend/lowering/key-order-witness.ts | 1370 | // ── apply ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …es/compiler/src/frontend/lowering/key-order-witness.ts | 1422 | // ── per-instance orders ───────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/src/frontend/lowering/divergences.ts | 45 | // ── pass 1: syntactic collection ──────────────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/src/frontend/lowering/divergences.ts | 150 | // ── width copies: writes or identity comparisons through a copy ───── | COMMENT |
| MEDIUM | packages/compiler/src/frontend/lowering/divergences.ts | 331 | // ── downcasts a call provably feeds a sibling class ──────────────── | COMMENT |
| MEDIUM | packages/compiler/src/wasm/discover.ts | 149 | // ── source 1 and 2: the program's source text ─────────────────────── | COMMENT |
| MEDIUM | packages/compiler/src/wasm/discover.ts | 259 | // ── source 3: package files ───────────────────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/src/wasm/discover.ts | 279 | // ── source 4: configuration ───────────────────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/src/wasm/translate.ts | 992 | // ── memory ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/src/wasm/translate.ts | 1034 | // ── constant expressions ──────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/src/wasm/translate.ts | 1102 | // ── control ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/src/wasm/binary.ts | 421 | // ── types ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/src/wasm/binary.ts | 603 | // ── sections ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/src/wasm/binary.ts | 828 | // ── constant expressions ──────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/src/wasm/binary.ts | 941 | // ── code ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/src/wasm/binary.ts | 1658 | // ── decode-only scanning (proposals outside the translatable set) ───── | COMMENT |
| MEDIUM | packages/compiler/src/backend/cycle-analysis.test.ts | 328 | // ── immutable edges ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/src/backend/llvm/emitter.ts | 1822 | // ── per-function state (reset in emitFunction) ───────────────────────── | COMMENT |
| MEDIUM | packages/compiler/src/backend/llvm/emitter.ts | 2848 | // ── types ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/compiler/src/backend/llvm/emitter.ts | 2868 | // ── module assembly ───────────────────────────────────────────────────── | COMMENT |
| 11 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tests/corpus/6024-object-literal-method-slot-return.ts | 83 | print(s.then, depth + 1); | CODE |
| HIGH⚡ | tests/corpus/6024-object-literal-method-slot-return.ts | 88 | print(s.body, depth + 1); | CODE |
| HIGH⚡ | tests/corpus/6024-object-literal-method-slot-return.ts | 92 | print(s.tryBody, depth + 1); | CODE |
| HIGH⚡ | tests/corpus/6024-object-literal-method-slot-return.ts | 96 | print(s.finallyBody, depth + 1); | CODE |
| HIGH | tests/corpus/6024-object-literal-method-slot-return.ts | 109 | print(stmts, 0); | CODE |
| HIGH | tests/corpus/2434-deferred-init-fields.ts | 21 | print(msg: string): void { | CODE |
| HIGH⚡ | tests/corpus/error-prototype-tostring.js | 16 | print(first); | CODE |
| HIGH⚡ | tests/corpus/error-prototype-tostring.js | 17 | print(second); | CODE |
| HIGH⚡ | tests/corpus/error-prototype-tostring.js | 24 | print(original); | CODE |
| HIGH | tests/corpus/2041-mixin-values.ts | 30 | print() { | CODE |
| HIGH | tests/corpus/2440-console-inspect-args.ts | 9 | print("imported %s %d", "log", 3); | CODE |
| HIGH | tests/corpus/2440-console-inspect-args.ts | 27 | print("shadow"); | CODE |
| HIGH⚡ | tests/corpus/error-tostring-overrides.ts | 20 | print(new Error("base")); | CODE |
| HIGH⚡ | tests/corpus/error-tostring-overrides.ts | 21 | print(new TypeError("type")); | CODE |
| HIGH⚡ | tests/corpus/error-tostring-overrides.ts | 22 | print(new PlainError("plain")); | CODE |
| HIGH⚡ | tests/corpus/error-tostring-overrides.ts | 23 | print(new CustomError("one")); | CODE |
| HIGH⚡ | tests/corpus/error-tostring-overrides.ts | 24 | print(new SpecificError("two")); | CODE |
| HIGH⚡ | tests/corpus/error-tostring-overrides.ts | 25 | print(new InheritedError("three")); | CODE |
| HIGH | tests/corpus/util-parseargs-wrapped/main.ts | 19 | print(["build", "input.ts", "-o", "program", "--verbose", "--no-keep", "--include=one", "--include", "two"]); | CODE |
| HIGH | tests/corpus/util-parseargs-wrapped/main.ts | 20 | print([]); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | .github/workflows/ci.yml | 188 | # programs are balanced by measured cost, tests/harness/shard.ts). | COMMENT |
| MEDIUM⚡ | .github/workflows/ci.yml | 194 | # artifact the harness README documents for local parallel suites. | COMMENT |
| MEDIUM⚡ | .github/workflows/ci.yml | 202 | # (scripts/ci-test-plan.mjs, tests/harness/lsan.supp). | COMMENT |
| MEDIUM⚡ | .github/workflows/ci.yml | 207 | # (tests/harness/shard.ts). The twenty shards' unions run every case | COMMENT |
| MEDIUM | .github/workflows/ci.yml | 926 | # The helper differential uses the harness's stable per-case sharding, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/corpus/5225-url-format-whatwg.ts | 14 | "mailto:someone@example.org", | CODE |
| LOW | tests/corpus/5224-url-format-objects.ts | 21 | { protocol: "mailto:", pathname: "me@example.org" }, | CODE |
| LOW | tests/corpus/7090-x509-check-names.ts | 119 | for (const e of ["ops@example.com", "OPS@EXAMPLE.COM", "admin@example.com"]) console.log("email", e, leaf.checkEmail(e)) | CODE |
| LOW | tests/corpus/7090-x509-check-names.ts | 120 | console.log("email plain", plain.checkEmail("plain@example.org"), plain.checkEmail("plain@example.org", { subject: "alwa | CODE |
| LOW | …er/src/frontend/lowering/containers/indexed-objects.ts | 1596 | fields: Map<string, WidthLift | "dyn" | "placeholder"> | null; | CODE |
| LOW | …er/src/frontend/lowering/containers/indexed-objects.ts | 1612 | const fields = new Map<string, WidthLift | "dyn" | "placeholder">(); | CODE |
| LOW | …er/src/frontend/lowering/containers/indexed-objects.ts | 1631 | fields.set(ff.name, "placeholder"); | CODE |
| LOW | …er/src/frontend/lowering/containers/indexed-objects.ts | 1788 | lift === "placeholder" | CODE |
| LOW | packages/compiler/src/ir/codec.generated.ts | 228 | const KEYS201: readonly string[] = ["path","size","sha256","placeholder"]; | CODE |
| LOW | packages/compiler/src/ir/codec.generated.ts | 4747 | const f3 = r.tag(2, "IrModule.nodeIsland.modules.files[].placeholder") === 0 ? undefined : (r.bool() as NonNullable<No | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | packages/compiler/src/frontend/module-syntax.ts | 97 | n.importClause.namedBindings.elements.nodes.some((el) => el.name.text === "__require") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …lls/technical-writer/references/editorial-standards.md | 3 | Apply these standards to the passage and its surrounding section. They are editing criteria, not proof of authorship. A | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | packages/compiler/shims/hono-node-server/v2.ts | 558 | async function handleRequest( | CODE |