Skip to content

Build(deps): bump ianmackenzie/elm-units from 2.5.0 to 2.9.0#176

Open
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/elm/ianmackenzie/elm-units-2.9.0
Open

Build(deps): bump ianmackenzie/elm-units from 2.5.0 to 2.9.0#176
dependabot-preview[bot] wants to merge 1 commit intomasterfrom
dependabot/elm/ianmackenzie/elm-units-2.9.0

Conversation

@dependabot-preview
Copy link
Contributor

Bumps ianmackenzie/elm-units from 2.5.0 to 2.9.0.

Release notes

Sourced from ianmackenzie/elm-units's releases.

2.9.0

This release brings a number of useful new functions to the Quantity module.

Comparisons against zero

It's fairly common to check if a value is less than or greater than zero, for example to check if something is moving up or down:

if verticalSpeed |> Quantity.lessThan Quantity.zero then
    -- Falling down
else
-- Moving up (or stationary)

A few new convenient shorthands have been added for these cases:

Quantity.lessThanZero : Quantity number units -> Bool
Quantity.greaterThanZero : Quantity number units -> Bool
Quantity.lessThanOrEqualToZero : Quantity number units -> Bool
Quantity.greaterThanOrEqualToZero : Quantity number units -> Bool

Non-infix versions of arithmetic operators

The existing arithmetic operators in elm-units are generally intended to be used in 'pipeline' or 'infix' form, for example

rotation =
    endAngle |> Quantity.minus startAngle
area =
length |> Quantity.times width
speed =
distance |> Quantity.per time

Sometimes, however, it is cleaner or more understandable to write these without a pipe, and there are now new functions that allow this style:

rotation =
    Quantity.difference endAngle startAngle
area =
Quantity.product length width
speed =
Quantity.rate distance time
</tr></table>

... (truncated)

Commits
  • 5d71cd7 Bump to 2.9.0
  • 3814d1c Update README to reflect addition of new functions
  • cb7acbe Tweak README wording
  • 6f3b06b Tweak README wording
  • d968b85 Add several useful functions
  • 2d4c401 Let Prettier reformat README
  • 1c8c36d Bump to 2.8.0
  • df8310d Add timesUnitless and overUnitless
  • edefd9c Merge pull request #55 from carlosfrodrigues/master
  • 8a54170 Reformat Power.elm with elm-format
  • 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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [ianmackenzie/elm-units](https://github.com/ianmackenzie/elm-units) from 2.5.0 to 2.9.0.
- [Release notes](https://github.com/ianmackenzie/elm-units/releases)
- [Commits](ianmackenzie/elm-units@2.5.0...2.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Apr 20, 2021
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.

0 participants