Skip to content

Commit

Permalink
Update dependency polished to v4 (main) (elastic#206220)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [polished](https://polished.js.org)
([source](https://github.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

<details>
<summary>styled-components/polished (polished)</summary>

###
[`v4.3.1`](https://github.com/styled-components/polished/releases/tag/v4.3.1)

[Compare
Source](https://github.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://github.com/styled-components/polished/compare/v4.2.2...v4.3.0)

[Compare
Source](https://github.com/styled-components/polished/compare/v4.2.2...v4.3.0)

###
[`v4.2.2`](https://github.com/styled-components/polished/releases/tag/v4.2.2)

[Compare
Source](https://github.com/styled-components/polished/compare/v4.2.1...v4.2.2)

### Bug Fixes

- **Color Modules** - addresses an issue with longer floats in color
values.
([#&elastic#8203;610](https://github.com/styled-components/polished/issues/610)
- Thanks to [@&elastic#8203;levymetal](https://github.com/levymetal))

###
[`v4.2.1`](https://github.com/styled-components/polished/releases/tag/v4.2.1)

[Compare
Source](https://github.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://github.com/styled-components/polished/releases/tag/v4.2.0)

[Compare
Source](https://github.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).
([#&elastic#8203;605](https://github.com/styled-components/polished/issues/605))
-   **`rgb`** - now accepts optional opacity value.
-   **`hsl`** - now accepts optional opacity value.

###
[`v4.1.4`](https://github.com/styled-components/polished/releases/tag/v4.1.4)

[Compare
Source](https://github.com/styled-components/polished/compare/v4.1.3...v4.1.4)

### Bug Fixes

- **mix** - remove unnecessary division by 1
([#&elastic#8203;59](https://github.com/styled-components/polished/issues/59))

###
[`v4.1.3`](https://github.com/styled-components/polished/releases/tag/v4.1.3)

[Compare
Source](https://github.com/styled-components/polished/compare/v4.1.2...v4.1.3)

### Bug Fixes

-   Addressed several performance issues with regexes.

###
[`v4.1.2`](https://github.com/styled-components/polished/releases/tag/v4.1.2)

[Compare
Source](https://github.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://github.com/styled-components/polished/releases/tag/v4.1.1)

[Compare
Source](https://github.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://github.com/styled-components/polished/releases/tag/v4.1.0)

[Compare
Source](https://github.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.
([#&elastic#8203;376](https://github.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://github.com/styled-components/polished/releases/tag/v4.0.5)

[Compare
Source](https://github.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://github.com/styled-components/polished/releases/tag/v4.0.4)

[Compare
Source](https://github.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.
([#&elastic#8203;548](https://github.com/styled-components/polished/issues/548))
- **npm** - addressed an issue where .yarn cache was bloating published
package size, along with some other ignore optimization.
([#&elastic#8203;553](https://github.com/styled-components/polished/issues/553)
Thanks [@&elastic#8203;scttcper](https://github.com/scttcper))

###
[`v4.0.3`](https://github.com/styled-components/polished/releases/tag/v4.0.3)

[Compare
Source](https://github.com/styled-components/polished/compare/v4.0.2...v4.0.3)

### Bug Fix

- Updated [@&elastic#8203;babel/runtime](https://github.com/babel/runtime) to
address webpack v5 compatibility issue (Thanks
[@&elastic#8203;koba04](https://github.com/koba04) -
[#&elastic#8203;547](https://github.com/styled-components/polished/issues/547)
)

###
[`v4.0.2`](https://github.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
[@&elastic#8203;drakang4](https://github.com/drakang4) -
[#&elastic#8203;546](https://github.com/styled-components/polished/issues/546))

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM3LjQyNS4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNoYXJlZFVYIiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->

---------

Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: kibanamachine <[email protected]>
Co-authored-by: jennypavlova <[email protected]>
Co-authored-by: Shahzad <[email protected]>
  • Loading branch information
4 people authored Feb 12, 2025
1 parent 78a596b commit a402f4e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 12 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,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",
Expand Down
15 changes: 4 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26481,17 +26481,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"

Expand Down

0 comments on commit a402f4e

Please sign in to comment.