Skip to content

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jan 6, 2026

Bumps jfmengels/elm-review-simplify from 2.1.11 to 2.1.12.

Changelog

Sourced from jfmengels/elm-review-simplify's changelog.

[2.1.12] - 2026-01-06

The rule now simplifies:

  • List.head (List.map f list) to Maybe.map f (List.head list)
  • List.take n (List.map f list) to List.map f (List.take n list)
  • List.take n (List.indexedMap f list) to List.indexedMap f (List.take n list)
  • List.drop n (List.map f list) to List.map f (List.drop n list)
  • Array.get i (Array.map f array) to Maybe.map f (Array.get i array)
  • Array.slice start end (Array.map f array) to Array.map f (Array.slice start end array)
  • Array.slice 0 end (Array.indexedMap f array) to Array.indexedMap f (Array.slice 0 end array)
  • Dict.remove k (Dict.map g dict) to Dict.map g (Dict.remove k dict)
  • Dict.filter (\k _ -> f k) (Dict.map g dict) to Dict.map g (Dict.filter (\k _ -> f k) dict)
  • Dict.diff (Dict.map f dict) remove to Dict.map f (Dict.diff dict remove)

Bug fixes:

  • Cmd.map f (Task.attempt notIdentity task) was incorrectly fixed to Task.attempt f task (same for Task.perform)
Commits
  • 62a89e3 2.1.12
  • b7a582b add tests for Cmd.map with parenthesized function on Task.attempt/perform ide...
  • e178de0 mention mapAfterConvertMapIdentityCanBeCombinedCheck bug in change log
  • 39e2228 correct mapAfterConvertMapIdentityCanBeCombinedCheck
  • d70711f correct equality between record update and record that have the same fields
  • e200edf sort let declarations while normalizing
  • fa52921 rename normalizeButKeepRange to normalizeExpressionButKeepRange for consistency
  • 1d7a52a sort cases while normalizing
  • 085c5e1 simplify comparing fields by making use of the normalized sorting
  • 578a463 move improvement idea comment to the right place
  • 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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 [jfmengels/elm-review-simplify](https://github.com/jfmengels/elm-review-simplify) from 2.1.11 to 2.1.12.
- [Changelog](https://github.com/jfmengels/elm-review-simplify/blob/main/CHANGELOG.md)
- [Commits](jfmengels/elm-review-simplify@2.1.11...2.1.12)

---
updated-dependencies:
- dependency-name: jfmengels/elm-review-simplify
  dependency-version: 2.1.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file elm Pull requests that update Elm code labels Jan 6, 2026
@dependabot dependabot bot requested a review from r-k-b as a code owner January 6, 2026 19:24
@dependabot dependabot bot added dependencies Pull requests that update a dependency file elm Pull requests that update Elm code labels Jan 6, 2026
@r-k-b r-k-b merged commit 4ac02c0 into main Jan 6, 2026
1 check passed
@dependabot dependabot bot deleted the dependabot/elm/review/jfmengels/elm-review-simplify-2.1.12 branch January 6, 2026 20:06
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 elm Pull requests that update Elm code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant