Rust-based platform for the Web
This report summarizes scanner evidence for swc-project/swc, a Rust project with 34,206 GitHub stars. SynthScan examined 8,408,511 lines of code across 66250 source files, recording 5990 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 0.8 (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? 5702 finding(s).
Are imports declared and package/API names verified? 280 finding(s).
Are wrappers, guards, and repeated structures necessary? 2462 finding(s).
Which changes need focused human review? 5990 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 5990 distinct pattern matches across 17 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 | deny.toml | 1 | # This template contains all of the possible sections and their default values | COMMENT |
| LOW | deny.toml | 101 | # The SPDX expression for the license requirements of the crate | COMMENT |
| LOW | deny.toml | 121 | # the license expression. If the contents match, the clarification will be used | COMMENT |
| LOW | deny.toml | 141 | # https://embarkstudios.github.io/cargo-deny/checks/bans/cfg.html | COMMENT |
| LOW | deny.toml | 161 | skip = [] | COMMENT |
| LOW | crates/swc_bundler/tests/deno/deno-8620/entry.ts | 1 | /// <reference lib="esNext" /> | COMMENT |
| LOW | …cache/deno/a326ef2822310f4c45eb62e7ce056e016af21a3d.ts | 1 | // Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/pako/lib/zlib/messages.js | COMMENT |
| LOW | …cache/deno/5fc5ebda42c03e71783d60536d4cd9ef9cd741ea.ts | 21 | // * @see Code pen https://codepen.io/erikvullings/pen/ejyBYg | COMMENT |
| LOW | …cache/deno/5fc5ebda42c03e71783d60536d4cd9ef9cd741ea.ts | 41 | // } else { | COMMENT |
| LOW | …cache/deno/61456a3b6280d70ece423de98f0a149141e9a9e9.ts | 321 | if (joined === undefined) joined = firstPart = path; | COMMENT |
| LOW | …cache/deno/d20887b7b6b613d2656b487efebc04b646d470ec.ts | 161 | // Timeout | COMMENT |
| LOW | …cache/deno/bd705585e60808ac127b186551171080b840de50.ts | 341 | COMMENT | |
| LOW | …cache/deno/b91d45b759e12ca159e06245cfda1767f41a49b1.ts | 341 | } | COMMENT |
| LOW | …cache/deno/713ca9591daaf5e3d7601641fb62d1af4277a397.ts | 1 | // Loaded from https://deno.land/std/fmt/colors.ts | COMMENT |
| LOW | …cache/deno/4507642b8b5992a8a74d16a6415658f9a77eb20f.ts | 1 | // Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/pako/lib/zlib/crc32.js | COMMENT |
| LOW | …cache/deno/01815f0bfc7c38ccb35716808b637adb22658131.ts | 1 | // Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/pako/lib/zlib/adler32.js | COMMENT |
| LOW | …cache/deno/828981bd87421b166442a2e592aa2d9c4ba63289.ts | 1 | // Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/pako/lib/zlib/constants.js | COMMENT |
| LOW | …cache/deno/d7d68c10dd5f46427e261776e4789111f8e73010.ts | 1 | // Loaded from https://deno.land/std@0.101.0/fmt/colors.ts | COMMENT |
| LOW | …cache/deno/4a2521dcf9309684b59e9161bffca655e9340708.ts | 461 | ) { | COMMENT |
| LOW | …cache/deno/2bb0930ebf629f0da142ad9e1271c5c148e4944e.ts | 1 | // Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/pako/lib/zlib/gzheader.js | COMMENT |
| LOW | …cache/deno/1b31922fc075365c794afbfbc4a9360d7a38e2a3.ts | 321 | function fill_window(s: any) { | COMMENT |
| LOW | …cache/deno/1b31922fc075365c794afbfbc4a9360d7a38e2a3.ts | 441 | // * bytes or up to end of window, whichever is less. | COMMENT |
| LOW | …cache/deno/5789057467243996929ecba6104592ddb762edc9.ts | 41 | #bytes!: number; | COMMENT |
| LOW | …cache/deno/be159932d1768f7fbd218488f0c9850b5362f41f.ts | 1 | // Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/pako/lib/zlib/trees.js | COMMENT |
| LOW | …cache/deno/be159932d1768f7fbd218488f0c9850b5362f41f.ts | 1181 | //Assert((ush)dist < (ush)MAX_DIST(s) && | COMMENT |
| LOW | …cache/deno/17b7e0e94277d71843128bf99b7f68405b1f5308.ts | 1 | // Loaded from https://deno.land/std@0.101.0/node/events.ts | COMMENT |
| LOW | …cache/deno/7c0ee352809cd72e176677ef30efb2786482f71b.ts | 341 | COMMENT | |
| LOW | …cache/deno/11ae24958a62172fdc6378c70238c9b5d5807de9.ts | 1 | // Loaded from https://deno.land/std@0.92.0/node/events.ts | COMMENT |
| LOW | …cache/deno/511b470a054c6ddf269c4ff3d9b60a11c529aca3.ts | 1 | // Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/pako/lib/zlib/deflate.js | COMMENT |
| LOW | …cache/deno/511b470a054c6ddf269c4ff3d9b60a11c529aca3.ts | 461 | // if (s.high_water < s.window_size) { | COMMENT |
| LOW | …cache/deno/28c92ae545e5e5ba5a1df5a7918d590089ce701d.ts | 321 | if (joined === undefined) joined = firstPart = path; | COMMENT |
| LOW | …cache/deno/737f22e1d52d7111bad0fbca4ac98156c56812ce.ts | 1 | // Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/pako/lib/zlib/inftrees.js | COMMENT |
| LOW | …cache/deno/3c65128068001f982b299c50aafd9729137c97f6.ts | 1 | // Loaded from https://deno.land/std@0.101.0/node/_util/_util_promisify.ts | COMMENT |
| LOW | …cache/deno/9b38878d3a3deb276cf1d6f2763b3cb6bbb994f1.ts | 341 | if (path.length > 0) { | COMMENT |
| LOW | …cache/deno/f23b63af8d11297d01a07776c5436bc350feb168.ts | 541 | // @ts-ignore | COMMENT |
| LOW | …cache/deno/caa27c2de3a7c563aabff926fafb3a9cdc9307ed.ts | 321 | if (joined === undefined) joined = firstPart = path; | COMMENT |
| LOW | …cache/deno/43b7cec7d69cb9e6669fb549f66fb9dd2c6e269a.ts | 41 | // while (true) { | COMMENT |
| LOW | …cache/deno/a142b5e1699303d9d84903b5d8ab47e4d70e663c.ts | 1 | // Loaded from https://deno.land/x/deno_image@v0.0.3/lib/decoders/fast-png/pako/lib/zlib/inflate.js | COMMENT |
| LOW | …cache/deno/a142b5e1699303d9d84903b5d8ab47e4d70e663c.ts | 1321 | // don't enable it for binary compatibility | COMMENT |
| LOW | …cache/deno/db7bc92d16faaeec9a24df1a4fe1df46b5518180.ts | 1 | // Loaded from https://deno.land/std@0.101.0/node/_util/_util_types.ts | COMMENT |
| LOW | …cache/deno/6f7edb35811a9cf784c67fdeffd2497d8bd4377e.ts | 141 | } | COMMENT |
| LOW | …cache/deno/b3ff9a3ddf249e9432acf35af1cd7f9655c46115.ts | 341 | COMMENT | |
| LOW | …cache/deno/c2897f055a87c27545600578ff624f3a597d0bbe.ts | 1 | // Loaded from https://deno.land/std@0.84.0/fmt/colors.ts | COMMENT |
| LOW | …cache/deno/9332e6f272be77a67cc92a5fc04e228c158f6435.ts | 341 | if (joined === undefined) return "."; | COMMENT |
| LOW | …cache/deno/42af7bbbde622a92649e4d8f524733b0b2d69442.ts | 341 | COMMENT | |
| LOW | …cache/deno/428ac176b112223e3c88facf799e013fc8626515.ts | 21 | COMMENT | |
| LOW | …cache/deno/3fd2dd13897d0ea45046ae4ea553294076710878.ts | 41 | COMMENT | |
| LOW | …cache/deno/5c699470e834bd40023f668f202941c89d2897a1.ts | 341 | } | COMMENT |
| LOW | …cache/deno/0a4173dba5b3054c0ecd1ca376e13a5c81b682a5.ts | 1201 | //Assert((ush)dist < (ush)MAX_DIST(s) && | COMMENT |
| LOW | …cache/deno/0a4173dba5b3054c0ecd1ca376e13a5c81b682a5.ts | 1221 | // } | COMMENT |
| LOW | …cache/deno/0b0bcf31fcc627ab2d8c38be6aaf7d0f7a9fefa3.ts | 341 | if (joined === undefined) return "."; | COMMENT |
| LOW | …cache/deno/f927879bbd704c07d0f8f1ffafab84dfbef21840.ts | 341 | if (path.length > 0) { | COMMENT |
| LOW | …cache/deno/1cc7ac0e1510d58095d23a75ae64e342c4d15559.ts | 341 | if (joined === undefined) return "."; | COMMENT |
| LOW | …cache/deno/793e9f07b35bed4156c8a285c3976d7324247570.ts | 321 | if (joined === undefined) joined = firstPart = path; | COMMENT |
| LOW | …cache/deno/6b30968b981eac9bfbfce10ed2c3d99893026b1c.ts | 21 | COMMENT | |
| LOW | …cache/deno/3107840a16f38d2c8595a86c1780768dcce3279f.ts | 41 | #bytes!: number; | COMMENT |
| LOW | …cache/deno/f3fc479f331dd963cd2b96063df6bf047890f887.ts | 1 | // Loaded from https://deno.land/std/node/events.ts | COMMENT |
| LOW | …cache/deno/02935e5502cec01d27691615f6fdbae907e86c3c.ts | 1 | // Loaded from https://deno.land/std@0.92.0/fmt/colors.ts | COMMENT |
| LOW | …cache/deno/280a12d7344b3f78c7ed991e74dd33dca76b6144.ts | 21 | "FNAME": 0x08, | COMMENT |
| LOW | …cache/deno/fc017a41bd63bc3b49e8cbdd0be35d392ce75701.ts | 41 | #bytes!: number; | COMMENT |
| 3049 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …undler/tests/fixture/deno-8574/output/entry.inlined.ts | 249 | function removeUndefinedProperties(obj) { | CODE |
| LOW | …es/swc_bundler/tests/fixture/deno-8574/output/entry.ts | 249 | function removeUndefinedProperties(obj) { | CODE |
| LOW | …o-8224/haystack-core/input/core/NormalizationLogger.ts | 125 | export function formatNormalizationMessage( | CODE |
| LOW | …cache/deno/2a4f10b4b743fbf437d81567a8a0af2ab149a14a.ts | 44 | function createLiteralTestFunction(value: string): TestFunction { | CODE |
| LOW | …cache/deno/e6647eb0c812a95a749b4c79c0af85b919afa64e.ts | 8 | export function handleStageInstanceDelete(data: DiscordGatewayPayload) { | CODE |
| LOW | …cache/deno/c02585e967a479a02b6800829a28c31c595dbf1c.ts | 44 | function createLiteralTestFunction(value: string): TestFunction { | CODE |
| LOW | …cache/deno/f1584b8487b243908a50cb4bbf2d0947f85bbb05.ts | 11 | export async function batchEditSlashCommandPermissions( | CODE |
| LOW | …cache/deno/446e35c82899823a5af983342b857d4efdfa2eae.ts | 10 | export async function handleMessageReactionRemove(data: DiscordGatewayPayload) { | CODE |
| LOW | …cache/deno/dd4de4357c673e8f86034dafd34ca328fe8c0b00.ts | 10 | export async function handleThreadMembersUpdate(data: DiscordGatewayPayload) { | CODE |
| LOW | …cache/deno/3589024f603e12aa898c36c2f1bf050d07274544.ts | 239 | function validateTypeImplementsInterface(context, type, iface) { | CODE |
| LOW | …cache/deno/3589024f603e12aa898c36c2f1bf050d07274544.ts | 288 | function validateTypeImplementsAncestors(context, type, iface) { | CODE |
| LOW | …cache/deno/3589024f603e12aa898c36c2f1bf050d07274544.ts | 357 | function createInputObjectCircularRefsValidator(context) { | CODE |
| LOW | …cache/deno/3589024f603e12aa898c36c2f1bf050d07274544.ts | 414 | function getAllImplementsInterfaceNodes(type, iface) { | CODE |
| LOW | …cache/deno/79d809cf48163d86f3ae2c8b17c41f6dc8cdff01.ts | 14 | export function ExecutableDefinitionsRule(context) { | CODE |
| LOW | …cache/deno/8af23c6c49fe41a2e5911a762db27a7c714713e0.ts | 11 | export async function editSlashCommandPermissions( | CODE |
| LOW | …cache/deno/053868eeb53e02742f74c3818b879bfbb1c39417.ts | 235 | function calculateMonthsDifference(bigger: number, smaller: number): number { | CODE |
| LOW | …cache/deno/2a8072d06fdc24bb0773d2daf7eb64c1469c432c.ts | 107 | function validateSlashOptionChoices( | CODE |
| LOW | …cache/deno/3ca6ae490be155fa7cff01b8012d58c846cffc82.ts | 44 | function createLiteralTestFunction(value: string): TestFunction { | CODE |
| LOW | …cache/deno/f847494aa9da71deb1b07cc642be3516d6bc2ffb.ts | 15 | export function VariablesAreInputTypesRule(context) { | CODE |
| LOW | …cache/deno/115a40773b0e1166b5298d48028e9f966d50d7c4.ts | 66 | function collectTransitiveDependencies(collected, depGraph, fromName) { | CODE |
| LOW | …cache/deno/ba390a93cb0a9047716d9c07d725fc1b9d3c71df.ts | 83 | export async function createDiscordenoVoiceState(guildId: bigint, data: VoiceState) { | CODE |
| LOW | …cache/deno/f61b66c032f511a7681d30d9aef6d0f2d2857c29.ts | 18 | export function PossibleTypeExtensionsRule(context) { | CODE |
| LOW | …cache/deno/ae15d5a03ffb871a71211082d815120179729c3d.ts | 8 | export function handleStageInstanceCreate(data: DiscordGatewayPayload) { | CODE |
| LOW | …cache/deno/ce75f59ec68f7f35e428dd589cacf6a9124a097e.ts | 235 | function calculateMonthsDifference(bigger: number, smaller: number): number { | CODE |
| LOW | …cache/deno/7faac7b86f16e26d4cf5cf5dad053117f49c4877.ts | 14 | export function VariablesInAllowedPositionRule(context) { | CODE |
| LOW | …cache/deno/2f65dd026e3580ddb7f5bb00827e6fa24dd11b5d.ts | 10 | export async function getSlashCommandPermission(guildId: bigint, commandId: bigint) { | CODE |
| LOW | …cache/deno/e0cd953338b5f75ce93555b731d80e127cb15f8a.ts | 126 | export function assertValidExecutionArguments(schema, document, rawVariableValues) { | CODE |
| LOW | …cache/deno/e0cd953338b5f75ce93555b731d80e127cb15f8a.ts | 377 | function doesFragmentConditionMatch(exeContext, fragment, type) { | CODE |
| LOW | …cache/deno/e0cd953338b5f75ce93555b731d80e127cb15f8a.ts | 484 | function completeValueCatchingError(exeContext, returnType, fieldNodes, info, path, result) { | CODE |
| LOW | …cache/deno/e0cd953338b5f75ce93555b731d80e127cb15f8a.ts | 699 | function collectAndExecuteSubfields(exeContext, returnType, fieldNodes, path, result) { | CODE |
| LOW | …cache/deno/d57983204e1f809a3eff59710d532b336db31a98.ts | 15 | export function UniqueDirectivesPerLocationRule(context) { | CODE |
| LOW | …cache/deno/789147538de69d96e7eae3e6897003d0ff7edca5.ts | 42 | function createLiteralTestFunction(value: string): TestFunction { | CODE |
| LOW | …cache/deno/dbb8df5fa62f523f874fb0b09bf74993b7daf2a6.ts | 233 | function calculateMonthsDifference(bigger: number, smaller: number): number { | CODE |
| LOW | …cache/deno/2e1ecc93522c62e980636553abea59d20dcaf7f5.ts | 10 | export async function handleGuildIntegrationsUpdate(data: DiscordGatewayPayload) { | CODE |
| LOW | …cache/deno/12d2f13dbbe89656712da3af759c47452a5c1ba3.ts | 213 | export async function assertCallbackErrorUncaught( | CODE |
| LOW | …cache/deno/3798c8a49f0bf5773b960edc923b342587d24ab2.ts | 16 | export function FragmentsOnCompositeTypesRule(context) { | CODE |
| LOW | …cache/deno/16f800703b66ea01291d3e45b0fd004dd60ed688.ts | 8 | export function handleApplicationCommandDelete(data: DiscordGatewayPayload) { | CODE |
| LOW | …cache/deno/13302b6e4b7bfb7b8c496b9eb7fb4b383ca294c8.ts | 38 | export function KnownArgumentNamesOnDirectivesRule(context) { | CODE |
| LOW | …cache/deno/18f9b2005cbb455af48eb310c3ea2f787cfd071c.ts | 1544 | function OrdinaryDefineOwnMetadata( | CODE |
| LOW | …cache/deno/8b82836ea351f8ab43db51362140df3d6e9cd245.ts | 8 | export function handleStageInstanceUpdate(data: DiscordGatewayPayload) { | CODE |
| LOW | …cache/deno/1a961bff3c46f42c2f242228b25667e674f87baa.ts | 18 | export function ProvidedRequiredArgumentsRule(context) { | CODE |
| LOW | …cache/deno/1a961bff3c46f42c2f242228b25667e674f87baa.ts | 51 | export function ProvidedRequiredArgumentsOnDirectivesRule(context) { | CODE |
| LOW | …cache/deno/2515a04cfb871afc51045e85a6b10d3247354723.ts | 59 | export async function calculateChannelOverwrites( | CODE |
| LOW | …cache/deno/2515a04cfb871afc51045e85a6b10d3247354723.ts | 167 | export async function getMissingGuildPermissions( | CODE |
| LOW | …cache/deno/2515a04cfb871afc51045e85a6b10d3247354723.ts | 179 | export async function getMissingChannelPermissions( | CODE |
| LOW | …cache/deno/2515a04cfb871afc51045e85a6b10d3247354723.ts | 204 | export function requireBotGuildPermissions(guild: bigint | DiscordenoGuild, permissions: PermissionStrings[]) { | CODE |
| LOW | …cache/deno/2515a04cfb871afc51045e85a6b10d3247354723.ts | 210 | export async function requireChannelPermissions( | CODE |
| LOW | …cache/deno/2515a04cfb871afc51045e85a6b10d3247354723.ts | 223 | export function requireBotChannelPermissions(channel: bigint | DiscordenoChannel, permissions: PermissionStrings[]) { | CODE |
| LOW | …cache/deno/2515a04cfb871afc51045e85a6b10d3247354723.ts | 249 | export async function requireOverwritePermissions(guildOrId: bigint | DiscordenoGuild, overwrites: Overwrite[]) { | CODE |
| LOW | …cache/deno/9869d98ee939ba8e5f6c333c8d745063f17cad68.ts | 235 | function calculateMonthsDifference(bigger: number, smaller: number): number { | CODE |
| LOW | …cache/deno/d36dce5b31e558abc5403810471c241b19486435.ts | 9 | export async function removeDiscoverySubcategory(guildId: bigint, categoryId: number) { | CODE |
| LOW | …cache/deno/7b1fc30e6da24c4528ee737cabf5dc299c4e923c.ts | 10 | export async function handleMessageReactionRemoveAll(data: DiscordGatewayPayload) { | CODE |
| LOW | …cache/deno/818689de8c644d3a599c7a38fd4be5dd96f18bb1.ts | 54 | function getDirectiveLocationForASTPath(ancestors) { | CODE |
| LOW | …cache/deno/818689de8c644d3a599c7a38fd4be5dd96f18bb1.ts | 119 | function getDirectiveLocationForOperation(operation) { | CODE |
| LOW | …cache/deno/635cf8b09e7ff6a6ed019da4e7138ffcc79f40d3.ts | 8 | export function formatResultToModelInstance( | CODE |
| LOW | …cache/deno/987fe90be7227917481e81f94403aeafa64835ca.ts | 40 | export function getBlockStringIndentation(lines) { | CODE |
| LOW | …cache/deno/03890a1957ff2569db77447abb160e420ce1176f.ts | 11 | export async function getOriginalInteractionResponse(token: string) { | CODE |
| LOW | …cache/deno/c2302aee2f4be0793fef68ba297edfe23ac4b272.ts | 13 | export function LoneAnonymousOperationRule(context) { | CODE |
| LOW | …cache/deno/6ff7a6b1cf0952d583431673b923b57ecb13760d.ts | 29 | export function OverlappingFieldsCanBeMergedRule(context) { | CODE |
| LOW | …cache/deno/6ff7a6b1cf0952d583431673b923b57ecb13760d.ts | 108 | function findConflictsWithinSelectionSet(context, cachedFieldsAndFragmentNames, comparedFragmentPairs, parentType, selec | CODE |
| 2394 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …xec/deno-8224/haystack-core/input/filter/TokenValue.ts | 56 | * @return True if the type matches. | COMMENT |
| HIGH | …xec/deno-8224/haystack-core/input/filter/TokenValue.ts | 67 | * @return True if the objects are equal. | COMMENT |
| HIGH | …o-8224/haystack-core/input/filter/TokenRelationship.ts | 48 | * @return True if the type matches. | COMMENT |
| HIGH | …o-8224/haystack-core/input/filter/TokenRelationship.ts | 59 | * @return True if the objects are equal. | COMMENT |
| HIGH | …-exec/deno-8224/haystack-core/input/filter/TokenObj.ts | 51 | * @return True if the type matches. | COMMENT |
| HIGH | …-exec/deno-8224/haystack-core/input/filter/TokenObj.ts | 62 | * @return True if the objects are equal. | COMMENT |
| HIGH | …eno-exec/deno-8224/haystack-core/input/filter/Token.ts | 27 | * @return True if the type matches. | COMMENT |
| HIGH | …eno-exec/deno-8224/haystack-core/input/filter/Token.ts | 36 | * @return True if the objects are equal. | COMMENT |
| HIGH | …xec/deno-8224/haystack-core/input/filter/TokenPaths.ts | 44 | * @return True if the type matches. | COMMENT |
| HIGH | …xec/deno-8224/haystack-core/input/filter/TokenPaths.ts | 55 | * @return True if the objects are equal. | COMMENT |
| HIGH | …cache/deno/5fe5ed937aff5c72d7b86693201f430a0190f996.ts | 107 | * @return True on success, false or error message on error. | COMMENT |
| HIGH | …cache/deno/0ee1e04aa3313526b5b5280d4b60128e8867138f.ts | 146 | * @return True on success, false or error message on error. | COMMENT |
| HIGH | …cache/deno/e4a376507b2178de7ad97da524b6e2de5718912d.ts | 116 | * @return True on success, false or error message on error. | COMMENT |
| HIGH | …cache/deno/c746673ba17c2e68161a95e8f0fe134b2f66a93a.ts | 80 | * @return True on success, false or error message on error. | COMMENT |
| HIGH | …cache/deno/b7d082f40eabea211b81e0d71894a75898b7be6e.ts | 253 | * @return True on success, false or error message on error. | COMMENT |
| HIGH | …cache/deno/9146acc8dafa82f6d8451792e7824554910c797b.ts | 189 | * @return True on success, false or error message on error. | COMMENT |
| HIGH | …cache/deno/554a35c2725c7f0b404b9484dcddf343e67a384d.ts | 95 | * @return True on success, false or error message on error. | COMMENT |
| HIGH | …cache/deno/7e1fb9ca288bf210d0d0aac59d0ce427f9579e80.ts | 66 | * @return True on success, false or error message on error. | COMMENT |
| HIGH | …cache/deno/d251696c4527382c3aa533f783ff28dabb7b6af8.ts | 189 | * @return True on success, false or error message on error. | COMMENT |
| HIGH | …/tsc-references/importCallExpressionInCJS4.1.normal.js | 13 | print() { | CODE |
| HIGH | …c-references/importCallExpressionInSystem4.1.normal.js | 24 | print() { | CODE |
| HIGH | …/tsc-references/importCallExpressionInAMD3.1.normal.js | 17 | print() { | CODE |
| HIGH | …/tsc-references/importCallExpressionInUMD4.1.normal.js | 28 | print() { | CODE |
| HIGH | …sc-references/importCallExpressionInUMD2.2.minified.js | 13 | print() { | CODE |
| HIGH | …c-references/importCallExpression2ES2020.2.minified.js | 3 | print() { | CODE |
| HIGH | …sc-references/importCallExpressionInAMD2.2.minified.js | 15 | print() { | CODE |
| HIGH | …c-references/importCallExpression3ES2020.2.minified.js | 3 | print() { | CODE |
| HIGH | …references/importCallExpressionInSystem3.2.minified.js | 7 | print() { | CODE |
| HIGH | …sc-references/importCallExpressionInCJS5.2.minified.js | 19 | print() { | CODE |
| HIGH | …references/importCallExpressionInSystem4.2.minified.js | 19 | print() { | CODE |
| HIGH | …c-references/importCallExpression6ES2020.2.minified.js | 3 | print() { | CODE |
| HIGH | …/tsc-references/importCallExpressionInUMD2.1.normal.js | 20 | print() { | CODE |
| HIGH | …c-references/importCallExpression5ES2020.2.minified.js | 3 | print() { | CODE |
| HIGH | …c-references/importCallExpressionInSystem2.1.normal.js | 10 | print() { | CODE |
| HIGH | …c-references/importCallExpression4ES2020.2.minified.js | 3 | print() { | CODE |
| HIGH | …/tsc-references/importCallExpressionInAMD2.1.normal.js | 17 | print() { | CODE |
| HIGH | …tsc-references/importCallExpression5ES2020.1.normal.js | 3 | print() { | CODE |
| HIGH | …sc-references/importCallExpressionInCJS4.2.minified.js | 11 | print() { | CODE |
| HIGH | …sc-references/importCallExpressionInAMD4.2.minified.js | 26 | print() { | CODE |
| HIGH | …sc-references/importCallExpressionInUMD4.2.minified.js | 20 | print() { | CODE |
| HIGH | …sc-references/importCallExpressionInAMD3.2.minified.js | 15 | print() { | CODE |
| HIGH | …tsc-references/importCallExpression4ES2020.1.normal.js | 3 | print() { | CODE |
| HIGH | …sc-references/importCallExpressionInUMD3.2.minified.js | 13 | print() { | CODE |
| HIGH | …references/importCallExpressionInSystem2.2.minified.js | 7 | print() { | CODE |
| HIGH | …sc-references/importCallExpressionInCJS3.2.minified.js | 11 | print() { | CODE |
| HIGH | …/tsc-references/importCallExpressionInCJS5.1.normal.js | 23 | print() { | CODE |
| HIGH | …c-references/importCallExpressionInSystem3.1.normal.js | 10 | print() { | CODE |
| HIGH | …/tsc-references/importCallExpressionInAMD4.1.normal.js | 31 | print() { | CODE |
| HIGH | …/tsc-references/importCallExpressionInUMD3.1.normal.js | 20 | print() { | CODE |
| HIGH | …tsc-references/importCallExpression2ES2020.1.normal.js | 3 | print() { | CODE |
| HIGH | …tsc-references/importCallExpression6ES2020.1.normal.js | 3 | print() { | CODE |
| HIGH | …tsc-references/importCallExpression3ES2020.1.normal.js | 3 | print() { | CODE |
| HIGH | …/tsc-references/importCallExpressionInCJS3.1.normal.js | 13 | print() { | CODE |
| HIGH | …wc_ecma_parser/tests/tsc/importCallExpressionInCJS3.ts | 5 | print() { return "I am B"} | CODE |
| HIGH | …ecma_parser/tests/tsc/importCallExpressionInSystem2.ts | 5 | print() { return "I am B"} | CODE |
| HIGH | …c_ecma_parser/tests/tsc/importCallExpression3ES2020.ts | 5 | print() { return "I am B"} | CODE |
| HIGH | …c_ecma_parser/tests/tsc/importCallExpression2ES2020.ts | 5 | print() { return "I am B"} | CODE |
| HIGH | …ecma_parser/tests/tsc/importCallExpressionInSystem3.ts | 5 | print() { return "I am B"} | CODE |
| HIGH | …wc_ecma_parser/tests/tsc/importCallExpressionInUMD4.ts | 6 | print() { return "I am B"} | CODE |
| HIGH | …wc_ecma_parser/tests/tsc/importCallExpressionInAMD2.ts | 5 | print() { return "I am B"} | CODE |
| 45 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …s/swc_bundler/tests/deno-exec/deno-9200/case1/entry.ts | 3 | isEmail("test@test.com"); | CODE |
| LOW | …cache/deno/e5fa8bbda465712e08bde0da9448fde9082f38e1.ts | 9 | * { name: 'Jon', num: '555-1234' }, | COMMENT |
| LOW | …cache/deno/e5fa8bbda465712e08bde0da9448fde9082f38e1.ts | 13 | * // { Jon: '555-1234', Jenny: '867-5309' } | COMMENT |
| LOW | …cache/deno/bc2137b462f10687e55924368c59d731a42fc5ed.ts | 12 | * { name: 'Jon', num: '555-1234' }, | COMMENT |
| LOW | …cache/deno/bc2137b462f10687e55924368c59d731a42fc5ed.ts | 16 | * // { Jon: { name: 'Jon', num: '555-1234' }, | COMMENT |
| LOW | …cache/deno/6bf826799f6f2af7641f21626f840957338cc174.ts | 159 | * segno.isEmail('foo@bar.com'); // true | COMMENT |
| LOW | …/untrusted/8c1ad4556f34cf532e5cdf146e16e05a07066d43.ts | 6375 | var object = hasOwnProperty.call(lodash, 'placeholder') ? lodash : func; | CODE |
| LOW | …aries/Components/TextInput/__tests__/TextInput-test.js | 411 | 'aria-placeholder': 'placeholder', | CODE |
| LOW | …aries/Components/TextInput/__tests__/TextInput-test.js | 473 | aria-placeholder="placeholder" | CODE |
| LOW | …ative/Libraries/Components/View/__tests__/View-test.js | 81 | 'aria-placeholder': 'placeholder', | CODE |
| LOW | …ative/Libraries/Components/View/__tests__/View-test.js | 151 | aria-placeholder="placeholder" | CODE |
| LOW | …ges/react-native/Libraries/Text/__tests__/Text-test.js | 352 | 'aria-placeholder': 'placeholder', | CODE |
| LOW | …ges/react-native/Libraries/Text/__tests__/Text-test.js | 413 | aria-placeholder="placeholder" | CODE |
| LOW | …/packages/rn-tester/js/components/ListExampleShared.js | 223 | 'Lorem ipsum dolor sit amet, ius ad pertinax oportere accommodare, an vix \ | CODE |
| LOW | …/packages/rn-tester/js/components/ListExampleShared.js | 223 | 'Lorem ipsum dolor sit amet, ius ad pertinax oportere accommodare, an vix \ | CODE |
| LOW | …ester/js/examples/TextInput/TextInputSharedExamples.js | 1220 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | CODE |
| LOW | …ester/js/examples/TextInput/TextInputSharedExamples.js | 1220 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | CODE |
| LOW | …/packages/rn-tester/js/examples/XHR/XHRExampleFetch.js | 87 | 'https://microsoftedge.github.io/Demos/json-dummy-data/5MB-min.json'; | CODE |
| LOW | …ages/rn-tester/js/examples/Text/TextExample.android.js | 1185 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris | CODE |
| LOW | …ages/rn-tester/js/examples/Text/TextExample.android.js | 1185 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris | CODE |
| LOW⚡ | …ages/rn-tester/js/examples/Text/TextExample.android.js | 1206 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | CODE |
| LOW⚡ | …ages/rn-tester/js/examples/Text/TextExample.android.js | 1206 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | CODE |
| LOW⚡ | …ages/rn-tester/js/examples/Text/TextExample.android.js | 1212 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | CODE |
| LOW⚡ | …ages/rn-tester/js/examples/Text/TextExample.android.js | 1212 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | CODE |
| LOW | …ages/rn-tester/js/examples/Text/TextExample.android.js | 1710 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | CODE |
| LOW | …ages/rn-tester/js/examples/Text/TextExample.android.js | 1710 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | CODE |
| LOW | …ages/rn-tester/js/examples/Text/TextExample.android.js | 1729 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | CODE |
| LOW | …ages/rn-tester/js/examples/Text/TextExample.android.js | 1729 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | CODE |
| LOW⚡ | …kages/rn-tester/js/examples/Text/TextSharedExamples.js | 96 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin volutpat | CODE |
| LOW⚡ | …kages/rn-tester/js/examples/Text/TextSharedExamples.js | 96 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin volutpat | CODE |
| LOW | …packages/rn-tester/js/examples/Text/TextExample.ios.js | 336 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris | CODE |
| LOW | …packages/rn-tester/js/examples/Text/TextExample.ios.js | 336 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris | CODE |
| LOW⚡ | …packages/rn-tester/js/examples/Text/TextExample.ios.js | 355 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | CODE |
| LOW⚡ | …packages/rn-tester/js/examples/Text/TextExample.ios.js | 355 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | CODE |
| LOW⚡ | …packages/rn-tester/js/examples/Text/TextExample.ios.js | 361 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | CODE |
| LOW⚡ | …packages/rn-tester/js/examples/Text/TextExample.ios.js | 361 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | CODE |
| LOW | …packages/rn-tester/js/examples/Text/TextExample.ios.js | 1136 | Lorem ipsum dolor sit amet,{' '} | CODE |
| LOW | …packages/rn-tester/js/examples/Text/TextExample.ios.js | 1136 | Lorem ipsum dolor sit amet,{' '} | CODE |
| LOW | …packages/rn-tester/js/examples/Text/TextExample.ios.js | 1575 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | CODE |
| LOW | …packages/rn-tester/js/examples/Text/TextExample.ios.js | 1575 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | CODE |
| LOW | …packages/rn-tester/js/examples/Text/TextExample.ios.js | 1594 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | CODE |
| LOW | …packages/rn-tester/js/examples/Text/TextExample.ios.js | 1594 | Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do | CODE |
| LOW | …/examples/Accessibility/AccessibilityAndroidExample.js | 70 | <RNTesterText>Dolor sit amet{'\n'}</RNTesterText> | CODE |
| LOW | …ests/fixture/selector/pseudo-element/basic/output.json | 995 | "value": "placeholder", | CODE |
| LOW | …ests/fixture/selector/pseudo-element/basic/output.json | 996 | "raw": "placeholder" | CODE |
| LOW | …swc_css_parser/tests/fixture/selector/list/output.json | 1624 | "value": "placeholder", | CODE |
| LOW | …swc_css_parser/tests/fixture/selector/list/output.json | 1625 | "raw": "placeholder" | CODE |
| LOW | crates/swc_css_prefixer/src/prefixer.rs | 1217 | "placeholder", | CODE |
| LOW | crates/swc_css_prefixer/src/prefixer.rs | 1287 | "placeholder", | CODE |
| LOW | crates/swc_css_prefixer/src/prefixer.rs | 1311 | "placeholder", | CODE |
| LOW | crates/swc_css_prefixer/src/prefixer.rs | 1373 | "placeholder", | CODE |
| LOW | crates/swc_css_prefixer/src/prefixer.rs | 1397 | "placeholder", | CODE |
| LOW⚡ | …nifier/tests/fixture/attribute/marquee/output.min.html | 2 | Lorem ipsum dolor sit amet... | CODE |
| LOW⚡ | …nifier/tests/fixture/attribute/marquee/output.min.html | 2 | Lorem ipsum dolor sit amet... | CODE |
| LOW⚡ | …nifier/tests/fixture/attribute/marquee/output.min.html | 5 | Lorem ipsum dolor sit amet... | CODE |
| LOW⚡ | …nifier/tests/fixture/attribute/marquee/output.min.html | 5 | Lorem ipsum dolor sit amet... | CODE |
| LOW⚡ | …ml_minifier/tests/fixture/attribute/marquee/input.html | 8 | Lorem ipsum dolor sit amet... | CODE |
| LOW⚡ | …ml_minifier/tests/fixture/attribute/marquee/input.html | 8 | Lorem ipsum dolor sit amet... | CODE |
| LOW⚡ | …ml_minifier/tests/fixture/attribute/marquee/input.html | 11 | Lorem ipsum dolor sit amet... | CODE |
| LOW⚡ | …ml_minifier/tests/fixture/attribute/marquee/input.html | 11 | Lorem ipsum dolor sit amet... | CODE |
| 107 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ive-codegen/src/generators/components/GenerateTests.js | 39 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …ve-codegen/src/generators/components/GeneratePropsH.js | 44 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …ts/GenerateThirdPartyFabricComponentsProviderObjCpp.js | 24 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …enerators/components/GenerateComponentDescriptorCpp.js | 30 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …src/generators/components/GeneratePropsJavaDelegate.js | 46 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …/generators/components/GenerateComponentDescriptorH.js | 30 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …ve-codegen/src/generators/components/GenerateStateH.js | 27 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …-codegen/src/generators/components/GeneratePropsCpp.js | 36 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …/src/generators/components/GenerateComponentHObjCpp.js | 131 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …-codegen/src/generators/components/GenerateStateCpp.js | 28 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …n/src/generators/components/GenerateEventEmitterCpp.js | 43 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …gen/src/generators/components/GenerateEventEmitterH.js | 47 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …gen/src/generators/components/GenerateShadowNodeCpp.js | 28 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …ponents/GenerateThirdPartyFabricComponentsProviderH.js | 24 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …egen/src/generators/components/GenerateViewConfigJs.js | 34 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …rc/generators/components/GeneratePropsJavaInterface.js | 43 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …degen/src/generators/components/GenerateShadowNodeH.js | 28 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …e-codegen/src/generators/modules/GenerateModuleJniH.js | 38 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …degen/src/generators/modules/GenerateModuleJavaSpec.js | 46 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …codegen/src/generators/modules/GenerateModuleJniCpp.js | 119 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …tive-codegen/src/generators/modules/GenerateModuleH.js | 202 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …n/src/generators/modules/GenerateModuleObjCpp/index.js | 76 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| HIGH | …n/src/generators/modules/GenerateModuleObjCpp/index.js | 125 | * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/untrusted/caa03d63d4bd9f2a41399e027ac69e563f8c910b.ts | 4 | import __react$ from "/v15/react@17.0.1/esnext/react.js";var ca=Object.create,Zr=Object.defineProperty,da=Object.getProt | CODE |
| MEDIUM | …/untrusted/caa03d63d4bd9f2a41399e027ac69e563f8c910b.ts | 4 | import __react$ from "/v15/react@17.0.1/esnext/react.js";var ca=Object.create,Zr=Object.defineProperty,da=Object.getProt | CODE |
| MEDIUM | …/untrusted/bffcaab555719e2ff0fadc7864bda0a4b6fea0cb.ts | 16 | // into it. In other words: you can't leverage Prototype Inheritance | COMMENT |
| MEDIUM | …tsc-references/exhaustiveSwitchStatements1.1.normal.js | 25 | z; // Definitely assigned | CODE |
| MEDIUM | …ges/dev-middleware/src/utils/getDevToolsFrontendUrl.js | 76 | // server are colocated. This is more robust for cases where the frontend | COMMENT |
| MEDIUM | …ages/react-native/Libraries/StyleSheet/processColor.js | 51 | // We utilize the fact that bitwise operations in JS also operates on | COMMENT |
| MEDIUM | …s/packages/eslint-plugin-specs/react-native-modules.js | 32 | // If using this externally, we leverage @react-native/codegen as published form | COMMENT |
| MEDIUM | …rpus/packages/jest-preset/jest/assetFileTransformer.js | 28 | // the correct images are loaded for components. Essentially | COMMENT |
| MEDIUM⚡ | crates/swc/tests/deno-unit/timers_test.ts | 301 | // Certainly less than 10 ops should have been dispatched in next 100 ms. | COMMENT |
| MEDIUM | crates/swc/benches/assets/parser.ts | 5238 | // Definitely not a parenthesized arrow function. | COMMENT |
| LOW | crates/swc/benches/assets/renderer.ts | 709 | // #1689 For inside suspense + suspense resolved case, just call it | COMMENT |
| MEDIUM | crates/swc_html_parser/benches/files/css_2021_spec.html | 4819 | the CSSWG recommends <a href="https://www.w3.org/TR/CSS/#future-proofing">following best practices</a> for the i | CODE |
| MEDIUM | …c_ecma_parser/tests/tsc/exhaustiveSwitchStatements1.ts | 24 | z; // Definitely assigned | CODE |
| MEDIUM | crates/swc_ecma_parser/benches/files/jquery-1.9.1.js | 9588 | // AMD modules. A named AMD is safest and most robust way to register. | COMMENT |
| MEDIUM | …s/swc_ecma_parser/benches/files/jquery.mobile-1.4.2.js | 1563 | // robust, there are a few unfortunate browser bugs surrounding expected | COMMENT |
| MEDIUM | crates/swc_common/src/source_map.rs | 1139 | /// functions and this function to something more robust. | COMMENT |
| MEDIUM | …t-es2015/static/chunks/main-04b5934c26266542/output.js | 2169 | if (!matchedPath || rewriteTarget || matchedPath.includes("__next_data_catchall" | CODE |
| MEDIUM | …t-es2015/static/chunks/main-04b5934c26266542/output.js | 2351 | // links via the equivalent of a hard navigation and hence never utilize these | COMMENT |
| MEDIUM | …et-es2015/static/chunks/main-04b5934c26266542/input.js | 2855 | // TODO: more robust handling for user-error (passing `/`) | COMMENT |
| MEDIUM | …et-es2015/static/chunks/main-04b5934c26266542/input.js | 2977 | // leverage x-matched-path to detect next.config.js rewrites | COMMENT |
| MEDIUM | …et-es2015/static/chunks/main-04b5934c26266542/input.js | 3900 | // links via the equivalent of a hard navigation and hence never utilize these | COMMENT |
| MEDIUM | …cts/next/.archive-4/main-2953d6142ff4a439dbc0/input.js | 5502 | // TODO: more robust handling for user-error (passing `/`) | COMMENT |
| MEDIUM | …er/tests/fixture/issues/firebase-firestore/1/output.js | 1697 | // TODO(b/29183165): Make this collision robust. | COMMENT |
| MEDIUM | …inifier/tests/fixture/issues/emotion/react/1/output.js | 294 | // it's very unlikely for this sequence to actually appear in a different context, so we just le | COMMENT |
| MEDIUM | …minifier/tests/fixture/issues/emotion/react/1/input.js | 1665 | // it's very unlikely for this sequence to actually appear in a different context, s | COMMENT |
| MEDIUM | crates/swc_ecma_minifier/tests/benches-full/d3.js | 3483 | // a more robust orientation test that's stable in a given triangle (to fix robustness issues) | COMMENT |
| MEDIUM | …_minifier/tests/projects/output/jquery.mobile-1.4.2.js | 750 | // robust, there are a few unfortunate browser bugs surrounding expected | COMMENT |
| MEDIUM | …swc_ecma_minifier/tests/projects/files/jquery-1.9.1.js | 10471 | // AMD modules. A named AMD is safest and most robust way to register. | COMMENT |
| MEDIUM | …a_minifier/tests/projects/files/jquery.mobile-1.4.2.js | 1684 | // robust, there are a few unfortunate browser bugs surrounding expected | COMMENT |
| MEDIUM | crates/swc_ecma_minifier/benches/full/d3.js | 6689 | // a more robust orientation test that's stable in a given triangle (to fix robustness issues) | COMMENT |
| MEDIUM | crates/swc_ecma_minifier/benches/full/jquery.js | 10821 | // understands anonymous AMD modules. A named AMD is safest and most robust | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | crates/swc_cli_impl/src/commands/compile.rs | 459 | options.config.jsc.experimental.plugins.map(|plugins| { | CODE |
| CRITICAL | …_compat/tests/optional-chaining/issue-1092/2/output.js | 2 | (_a = a) === null || _a === void 0 ? void 0 : _a.b.c.d.e.f.g.h(); | CODE |
| CRITICAL | …s_compat/tests/optional-chaining/issue-1092/2/input.js | 1 | a?.b.c.d.e.f.g.h() | CODE |
| CRITICAL | …ier/tests/fixture/next/feedback-2/codemirror/output.js | 5467 | return this.cm.display.wrapper.ownerDocument.getSelection(); | CODE |
| CRITICAL | …fier/tests/fixture/next/feedback-2/codemirror/input.js | 14025 | return this.cm.display.wrapper.ownerDocument.getSelection(); | CODE |
| CRITICAL | crates/swc_ecma_minifier/tests/benches-full/jquery.js | 3362 | }, jQuery.each(jQuery.expr.match.bool.source.match(/\w+/g), function(_i, name) { | CODE |
| CRITICAL | crates/swc_ecma_minifier/benches/full/jquery.js | 8086 | jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { | CODE |
| CRITICAL | bindings/binding_core_node/src/bundle.rs | 105 | .bundle(self.config.static_items.config.entry.clone().into()) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …native/scripts/hermes/release-hermes-for-branch-cut.js | 53 | // Step 1: Validate environment | COMMENT |
| LOW⚡ | …native/scripts/hermes/release-hermes-for-branch-cut.js | 91 | // Step 2: Setup Hermes repo | COMMENT |
| LOW⚡ | …native/scripts/hermes/release-hermes-for-branch-cut.js | 101 | // Step 3: Get versions from Hermes | COMMENT |
| LOW | …native/scripts/hermes/release-hermes-for-branch-cut.js | 122 | // Step 4: Create release branch in Hermes | COMMENT |
| LOW | …native/scripts/hermes/release-hermes-for-branch-cut.js | 137 | // Step 5: Trigger GitHub workflows | COMMENT |
| LOW | …native/scripts/hermes/release-hermes-for-branch-cut.js | 168 | // Step 6: Update RN repo and create commit | COMMENT |
| LOW | …native/scripts/hermes/release-hermes-for-branch-cut.js | 194 | // Step 7: Bump Hermes versions for next release (PRs) | COMMENT |
| LOW | …native/scripts/hermes/release-hermes-for-branch-cut.js | 211 | // Step 9: Bump RN main (PR) | COMMENT |
| LOW | …native/scripts/hermes/release-hermes-for-branch-cut.js | 257 | // Step 10: Return to stable branch and show summary | COMMENT |
| LOW | …/swc_ecma_transformer/src/es2018/object_rest_spread.rs | 1187 | // Step 1: Create array variable: _ref = [temps...] | COMMENT |
| LOW | …/swc_ecma_transformer/src/es2018/object_rest_spread.rs | 1202 | // Step 2: Process patterns iteratively | COMMENT |
| LOW | .agents/skills/codspeed-optimize/SKILL.md | 24 | ### Step 1: Establish a baseline | COMMENT |
| LOW | .agents/skills/codspeed-optimize/SKILL.md | 60 | ### Step 2: Analyze with flamegraphs | COMMENT |
| LOW | .agents/skills/codspeed-optimize/SKILL.md | 85 | ### Step 3: Make targeted changes | COMMENT |
| LOW | .agents/skills/codspeed-optimize/SKILL.md | 103 | ### Step 4: Re-measure and compare | COMMENT |
| LOW | .agents/skills/codspeed-optimize/SKILL.md | 121 | ### Step 5: Report and decide next steps | COMMENT |
| LOW | .agents/skills/codspeed-optimize/SKILL.md | 134 | ### Step 6: Validate with walltime | COMMENT |
| LOW | .agents/skills/codspeed-optimize/SKILL.md | 166 | ### Step 7: Continue or finish | COMMENT |
| LOW | .agents/skills/codspeed-setup-harness/SKILL.md | 10 | ## Step 1: Analyze the project | COMMENT |
| LOW | .agents/skills/codspeed-setup-harness/SKILL.md | 22 | ## Step 2: Choose the right approach | COMMENT |
| LOW | .agents/skills/codspeed-setup-harness/SKILL.md | 57 | ## Step 3: Set up the harness | COMMENT |
| LOW | .agents/skills/codspeed-setup-harness/SKILL.md | 282 | ## Step 4: Write good benchmarks | COMMENT |
| LOW | .agents/skills/codspeed-setup-harness/SKILL.md | 298 | ## Step 5: Verify and run | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …cache/deno/6fe49a8c6f5ba42ea13308b841f4d1e4ce171f1b.ts | 26 | * This function expects a complete introspection result. Don't forget to check | COMMENT |
| LOW | …act-native/Libraries/Components/StatusBar/StatusBar.js | 215 | * // Don't forget to call `popStackEntry` when you're done. | COMMENT |
| MEDIUM | crates/swc_ecma_parser/benches/files/angular-1.2.5.js | 12773 | * That said, here's how you can completely disable SCE: | COMMENT |
| MEDIUM | crates/swc_ecma_parser/benches/files/angular-1.2.5.js | 12777 | * // Completely disable SCE. For demonstration purposes only! | COMMENT |
| MEDIUM | crates/testing_macros/src/lib.rs | 47 | /// Note that they are added as a test `#[ignore]`, so you can use | COMMENT |
| LOW | …degen/tests/fixture/packages/tachyons_4_12_0/input.css | 692 | 2. Don't forget to clearfix your floats with .cf | CODE |
| MEDIUM | …c_ecma_minifier/tests/projects/output/angular-1.2.5.js | 7958 | * That said, here's how you can completely disable SCE: | COMMENT |
| MEDIUM | …c_ecma_minifier/tests/projects/output/angular-1.2.5.js | 7962 | * // Completely disable SCE. For demonstration purposes only! | COMMENT |
| MEDIUM | …wc_ecma_minifier/tests/projects/files/angular-1.2.5.js | 13986 | * That said, here's how you can completely disable SCE: | COMMENT |
| MEDIUM | …wc_ecma_minifier/tests/projects/files/angular-1.2.5.js | 13990 | * // Completely disable SCE. For demonstration purposes only! | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/swc_ecma_react_compiler/src/tests/integration.rs | 151 | // ── AST round-trip tests ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/swc_ecma_react_compiler/src/tests/integration.rs | 275 | // ── Scope analysis tests ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/swc_ecma_react_compiler/src/tests/integration.rs | 1533 | // ── Full transform pipeline tests ─────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/swc_ecma_react_compiler/src/tests/integration.rs | 1690 | // ── Reverse AST conversion tests ──────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/swc_ecma_react_compiler/src/tests/integration.rs | 1782 | // ── TS module interop statements ──────────────────────────────────────────── | COMMENT |
| MEDIUM | crates/swc/benches/assets/table.tsx | 578 | // ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | packages/core/__tests__/transform/sourcemap_test.js | 11 | // ┌────────────────────────────── Warning ──────────────────────────────┐ | COMMENT |
| MEDIUM | packages/core/__tests__/transform/sourcemap_test.js | 14 | // └─────────────────────────────────────────────────────────────────────┘ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …native/scripts/hermes/release-hermes-for-branch-cut.js | 53 | // Step 1: Validate environment | COMMENT |
| LOW⚡ | …native/scripts/hermes/release-hermes-for-branch-cut.js | 91 | // Step 2: Setup Hermes repo | COMMENT |
| LOW⚡ | …native/scripts/hermes/release-hermes-for-branch-cut.js | 101 | // Step 3: Get versions from Hermes | COMMENT |
| LOW | …native/scripts/hermes/release-hermes-for-branch-cut.js | 122 | // Step 4: Create release branch in Hermes | COMMENT |
| LOW | …native/scripts/hermes/release-hermes-for-branch-cut.js | 137 | // Step 5: Trigger GitHub workflows | COMMENT |
| LOW | …native/scripts/hermes/release-hermes-for-branch-cut.js | 168 | // Step 6: Update RN repo and create commit | COMMENT |
| LOW | …native/scripts/hermes/release-hermes-for-branch-cut.js | 194 | // Step 7: Bump Hermes versions for next release (PRs) | COMMENT |
| LOW | …native/scripts/hermes/release-hermes-for-branch-cut.js | 211 | // Step 9: Bump RN main (PR) | COMMENT |
| LOW | …native/scripts/hermes/release-hermes-for-branch-cut.js | 257 | // Step 10: Return to stable branch and show summary | COMMENT |
| LOW | …/swc_ecma_transformer/src/es2018/object_rest_spread.rs | 1187 | // Step 1: Create array variable: _ref = [temps...] | COMMENT |
| LOW | …/swc_ecma_transformer/src/es2018/object_rest_spread.rs | 1202 | // Step 2: Process patterns iteratively | COMMENT |
| LOW | …tes/swc_ecma_minifier/src/compress/pure/member_expr.rs | 427 | // We need to check if this is already optimized as if we don't, | COMMENT |
| LOW | …tes/swc_ecma_minifier/src/compress/pure/member_expr.rs | 526 | // Like with arrays, we need to check if this is already optimized | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/tests/fixture/deno-9220/case1/output/entry.inlined.ts | 779 | getData: function getData(width, height) { | CODE |
| LOW | …_bundler/tests/fixture/deno-9220/case1/output/entry.ts | 779 | getData: function getData(width, height) { | CODE |
| LOW | …cache/deno/f23b63af8d11297d01a07776c5436bc350feb168.ts | 840 | getData: function getData(width, height) { | CODE |
| LOW | …s/tsc-references/typeGuardsOnClassProperty.1.normal.js | 13 | _proto.getData = function getData() { | CODE |
| LOW | …c-references/classStaticBlockUseBeforeDef3.1.normal.js | 8 | A.doSomething = function doSomething() { | CODE |
| LOW | …c-references/classStaticBlockUseBeforeDef3.1.normal.js | 31 | CFA.doSomething = function doSomething() {}; | CODE |
| LOW | crates/swc/tests/tsc-references/override15.1.normal.js | 11 | _proto.doSomething = function doSomething() {}; | CODE |
| LOW | …es/swc/tests/tsc-references/errorIsolation.1.normal.js | 3 | doSomething: function doSomething(_) {} | CODE |
| LOW | …ates/swc/tests/tsc-references/override_js4.1.normal.js | 12 | _proto.doSomething = function doSomething() {}; | CODE |
| LOW | …es/Animated/__tests__/AnimatedBackendSuspense-itest.js | 37 | async function getData(key: string): Promise<string> { | CODE |
| LOW | …cma_minifier/tests/projects/output/react-dom-17.0.2.js | 2902 | function getData() { | CODE |
| LOW | …ecma_minifier/tests/projects/files/react-dom-17.0.2.js | 7209 | function getData() { | CODE |
| LOW | …er/tests/terser/compress/harmony/issue_2794_3/input.js | 9 | function doSomething(x) { | CODE |
| LOW | …/terser/compress/harmony/issue_2794_2/output.terser.js | 4 | function doSomething(o) { | CODE |
| LOW | …r/tests/terser/compress/harmony/issue_2794_2/output.js | 4 | function doSomething(o) { | CODE |
| LOW | …er/tests/terser/compress/harmony/issue_2794_2/input.js | 9 | function doSomething(x) { | CODE |
| LOW | …/terser/compress/harmony/issue_2794_1/output.terser.js | 4 | function doSomething(x) { | CODE |
| LOW | …r/tests/terser/compress/harmony/issue_2794_1/output.js | 4 | function doSomething(x) { | CODE |
| LOW | …er/tests/terser/compress/harmony/issue_2794_1/input.js | 9 | function doSomething(x) { | CODE |
| LOW | crates/swc_ecma_minifier/benches/full/vue.js | 4741 | function getData (data, vm) { | CODE |
| LOW | crates/swc_ecma_minifier/benches/full/jquery.js | 4401 | function getData( data ) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …cache/deno/2dc23a89bed90347e12ed99f5803c239d8299a92.ts | 18 | //TODO: implement DM group channel edit | COMMENT |
| LOW | …cache/deno/4c1d6cffc7774275592739c8397f71cd4544e9c7.ts | 64 | // TODO: implement connect timeout | COMMENT |
| LOW | …FabricPublicInstance/ReactFabricPublicInstanceUtils.js | 22 | // TODO: implement a better check when the instance is defined in the React Native repository. | COMMENT |
| LOW | crates/jsdoc/src/lib.rs | 157 | // TODO: implement this | COMMENT |
| LOW | crates/jsdoc/src/lib.rs | 194 | // TODO: implement this | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/Libraries/Components/RefreshControl/RefreshControl.js | 87 | * ### Usage example | COMMENT |
| LOW | crates/swc_ecma_minifier/scripts/next/start2.sh | 3 | # Usage: | COMMENT |
| LOW | crates/swc_ecma_minifier/scripts/next/start.sh | 3 | # Usage: | COMMENT |
| LOW | scripts/profile/instruments.sh | 3 | ## Usage: | COMMENT |
| LOW | scripts/profile/samply.sh | 3 | ## Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/testing_macros/src/lib.rs | 34 | /// # Return value | COMMENT |
| LOW | scripts/patch-project.sh | 4 | # Check if path argument is provided | COMMENT |
| LOW | scripts/patch-project.sh | 29 | # Check if package.json exists in target directory | COMMENT |
| LOW | scripts/patch-project.sh | 35 | # Check if @swc/core exists in package.json | COMMENT |
| LOW | scripts/cargo/for-each.sh | 4 | # Check if a command is provided | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/swc_cli_impl/tests/cli_options.rs | 23 | /// Keep both target spellings accepted by the plugin scaffold command. | COMMENT |
| MEDIUM | crates/swc_ecma_transforms_module/src/system_js/ir.rs | 143 | // expressions/statements. SystemJS scaffold such as export names and | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/swc/src/lib.rs | 57 | //! #### Creating a unique identifier | COMMENT |