Skip to content

chore: Bump fallow from 3.46.0 to 3.47.0 - #221

Merged
thomasfosterau merged 1 commit into
trunkfrom
dependabot/npm_and_yarn/fallow-3.47.0
Nov 24, 2026
Merged

thomasfosterau merged 1 commit into
trunkfrom
dependabot/npm_and_yarn/fallow-3.47.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 24, 2026

Copy link
Copy Markdown
Contributor

Bumps fallow from 3.46.0 to 3.47.0.

Release notes

Sourced from fallow's releases.

v3.47.0: namespace-escapes rule, export * as Name checks, Effect Schema members, React Router open redirects

Features

  • The new namespace-escapes rule reports a namespace import that hides exports from the unused-export check. When 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 read, Object.keys(Ns) and export { Ns }. Fallow then credits every export of the target module and of the modules that it re-exports from. So unused-exports and unused-types do not check them. The rule reports each such binding with the target module and the count of hidden exports. Fallow does not report a binding that hides no export. The rule is off by default:

    • Enable it in rules.
    • Select it with --namespace-escapes.
    • Suppress one finding with // fallow-ignore-next-line namespace-escape.

    JSON output has the new namespace_escapes array. The other report formats, the CI integrations, the LSP and fallow explain also show the findings. (#5065)

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

Changed

  • Fallow exits with code 2 for many global options that have no effect on a command. One table now states which global options each command accepts. Examples are fallow viz --output-file (use --out) and --output-file on commands that print to stdout. Another example is a global --dupes-* option on a command other than bare fallow. For that case, the message names the config key or the fallow dupes option to use. fallow schema --cli-reference exports the table in the new command_support field of each global option. CHANGELOG.md lists every rejected combination. (#4999)
  • Fallow rejects a --type-aware-project path that does not exist when FALLOW_TYPE_AWARE or typeAware.enabled enables type-aware analysis. When type-aware analysis is off for the run, fallow rejects the option with "has no effect". (#4999)
  • An empty HOME, XDG_CONFIG_HOME or PATH counts as unset. Commands that need a home folder use USERPROFILE in that case. So fallow agent and setup-hooks --user work on native Windows without HOME. A HOME that is not valid UTF-8 now resolves. (#5015)
  • Fallow rebuilds the duplication token cache once. Tokens of export * as name, namespace imports and type-only imports or exports now include the name or the type keyword. A clone group that holds one of these statements can change once. (#5044)

Bug fixes

Unused code

  • export * as Name in an entry file credits only the members that other code reads. With includeEntryExports on, such a line credited every export of the target module. It now works like import * as Name, also for nested chains such as Name.Inner.member. A namespace that code passes as a value, spreads or reads with a computed key keeps full credit. An entry file that a dynamic import() or require() loads also keeps full credit. Outside entry files, fallow no longer reports a false unused export for a nested chain or a namespace that code passes as a value. (#5063)

  • effect.schemaExportsAsTypes accepts more schema forms. With the option on, an export is a schema when each value that it can have is a schema. These forms now count:

    • conditional expressions with a schema in each branch;
    • members of a namespace import;
    • calls of a function that returns its schema argument;
    • members of a local const literal that no code changes;
    • each lowercase Schema member whose return type is a schema in effect 3 or effect 4, for example Schema.optional, Schema.mutable and Schema.tag.

    An unused export of these forms moves from unused-export to unused-type. A schema method that code reads without a call, such as User.annotations, is a function and no longer a schema. PascalCase values that are no schema, such as Schema.TypeId, keep their unused-export finding. (#5062, #5076)

  • Every dependency check reads a package.json with a leading byte order mark. Before, several checks skipped such a manifest and missed unused dependencies of that workspace. (#5068)

  • Settings that a tsconfig inherits through extends count everywhere. For example, jsx from a base config now credits react. Only a config that contains the importing file decides its paths. (#5022)

  • A tsconfig paths alias resolves with the one pattern that TypeScript selects. A paths target also resolves against the folder of the config that sets paths, as in TypeScript 7. baseUrl now resolves an import that no paths pattern resolves. (#5022, #5035)

  • An expression in Vue, Svelte or Astro markup goes to the graph and to fallow security like the same code in a script. A dispatch("save") call in Svelte markup now counts for unused-svelte-event. A Vue bus.emit("close") call no longer marks a declared close event as used. A component with a non-HTML root \<template> reports no unused-component-emit finding. Template sinks can now give new security candidates. (#5013)

fallow fix

  • fallow fix checks each edit before it writes it. It drops an edit that breaks the parse or loses a kept member. (#5020)
  • fallow fix removes export from each overload signature. Before, it removed export only from the implementation, and the type check failed. (#5020)
  • fallow fix replaces a re-export with a bare import when it removes the last name. export { Widget } from './widget' becomes import './widget';, so the module still runs. Remove the bare import yourself when the module has no side effects. (#5074)

Audit and CI

  • fallow audit counts one paste as one clone finding. A small edit in every copy of an old clone no longer fails the introduced-clone-group gate. JSON output adds duplication.clone_regions[], a region index on each clone group, and the grade inherited-edited. The duplication_* attribution counts now count regions. (#5000)
  • fallow audit gives correct base findings for sparse checkouts and for renamed files with % or : in the path. The audit also runs the base analysis when a change can alter the findings without a token change. (#5030, #5032, #5044)
  • fallow audit --brief reports only new public exports when dead code and health use different production modes. (#5032)
  • fallow audit keeps the styling findings of changed files. (#5056)
  • fallow security --gate new fails when a change adds an import that lets client code reach a server-only module or a secret reader. (#5057)
  • Fallow now anchors review comments on files with brackets in their path. An example is app/[id]/page.tsx. (#5032)

... (truncated)

Commits
  • 3631c7d chore: release v3.47.0
  • a01bf36 fix: keep route brackets in Windows JSON paths and retry a blocked run dir mo...
  • fa83fc8 fix(extract): derive the Effect Schema members that give a schema (#5076)
  • 576468d fix(fix): keep the module load of a re-export whose names all go (#5074)
  • 7e2b202 fix(agent): keep the root and the excluded steps in follow-up commands (#5072)
  • d16029f fix(lsp): put a file suppression below the hashbang (#5071)
  • 2ff32ef fix(config): keep an ignoreFindings pattern that sets the mode out of the unm...
  • 8beb00d fix(deps): read a package.json with a byte order mark in every dependency che...
  • 0e83149 feat(dead-code): report namespace bindings that escape as a value (#5065)
  • a064194 fix(dead-code): check the members behind export * as Name (#5063)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [fallow](https://github.com/fallow-rs/fallow) from 3.46.0 to 3.47.0.
- [Release notes](https://github.com/fallow-rs/fallow/releases)
- [Changelog](https://github.com/fallow-rs/fallow/blob/main/release.toml)
- [Commits](fallow-rs/fallow@v3.46.0...v3.47.0)

---
updated-dependencies:
- dependency-name: fallow
  dependency-version: 3.47.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 24, 2026
@changeset-bot

changeset-bot Bot commented Nov 24, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: d01cba4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@socket-security

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.47.010010010096100

View full report

@thomasfosterau
thomasfosterau merged commit 34e00f6 into trunk Nov 24, 2026
10 checks passed
@thomasfosterau
thomasfosterau deleted the dependabot/npm_and_yarn/fallow-3.47.0 branch November 24, 2026 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant