Repository navigation
chore(deps): update dependency fallow to v3.48.0 - #1012
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
renovate
Bot
force-pushed
the
renovate/fallow-3.x-lockfile
branch
from
November 27, 2026 02:59
4c308a5 to
473a50c
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
3.46.0→3.48.0Release Notes
fallow-rs/fallow (fallow)
v3.48.0Compare Source
Added
keepExportTagsselects the JSDoc tags that keep an export alive. An export with an@internal,@alphaor@betatag never got anunused-exportfinding, 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,@alphaand@betaexports 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 fieldkept_by_tag.(Closes #5081)
Changed
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 orrequire()loads, that only a side-effect import loads, whose fixture has its ownpackage.json, or that another entry rule also matches keeps the old behavior. A project can get newunused-exportandunused-typefindings.(Closes #5082)
Fixed
fallow hooks install --target gitwrites the hook where Git runs it. Before, the command always wrote.git/hooks/pre-commit. Withcore.hooksPathset, Git did not run that file, butfallow hooks statusreported 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: thecore.hooksPathfolder, or the shared hooks folder of a linked worktree. Whencore.hooksPathpoints 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-commitbefore.fallow plugin-checkevaluates 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 resolvesmanifestEntriesglobs from its folder. Before,plugin-checkpooled the dependencies of all packages and checked the manifests only at the project root. A plugin that a workspace enables then showed a falsemanifests-matched-nonewarning. Nowplugin-checkchecks each package that activates the plugin, and skips a package without apackage.json, as the analysis does. The JSON addsactive_in, the packages that activate the plugin, and apackagefield on each item ofmanifest_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
--productionif the baseline was saved in production mode. The advice also includes--rootwhen 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/featuresnow 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-redirectsecurity category is now "React Router open redirect sink". The docs page title uses this label.Security
cookiedependency 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.0Compare Source
Added
fallow securityreports a non-literal target of React Routerredirect,redirectDocumentandreplace. The newreact-router-open-redirectcategory (CWE-601) works likenextjs-open-redirect. It is active when the project declaresreact-routeror@react-router/dev. The callee must be the binding of an import fromreact-router, so a local function namedredirectorreplacegives no candidate. Thanks to @cr101 for the report and the reproduction.(Closes #4951)
New rule
namespace-escapesreports namespace imports that hide exports from the unused-export check. When the code usesimport * as Nsas 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-export withexport { Ns }. Fallow then credits every export of the target module and of the modules that it re-exports from, sounused-exportsandunused-typesdo not check them. The new rule reports each such binding on its import, with the target module and the count of exports that the credit hides. A binding that hides no export is not reported. The rule isoffby default, so the default output does not change. Turn the rule on inrules, select it with--namespace-escapes, and suppress one finding with// fallow-ignore-next-line namespace-escape. The findings go to the newnamespace_escapesarray in JSON and reach SARIF, CodeClimate, the compact, markdown and human reports, the GitHub and GitLab integrations, the LSP andfallow explain. To fix a finding, read the members by name or import them by name.(Closes #5054)
Changed
One table decides each global option per command. A new table states for each global option whether each command uses it, ignores it or rejects it. The startup check reads this table and exits with code 2 for a rejected pair. The baseline, regression, output, gate,
--lean,--group,--fail-on-parse-errorand--sarif-filechecks, and the option lists ofsecurity,doctorandsimilar-code, now read it. The error messages are the same.fallow schema --cli-referenceexports the table as the additivecommand_supportfield of each global option. These command lines accepted the option with no effect and now exit with code 2:fallow schema,config-schema,plugin-schemaandrule-pack-schemawith--ci,--fail-on-issues,--sarif-fileor--output-file.fallow schema,config-schema,plugin-schema,rule-pack-schemaandtelemetrywith--group.fallow telemetryandfallow impact statuslinewith--sarif-file,--fail-on-regression,--regression-baseline,--save-regression-baselineor--tolerance.fallow schema,config-schema,plugin-schemaandrule-pack-schemawith--fail-on-regression,--regression-baseline,--save-regression-baselineor--tolerance.fallow telemetry --output-file.fallow impact,recommend,suppressions,workspacesand therule-packsubcommands other thanlistwith--output-file. These commands print their output to stdout and left an empty file.fallow viz --output-file.vizwrites the map to the path of its own--outoption, so--output-fileleft an empty file and the map went tofallow-viz.html. The message namesfallow viz --out <PATH>. (Closes #5007)fallow agentandfallow rule-pack listwith--output-fileand a format other than--format json, andfallow fixwith--output-fileand a format other than--format github-summary. These formats left an empty file. The formats that write the file keep working, and the CLI reference lists them assupported_with_formats.fallow impact statuslinewith--cior--fail-on-issues.--dupes-mode,--dupes-near,--dupes-threshold,--dupes-min-tokens,--dupes-min-lines,--dupes-min-occurrences,--dupes-skip-local,--dupes-cross-language,--dupes-ignore-imports,--dupes-no-ignore-imports,--dupes-ignore-symlinksand--dupes-no-ignore-symlinkson each command other than barefallow. Only the bare run reads them.fallow audit,health,dead-code,fixandwatchread theduplicatessection of the config, and the message names the config key, for exampleduplicates.minLines.fallow dupesreads its own options, and the message names the option, for examplefallow dupes --min-lines.fallow --only dead-codeorfallow --skip dupes) with a global--dupes-*option, and a bare run without the health analysis with--churn-file. Withduplicates.enabled: falsein the config, a global--dupes-*option on the bare run keeps the exit code and gives an inert-flag notice that names the option and the config key, as--dupes-baselinedoes. Health has no config switch that turns the analysis off, so--churn-fileneeds only the--onlyand--skipcheck.--churn-fileon each command other thanfallow healthand barefallow.--type-aware-projecton each command other than barefallow,dead-code,architecture,health,audit,fix,inspectandwatch, and on a bare run without the dead-code and the health analysis (for examplefallow --only dupes). With--type-awareon the command line, a--type-aware-projectpath that does not exist fails at startup, as before. WhenFALLOW_TYPE_AWAREortypeAware.enabledturns type-aware analysis on, the path that does not exist now fails too, on each command that reads the project. When type-aware analysis is off for the run,--type-aware-projectnow fails with "has no effect" on each command that reads the project. The type-aware run skipped such a project in silence.--configonfallow agent,ci,ci-template,cloud,explain,hooks,impact,init,license,migrate,recommend,rule-pack schema,security survivors,setup-hooks,type-awareand the schema commands.--diff-fileonfallow schema,config-schema,plugin-schema,rule-pack-schema,telemetry,impact statusline,ci-templateandmigrate. The schema commands andtelemetrystill accept--root, because a caller can pass it to each command.fallow workspaceswith--fail-on-regression,--regression-baseline,--save-regression-baselineor--tolerance.--tolerance 0onfallow doctorand on each command without a regression baseline. The earlier checks compared the value with0and so missed an explicit0.A test now fails when a command ignores an option that names a file, such as
--save-regression-baselineonfallow dupes(issue #4931).The check runs before the root, git ref and diff validation, and it reads the options in the order of their definition, with
--toleranceafter the other regression options. When a command line has more than one problem, the first error can be a different one. A rejected option now records aValidationfailure in the telemetry of the run. The help offallow securitynow also hides--tolerance, whichsecurityignores.An empty
HOME,XDG_CONFIG_HOMEorPATHnow counts as unset in every command.Before, some commands used an empty
HOMEas a relative folder, for examplea hook install with
--userand the telemetry config on macOS. They now fallback to
USERPROFILE, asfallow licensealready did, or report that no homefolder is set. The same
USERPROFILEfallback now applies to the store offallow type-aware setup. An emptyPATHno longer makes a tool lookup searchthe working directory. Paths for a normal environment do not change.
fallow agent install,agent uninstall,agent statusandsetup-hooks --useruseUSERPROFILEwhenHOMEis not set.Before, these commands found no home folder in that case. On native Windows,
where
HOMEis usually not set, they now find the user-level harness filesunder
%USERPROFILE%.A
HOMEvalue that is not valid UTF-8 now resolves. The license path,the credentials file and the runtime coverage add-on path use it. Before,
these paths treated such a
HOMEas unset.The duplication token cache is rebuilt once. The tokens of
export * as name from '...', of a namespace import and of a type-only import or export now include the name or thetypekeyword, so the cache version changes. A clone group that holds one of these statements can change once.Fixed
fallow auditcounts one paste as one clone finding. The detector can report one pasted block as a long clone group and a shorter group inside it with one more copy. The audit now groups the clone groups whose instances overlap into one clone region, and theintroduced-clone-groupgate and theduplication_*attribution counts count regions.--format jsonaddsduplication.clone_regions[]and aregionindex on each clone group. Oneduplicates.ignoredClonesentry for the long group now also accepts the short group, when its other copy was in the base. (#4967)An edit in every copy of an old clone no longer fails the audit. A clone region whose copies all map to one base clone group, with a small edit in one or more copies (each copy grows by fewer lines than
duplicates.minLines), gets the gradeinherited-edited, and theintroduced-clone-groupgate does not fail on it. A new copy of an old clone, and an edit that grows every copy byminLinesor more lines, stayintroduced. Whenduplicates.ignoredClonesaccepted the base clone, the audit keeps the region accepted (accepted_by), and the output prints the new key to put in the config (ignore_hint). (#4968)An expression in markup gives the same facts as the same expression in a script. A
dispatch("save")call in the markup of a Svelte component now counts forunused-svelte-event, and the finding points at the markup tag. A Vue template call ofemitor$emitnow marks the event as used through the template parse, sobus.emit("close")no longer marks a declaredcloseevent as used. A component whose root<template>uses another language, such aslang="pug", reports nounused-component-emitfinding, because fallow parses only HTML templates. Before, fallow read the raw text of such a template, and it could report an unused emit there. A dynamic import, a call or a security sink in a Vue or Svelte template expression, an Astro template region or an inline HTML script now goes to the graph and tofallow securitylike the same code in a script. The extraction cache version moves, so the first run after the upgrade parses every file again.(Closes #4942)
Compact output gives the line of a re-export cycle. A
re-export-cycle:line now has a line field after the path, as acircular-dependency:line has. An example isre-export-cycle:src/a.ts:4:src/a.ts <-> src/b.ts. The line is0when it is not known. A script that splits the line on:must read one more field.A
css-dead-surfacefinding for unused scoped classes points at the class. Before, thescoped-unused-classfinding of a Vue or Svelte component was on line 1. Now it is on the line of the first definition of an unused class in the<style scoped>block. Put afallow-ignore-next-line css-dead-surfacecomment above that line to suppress the finding. A file has one such finding for all its unused scoped classes, so this one comment suppresses the finding for each class in the file.fallow health --css --format jsonadds the fieldlinetocss_analytics.scoped_unused[].A
css-broken-referencefinding for an undefined@keyframespoints at the rule. Before, theundefined-keyframesfinding was on line 1 of the stylesheet. Now it is on the line of the first rule that references the name. Put afallow-ignore-next-line css-broken-referencecomment above that rule to suppress the finding.fallow health --css --format jsonadds the fieldlinetocss_analytics.undefined_keyframes[]. In one stylesheet, the entries are now in line order, then in name order.The CodeClimate fingerprint of the two CSS findings changes. The fingerprint uses the line. A CI system that tracks findings by fingerprint shows each of these findings as new one time. Styling findings have no
finding_id, so nofinding_idchanges.fallow fixchecks each edit before it writes it.fixnow applies its planned source edits to the text and compares the result with the original. It drops an edit when the file no longer parses, when a kept class or enum member is lost, when a kept enum member gets another value, when a name that the code uses loses its declaration, when an import stays after its name left an export list, or when the edit removes an export that other code still uses. The human output prints oneKept <path>:<line>line for each dropped edit, and the JSON output lists no entry for it. The editor quick fix and the review commentsuggestionblocks use the same check. An exported enum whose members are all unused loses its whole declaration only when the enum itself is unused; an imported enum keeps an empty body, so the import still resolves. The human output prints noWould removeorRemovedline for a dropped edit. (#4963, #4833, #4659)fallow fixremovesexportfrom each overload signature. Forexport function f(a: string): void;and its implementation withfunused,fixremovedexportfrom the implementation only, and the type check failed (TS2383). It now removesexportfrom each declaration that merges with it. A type alias or an interface with the name of an unused value keeps itsexport, because a value and a type of one name do not merge.Settings that a tsconfig inherits through
extendsnow count everywhere. fallow reads tsconfig compiler options through one reader that follows a local, package, package subpath and arrayextendswith the merge rules of TypeScript. A later entry of an arrayextendsoverrides an earlier one, and a relative path resolves against the config that sets it. These results change:jsxandjsxImportSourcefrom an extended config credit the JSX runtime package, soreactis no longer an unused dependency when only a base config sets"jsx": "react-jsx".typesandpathsfrom an extended config credit their packages and register their aliases.pathstargets resolve againstbaseUrlwhen a config of the chain sets it.files,include,excludeandtypeRootsof a package config, such as one undernode_modules, decide which module declaration files are unused. A parent that does not parse keeps every declaration file.paths,baseUrlandrootDirsread the merged config. Apathsmapping in a config thatextendsnames through a packageexportssubpath now resolves.paths,baseUrlandrootDirs, as in TypeScript. In an Nx-style app, the solutiontsconfig.json(files: []) does not hide thepathsof thetsconfig.app.jsonthat owns the file.filesandincludeadd up, so a config that inheritsfiles: []and sets its ownincludecontains the files thatincludematches.pathstarget resolves againstbaseUrl(TypeScript 5) and then against the config that setspaths(TypeScript 7, which has nobaseUrl), so an alias resolves on either version. Every target of a pattern is tried againstbaseUrlbefore any target against the config folder, in the order of TypeScript 5.rootDir.The graph cache version moves, so the first run after the upgrade resolves every import again.
(Closes #4980)
fallow mutation --verdictsupdates the function of the judged mutant. Two callbacks on one line give twofunctions[]entries with the same file, name and first line. An equivalent verdict for a mutant of the second callback changed the counts of the first one. The join now finds a survivor by thesurvivedlist of its function. For another status it prefers the function whose line range holds the mutant. Two callbacks that start and end on the same line still share one key, because the report has no column range for a function.fallow mutation --kill-matrixno longer calls a test with a duplicate id redundant. The runner numbers tests that share a title in report order, so the kills of such a test can belong to its twin. The full kill matrix still lists the row, butkill_matrix.candidates,coverage_without_killsandsubsuming_testsleave out the duplicate ids that the dry run reports.--kill-matrix-foralready left them out.fallow watchapplies a changedignorePatternsor root.gitignoreto the events it watches.Before, a config change reloaded the analysis config but kept the old event
filter. A path that the new config ignores still started a new analysis, and
a path that the old config ignored did not. The filter now follows each
reload.
A sticky PR or MR comment is created when only an enforced gate fails.
Before, the comment envelope marked such a run as clean when the diff filter
dropped every finding. The post step then skipped the first comment, while
the heading of the comment said that the gate failed.
is_cleanin theenvelope now follows the gate verdict of the heading.
fallow audit --format codeclimateapplies the report path prefix.Before, the live audit output kept analysis-root-relative paths when
--rootwas below the repository root or
--report-path-prefixwas set. The pathsnow match the CodeClimate output of the other commands and of
fallow report.The GitHub Action finds a type-aware config through
extendsand parent folders.With
type-aware: auto, the Action installed the sidecar only when the first config file in the root enabledtypeAware. It now asks the installed fallow CLI for the resolved config, so a setting in anextendsbase or in a parent config also counts. A fallow version that cannot print the resolved config falls back to the old file check.The GitHub Action starts the type-aware sidecar on Windows.
The Action set
FALLOW_TYPE_AWARE_BINto the.mjsfile of the sidecar, which Windows cannot start as a program. On Windows it now setsFALLOW_TYPE_AWARE_BINto Node andFALLOW_TYPE_AWARE_SCRIPTto the sidecar file, as the npm package of fallow does. The version check of the installed sidecar also reads a Windows path such asD:\a\_tempcorrectly now.fallow auditon a sparse checkout now builds the base snapshot from the same files as the checkout. Git cone mode also checks out the files directly inside each parent directory of a cone, such asapps/package.jsonfor the coneapps/web. The base snapshot now keeps these files too, so a parent manifest or config no longer shows as present at head and missing at base. A run with a subdirectory--rootkeeps the files of each parent directory in the same way, for example a sharedtsconfig.base.jsonthat the subdirectory extends.fallow auditrebuilds the reusable base snapshot after a sparse cone change. The snapshot was reused when only the cone changed at the same base commit, so the base held the old set of files. The snapshot identity now includes the sparse cone and the analysis subdirectory.fallow health --save-snapshotkeeps each snapshot of one second. The default file name has whole seconds, so a second save in the same second replaced the first snapshot. A later save now gets a numeric suffix, for example2026-01-01T00-00-00Z-2.json.fallow health --hotspots --ownershipreads the configuredcodeownerspath. The hotspot ownership probed only the standard CODEOWNERS locations, sodeclared_ownerandunownedignored a file at a custom path.--group-by ownerand the review brief already read that path.Bare
fallowmeasures scoped health duplication likefallow health. Whenhealth.ignore, a workspace or a changed-files scope narrowed the health files, the combined run cut the project duplication report down to the scope. That kept clone pairs thatduplicates.minOccurrencesdrops and counted the totals over other files, soduplication_pctand the score differed from standalonefallow health. The combined run now runs the scoped detection in that case.Review comments land on files with brackets in their path. The CodeClimate path of a finding encodes
[and]as%5Band%5D. The review envelope and the PR comment used that encoded path, so the diff filter dropped findings in a route such asapp/[id]/page.tsxand a review comment could not anchor. CI issues now carry the plain file path.fallow auditinherits the findings of a renamed file whose path holds%or:. A dead-code key escapes these characters, and the rename map holds plain paths, so the remap and the moved-export match missed such a file and reported its findings as introduced.fallow audit --briefreports only new public exports when dead code and health use different production modes. The base pass then kept no module graph, so every export of a changed public file read as added indeltas.public_api_added.The typed decision surface reads a moved
package.jsonunder its base path.fallow_api::run_decision_surfaceand thedecision_surfaceMCP tool compared a moved manifest with nothing, so every dependency of the moved package read as a new dependency decision. The decision ids of a renamed file now also carry the previous signal id, as the CLI brief does.A barrel hop in a boundary chain is judged by its own re-export kind. When a file imports a type through a barrel, and the barrel forwards it with a value re-export that its zone does not allow, the barrel gets the finding and the importer no longer gets a second one.
Same-named
autoDiscoverzones with differentrootvalues keep each root. Two zones with one name, for examplefeaturesunderpackages/aand underpackages/b, now both classify their discovered child folders. Before, the files under the second root had no zone.A tsconfig
pathsalias resolves with the one pattern that TypeScript selects. fallow now uses an exact pattern, else the matching wildcard pattern with the longest prefix, and tries only the targets of that pattern. Before, a pattern with a shorter prefix but a longer suffix could win, and a miss tried the targets of every other matching pattern. The dependency credit of an alias uses the same pattern.baseUrlresolves an import thatpathsdoes not resolve. A tsconfig with bothbaseUrlandpathsnow triesbaseUrlwhen nopathspattern resolves the specifier, as TypeScript does. Before, anypathsmap stopped the lookup, so for example@use "styles/vars"in a Sass file stayed unresolved.fallow trace <file>:<symbol>keeps every hop inside--depth. The caller and callee walks now visit each module at its shortest depth. Before, a module that the walk first reached through a longer path hid its own imports, even when a direct import put them inside the depth limit.fallow tracegives empty chains for a name that the file does not export.callers,calleesandunresolved_calleesare now empty whensymbol_foundisfalse, as the output contract says. Before, a typo listed the callees of the whole file, and a namespace importer counted as a caller.A recursive workspace pattern no longer follows a link out of the project or into a loop. With a pattern such as
packages/**, a link to a folder outside the project, to a parent folder, or two links between sibling folders made the workspace walk descend through them. A loop listed the same packages again under ever longer paths until the path got too long. The walk now enters each real folder once, and it does not enter a link whose target is outside the project or inside the folder that it walks. A link to a package is still listed.A deep package cycle always gets a
package-cyclefinding. The cycle listing of a group of packages that import each other has a step budget. On a large layered group, the budget could run out before the search found one cycle, and the group then had no finding. The group now gets one shortest cycle through its first package, marked as truncated.The
dedup-lookup-failedoutput of the GitHub Action and thefallow-dedup-lookup-failed.txtmarker of the GitLab template report a failed lookup again.fallow ci post-pr-commentandfallow ci post-reviewstop without a post when they cannot read the existing comments. The scripts then still wrotefalse, so a gate on these outputs never fired. The commands now give the error codeFALLOW_CI_DEDUP_LOOKUP_FAILEDin their JSON error document, and the scripts setdedup-lookup-failedtotrue. The review step also setspost-skipped-reasontopagination_failure. A failed lookup never posts a duplicate comment. A pinned fallow version without this code keeps the outputs atfalse. The warning of a failed post now names the reason.Fallow now refuses two save or report flags that name one file. A run with
--output-file out.sarif --sarif-file out.sarif, or with another spelling of one path such as./sub/../out.sarif, wrote both reports to the file, and the later write replaced the earlier report with no error. The run now exits with code 2 before the analysis and names both flags. The check covers each file that a save or report flag writes. A device or a named pipe, such as/dev/nullor/dev/stdout, is still allowed for more than one flag.A complete
fallow mutationrun now removes only its own outcome journal. Two runs of one project share the journal file. When an older run completed after a newer run had started, the older run removed the journal of the newer run, so--resumeafter an interrupt of the newer run lost its final results. Each run now writes an id into the journal header and removes the journal only when the id is its own.Concurrent
fallow mutationruns on one plan no longer delete the run directory of each other. A run that found a stale run directory replaced it without a lock. A second run could publish a complete directory in that moment, and the first run then deleted the directory that the second run used. The check and the replacement now run under a lock file per run directory when the file system supports locks, and two runs in one process get separate staging directories.fallow health --complexity-breakdowngives Vue, Svelte and Astro contributions the lines of the file. Each contribution of a function in a<script>block or in Astro frontmatter now has the line and column of the full file, as the function itself does. Before, the contributions kept the lines of the script body. The extraction cache version moves, so the first run after the upgrade parses every file again.fallow auditno longer reuses the head analysis as the base when a change can alter the findings. The audit skips the base analysis when every changed file has the same tokens at base and head. A new or removed@deprecatedtag or@jsxImportSourcepragma changes the findings with no token change, so a newdeprecated-export-in-usefinding showed as inherited and the gate passed. A JSDoc@importtag, a@jsxRuntimepragma, a triple-slash reference and afallow-override-thresholdcomment had the same problem. A changedexport * as name, a default import against a namespace import, and a type-only import or export against a value one also compared as equal, because the tokens did not include the name or the form. These changes now run the base analysis.A failed upgrade of the VS Code managed binary keeps the installed binary usable. On Windows, a sibling window that runs the old
fallow-lsplocks the file, so the new binary cannot replace it. The extension then deleted the signature and target marker of the old binary, and the next start removed that binary as untrusted. The extension now puts the old signature and target marker back.A second VS Code window no longer deletes the download of the first window. Each window removes the temp files of crashed downloads when it starts. It removed the temp files of every other process, also of a window whose download still ran, and that download then failed its signature check. The extension now removes only the temp files of a process that no longer runs.
Fallow: Fixsaves and refreshes only after you confirm. The command saved all dirty editors before it asked for confirmation, and it restarted the language server and ran a new analysis also after you answered No. The command now saves after the confirmation, applies no fix when a file cannot be saved, and refreshes only after a fix run.The functions of
@fallow-cli/fallow-nodereject their promise instead of throwing.An invalid option, for example
minOccurrences: 1fordetectDuplication, and a similar-code companion that is not ready made the call throw before it returned a promise. A.catchhandler or apromise.then(ok, fail)call then never saw the error. Each function now returns a rejected promise with the same error, as itsPromisetype states.awaitin atryblock works as before. Code that caught the old throw withoutawaitmust now handle the rejection.fallow flags --flag-staterejects two keys that name one flag.With
flags.vendorKeyPrefixset toapp., the keyscheckoutandapp.checkoutboth name the flagcheckout. The report then used the state of the last key and dropped the other. The command now exits with code 2 andFALLOW_FLAG_STATE_INVALID, and the message names the two keys.A ternary arm with
void <call>is not an empty flag branch.flag ? void track() : nullrunstrack()when the flag is on, so the flag does something. Onlyvoidof a literal or ofundefined, such asvoid 0, now counts as an empty arm. The parse cache version changes, so the first run after the upgrade parses each file again.fallow auditkeeps the styling findings of changed files.The deep CSS pass of
fallow audit(on by default,audit.cssDeep) scans the whole project but reports only the changed files. A Tailwind arbitrary value that an unchanged file used first was dropped, also when a changed file used it too. The report now points at the first use in a changed file. Raw style values of unchanged files also filled the limit of 200 reported values, so the values of changed files did not show. Now only the values of changed files count toward the limit. The values of unchanged files still count as the project vocabulary for the nearest-token match.An
@plugininside a/* */comment or a string no longer stops the theme token checks.fallow found
@pluginanywhere in a stylesheet, also in a comment or a string. The checks for unused, near-duplicate and consumed theme tokens then stopped for the whole project. Now only a real@pluginat-rule stops them.fallow security --gate newfails when a change adds an import that makes client code reach a server-only module or a secret reader. Before, the gate passed when a change added a.serverimport or the import of a module that reads a secret to an existing module that a route or a"use client"file imports. The gate now keeps aclient-server-leakcandidate when the import line of anintermediatetrace hop is on an added line. An edit of such an import line, for example a new imported name, also keeps the candidate. The candidate still points at the client boundary. Nofinding_id,stable_finding_id, JSON field, SARIF field or suppression position changes. (Closes #5024)Two
fallow similar-code setup --localruns on one model cache no longer break each other. Both runs wrote the same partial, manifest and backup files, so one run removed the download of the other, and that run failed. Setup now holds a lock on the cache folder of the model revision. The second run prints that it waits, then finds the installed model and downloads nothing. On a file system without file locks, setup runs without the lock, as before.The type-aware sidecar reads wildcard package exports as Node does. When fallow sent no entry points, the sidecar read the entry points from
package.json. A target such as./src/*.tsthen matched only files directly insrc, and a target with two*accepted two different values. Each*of a target now stands for the same value, and that value can contain/. A build output target with a*in its first path segment, such as./*.js, still matches one path segment.fallow coverage upload-inventoryandupload-static-findingsfail on a permanent HTTP error, also with--ignore-upload-errors.A 404, 409, 410 or 422 response went to the transient server error class, so
--ignore-upload-errorschanged a wrong project ID or endpoint into a warning with exit 0. These statuses now exit with the validation code. A 5xx, 408 or 429 response stays transient. A 413 response toupload-inventorynow exits with the payload-too-large code, as it does forupload-static-findings.A git-SHA keyed upload no longer treats a failed
git statusas a clean checkout.When
git statusdid not start or failed, the upload continued as if the working tree was clean. Without--git-sha, the upload now stops with a validation error. With--git-sha, for example in a build without a git checkout, the upload continues and prints a warning.--allow-dirtyalso lets the upload continue.The Impact store expiry keeps the decision of a project.
With
FALLOW_IMPACT_STORE_MAX_AGE_DAYSset, the expiry deleted each old project store. A project withfallow impact disablehas no new records, so its store aged out and the project fell back to the user-global default. The expiry now keeps an explicit enable or disable and a declined opt-in, and removes only the history. A store without a decision is still removed.fallow cloud logoutreports an incomplete logout when the keychain does not confirm the delete.A denied or timed-out keychain prompt counted as "no stored key", so the command printed
No stored API keyorLogged outwhile the key could still be in the keychain. The command now exits with code 2 and says that the logout is incomplete. It still removes the key from the credentials file.effect.schemaExportsAsTypesknows seven more schema forms. With the option on, these exports are schemas when each value that they can have is a schema:flag ? Schema.String : Schema.Number), also as thereturnof a function;Imported.User.pipe(...)), and a call of a function through one (Imported.makeUser());identity(Schema.String));constobject or array literal (schemas[0],schemas.User,factories.make());export const { User } = { User: Schema.String }).A literal counts only when no code can change its members: the module does not export the literal, reads only members that it has, and does not assign, delete or pass on the literal, and the literal has no spread and no
this. A parameter that the function assigns or declares again gives no schema. A read of a schema method without a call (User.annotations) is a function, so it is no longer a schema. An unused export of each of these forms moves fromunused-exporttounused-type. A value of the same form that is not a schema keeps itsunused-exportfinding. The extraction cache version moves, so the first run after the update parses each file again.(Closes #5055)
A
package.jsonthat starts with a byte order mark is read by every dependency check. npm and Node.js accept a leading UTF-8 byte order mark, but several checks did not read such a manifest.fallow dead-codethen did not report an unused dependency of that workspace or an unused override, lost thecatalog:references and overrides of that manifest, and reported a tool such as Prettier as unused when the manifest held its config key. The package manager detection, the orphan declaration check and anextendsof a package config also skipped such a manifest. Now all of them ignore the mark.The unmatched
ignoreFindingsnote no longer advises a removal that changes which paths are hidden. The note says that a pattern has no effect and that you can remove it. That advice was wrong in two cases. When no positive pattern matched beside!exceptions, the removal of the positive patterns makesignoreFindingshide every path outside the exceptions. When there is no positive pattern and no!exception matched, the removal of the exceptions makesignoreFindingshide no path. Fallow no longer reports these patterns asignore-findings-pattern-unmatched.The editor action that dismisses a security candidate type in a file keeps the hashbang first. Before, the action put the
// fallow-ignore-filecomment above a#!/usr/bin/env nodeline. Node.js then failed to start the script. Now the comment goes on the line below the hashbang.The follow-up commands of
fallow agent installandfallow agent statuskeep the inspected project. Before, theclaude-approve-mcp,choose-harness,recommend-config,agent-install,agent-install-forceandgate-script-refreshcommands did not repeat--root. The approve command also did not repeat--without. From another directory, these commands acted on the wrong project, and the approve command wrote the excluded steps. Now, when the run names--root, each command repeats it. The install commands also repeat the excluded steps.fallow fixkeeps the module load when it removes the last name of a re-export.export { Widget } from './widget'loads and runs./widget, for example to register a custom element. Before,fallow fixdeleted the full statement, so the module no longer ran. Now the fix replaces the stConfiguration
📅 Schedule: (UTC)
🚦 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.
This PR was generated by Mend Renovate. View the repository job log.