Fast Rust-based bundler for the web with a modernized webpack API 🦀
This report summarizes scanner evidence for web-infra-dev/rspack, a Rust project with 12,964 GitHub stars. SynthScan examined 966,969 lines of code across 19764 source files, recording 481 pattern matches distributed across 12 syntactic categories. The legacy adjusted pattern signal is 0.7 (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? 455 finding(s).
Are imports declared and package/API names verified? 24 finding(s).
Are wrappers, guards, and repeated structures necessary? 92 finding(s).
Which changes need focused human review? 481 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 481 distinct pattern matches across 12 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 | 21 | # `target_family = "unix"` configuration, that only having windows targets in | COMMENT |
| LOW | deny.toml | 41 | #exclude = [] | COMMENT |
| LOW | deny.toml | 61 | COMMENT | |
| LOW | deny.toml | 121 | COMMENT | |
| LOW | deny.toml | 141 | # If true, ignores workspace crates that aren't published, or are only | COMMENT |
| LOW | deny.toml | 161 | # The graph highlighting used when creating dotgraphs for crates | COMMENT |
| LOW | deny.toml | 181 | deny = [ | COMMENT |
| LOW | deny.toml | 201 | # "hyper-rustls", | COMMENT |
| LOW | deny.toml | 281 | # More documentation about the 'sources' section can be found here: | COMMENT |
| LOW | linting/rspack_collection_hasher/src/lib.rs | 21 | /// | COMMENT |
| LOW | …rspack_loader_swc/src/rsc_transforms/server_actions.rs | 221 | COMMENT | |
| LOW | …rspack_loader_swc/src/rsc_transforms/server_actions.rs | 241 | // return a + b; | COMMENT |
| LOW | …rspack_loader_swc/src/rsc_transforms/server_actions.rs | 2141 | }) | COMMENT |
| LOW | …/rspack_loader_swc/src/rsc_transforms/to_client_ref.rs | 21 | /// | COMMENT |
| LOW | …/rspack_loader_swc/src/rsc_transforms/to_client_ref.rs | 41 | /// function() { throw new Error(...); }, | COMMENT |
| LOW | crates/rspack_plugin_html/src/config.rs | 141 | #[derive(Serialize, Debug)] | COMMENT |
| LOW | crates/rspack_plugin_css/src/plugin/mod.rs | 161 | failed_module: has_failed.identifier(), | COMMENT |
| LOW | …s/rspack_plugin_css/src/parser_and_generator/parser.rs | 41 | // Owns dependencies in parse order and allows definition lookup by ID. | COMMENT |
| LOW | crates/rspack_plugin_css/src/dependency/icss_export.rs | 21 | } | COMMENT |
| LOW | crates/rspack_plugin_esm_library/src/optimize_chunks.rs | 21 | /// that chunk has static imports back to ancestor chunks, the ancestor must | COMMENT |
| LOW | crates/rspack_plugin_esm_library/src/optimize_chunks.rs | 801 | } | COMMENT |
| LOW | …ates/rspack_plugin_esm_library/src/preserve_modules.rs | 161 | // Compute the path relative to the `preserveModules` root. | COMMENT |
| LOW | crates/rspack_plugin_lightning_css_minimizer/src/lib.rs | 181 | } | COMMENT |
| LOW | crates/rspack_loader_runner/src/loader.rs | 41 | #[derive(Debug)] | COMMENT |
| LOW | crates/rspack_binding_api/src/lib.rs | 1 | #![recursion_limit = "256"] | COMMENT |
| LOW | crates/rspack_binding_api/src/lib.rs | 21 | //! | COMMENT |
| LOW | crates/rspack_binding_api/src/asset.rs | 41 | pub minimized: Option<bool>, | COMMENT |
| LOW | crates/rspack_binding_api/src/module.rs | 241 | .with_property_attributes(PropertyAttributes::Configurable), | COMMENT |
| LOW | crates/rspack_binding_api/src/rstest.rs | 41 | // Preserve `new URL("*.<ext>", import.meta.url)` expressions for specified extensions | COMMENT |
| LOW | crates/rspack_binding_api/src/rstest.rs | 61 | pub inject_dynamic_import_origin: Option<Either<bool, RawRstestDynamicImportOriginOptions>>, | COMMENT |
| LOW | …c/raw_options/raw_split_chunks/raw_split_chunk_name.rs | 61 | // | COMMENT |
| LOW | …c/raw_options/raw_split_chunks/raw_split_chunk_name.rs | 81 | // The JS side decodes module M0 as follows: | COMMENT |
| LOW | …s/rspack_binding_api/src/raw_options/raw_module/mod.rs | 321 | #[napi(ts_type = "boolean | { exports?: boolean | 'skipInEsm' }")] | COMMENT |
| LOW | …s/rspack_binding_api/src/raw_options/raw_module/mod.rs | 341 | /// This option is experimental in Rspack only and subject to change or be removed anytime. | COMMENT |
| LOW | …k_binding_api/src/raw_options/raw_builtins/raw_copy.rs | 21 | COMMENT | |
| LOW | …k_binding_api/src/raw_options/raw_builtins/raw_copy.rs | 41 | #[debug(skip)] | COMMENT |
| LOW | …k_binding_api/src/raw_options/raw_builtins/raw_copy.rs | 61 | /// The automatic inference rules are as follows: | COMMENT |
| LOW | …k_binding_api/src/raw_options/raw_builtins/raw_copy.rs | 81 | pub glob_options: RawCopyGlobOptions, | COMMENT |
| LOW | …k_binding_api/src/raw_options/raw_builtins/raw_copy.rs | 121 | } | COMMENT |
| LOW | …ates/rspack_binding_api/src/rspack_resolver/options.rs | 21 | COMMENT | |
| LOW | …ates/rspack_binding_api/src/rspack_resolver/options.rs | 41 | /// | COMMENT |
| LOW | …ates/rspack_binding_api/src/rspack_resolver/options.rs | 61 | /// A list of exports fields in description files. | COMMENT |
| LOW | …ates/rspack_binding_api/src/rspack_resolver/options.rs | 81 | pub extension_alias: Option<FxHashMap<String, Vec<String>>>, | COMMENT |
| LOW | …ates/rspack_binding_api/src/rspack_resolver/options.rs | 101 | pub fully_specified: Option<bool>, | COMMENT |
| LOW | …ates/rspack_binding_api/src/rspack_resolver/options.rs | 121 | /// | COMMENT |
| LOW | …ates/rspack_binding_api/src/rspack_resolver/options.rs | 141 | /// On non-Windows systems these requests are resolved as an absolute path first. | COMMENT |
| LOW | crates/rspack_binding_api/src/compilation/entries.rs | 141 | // unimplemented!() | COMMENT |
| LOW | crates/swc_plugin_import/src/legacy_case.rs | 41 | COMMENT | |
| LOW | crates/rspack_loader_lightningcss/src/lib.rs | 101 | let stylesheet = StyleSheet::parse(&content_str, option.clone()).to_rspack_result()?; | COMMENT |
| LOW | crates/rspack_allocative/src/allocative_trait.rs | 21 | /// ``` | COMMENT |
| LOW | crates/rspack_allocative/src/allocative_trait.rs | 41 | /// `#[allocative(skip)]` can be used to skip field from traversal (for example, | COMMENT |
| LOW | crates/rspack_allocative/src/allocative_trait.rs | 61 | /// `#[allocative(bound = "...")]` can be used to overwrite the bounds that are | COMMENT |
| LOW | crates/rspack_allocative/src/allocative_trait.rs | 81 | /// _marker: PhantomData<T>, | COMMENT |
| LOW | crates/rspack_allocative/src/allocative_trait.rs | 101 | /// ... | COMMENT |
| LOW | crates/rspack_allocative/src/allocative_trait.rs | 121 | /// | COMMENT |
| LOW | crates/rspack_allocative/src/allocative_trait.rs | 141 | /// let mut visitor = visitor.enter_self(u); | COMMENT |
| LOW | crates/rspack_allocative/src/lib.rs | 21 | //! | COMMENT |
| LOW | crates/rspack_allocative/src/lib.rs | 81 | /// ``` | COMMENT |
| LOW | crates/rspack_allocative/src/flamegraph.rs | 301 | COMMENT | |
| 265 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | …ack-test/exampleCases/module-code-splitting/example.js | 5 | print(counter.value); | CODE |
| HIGH⚡ | …ack-test/exampleCases/module-code-splitting/example.js | 9 | print(counter.value); | CODE |
| HIGH⚡ | …ack-test/exampleCases/module-code-splitting/example.js | 11 | print(counter.value); | CODE |
| HIGH⚡ | tests/rspack-test/exampleCases/module/example.js | 3 | print(value); | CODE |
| HIGH⚡ | tests/rspack-test/exampleCases/module/example.js | 7 | print(value); | CODE |
| HIGH⚡ | tests/rspack-test/exampleCases/module/example.js | 9 | print(value); | CODE |
| HIGH | packages/rspack/src/stats/StatsPrinter.ts | 186 | print( | CODE |
| HIGH | packages/rspack-test-tools/src/case/hook.ts | 105 | print(val: sources.Source) { | CODE |
| HIGH | packages/rspack-test-tools/src/case/hook.ts | 114 | print(val: Compiler | Compilation) { | CODE |
| HIGH⚡ | packages/rspack-test-tools/src/helper/serializers.ts | 12 | print(received) { | CODE |
| HIGH⚡ | packages/rspack-test-tools/src/helper/serializers.ts | 21 | print(received, next) { | CODE |
| HIGH⚡ | packages/rspack-test-tools/src/helper/serializers.ts | 30 | print(received, next) { | CODE |
| HIGH⚡ | packages/rspack-test-tools/src/helper/serializers.ts | 40 | print(received, next) { | CODE |
| HIGH⚡ | packages/rspack-test-tools/src/helper/serializers.ts | 49 | print(received, next) { | CODE |
| HIGH | packages/rspack-test-tools/src/helper/expect/error.ts | 13 | print(val: any) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/treeShakingCases/namespace-access-var-decl-rhs/lib.js | 9 | export function getDocPermissionTextSendMe() {} | CODE |
| LOW | …access-var-decl-rhs/__snapshots__/treeshaking.snap.txt | 46 | function getDocPermissionTextSendMe() {} | CODE |
| LOW⚡ | …ses/rstest/mock-dynamic-import-external/src/fixture.js | 37 | export async function importMockedWithImportedRs() { | CODE |
| LOW⚡ | …ses/rstest/mock-dynamic-import-external/src/fixture.js | 41 | export async function importMockedVariableWithImportedRs() { | CODE |
| LOW⚡ | …ses/rstest/mock-dynamic-import-external/src/fixture.js | 48 | export function importMockWithoutManualMock() { | CODE |
| LOW | …ses/rstest/mock-dynamic-import-external/src/fixture.js | 61 | export async function importRelativeMockedVariable() { | CODE |
| LOW | …spack-test/configCases/require/module-require/index.js | 468 | function useReassignedOuterRequire() { | CODE |
| LOW | …spack-test/configCases/require/module-require/index.js | 474 | function useBlockReassignedOuterRequire() { | CODE |
| LOW | …t/configCases/context-modules/context-options/index.js | 9 | async function loadModuleWithRspackExclude(name) { | CODE |
| LOW | …t/configCases/context-modules/context-options/index.js | 17 | async function loadModuleWithRspackInclude(name) { | CODE |
| LOW | …figCases/rule-set/simple-use-fn-array/rspack.config.ts | 5 | function createFunctionArrayFromUseArray(useArray: RuleSetUseItem[]) { | CODE |
| LOW | …st/configCases/amd/real-amd-libs/webpack-umd-output.js | 1 | (function webpackUniversalModuleDefinition(root, factory) { | CODE |
| LOW | …/rspack-test/configCases/tree-shaking/new-url/index.js | 17 | function countSubstringOccurrences(string, substring) { | CODE |
| LOW | …ack-test/configCases/inner-graph/issue-11678/module.js | 181 | function showSortManualButtonState() { | CODE |
| LOW | …ack-test/configCases/inner-graph/issue-11678/module.js | 217 | async function onInsertFromTemplateDialog() { | CODE |
| LOW | …ack-test/configCases/inner-graph/issue-11678/module.js | 1073 | async function doCreateAndShowTableWidget( | CODE |
| LOW | …ack-test/configCases/inner-graph/issue-11678/module.js | 2486 | async function showAssignResourcesDialog(appendTo) { | CODE |
| LOW | …-test/configCases/inner-graph/altaskitButton/module.js | 104 | value: function componentWillReceiveProps(nextProps) { | CODE |
| LOW | …ack-test/configCases/trusted-types/web-worker/index.js | 26 | function createWorkerWithChunkName() { | CODE |
| LOW | …ack-test/configCases/trusted-types/web-worker/index.js | 44 | function createWorkerWithChunkNameInnner() { | CODE |
| LOW | …/mangle-with-destructuring-assignment/rspack.config.ts | 19 | definePlugin(function getJsonCodeGeneratedSource(compiler) { | CODE |
| LOW | …utputCases/deconflict/exports-param-shadowing/index.js | 3 | export function getCommonJsSyntheticModule(exports) { | CODE |
| LOW | …ict/exports-param-shadowing/__snapshots__/esm.snap.txt | 5 | function getCommonJsSyntheticModule(exports) { | CODE |
| LOW | …adowing/__snapshots__/runtimeModeSnapshot/esm.snap.txt | 5 | function getCommonJsSyntheticModule(exports) { | CODE |
| LOW | …ases/interop/runtime-module-variable-conflict/index.js | 7 | function createFakeNamespaceObject() { | CODE |
| LOW | …me-module-variable-conflict/__snapshots__/esm.snap.txt | 78 | function createFakeNamespaceObject() { | CODE |
| LOW | tests/rspack-test/exampleCases/wasm-complex/memory.js | 1 | async function getMemoryFromParentInWorker() { | CODE |
| LOW | …/e2e/cases/lazy-compilation/cross-origin/index.test.ts | 11 | function createLazyCompilationServer( | CODE |
| LOW | packages/rspack/rstack.browser.config.ts | 176 | function copyRspackBrowserRuntimePlugin(): RsbuildPlugin { | CODE |
| LOW | packages/rspack/rstack.browser.config.ts | 263 | async function getModuleFederationRuntimeCode() { | CODE |
| LOW | packages/rspack/src/RuntimeGlobals.ts | 706 | export function createCompilerRuntimeGlobals( | CODE |
| LOW | packages/rspack/src/RuntimeModule.ts | 83 | export function createRenderedRuntimeModule( | CODE |
| LOW | packages/rspack/src/rspackOptionsApply.ts | 473 | function getModernModuleCjsExternalType( | CODE |
| LOW | packages/rspack/src/FileSystemDependencies.ts | 163 | export function createFileSystemDependencies( | CODE |
| LOW | packages/rspack/src/sharing/SharePlugin.ts | 93 | export function createProvideShareOptions( | CODE |
| LOW | packages/rspack/src/sharing/SharePlugin.ts | 112 | export function createConsumeShareOptions( | CODE |
| LOW | packages/rspack/src/sharing/ConsumeSharedPlugin.ts | 37 | export function normalizeConsumeShareOptions( | CODE |
| LOW | …ages/rspack/src/builtin-plugin/SwcJsMinimizerPlugin.ts | 230 | function getRawExtractCommentsOptions( | CODE |
| LOW | packages/rspack/src/builtin-plugin/ExternalsPlugin.ts | 177 | function getRawExternalItemValueFormFnResult(result?: ExternalItemValue) { | CODE |
| LOW | packages/rspack/src/config/adapterRuleUse.ts | 529 | function createRawModuleRuleUsesImpl( | CODE |
| LOW | packages/rspack/src/config/adapterRuleUse.ts | 578 | function createRawLoaderCodeFilter( | CODE |
| LOW | packages/rspack/src/config/adapter.ts | 252 | function getRawResolveByDependency( | CODE |
| LOW | packages/rspack/src/config/adapter.ts | 541 | function getRawRuleSetLogicalConditions( | CODE |
| LOW | packages/rspack/src/config/adapter.ts | 565 | function getRawGeneratorOptionsMap( | CODE |
| LOW | packages/rspack/src/config/adapter.ts | 645 | function getRawJavascriptParserOptions( | CODE |
| LOW | packages/rspack/src/config/adapter.ts | 690 | function getRawJavascriptParserWorkerOptions( | CODE |
| LOW | packages/rspack/src/config/adapter.ts | 746 | function getRawCssModuleParserOptions( | CODE |
| LOW | packages/rspack/src/config/adapter.ts | 764 | function getRawCssAutoOrModuleParserOptions( | CODE |
| LOW | packages/rspack/src/config/adapter.ts | 773 | function getRawCssParserOptionsForCss( | CODE |
| LOW | packages/rspack/src/config/adapter.ts | 870 | function getRawAssetGeneratorOptions( | CODE |
| LOW | packages/rspack/src/config/adapter.ts | 879 | function getRawAssetInlineGeneratorOptions( | CODE |
| LOW | packages/rspack/src/config/adapter.ts | 890 | function getRawAssetResourceGeneratorOptions( | CODE |
| LOW | packages/rspack/src/config/adapter.ts | 903 | function getRawAssetGeneratorDataUrl(dataUrl: AssetGeneratorDataUrl) { | CODE |
| LOW | packages/rspack/src/config/adapter.ts | 921 | function getRawCssGeneratorOptions( | CODE |
| LOW | packages/rspack/src/config/adapter.ts | 930 | function getRawCssAutoOrModuleGeneratorOptions( | CODE |
| LOW | packages/rspack/src/config/adapter.ts | 945 | function getRawJsonGeneratorOptions( | CODE |
| LOW | packages/rspack/src/container/ModuleFederationPlugin.ts | 193 | function getExternalTypeFromExternal(external: string) { | CODE |
| LOW | packages/rspack/src/container/ModuleFederationPlugin.ts | 334 | function getDefaultEntryRuntimeRequest(resource: string) { | CODE |
| LOW | packages/rspack/src/container/ModuleFederationPlugin.ts | 338 | function getDefaultEntryRuntimeSource( | CODE |
| LOW | packages/rspack/src/container/ModuleFederationPlugin.ts | 424 | function getPublicPathRuntimeSource(compiler: Compiler) { | CODE |
| 30 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …spack_plugin_css/src/parser_and_generator/generator.rs | 530 | self.generate_context.compilation.options.context.clone(), | CODE |
| CRITICAL | crates/rspack_intern/src/slice.rs | 165 | if self.arc.header.header.handles.load(Ordering::Acquire) != 0 { | CODE |
| CRITICAL | crates/rspack_allocative_testing/tests/ownership.rs | 1236 | baseline + options.filename.capacity() + options.config.jsc.output.preamble.capacity() | CODE |
| CRITICAL | packages/rspack-test-tools/src/runner/web/index.ts | 120 | this.dom.window.document.head.appendChild(cssElement); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/rspack_plugin_esm_library/src/optimize_chunks.rs | 692 | // Step 1: Collect export names per module per chunk (for non-strict, non-external, | COMMENT |
| LOW | crates/rspack_plugin_esm_library/src/optimize_chunks.rs | 733 | // Step 2: Find modules with conflicting export names (same name in multiple modules) | COMMENT |
| LOW | crates/rspack_plugin_esm_library/src/optimize_chunks.rs | 756 | // Step 3: Only assign namespace names when needed (namespace used as a whole or has conflicts) | COMMENT |
| LOW⚡ | …tes/rspack_plugin_rstest/src/mock_method_dependency.rs | 147 | // Step 1: Add placeholder init fragment for hoistable methods | COMMENT |
| LOW⚡ | …tes/rspack_plugin_rstest/src/mock_method_dependency.rs | 150 | // Step 2: Hoist the import that provides the test API before all hoisted code | COMMENT |
| LOW⚡ | …tes/rspack_plugin_rstest/src/mock_method_dependency.rs | 154 | // Step 3: Transform the source code | COMMENT |
| LOW⚡ | …ks/no-emit-on-errors-recover-consecutive/index.test.ts | 8 | // Step 0: initial build succeeds | COMMENT |
| LOW⚡ | …ks/no-emit-on-errors-recover-consecutive/index.test.ts | 11 | // Step 1: introduce syntax error | COMMENT |
| LOW⚡ | …ks/no-emit-on-errors-recover-consecutive/index.test.ts | 19 | // Step 2: introduce a different syntax error | COMMENT |
| LOW⚡ | …ks/no-emit-on-errors-recover-consecutive/index.test.ts | 27 | // Step 3: fix the error → HMR should compare against step 0 (last good compilation) | COMMENT |
| LOW⚡ | …2e/cases/hooks/no-emit-on-errors-recover/index.test.ts | 8 | // Step 0: initial build succeeds | COMMENT |
| LOW⚡ | …2e/cases/hooks/no-emit-on-errors-recover/index.test.ts | 11 | // Step 1: introduce syntax error → compilation fails, emitOnErrors: false prevents emit | COMMENT |
| LOW⚡ | …2e/cases/hooks/no-emit-on-errors-recover/index.test.ts | 20 | // Step 2: fix the error → HMR should compare against step 0 (last good compilation) | COMMENT |
| LOW | …spack/src/builtin-plugin/SubresourceIntegrityPlugin.ts | 209 | // For absolute URLs, we need to check if they're under our publicPath | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/rspack_plugin_esm_library/src/optimize_chunks.rs | 692 | // Step 1: Collect export names per module per chunk (for non-strict, non-external, | COMMENT |
| LOW | crates/rspack_plugin_esm_library/src/optimize_chunks.rs | 733 | // Step 2: Find modules with conflicting export names (same name in multiple modules) | COMMENT |
| LOW | crates/rspack_plugin_esm_library/src/optimize_chunks.rs | 756 | // Step 3: Only assign namespace names when needed (namespace used as a whole or has conflicts) | COMMENT |
| LOW | crates/rspack_plugin_rslib/src/plugin.rs | 278 | // NOTE: This function handles hashbang and directives for non new ESM library formats. | COMMENT |
| LOW⚡ | …tes/rspack_plugin_rstest/src/mock_method_dependency.rs | 147 | // Step 1: Add placeholder init fragment for hoistable methods | COMMENT |
| LOW⚡ | …tes/rspack_plugin_rstest/src/mock_method_dependency.rs | 150 | // Step 2: Hoist the import that provides the test API before all hoisted code | COMMENT |
| LOW⚡ | …tes/rspack_plugin_rstest/src/mock_method_dependency.rs | 154 | // Step 3: Transform the source code | COMMENT |
| LOW⚡ | …ks/no-emit-on-errors-recover-consecutive/index.test.ts | 8 | // Step 0: initial build succeeds | COMMENT |
| LOW⚡ | …ks/no-emit-on-errors-recover-consecutive/index.test.ts | 11 | // Step 1: introduce syntax error | COMMENT |
| LOW⚡ | …ks/no-emit-on-errors-recover-consecutive/index.test.ts | 19 | // Step 2: introduce a different syntax error | COMMENT |
| LOW⚡ | …ks/no-emit-on-errors-recover-consecutive/index.test.ts | 27 | // Step 3: fix the error → HMR should compare against step 0 (last good compilation) | COMMENT |
| LOW⚡ | …2e/cases/hooks/no-emit-on-errors-recover/index.test.ts | 8 | // Step 0: initial build succeeds | COMMENT |
| LOW⚡ | …2e/cases/hooks/no-emit-on-errors-recover/index.test.ts | 11 | // Step 1: introduce syntax error → compilation fails, emitOnErrors: false prevents emit | COMMENT |
| LOW⚡ | …2e/cases/hooks/no-emit-on-errors-recover/index.test.ts | 20 | // Step 2: fix the error → HMR should compare against step 0 (last good compilation) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/rspack/src/lib.rs | 3 | //! Rspack is a high performance JavaScript bundler written in Rust. It offers strong compatibility with the webpack eco | COMMENT |
| MEDIUM | crates/rspack_core/src/compiler/rebuild.rs | 122 | // Make sure `thisCompilation` hook was called before any other hooks that leverage `JsCompilation`. | COMMENT |
| MEDIUM | .github/workflows/reusable-release-npm.yml | 55 | fail-fast: false # for better utilize ci runners | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …c/raw_options/raw_split_chunks/raw_split_chunk_name.rs | 71 | // ┌───────────────────────┬─────────────────────────────┐ | COMMENT |
| MEDIUM | …c/raw_options/raw_split_chunks/raw_split_chunk_name.rs | 74 | // └───────────────────────┴─────────────────────────────┘ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .agents/skills/rspack-perf-valgrind-goal/SKILL.md | 208 | ## Correctness guardrails | COMMENT |
| MEDIUM | .agents/skills/rspack-perf-codspeed-goal/SKILL.md | 176 | ## Correctness guardrails | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/treeShakingCases/webpack-inner-graph-switch/module.js | 21 | function doSomething(obj) { | CODE |
| LOW | …s/rspack-test/normalCases/inner-graph/switch/module.js | 21 | function doSomething(obj) { | CODE |
| LOW | …-test/configCases/chunks-order/module/nested-shared.js | 1 | function doSomething() {} | CODE |
| LOW | …/rspack-test/configCases/chunks-order/module/shared.js | 3 | function doSomething() {} | CODE |
| LOW | …ack-test/configCases/chunks-order/module/dependency.js | 1 | function doSomething() {} | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …gCases/builtins/html-comment-before-doctype/index.html | 1 | <!-- lorem ipsum --> | CODE |
| LOW | …figCases/builtins/html-comment-before-doctype/index.js | 11 | expect(htmlContent).toContain("<!-- lorem ipsum -->"); | CODE |
| LOW | tests/e2e/cases/react/with-babel/src/App.jsx | 24 | <div className="placeholder">__PLACE_HOLDER__</div> | CODE |
| LOW | tests/e2e/cases/react/basic/src/App.jsx | 25 | <div className="placeholder">__PLACE_HOLDER__</div> | CODE |
| LOW | tests/e2e/cases/react/class-component/src/App.jsx | 18 | <div className="placeholder">__PLACE_HOLDER__</div> | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/reusable-build-test.yml | 66 | # If this is to change, make sure to upgrade the ubuntu version in GitHub Actions | COMMENT |
| LOW | .github/workflows/reusable-build-test.yml | 81 | # If this is to change, make sure to upgrade the ubuntu version in GitHub Actions | COMMENT |