Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): Update dependency culori to v4 #323

Merged
merged 1 commit into from
Apr 8, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 8, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
culori ^3.2.0 -> ^4.0.0 age adoption passing confidence

Release Notes

Evercoder/culori (culori)

v4.0.1

Compare Source

Bug fixes

Fixes a reference initp/definition.js that caused an error when using the tree-shaked version of the library. (#​223)

v4.0.0

Compare Source

Breaking changes

This release includes changes to how color strings are parsed, converted, and serialized, for better alignment to CSS specs:

  • Clamp alpha to the [0, 1] interval at parse-time.
  • Clamp L in lab() / lch() to [0, 100], in oklab() / oklch() to [0, 1] at parse-time.
  • Correct numeric ranges in hsl() and hwb() syntaxes from [0, 1] to [0, 100].
  • Serialize missing components as 0 in legacy syntaxes and as none in modern syntaxes.
  • Use 0 for missing components in all color space conversions and gamut mapping functions.

New features

Fixes

  • Make averageAngle() always return in the [0, 360] interval;
  • Fix CIELUV (luv) conversion for l = 0;
  • Allow CommonJS bare import const culori = require('culori') (in addition to the previous culori/require endpoint).

v3.3.0

Compare Source

New features

  • Adds a third parameter to clampChroma() to change the destination RGB gamut (#​212, #​213)
  • Adds the ability to bypass the JND part of the CSS Color Level 4 gamut mapping algorithm by passing null as the delta color difference function (#​212, #​213)
  • Adds the easingSmoothstepInverse() function (re: #​207)

Bug fixes


Configuration

📅 Schedule: Branch creation - "before 3am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate using a curated preset maintained by Sanity. View repository job log here

Copy link

vercel bot commented Apr 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
themer ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2024 4:19pm
themer-example-advanced ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2024 4:19pm
themer-example-basic ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2024 4:19pm
themer-example-next-dynamic ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2024 4:19pm
themer-example-next-static ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2024 4:19pm
themer-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 8, 2024 4:19pm

Copy link

socket-security bot commented Apr 8, 2024

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/culori@4.0.1 None 0 1.11 MB danburzo

🚮 Removed packages: npm/culori@3.2.0

View full report↗︎

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant