Skip to content

chore(deps): update dependency fallow to v3.49.0 - #1012

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/fallow-3.x-lockfile
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/fallow-3.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
fallow (source) 3.46.0 → 3.49.0 age confidence

Release Notes

fallow-rs/fallow (fallow)

v3.49.0

Compare Source

Added
  • A vite-pwa-assets-generator plugin. When @vite-pwa/assets-generator is a dependency, fallow no longer reports pwa-assets.config.{ts,mts,cts,js,mjs,cjs,json} as an unused file. The tool reads this file from the project root, so fallow credits it only at the project root and at the root of each workspace package. Under includeEntryExports, the default export of the config counts as used.
    (Closes #​5160)

  • An mkdocs plugin for MkDocs and Zensical sites. When the project has a mkdocs.yml, mkdocs.yaml or zensical.toml, also in a subdirectory such as docs/, each local file in extra_javascript and extra_css is an entry point. fallow no longer reports these files, and the modules that they import, as unused. A path resolves against docs_dir (default docs). Zensical reads the keys from the [project] table. A URL entry adds no entry point.
    (Closes #​5161)

  • Shallow directories in fallow health. The opt-in fallow health --shallow-directories lists directories whose interface is as large as what they hide.

    • A directory is shallow when files outside it use at least as many of its interface items as it keeps inside. It must also show at least health.shallowDirectories.minInterface items (default 8).
    • An interface item is a module-scope function or an exported class with a method. Types, constants, enums, UI components and exports that a package entry re-exports do not count.
    • Only runtime imports from files that are not tests or stories count as use.
    • Catalogs (about one item per file), families of functions with one parameter list, and items with about one outside user are not reported.
    • Each entry lists the 7 items with the most outside users. health.shallowDirectories.ignore hides a directory that is wide on purpose.
    • The section is advisory. It has no health score weight and never fails a run.
    • JSON, SARIF (fallow/shallow-directory, level note), CodeClimate, compact, markdown, human output and the MCP check_health tool (shallow_directories) carry it.
      (Closes #​5195)
  • A note for an overrides[].files glob that matches no file. An override glob that matches no project file has no effect, and fallow said nothing. A common cause is a glob that names an import target, a package or a binary, not the file that has the finding. fallow dead-code now adds an override-files-unmatched entry to workspace_diagnostics for each such glob, with pattern, files, rules and reason. The message names the key that works: ignoreUnresolvedImports, ignoreDependencies, ignoreBinaries, or the glob of the file that has the finding. Human output prints a Note: line, Markdown output has a section, SARIF has a configuration notification, and the editor marks the glob in the config file. The check reads every project file, so --changed-since, --workspace and --production give the same answer.
    (Refs #​5227)
    Thanks @​crystalfp for the report.

  • The MCP server serves the fallow skills. fallow-mcp now supports the MCP skills extension (io.modelcontextprotocol/skills). A client that supports the extension, such as Claude Code 2.1.331 or later, can load the fallow and fallow-setup skills from the server, at the same version as the tools. Each skill is at skill://<name>/SKILL.md, and its manifest lists every file with its SHA-256 digest and byte size. Set FALLOW_MCP_SKILLS=off to stop serving them. fallow agent install also installs the skills on disk, so it now writes FALLOW_MCP_SKILLS=off into the MCP entry that it registers, and a client shows each skill once. An older fallow version treats that entry as a user-edited entry and does not replace it without --force.
    (Closes #​5236)

  • A test-only-export rule. It reports an exported value that production code does not use while a test, story, fixture, bench or test-helper file does. In the default mode the tests keep such an export alive, so unused-export does not report it. The finding lists up to five test_importers and sets colocated_only when each importer is next to the module. Its actions are remove-export-and-tests and test-through-interface, both manual, and suppress-line. The rule is off by default and runs only in a default-scope run; a --production run reports the same export as unused-export. Only values are checked in this version, not types. Turn it on with rules: { "test-only-exports": "warn" } or the --test-only-exports selector, and read fallow explain test-only-export.
    (Closes #​5252)

Changed
  • The extraction cache version changes. A cached file that has a // fallow-ignore-next-line test-only-export comment held the token as unknown, so the first run after the upgrade parses each file again.
Fixed
  • fallow trace-error keeps scoped package paths in Firefox and Safari frames. An at-sign in a path such as node_modules/@scope/lib/index.js no longer splits the function name from the wrong part of the file location.

  • fallow trace-error resolves development server URLs to project files. It decodes the URL path and ignores the query and fragment when it looks for a source file.

  • fallow trace --callees stops at side-effect-only imports. A trace of a file that imports ./setup for its side effects used to include the imports of ./setup as disconnected hops. Named and star re-exports still connect the barrel to the source module.

  • fallow trace --callees reports calls to external imports. For example, a call to parse from the yaml package appears in unresolved_callees when the graph has no edge to the package.

  • fallow trace --path shows the source line of a re-export. A hop through a barrel file previously pointed to line 1 even when the file declared the re-export further down.

  • --changed-since finds changed and renamed files when Git uses relative paths. Runs from a repository subdirectory now use the correct file paths when diff.relative is set to true.

  • A passing gate clears a pending failure in the same worktree. Linked worktrees can have failures pending at the same time.

  • Impact matches moved findings one for one. A new occurrence can cancel one resolution credit for the same symbol and finding kind in that worktree.

  • The Impact containment total keeps growing after the event list fills. The project report, digest and cross-project report count events that leave the list. For an older store, counting starts with the events it retained.

  • fallow explain shared-state describes the inventory in each supported format. The command also accepts fallow/shared-state.

  • License activation help shows how to read a JWT from standard input. Pipe the JWT to fallow license activate --stdin.

  • Walkthroughs record --mark-viewed in JSON output as well as in human and Markdown output. Absolute paths and paths with . or .. mark the same file as the guide path. A mark that matches no staged file prints a warning on stderr.

  • Migration keeps entry points from package.json when a separate file configures duplication or stylesheet rules. Each tool takes settings from its own config file first.

  • migrate --from detects duplication and stylesheet configs with custom file names. It recognizes minTokens alongside ignore, and known Stylelint rules on their own. It also recognizes stylesheet settings alongside extends, plugins, overrides, customSyntax, or ignoreFiles.

  • Type coupling now counts each public signature edge when it reports the share of endpoints in the top contributing files. Multiple signatures that connect the same pair of files each contribute to the share.

  • Watch reloads when a workspace manifest changes or an editor replaces the selected config file, including a config outside the project. This includes pnpm-workspace.yaml, deno.json, and deno.jsonc.

  • A scoped file list keeps the file count for each boundary zone in the project. The positional path still limits the file inventory.

  • fallow dupes reports the full source range and text when clone occurrences overlap on the same lines. A clone fingerprint can change if its source fragment was incomplete.
    For a group with merged occurrences, the corrected fragment can change its audit key and baseline entry once.

  • Doctor includes the selected config in its cache repair command. The command rebuilds the parse and graph caches that doctor inspected. Doctor JSON omits remediation and gives manual steps in message when the config path contains shell-unsafe characters, the config is outside the project root, or the run overrides the cache directory.

  • Config fix reports list only the ignore rules that Fallow adds. Dry-run and apply print a note on stderr when an existing ignoreExports rule prevents a write. The note names the affected file.

  • fallow audit compares coverage thresholds in the same configuration scope. Adding or moving a per-glob threshold no longer reports a change to the global threshold.

  • The flag retirement report shows separate sites for a Vercel flag definition and a call that tests it later in the same file. Fallow rebuilds the parse cache once to refresh these sites.

  • CSS health reports count Tailwind utilities on continuation lines of an @apply directive. A theme token used only on a continuation line now shows its consumer.

  • fallow agent status suggests --user commands for skills in the home folder. A stale or foreign skill under ~/.claude/skills or ~/.agents/skills got the project command fallow agent install --dry-run or --force, which writes only project files, so the row stayed. Status now adds the next actions agent-install-user (fallow agent install --user --dry-run) and agent-install-user-force (fallow agent install --user --force) for those rows. The project actions keep their ids and appear only for project rows. (Closes #​5067)
    Thanks @​aloneangel45 for the patch in #​5102.

  • An exported Props type in a .astro file is no longer an unused type. Astro reads the Props export of a component to type Astro.props, so no other file imports it. A Props export in a .ts file still gets the normal check.

  • A root Vitest test.include no longer makes the test files of a workspace unused. The include of the root config no longer replaces the test patterns of a workspace. A workspace keeps its own include or the default test patterns. A Vitest config that is only export { default } from "<module>" now gives the includes of that module, when the module is a sibling file or a package in the project.
    (Closes #​5094)

  • A dependency that a config requires now counts as used. An Expo app config that sets userInterfaceStyle needs expo-system-ui. Fallow reported the listed package as an unused dependency, and the removed package as unlisted. A listed required dependency is now used. The unlisted finding stays when no manifest lists the package.

  • The jsPlugins of an imported Oxlint preset are no longer unused devDependencies. An Oxlint config can extend a preset that it imports as a value, for example extends: [reactStrict]. fallow now resolves the import, also under node_modules, and credits the jsPlugins of its default export when that export is a static object. fallow also follows the imported presets of that preset, to a depth limit. A preset that fallow cannot read statically gives no credit and no error.
    (Closes #​5101)

  • The VS Code fix preview shows the available fixes when the dry run skips a file. Before, Fallow: Fix showed only an error when fallow fix --dry-run exited with code 2 because a file had mixed line endings or changed during the run. The preview now offers the eligible fixes, and a warning explains what the run skipped. (Closes #​5126)
    Thanks @​aloneangel45 for the patch in #​5128.

  • Unused class member checks credit toJSON and paired dispose methods. JSON.stringify calls toJSON, so fallow no longer reports it. A dispose method is used when its class also declares [Symbol.dispose] or [Symbol.asyncDispose]. Other dispose methods still report, and usedClassMembers stays the opt-in for them. Fallow rebuilds the parse and graph caches once to record the pairs.

  • The Electron plugin reads the build and renderer items of the Electron Forge VitePlugin in forge.config.*. Each config path is an entry and its default export is used, and each build entry path is an entry. vite is used when the Forge config names @electron-forge/plugin-vite. Before, fallow dead-code reported these Vite configs as unused files and vite as an unused devDependency. (#​5097)

  • React Native: a re-export from a platform family now credits the re-exported names on each member of the family, as an import does. export { default } from "./x" no longer reports default in x.tsx as unused when x.ios.tsx exists. This applies to named re-exports and to export *.

  • A macro import is build time. An import with with { type: "macro" } runs its target in the bundler, and the output holds only the result. A devDependency that only a macro module imports, or that a macro import runs directly, is no longer a devDependency in production. The macro module and its exports stay used. A module that a runtime import also reaches stays production code. The extraction cache version moves because extraction now records macro imports.

  • A crafted stylesheet with nested color functions can no longer make fallow dead-code or fallow health --css hang. The CSS parse time doubles at each level of nested color functions such as light-dark(light-dark(...)), and it grows with the length of the text inside them. A file with 8 unclosed color functions in front of a long text stayed under the depth limit, but its parse took minutes. Fallow now estimates the parse work of the color functions and skips the structural parse of a stylesheet past that budget. CSS Modules classes in such a file come from the plain class scan, and the file gets no CSS analytics. Real stylesheets are not affected.

  • A package script with a very long command word no longer slows the analysis. For each argument of a script command, fallow copied and hashed the full command word to look up the flags that name a package. A command word of some hundred kilobytes with many arguments took seconds. Fallow now looks up the command once.

  • A Sass @use or @forward of a blank string no longer adds an import. @use " " gave an import with an empty name and a source span whose end was before its start.

  • A crafted TypeScript or MDX file with nested < and parenthesized patterns can no longer make the analysis hang. The TypeScript parser tries a< as the start of type arguments, and it tries a ( before {, [ or ( as the parameters of an arrow function. Each nested r<({[ thus tripled the parse work, and a few hundred bytes kept the parser busy for minutes while the file stayed under the nesting limit. Fallow now counts such a ( as one more nesting level, so the file gets a failed parse instead. Real code stays far below the limit.

  • Vue SFC <template> complexity units now report the line count of the template block. The synthetic <template> unit received the line count of the entire Vue file. This inflated vital_signs.functions_over_60_loc_per_k, and short templates in long single-file components showed in large_functions. The unit now spans the root <template> block, and only constructs inside that block count toward its complexity, so directives in custom blocks such as <docs> no longer add to it. A file with more than one root <template> keeps the line count of the whole file. The extraction cache version changes, so the first run after the update parses each file again. (Closes #​4992)
    Thanks @​1abdala for the patch in #​5079.

  • A stale fallow-ignore-next-line marker now names the cause on the next line. When the next line has a finding of another kind, the message names that kind and the marker that suppresses it, for example use fallow-ignore-next-line unused-type above a type re-export. When the next line is blank, the message says so: the marker applies only to the line directly after it. JSON output gives the same facts in the new next_line_kinds and next_line_blank fields.
    (Closes #​5164)

  • The docs of duplicates.threshold and --threshold now say that 0 turns the gate off. The value 0 is not zero tolerance. To fail on any clone group, use --fail-on-issues.
    (Closes #​5165)

  • A misnamed config file such as fallow.jsonc now gives a note. Discovery reads only .fallowrc.json, .fallowrc.jsonc, fallow.toml and .fallow.toml. When the project root has none of these but has a near-miss name such as fallow.json, fallow.jsonc, fallow.yaml or fallow.config.json, the run now reports a config-file-name-unrecognized entry in workspace_diagnostics and prints a Note: line with the accepted names. The note also appears when discovery loads a config from a parent directory, because fallow still does not read the file in the project root. A run with --config reports nothing. The language server now reads the config file names from one shared list.
    (Closes #​5166)

  • An expression in an attribute of an Astro <style> or <script> tag now counts as a use. For example, CSS in <style set:html={CSS}> is no longer reported as an unused export. The body of the block stays out of the scan, as before. The extraction cache version changes, so a warm cache rebuilds.
    (Closes #​5098)
    Thanks @​aloneangel45 for the patch in #​5123.

  • unused-store-member no longer reports Pinia state keys that code reads through store.$state. A read such as store.$state.key, store.$state['key'] or const { key } = store.$state credits that key. When the $state object goes to a call, a spread or a local, Fallow treats the whole store as used. A whole write store.$state = { ... } reads no key.
    (Closes #​5168)

  • A Vue or Svelte file with many unclosed attribute quotes can no longer slow the analysis to a crawl. Fallow found the <script> and <style> blocks of a single-file component with regexes. A tag start whose quoted attribute value did not close made each search read far past its block, and the next search read that text again, so the time grew with the square of the file size. A 125 KB file took minutes in a fuzz build. Fallow now finds the blocks with a scan that reads each position a bounded number of times. The blocks that it finds do not change.

  • The release SBOM of each target now lists only the crates of the fallow-cli build for that target. Before, each SBOM also listed crates that only other workspace members use, such as time, jiff and cookie. An SBOM scan then reported advisories for crates that are not in the binary. The release job now removes those components, and it fails when a crate of the build has no component.
    (Closes #​5131)

  • Stale ignoreExports, duplicates.ignore and health.ignore entries now give a "has no effect" note. A dead-code run reports an ignoreExports file glob that matches no file, an ignoreExports name that no file of its glob declares or re-exports, and a duplicates.ignore or health.ignore glob that matches no file. The new workspace_diagnostics kinds are ignore-exports-file-unmatched, ignore-exports-name-unmatched, duplicates-ignore-unmatched and health-ignore-unmatched. The human output prints one note per setting, SARIF has a configuration notification, and Markdown lists them under "Unmatched config patterns". A file with export * counts as a file that can declare any name. A --production run reports none of these.
    (Closes #​5167)

  • --trace File.svelte:default no longer says UNUSED for a component that a file imports. A .vue, .svelte or .astro file without an explicit export default has no export entry, so the trace found no references, while dead-code did not report the component. The trace now lists the files that import the component by its default or by a namespace import. A reachable component file is used, because dead-code reports an unused component as an unused file.
    (Closes #​5172)

  • SvelteKit shorthand {data} attributes (<View {data} />) now count as whole-data passes. Just like data={data} and {...data}, forwarding data via shorthand attribute lets the child component read any key returned by load(), so unused-load-data-key now abstains for that route (CACHE_VERSION bumped to invalidate stale parse caches).
    (Closes #​5171)
    Thanks @​aloneangel45 for the patch in #​5179.

  • More markup forms that pass the whole data prop now stop the unused load data key report. A SvelteKit route component that uses bind:data, data="{data}" or a template call argument such as {format(data)} lets a child read any load key. Fallow now counts each of these forms as a use of the whole data object. So does any other plain mention of data in markup, for example a {data} text node or {#if data}. For such a route, fallow reports no unused load data keys. A data mention inside script text no longer counts. The extraction cache version changes.
    (Refs #​5171)

  • The release SBOM of each target now covers every binary of the fallow-<target> archive. Before, the SBOM covered only the fallow binary. Crates that only fallow-lsp, fallow-mcp or fallow-similar-code link, such as tower-lsp-server, rmcp, rquickjs and candle-core, were not in it. The SBOM also listed the stub_sidecar and fallow-schema-emit bins, which the release does not ship. The release job now merges the SBOMs of the four packages into one file with the same name, and it lists only the crates of their builds.
    (Closes #​5190)

  • fallow agent install now refreshes a stale fallow skill under .agents/skills/ when it detects only Claude Code. Before, a .claude folder made the install write only .claude/skills/, so fallow agent status kept the .agents row stale after the suggested command. The install now updates each .agents skill that has the fallow marker, in user scope and in project scope. It does not create an absent .agents skill, and it does not change a skill without the marker.
    (Closes #​5132)

  • unused-store-member no longer reports option-store state keys that a getter or an action reads through this.$state. A read such as this.$state.key, this.$state['key'] or const { key } = this.$state credits that key. When this.$state goes to a call or a spread as a whole value, Fallow treats every state key of the store as used. Getters and actions stay checked.
    (Closes #​5203)

  • fallow dupes and fallow health now report a duplicates.ignore or health.ignore glob that matches no file. Only a dead-code run gave this note, so a CI job that ran only one of these commands never showed the stale entry. A fallow dupes run adds duplicates-ignore-unmatched to workspace_diagnostics, and a fallow health run adds health-ignore-unmatched. The human output prints one note per setting, also in a fallow --only dupes or fallow --only health run. The combined fallow run states each entry once. A --production run reports none of these.
    (Closes #​5202)

  • unused-store-member no longer reports a store member that code reads through a property typed with an inline ReturnType<typeof useFooStore>. For example, (deps: { store: ReturnType<typeof useFooStore> }) => deps.store.key now credits key. Nested, destructured and nullable properties (ReturnType<typeof useFooStore> | null) work the same way.
    (Closes #​5207)

  • Top-level return statements in .astro frontmatter no longer trigger parse errors or mark the file as degraded. Astro compiles frontmatter scripts inside the component function body, where return Astro.rewrite(...) and return Astro.redirect(...) are valid. Fallow now enables allow_return_outside_function for Astro frontmatter parsing so imports and complexity from those pages count cleanly (CACHE_VERSION bumped to invalidate stale parse caches).
    (Closes #​5129)
    Thanks @​aloneangel45 for the patch in #​5175, and @​Elia97 for the report.

  • fallow mutation keeps pruned mutants out of the instrumented copy. Each pruned mutant, for example a framework-config mutant, now keeps its original text in the copy that the runner loads. Before, the Vitest overlay served the copy to each build plugin, and the TanStack Router code splitter failed the baseline with You must provide a string literal for the codeSplitGroupings. The ids of the other mutants do not change.
    (Closes #​5218)
    Thanks @​x7ddf74479jn5 for the report.

  • --type-aware keeps an exported type that declaration emit of another file needs. No file names the type, but an exported declaration in another file gets it through an inferred type, for example a schema that a library call builds (z.object({ entry: entrySchema })) and a class field that holds it. Without the export, tsc --declaration fails with TS4029. The type-aware pass now walks the inferred types of the exported declarations and credits each interface of another file that declaration emit names. The evidence of the credit names the holding declaration with the reference role declaration-emit. The pass does this only in a project that emits declaration files: declaration or composite in the tsconfig, or a types entry in package.json. A type alias gets no credit, because declaration emit writes the structure of an alias that has no export. A private member gets no credit, because declaration emit writes it without a type.
    (Closes #​4850)

  • Nx local executors, generators and plugins are no longer unused files. Fallow now reads each executors.json and generators.json collection. The implementation, batchImplementation, factory and hasher files of each entry are entry points, and each schema file counts as used. A local plugin path in the plugins array of nx.json is an entry point, together with the main file of its package.json. For a local executor path such as ./tools/plugin:build, fallow reads the collections that the package.json of that folder names. Fallow also no longer credits a local executor path as a package name.
    (Closes #​5201)
    Thanks @​Bertie690 for the report.

  • Fallow warns when the parse cache is too small for the project. When
    the files of a run do not fit in the parse cache cap, each run parses a
    part of an unchanged tree again, and the cache looked broken. Fallow now
    prints one warning for each run. The warning names the share of files that
    do not fit and a cache.maxSizeMb or FALLOW_CACHE_MAX_SIZE value that
    holds them. --quiet hides the warning, and JSON and SARIF output on
    stdout do not change. (Closes #​5216)
    Thanks @​1abdala for the patch in #​5222, and @​Bertie690 for the report.

  • A local with the name of a namespace import no longer hides the unused exports of the imported module. In import * as e from "./errors", a use of a local e (for example String(e) in catch (e)) counted as a use of the whole namespace. Fallow then marked each export of ./errors as used. Now only a use that resolves to the import binding gives this credit. The fix also covers a binding in a static block and the name of a named function or class expression.
    (Closes #​5064)

  • An import of a SvelteKit virtual module now uses @sveltejs/kit, also without svelte.config.js. An import of $app/*, $env/*, $service-worker or a generated ./$types module credits @sveltejs/kit in the manifest of the importing file, in the package where the SvelteKit plugin is active. Before, a project without SvelteKit config evidence got an unused-dev-dependency finding for @sveltejs/kit, and fallow fix removed the package. --trace-dependency @sveltejs/kit reports the credit with the new virtual-module-import reason, which names the first importing file and the specifier.
    (Closes #​5019)
    Thanks @​tlq5l for the patch in #​5234.

  • fallow fix --production no longer breaks tests. A production run leaves out test, story, fixture and bench files, so an export that only these files import is reported unused. fix --production removed its export keyword, and the import in the test file then failed. Now fix --production keeps such an export and lists it with skip_reason: "test_importers", counted by the new skipped_test_importers field. A file that no entry point reaches does not count. In fallow dead-code --production --format json, the finding stays and keeps remove-export as its first action, with auto_fixable: false, the reason in note, and a new test_importers field that lists the importing files. An unused type that a test imports gets the same field and note. The editor no longer offers the quick fix for such an export or type. To find the importers, a production run with unused exports also builds the graph without production mode.
    (Closes #​5251)

  • fallow mutation finds Vitest in a Vite+ project. Runner detection now counts an import of vite-plus/test as a Vitest import, and a vite-plus dependency selects Vitest. Before, a Vite+ project with a bun.lock got bun test, and the run failed. When the project root has no vitest, the Vitest adapter also looks in each package that the root package.json lists, so a Vitest that Vite+ brings under pnpm no longer gives runner-not-found.
    (Closes #​5199, closes #​5174)

  • dynamic-segment-name-conflict accepts a dynamic segment next to a catch-all. The Next.js router keeps one slot for a single segment, one for a catch-all and one for an optional catch-all at each position. The rule now reports a position only when one slot holds two parameter names, so [slug] next to [...rest] is valid.
    (Closes #​5169)

  • A CSS Module default that a barrel re-exports now gets credit. For export { default as ui } from './ui.module.css', the re-export and the classes that consumers read no longer show as unused.
    (Closes #​5162)

  • The static properties that React reads are no longer unused class members. defaultProps, displayName, propTypes, contextTypes and childContextTypes on a class component now count as used. An instance field with one of these names is still reported.
    (Closes #​5173)

  • @effect/tsgo provides the @effect/language-service tsconfig plugin. A project that lists only @effect/tsgo no longer gets @effect/language-service as unlisted and @effect/tsgo as an unused devDependency.
    (Closes #​5163)

  • An @expected-unused export that only tests import is no longer a stale suppression. A default-scope run gave a stale-suppression finding for it, although production code does not use the export. The tag stays stale when a production file uses the export.
    (Closes #​5252)

  • The language server no longer runs again for a watched-file event that changes no content. The server compares the content of the file with the content that it saw last. A file watcher can report events for a file that a scanner, a sync client or another tool touches, and each event started a new analysis, so the analysis never came to rest. One editor save also started two runs, because the watched-file event of the save cancelled the run of didSave. The Output channel now names the files that start a run, and it counts the skipped events.
    (Closes #​5278)

  • The VS Code status bar count now agrees with the sidebar and the analysis notification. The status bar now counts the same categories as the sidebar, and it leaves out the categories that fallow.issueTypes turns off. With a workspace scope, the status bar keeps the count of the scoped sidebar analysis. The fallow/analysisComplete notification now also sends the counts of policy violations, the React Server Components checks and the route checks.

  • The language server no longer writes INFO progress lines to stderr. VS Code labels each stderr line [error] in the Output channel. The server now writes only warnings and errors there. Set RUST_LOG (for example RUST_LOG=fallow_core=info) in the environment of the editor to see more detail.

Security
  • fallow is harder to steer from an analyzed repository. These changes protect a run on a repository that you do not trust:
    • The agent gate and fallow agent install run only a fallow that the install recorded or that the install root holds. Before the first program runs, the gate removes empty and relative PATH entries and each entry with a node_modules component.
    • fallow runs Git with core.fsmonitor=false, so a repository config cannot start a file system monitor program. fallow refuses a project root that a committed link moves out of its checkout, and a directory that holds the home directory.
    • Config, tsconfig, manifest and plugin input reads stay inside the project scope and have a size limit. An error for a file outside the project names only the position, not the content.
    • The cache, setup and migrate writers refuse a link into a .git directory, the Git directory that a .git file names, or node_modules.
    • A user glob that folds to an absolute path, such as .//, is refused, also inside a brace expansion.
Performance
  • Plugin used_exports rules no longer slow down monorepos with many workspaces. Each workspace gets its own copy of the rules of a plugin such as Next.js, with the workspace path as prefix. Fallow now groups the rules by the literal directory of each pattern. A module is tested only against the rules of its own directory chain, not against the rules of every workspace. The unused-export analysis, --trace, --performance and audit use the same index. On a generated monorepo with 75 Next.js workspaces and about 200,000 files, the CPU time of fallow dead-code fell by about 40%, and by about half with --performance. The output does not change.
    (Closes #​5196)
    Thanks @​Bertie690 for the report.

v3.48.0

Compare Source

Added
  • keepExportTags selects the JSDoc tags that keep an export alive. An export with an @internal, @alpha or @beta tag never got an unused-export finding, and no option turned this off. A common use of the tag is /** @internal Exported for tests. */: when the last test that used the export went away, the gate stayed silent. The new key lists the tags that keep an export. The default is all four tags (public, internal, alpha, beta), so the behavior does not change. Set "keepExportTags": ["public"] to check @internal, @alpha and @beta exports like untagged exports. A tag that is not in the list also gives no credit to the source of a tagged re-export. fallow dead-code --trace <file>:<export> now names the tag when a tag keeps an export with no consumer, and the JSON trace has the new field kept_by_tag.
    (Closes #​5081)
Changed
  • Fallow reports an unused export of a fixture file that a test imports by name. The Vitest, Jest and Playwright plugins make each file below fixtures/ or __fixtures__/ an entry point, so fallow never checked its exports. Now, when a module outside the fixture directories imports a name from such a file, fallow checks its exports like those of any other module, and also checks each fixture file that it imports by name. The file stays an entry point, so it is never an unused file, and its default export stays used. A fixture file that no module imports by name, that a dynamic import, an import pattern or require() loads, that only a side-effect import loads, whose fixture has its own package.json, or that another entry rule also matches keeps the old behavior. A project can get new unused-export and unused-type findings.
    (Closes #​5082)
Fixed
  • fallow hooks install --target git writes the hook where Git runs it. Before, the command always wrote .git/hooks/pre-commit. With core.hooksPath set, Git did not run that file, but fallow hooks status reported the hook as installed. In a linked worktree or a package folder of the repository, the command failed with "No .git directory found". Now install, uninstall and status use the hooks folder of Git: the core.hooksPath folder, or the shared hooks folder of a linked worktree. When core.hooksPath points outside the repository, install stops with an error, because other repositories can share that folder. Uninstall then removes a hook that fallow wrote to .git/hooks/pre-commit before.

  • fallow plugin-check evaluates an external plugin in the package that runs it. The analysis runs external plugins once for the root and once for each workspace. Each run uses the dependencies of that package, plus each root dependency that a workspace script calls, and resolves manifestEntries globs from its folder. Before, plugin-check pooled the dependencies of all packages and checked the manifests only at the project root. A plugin that a workspace enables then showed a false manifests-matched-none warning. Now plugin-check checks each package that activates the plugin, and skips a package without a package.json, as the analysis does. The JSON adds active_in, the packages that activate the plugin, and a package field on each item of manifest_rules. All paths stay relative to the project root.

  • Stale baseline prune advice keeps the analysis mode. When a health or duplication baseline becomes stale, the prune command in the warning and the gate failure now includes --production if the baseline was saved in production mode. The advice also includes --root when the project is outside the working directory.

  • Regression baseline errors give the save command for the selected analysis. The command quotes file paths and keeps the selected project, config file, production scope, issue filters and analysis mode. If the type-aware sidecar was unavailable, the error tells you to restore it before saving a baseline. For flag retirement and entry weights, the error tells you to move an incompatible file to a backup before you save a new file.

  • The regression breakdown compares only counts that the baseline can store. For example, if a Vue project adds one unused file, the breakdown for a config baseline reports that file and omits existing unused component props. The total still includes all issue kinds.

  • The baseline growth gate ignores scope changes in dead-code baselines. A workspace save now compares only the finding fields. A new occurrence of a finding still fails the gate.

  • An unchanged health baseline can move from legacy finding keys to counts. During the first comparison, the gate checks how many distinct findings each new bucket requires. A function can exceed both the complexity and CRAP thresholds. The gate reports the limits of the comparison because legacy keys omit category and severity.

  • Saved health reports render Markdown, GitHub summaries and GitHub annotations outside the original checkout. These formats use the saved report even when the new directory has no CODEOWNERS file or workspace packages.

  • The health trend error gives a repair command for the current analysis mode. The command keeps the project root and the selected snapshot path. If the path is outside the allowed write directories, the error shows how to save and compare a snapshot in the project.

  • Sticky comments show errors before warnings in each category. A row limit keeps the errors visible.

  • CodeClimate clone findings show the owner of their clone group. Separate clone regions in one file can have different owners in both live and saved reports.

  • CodeClimate gives each flag read on a line its own fingerprint. A single read keeps its existing fingerprint.

  • The health badge and the terminal round the score the same way. Both use the same grade and display precision.

  • GitLab retries temporary errors when it reads merge request metadata. The CI job uses the HTTP status to decide whether to retry.

  • GitHub Enterprise Server reviews use the API endpoints of the runner. Sticky comments and inline reviews use the REST URL of the runner. Thread lookups and resolutions use its GraphQL endpoint.

  • The language server watches all source extensions that fallow analyzes. Clients that support file watchers now report external changes to component files, stylesheets, HTML and GraphQL, so diagnostics refresh after edits and branch switches.

  • A refreshed analysis session reports source skips from the latest file scan. When a file crosses the size limit, the session adds or clears its diagnostic on the next scan.

  • VS Code shows which fixes the CLI can apply. The preview excludes skipped changes. After an apply run, the editor reports how many fixes the CLI applied and how many it skipped, also when a write fails.

  • The fix confirmation describes all file changes. It now includes enum and class member removal, dependency catalogs and fallow configuration files.

  • VS Code detects a CLI upgrade at the same path. After a managed download or a local CLI update, the next command reads the installed version and enables the options that it supports.

  • Click an expanded folder heading in the import graph to collapse it. This works for both importers and imports.

  • Folder grouping in the import graph finds modules below a shared directory. A project with large modules under src/features now shows each module in its own group.

  • The file panel lists duplication for each file in a clone group. The project ranking still links to the group as a whole.

  • The architecture legend includes package and re-export cycles. The legend and the badge use the same finding total.

  • Escape closes the More menu and keeps the selected file open. Browser shortcuts and text composition also leave the dashboard selection alone.

  • The CLI reference keeps the capital R in "React Router". The display label of the react-router-open-redirect security category is now "React Router open redirect sink". The docs page title uses this label.

Security
  • The cookie dependency is at 0.18.3 for RUSTSEC-2026-0594. Version 0.18.2 can repeat the nonces of private cookies in a process that forks. The release binaries now build with the fixed version.

v3.47.0

Compare Source

Added
  • fallow security reports a non-literal target of React Router redirect, redirectDocument and replace. The new react-router-open-redirect category (CWE-601) works like nextjs-open-redirect. It is active when the project declares react-router or @react-router/dev. The callee must be the binding of an import from react-router, so a local function named redirect or replace gives no candidate. Thanks to @​cr101 for the report and the reproduction.
    (Closes #​4951)

  • New rule namespace-escapes reports namespace imports that hide exports from the unused-export check. When the code uses import * as Ns as a whole value, fallow cannot see which members it reads. Examples are a cast, an assignment, a call argument, a spread, a computed member read, Object.keys(Ns), and a re-

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ac0d0e9e-18f6-483b-8229-af23390436da

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@socket-security

socket-security Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedfallow@​3.46.0 ⏵ 3.49.0100 +110010096 +1100

View full report

@pkg-pr-new

pkg-pr-new Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/node-modules/urllib@1012

commit: 38a7027

@codecov

codecov Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.07%. Comparing base (54a1f78) to head (38a7027).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1012   +/-   ##
=======================================
  Coverage   95.07%   95.07%           
=======================================
  Files          10       10           
  Lines         751      751           
  Branches      235      235           
=======================================
  Hits          714      714           
  Misses         34       34           
  Partials        3        3           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate
renovate Bot force-pushed the renovate/fallow-3.x-lockfile branch from 4c308a5 to 473a50c Compare November 27, 2026 02:59
@renovate renovate Bot changed the title chore(deps): update dependency fallow to v3.47.0 chore(deps): update dependency fallow to v3.48.0 Nov 27, 2026
@renovate
renovate Bot force-pushed the renovate/fallow-3.x-lockfile branch from 473a50c to 38a7027 Compare November 29, 2026 13:21
@renovate renovate Bot changed the title chore(deps): update dependency fallow to v3.48.0 chore(deps): update dependency fallow to v3.49.0 Nov 29, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants