From 7306b5c0187023e26c6c6b3dac1c6dd34b18e78d Mon Sep 17 00:00:00 2001
From: "elastic-renovate-prod[bot]"
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Date: Wed, 12 Feb 2025 18:33:46 +0100
Subject: [PATCH] Update dependency polished to v4 (main) (#206220)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [polished](https://polished.js.org)
([source](https://togithub.com/styled-components/polished)) |
dependencies | major | [`^3.7.2` ->
`^4.3.1`](https://renovatebot.com/diffs/npm/polished/3.7.2/4.3.1) |
---
### Release Notes
styled-components/polished (polished)
###
[`v4.3.1`](https://togithub.com/styled-components/polished/releases/tag/v4.3.1)
[Compare
Source](https://togithub.com/styled-components/polished/compare/v4.3.0...v4.3.1)
### Bug Fixes & Improvements
- Remove annotate-pure-calls plugin to address incompatibility with
later versions of rollup.
- Update dependencies.
###
[`v4.3.0`](https://togithub.com/styled-components/polished/compare/v4.2.2...v4.3.0)
[Compare
Source](https://togithub.com/styled-components/polished/compare/v4.2.2...v4.3.0)
###
[`v4.2.2`](https://togithub.com/styled-components/polished/releases/tag/v4.2.2)
[Compare
Source](https://togithub.com/styled-components/polished/compare/v4.2.1...v4.2.2)
### Bug Fixes
- **Color Modules** - addresses an issue with longer floats in color
values.
([#610](https://togithub.com/styled-components/polished/issues/610)
- Thanks to [@levymetal](https://togithub.com/levymetal))
###
[`v4.2.1`](https://togithub.com/styled-components/polished/releases/tag/v4.2.1)
[Compare
Source](https://togithub.com/styled-components/polished/compare/v4.2.0...v4.2.1)
### Bug Fixes
- **`hls(a)`** - now properly parses percentages for opacity.
- **`rgb(a)`** - now properly parses percentages for opacity.
###
[`v4.2.0`](https://togithub.com/styled-components/polished/releases/tag/v4.2.0)
[Compare
Source](https://togithub.com/styled-components/polished/compare/v4.1.4...v4.2.0)
### Improvements
- **color Modules** - now support space-separated CSS color values for
rgb(a) and hsl(a).
([#605](https://togithub.com/styled-components/polished/issues/605))
- **`rgb`** - now accepts optional opacity value.
- **`hsl`** - now accepts optional opacity value.
###
[`v4.1.4`](https://togithub.com/styled-components/polished/releases/tag/v4.1.4)
[Compare
Source](https://togithub.com/styled-components/polished/compare/v4.1.3...v4.1.4)
### Bug Fixes
- **mix** - remove unnecessary division by 1
([#59](https://togithub.com/styled-components/polished/issues/59))
###
[`v4.1.3`](https://togithub.com/styled-components/polished/releases/tag/v4.1.3)
[Compare
Source](https://togithub.com/styled-components/polished/compare/v4.1.2...v4.1.3)
### Bug Fixes
- Addressed several performance issues with regexes.
###
[`v4.1.2`](https://togithub.com/styled-components/polished/releases/tag/v4.1.2)
[Compare
Source](https://togithub.com/styled-components/polished/compare/v4.1.1...v4.1.2)
### Bug Fixes
- **fluidRange** - updated return value to use an array to address
unclear object property typing error in flow.
###
[`v4.1.1`](https://togithub.com/styled-components/polished/releases/tag/v4.1.1)
[Compare
Source](https://togithub.com/styled-components/polished/compare/v4.1.0...v4.1.1)
### Bug Fixes
- **scarf** - removed scarf analytics package due to yarn
incompatibilities and concerns over GDPR compliance.
###
[`v4.1.0`](https://togithub.com/styled-components/polished/releases/tag/v4.1.0)
[Compare
Source](https://togithub.com/styled-components/polished/compare/v4.0.5...v4.1.0)
### Introducing polished.js v4.1.0!
We're super stoked to announce that polished.js v4.1.0 is officially
out! It is available via your package manager of choice. This will be
the final non-patch release before v5.
`npm install polished`
`yarn add polished`
#### Release Highlights
##### New Module
- **`remToPx`**: We've introduced a new module to handle converting to
`rem` values to `px` values.
([#376](https://togithub.com/styled-components/polished/issues/376))
##### Analytics
- We are now leveraging [Scarf](https://scarf.sh) to track package
analytics. You can opt-out of this functionality by following [these
instructions](https://docs.scarf.sh/package-analytics/#as-a-user-of-a-package-using-scarf-js-how-can-i-opt-out-of-analytics)
###
[`v4.0.5`](https://togithub.com/styled-components/polished/releases/tag/v4.0.5)
[Compare
Source](https://togithub.com/styled-components/polished/compare/v4.0.4...v4.0.5)
#### Documentation
- `readableColor` - Update docs and function signature to be clearer
about the use of each parameter.
###
[`v4.0.4`](https://togithub.com/styled-components/polished/releases/tag/v4.0.4)
[Compare
Source](https://togithub.com/styled-components/polished/compare/v4.0.3...v4.0.4)
### Bug Fixes
- **transparentize** - addressed an issue where we weren't handling
cases where floats were greater than 2 decimals.
([#548](https://togithub.com/styled-components/polished/issues/548))
- **npm** - addressed an issue where .yarn cache was bloating published
package size, along with some other ignore optimization.
([#553](https://togithub.com/styled-components/polished/issues/553)
Thanks [@scttcper](https://togithub.com/scttcper))
###
[`v4.0.3`](https://togithub.com/styled-components/polished/releases/tag/v4.0.3)
[Compare
Source](https://togithub.com/styled-components/polished/compare/v4.0.2...v4.0.3)
### Bug Fix
- Updated [@babel/runtime](https://togithub.com/babel/runtime) to
address webpack v5 compatibility issue (Thanks
[@koba04](https://togithub.com/koba04) -
[#547](https://togithub.com/styled-components/polished/issues/547)
)
###
[`v4.0.2`](https://togithub.com/styled-components/polished/releases/tag/v4.0.2)
### Bug Fix
- `ellipsis`: Fixes an issue where the `webkit` prefix was not properly
applied with the multiline option. (Thanks
[@drakang4](https://togithub.com/drakang4) -
[#546](https://togithub.com/styled-components/polished/issues/546))
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined),
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 [Renovate
Bot](https://togithub.com/renovatebot/renovate).
---------
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: jennypavlova
Co-authored-by: Shahzad
(cherry picked from commit a402f4e584165b44d03b4773b1158b83e9b94551)
---
package.json | 2 +-
yarn.lock | 15 ++++-----------
2 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/package.json b/package.json
index 6c97c33b42731..7eb3db6ba39a1 100644
--- a/package.json
+++ b/package.json
@@ -1199,7 +1199,7 @@
"pbf": "3.2.1",
"pdfmake": "^0.2.15",
"peggy": "^1.2.0",
- "polished": "^3.7.2",
+ "polished": "^4.3.1",
"pretty-ms": "6.0.0",
"prop-types": "^15.8.1",
"proxy-from-env": "1.0.0",
diff --git a/yarn.lock b/yarn.lock
index caaab49f92145..33a83bd149805 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -25398,17 +25398,10 @@ point-in-polygon@^1.0.1:
resolved "https://registry.yarnpkg.com/point-in-polygon/-/point-in-polygon-1.0.1.tgz#d59b64e8fee41c49458aac82b56718c5957b2af7"
integrity sha1-1Ztk6P7kHElFiqyCtWcYxZV7Kvc=
-polished@^3.7.2:
- version "3.7.2"
- resolved "https://registry.yarnpkg.com/polished/-/polished-3.7.2.tgz#ec5ddc17a7d322a574d5e10ddd2a6f01d3e767d1"
- integrity sha512-pQKtpZGmsZrW8UUpQMAnR7s3ppHeMQVNyMDKtUyKwuvDmklzcEyM5Kllb3JyE/sE/x7arDmyd35i+4vp99H6sQ==
- dependencies:
- "@babel/runtime" "^7.12.5"
-
-polished@^4.2.2:
- version "4.2.2"
- resolved "https://registry.yarnpkg.com/polished/-/polished-4.2.2.tgz#2529bb7c3198945373c52e34618c8fe7b1aa84d1"
- integrity sha512-Sz2Lkdxz6F2Pgnpi9U5Ng/WdWAUZxmHrNPoVlm3aAemxoy2Qy7LGjQg4uf8qKelDAUW94F4np3iH2YPf2qefcQ==
+polished@^4.2.2, polished@^4.3.1:
+ version "4.3.1"
+ resolved "https://registry.yarnpkg.com/polished/-/polished-4.3.1.tgz#5a00ae32715609f83d89f6f31d0f0261c6170548"
+ integrity sha512-OBatVyC/N7SCW/FaDHrSd+vn0o5cS855TOmYi4OkdWUMSJCET/xip//ch8xGUvtr3i44X9LVyWwQlRMTN3pwSA==
dependencies:
"@babel/runtime" "^7.17.8"