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

Backport #3568 to v5 #3591

Merged

Conversation

keeganstreet
Copy link
Contributor

Backport #3568 to v5

Copy link
Contributor

@quantizor quantizor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs a changelog entry

@quantizor
Copy link
Contributor

@keeganstreet bump

@keeganstreet
Copy link
Contributor Author

Updated with changelog entry @probablyup 👍

@quantizor quantizor merged commit 6e7ac64 into styled-components:legacy-v5 Oct 19, 2021
bors bot added a commit to foosbyte/kicker-trainer that referenced this pull request Oct 19, 2021
1439: fix: update dependency styled-components to v5.3.3 (master) r=renovate[bot] a=renovate[bot]

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [styled-components](https://styled-components.com/) ([source](https://togithub.com/styled-components/styled-components)) | [`5.2.1` -> `5.3.3`](https://renovatebot.com/diffs/npm/styled-components/5.2.1/5.3.3) | [![age](https://badges.renovateapi.com/packages/npm/styled-components/5.3.3/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/styled-components/5.3.3/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/styled-components/5.3.3/compatibility-slim/5.2.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/styled-components/5.3.3/confidence-slim/5.2.1)](https://docs.renovatebot.com/merge-confidence/) |
| [`@types/styled-components](https://togithub.com/DefinitelyTyped/DefinitelyTyped)` | [`5.1.7` -> `5.1.15`](https://renovatebot.com/diffs/npm/`@types%2fstyled-components/5.1.7/5.1.15)` | [![age](https://badges.renovateapi.com/packages/npm/`@types%2fstyled-components/5.1.15/age-slim)](https://docs.renovatebot.com/merge-confidence/)` | [![adoption](https://badges.renovateapi.com/packages/npm/`@types%2fstyled-components/5.1.15/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)` | [![passing](https://badges.renovateapi.com/packages/npm/`@types%2fstyled-components/5.1.15/compatibility-slim/5.1.7)](https://docs.renovatebot.com/merge-confidence/)` | [![confidence](https://badges.renovateapi.com/packages/npm/`@types%2fstyled-components/5.1.15/confidence-slim/5.1.7)](https://docs.renovatebot.com/merge-confidence/)` |

---

### Release Notes

<details>
<summary>styled-components/styled-components</summary>

### [`v5.3.3`](https://togithub.com/styled-components/styled-components/releases/v5.3.3)

#### What's Changed

-   Backport [#&#8203;3568](https://togithub.com/styled-components/styled-components/issues/3568) to v5 by [`@&#8203;keeganstreet](https://togithub.com/keeganstreet)` in [styled-components/styled-components#3591
-   \[v5] generate more complete sourcemaps by [`@&#8203;henryqdineen](https://togithub.com/henryqdineen)` in [styled-components/styled-components#3597

#### New Contributors

-   [`@&#8203;henryqdineen](https://togithub.com/henryqdineen)` made their first contribution in [styled-components/styled-components#3597

**Full Changelog**: styled-components/styled-components@v5.3.1...v5.3.3

### [`v5.3.1`](https://togithub.com/styled-components/styled-components/releases/v5.3.1)

[Compare Source](https://togithub.com/styled-components/styled-components/compare/v5.3.0...v5.3.1)

-   Fix forced server-side mode not triggering global styles (See [#&#8203;3566](https://togithub.com/styled-components/styled-components/issues/3566))

-   Fix SSR collisions caused by insufficient hash inputs and reordering of groups on the client, which is a regression in v5.2.0 (See [#&#8203;3563](https://togithub.com/styled-components/styled-components/issues/3563))

-   Fix dynamic creation React warning for React v18, backported to v5 by [`@&#8203;lynndylanhurley](https://togithub.com/lynndylanhurley)` (See [#&#8203;3564](https://togithub.com/styled-components/styled-components/issues/3564))

-   Add missing typeof window check when checking for duplicate instances of styled-components (See [#&#8203;3553](https://togithub.com/styled-components/styled-components/issues/3553))

-   Prevent ServerStyleSheet from emitting empty style tags, which would cause issues in IE11 (See [#&#8203;3555](https://togithub.com/styled-components/styled-components/issues/3555))

-   Support css tagged templates inside style objects, by [`@&#8203;roginfarrer](https://togithub.com/roginfarrer)` and [`@&#8203;dvingo](https://togithub.com/dvingo)` (See [#&#8203;3469](https://togithub.com/styled-components/styled-components/issues/3469))

### [`v5.3.0`](https://togithub.com/styled-components/styled-components/blob/master/CHANGELOG.md#v530---2021-05-04)

[Compare Source](https://togithub.com/styled-components/styled-components/compare/v5.2.3...v5.3.0)

-   Pass `elementToBeCreated` as a third parameter to `shouldForwardProp` so that the user-specified function can decide whether to pass through props based on whether the created element will be a tag or another component. (see [#&#8203;3436](https://togithub.com/styled-components/styled-components/pull/3436))

-   Fix React Native components accepts function as style prop. (see [#&#8203;3389](https://togithub.com/styled-components/styled-components/pull/3389))

### [`v5.2.3`](https://togithub.com/styled-components/styled-components/releases/v5.2.3)

[Compare Source](https://togithub.com/styled-components/styled-components/compare/v5.2.2...v5.2.3)

fix an issue with an unguarded window accessor in a SSR path ([see #&#8203;3446](https://togithub.com/styled-components/styled-components/pull/3446))

### [`v5.2.2`](https://togithub.com/styled-components/styled-components/blob/master/CHANGELOG.md#v522---2021-03-30)

[Compare Source](https://togithub.com/styled-components/styled-components/compare/v5.2.1...v5.2.2)

-   For React Native based components, pass `testID` down to the native component if specified for an easier time testing. (see [#&#8203;3365](https://togithub.com/styled-components/styled-components/pull/3365))

-   Enable users of the babel macro to customize the styled-components import with `importModuleName` (see [#&#8203;3422](https://togithub.com/styled-components/styled-components/pull/3422))

-   \[fix] COMPLEX_SELECTOR_PREFIX.includes wasn't transpiled (see [#&#8203;3397](https://togithub.com/styled-components/styled-components/pull/3397))

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Enabled.

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

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

---

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

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/foosbyte/kicker-trainer).

1441: chore: update dependency @types/jest to v27 (master) r=renovate[bot] a=renovate[bot]

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [`@types/jest](https://togithub.com/DefinitelyTyped/DefinitelyTyped)` | [`26.0.20` -> `27.0.2`](https://renovatebot.com/diffs/npm/`@types%2fjest/26.0.20/27.0.2)` | [![age](https://badges.renovateapi.com/packages/npm/`@types%2fjest/27.0.2/age-slim)](https://docs.renovatebot.com/merge-confidence/)` | [![adoption](https://badges.renovateapi.com/packages/npm/`@types%2fjest/27.0.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/)` | [![passing](https://badges.renovateapi.com/packages/npm/`@types%2fjest/27.0.2/compatibility-slim/26.0.20)](https://docs.renovatebot.com/merge-confidence/)` | [![confidence](https://badges.renovateapi.com/packages/npm/`@types%2fjest/27.0.2/confidence-slim/26.0.20)](https://docs.renovatebot.com/merge-confidence/)` |

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **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, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/foosbyte/kicker-trainer).

Co-authored-by: Renovate Bot <bot@renovateapp.com>
aplavsa pushed a commit to aplavsa/styled-components that referenced this pull request Mar 3, 2022
…nerHTML during rehydrate) to v5 (styled-components#3591)

* Backport styled-components#3568 to v5

* Describe innerHTML to textContent change

Co-authored-by: Keegan Street <keegan.street@rea-group.com>
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.

None yet

2 participants