Skip to content

Build(deps): bump ianmackenzie/elm-units from 2.5.0 to 2.6.0#165

Closed
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/elm/ianmackenzie/elm-units-2.6.0
Closed

Build(deps): bump ianmackenzie/elm-units from 2.5.0 to 2.6.0#165
dependabot-preview[bot] wants to merge 1 commit into
masterfrom
dependabot/elm/ianmackenzie/elm-units-2.6.0

Conversation

@dependabot-preview
Copy link
Copy Markdown
Contributor

Bumps ianmackenzie/elm-units from 2.5.0 to 2.6.0.

Release notes

Sourced from ianmackenzie/elm-units's releases.

2.6.0

This release brings a few new functions to the Pixels module:

Pixels.int : Int -> Quantity Int Pixels
Pixels.float : Float -> Quantity Float Pixels
Pixels.toInt : Quantity Int Pixels -> Int
Pixels.toFloat : Quantity Float Pixels -> Float

I find these a bit more readable/less awkward than the existing Pixels.pixels and Pixels.inPixels, but those two functions have the advantage of working with the generic number type instead of being specific to Int or Float - for example it is occasionally useful that a value like

screenWidth =
    Pixels.pixels 1920

can be passed to both functions that expect Quantity Int Pixels as well as ones that expect Quantity Float Pixels, without having to do any conversions such as Quantity.toFloatQuantity.

As a general rule, I suggest using Pixels.int/Pixels.float in most cases, and Pixels.pixels only if it makes the code shorter and cleaner.

2.5.1

This release fixes one small docs typo in the AngularSpeed module; thanks @objarni for pointing it out!

Commits

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.6.0.
- [Release notes](https://github.com/ianmackenzie/elm-units/releases)
- [Commits](ianmackenzie/elm-units@2.5.0...2.6.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 Jun 29, 2020
@dependabot-preview
Copy link
Copy Markdown
Contributor Author

Superseded by #168.

@dependabot-preview dependabot-preview Bot deleted the dependabot/elm/ianmackenzie/elm-units-2.6.0 branch September 16, 2020 05:43
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