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

[Snyk] Upgrade polished from 3.3.0 to 3.5.1 #2318

Closed

Conversation

snyk-bot
Copy link
Contributor

@snyk-bot snyk-bot commented May 2, 2020

Snyk has created this PR to upgrade polished from 3.3.0 to 3.5.1.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
  • The recommended version is 9 versions ahead of your current version.
  • The recommended version was released a month ago, on 2020-03-22.
Release notes
Package name: polished
  • 3.5.1 - 2020-03-22

    Bug Fixes

    • between, modularScale, triangle: fixed issue where these modules were calling deprecated functionality in stripUnit and creating unnecessary console noise (and subsequent performance problems).
  • 3.5.0 - 2020-03-20

    Introducing polished.js v3.5.0!

    We're super stoked to announce that polished.js v3.5.0 is officially out! It is available via your package manager of choice. This will be the final non-patch release before v4.

    npm install polished
    yarn add polished

    Release Highlights

    New Modules

    • cssVar: We've introduced a new module to handle fetching CSS Variable values. We chose to make this a standalone module as opposed to integrating it into all modules to keep module size down.

    Improvements

    • readableColor: You can now turn on strict mode for custom provided return colors. This will ensure that they still meet AA contrasting standards. Otherwise, they will return black or white as normal. This mode is off by default in v3.5. (Thanks @mrmckeb).

    Bug Fixes

    • mix, tint, shade: Fixed a bug where mix was improperly weighting alpha channels to the second provided color instead of the first. This fix also impacts tint and shade which implement mix.

    Contributors

    • Build has been updated to use Rollup 2.
    • Moved CI to GitHub Actions.
    • We now test the build in macOS, Ubuntu, and Windows to ensure all contributors are covered for compatibility.

    Future Deprecations

    • Deprecation: stripUnit: The optional unit return will be deprecated in v4. Previously, this was implemented to replace getValueAndUnit. However, we've decided to keep the extra module and simplify stripUnit
    • Deprecation: readableColor: strict mode will be enabled by default in v4, it is currently disabled by default.
  • 3.4.4 - 2020-01-28

    3.4.4 (2020-01-28)

    Bug Fixes

    • position: fix typing for position to address typescript incompatability (63ab9a6), closes #475
  • 3.4.3 - 2020-01-26

    3.4.3 (2020-01-26)

    Bug Fixes

    Enhancements

    • Adds more tagging for easier discoverability - Thanks @nurbek-ab
  • 3.4.2 - 2019-10-30
    • hsl(a) - Fixed a bug preventing the use of decimal values.
  • 3.4.1 - 2019-06-15
    • between (and therefore fluidRange) now supports unitless values for fromSize and toSize.
  • 3.4.0 - 2019-05-25
    • Adds a color module (getContrast) for getting the contrast score between two colors.
    • Adds a color module (meetsContrastGuidelines) for checking which contrast guidelines have been met between two colors.

    Thanks @souporserious!

  • 3.3.2 - 2019-05-18
    • (Color Modules) - Fixes a bug that would cause hue to be negative in some cases instead of rotating around the color wheel to a positive value. Thanks @DavidDeprost
  • 3.3.1 - 2019-05-18

    3.3.1 (2019-05-18)

    Bug Fixes

    • hslToRgb: correct % for potential negative hue (5c306c8), closes #437
  • 3.3.0 - 2019-05-05
    • modularScale now supports all base values regardless of unit, including unitless values. (fixes #429)
    • parseToRGB is now case-insensitive (thanks @Andarist)
    • refactored export statements across the library resulting in a small decrease in bundle size.
from polished GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@schnogz schnogz closed this May 3, 2020
@schnogz schnogz deleted the snyk-upgrade-4d9cdfc76ae4e65e4ac360a06a1c03a3 branch May 3, 2020 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Typescript error (3.4.3) adjustHue bug modularScale throws an error if its second argument is a number
2 participants