Benoit Travers

Results issues of Benoit Travers

## Summary `@unthrown/[email protected]` ships six rules (`no-ambiguous-error-type`, `prefer-async-result`, `no-unhandled-result`, `no-catch-all-pattern`, `no-throw`, `prefer-ensure`). I'd like to propose a seventh: **`unthrown/no-unused-matcher`**, flagging a `…Cases` callback that never uses the matcher it was...

enhancement

## Summary `@unthrown/oxlint` ships five rules (`no-ambiguous-error-type`, `prefer-async-result`, `no-unhandled-result`, `no-catch-all-pattern`, `no-throw`). I'd like to propose a sixth: **`unthrown/prefer-ensure`**, flagging `flatMap` calls that are really validation gates and should use the...

## Summary `@unthrown/[email protected]` raised its oxlint peer range, but ships a plugin implementation that is **byte-identical** to beta.9 (which requires `^1.69.0`). The tighter range looks unintentional, and it is expensive...

## Summary 5.0.0-beta.6 replaces the ts-pattern re-export with unthrown's own vendored matcher — great change, and it fixed #145 (a generic `E` now composes, confirmed). But the vendored `Matcher` has...

bug

## Summary `ExhaustiveMatch` cannot be satisfied inside a generic function where the error type is still a type parameter, even with the universal `P._` pattern. ## Reproduction ```ts import {...

bug

## Summary `unthrown@5` declares `ts-pattern` as an **exact, plain dependency**: ```json "dependencies": { "ts-pattern": "5.9.0" } ``` Any consumer that already uses `ts-pattern` at a different version therefore ends up...

bug

## Summary In 5.0 the `err` handler of `.match({ ok, err, defect })` receives the ts-pattern **matcher** instead of the error. That is a good change, but **the 4.x call...

bug

## Summary `@unthrown/pattern` was absorbed into core in 5.0 (`match` / `P` / `tag` are now exported from `unthrown` itself), but nothing on npm or in the repo says so....

documentation

## Summary 5.0 gates `getOrThrow()` off when the Err channel is already empty: ```ts getOrThrow(this: [E] extends [never] ? never : Result): T; ``` The intent is right — once...

enhancement

## Context `.github/workflows/fix-dependabot-lockfile.yml` regenerated `pnpm-lock.yaml` on Dependabot PRs (needed because Dependabot's pnpm **catalog** support is weak, so its lockfile updates mismatch and fail `--frozen-lockfile` + `minimumReleaseAgeStrict`). It has been **removed...