Skip to content
This repository was archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
Bump styled-components from 5.2.3 to 5.3.0 (#474)
Browse files Browse the repository at this point in the history
Bumps [styled-components](https://github.com/styled-components/styled-components) from 5.2.3 to 5.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/styled-components/styled-components/releases">styled-components's releases</a>.</em></p>
<blockquote>
<h2>v5.3.0</h2>
<ul>
<li>
<p>Pass <code>elementToBeCreated</code> as a third parameter to <code>shouldForwardProp</code> 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 <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3436">#3436</a>)</p>
</li>
<li>
<p>Fix React Native components accepts function as style prop. (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3389">#3389</a>)</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/styled-components/styled-components/blob/main/CHANGELOG.md">styled-components's changelog</a>.</em></p>
<blockquote>
<h2>[v5.3.0] - 2021-05-04</h2>
<ul>
<li>
<p>Pass <code>elementToBeCreated</code> as a third parameter to <code>shouldForwardProp</code> 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 <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3436">#3436</a>)</p>
</li>
<li>
<p>Fix React Native components accepts function as style prop. (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3389">#3389</a>)</p>
</li>
</ul>
<h2>[v5.2.2] - 2021-03-30</h2>
<ul>
<li>
<p>For React Native based components, pass <code>testID</code> down to the native component if specified for an easier time testing. (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3365">#3365</a>)</p>
</li>
<li>
<p>Enable users of the babel macro to customize the styled-components import with <code>importModuleName</code> (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3422">#3422</a>)</p>
</li>
<li>
<p>[fix] COMPLEX_SELECTOR_PREFIX.includes wasn't transpiled (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3397">#3397</a>)</p>
</li>
</ul>
<h2>[v5.2.1] - 2020-10-30</h2>
<ul>
<li>Tweak server-side build settings to resolve an issue with jest-dom not being able to pick up generated styles (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3308">#3308</a>) thanks <a href="https://github.com/Lazyuki"><code>@​Lazyuki</code></a></li>
</ul>
<h2>[v5.2.0] - 2020-09-04</h2>
<ul>
<li>
<p>Make sure <code>StyleSheetManager</code> renders all styles in iframe / child windows (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3159">#3159</a>) thanks <a href="https://github.com/eramdam"><code>@​eramdam</code></a>!</p>
</li>
<li>
<p>Rework how components self-reference in extension scenarios (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3236">#3236</a>); should fix a bunch of subtle bugs around patterns like <code>&amp; + &amp;</code></p>
</li>
<li>
<p>Fix <code>keyframes</code> not receiving a modified stylis instance when using something like <code>stylis-plugin-rtl</code> (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3239">#3239</a>)</p>
</li>
<li>
<p>Big performance gain for components using <a href="https://styled-components.com/docs/advanced#style-objects">style objects</a> (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3239">#3239</a>)</p>
</li>
<li>
<p>We no longer emit dynamic classNames for empty rulesets, so some className churn may occur in snapshots</p>
</li>
<li>
<p>Preallocate global style placement to ensure cGS is consistently inserted at the top of the stylesheet; note that this is done in <em>runtime order</em> so, if you have multiple cGS that have overlapping styles, ensure they're defined in code in the sequence you would want them injected (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3239">#3239</a>)</p>
</li>
<li>
<p>Add &quot;engines&quot; to package.json (currently set to Node 10, the oldest supported LTS distribution) (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3201">#3201</a>) thanks <a href="https://github.com/MichaelDeBoey"><code>@​MichaelDeBoey</code></a>!</p>
</li>
<li>
<p>Allow <code>DISABLE_SPEEDY</code> to be set to <code>false</code> to enable speedy mode in non-production environments (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3289">#3289</a>) thanks <a href="https://github.com/FastFedora"><code>@​FastFedora</code></a>!</p>
</li>
<li>
<p>Enable new style rules can be inserted in the middle of existing sheet when rendering on client after rehydrate. <code>GroupIDAllocator</code> is now changed to find <code>nextFreeGroup</code> by checking <code>reverseRegister</code>, instead of setting it to the end of existing groups. (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3233">#3233</a>) thanks <a href="https://github.com/mu29"><code>@​mu29</code></a>!</p>
</li>
</ul>
<h2>[v5.1.1] - 2020-04-07</h2>
<h3>New Functionality</h3>
<ul>
<li>Implement <code>shouldForwardProp</code> API for native and primitive platforms, which was previously missing in [v5.1.0] (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3107">#3093</a>)
This has been released under a patch bump instead of a minor, since it's only been missing from Native-support.</li>
</ul>
<h3>Bugfixes</h3>
<ul>
<li>Added <code>useTheme</code> hook to named exports for react-primitives entrypoint (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/2982">#2982</a>) thanks <a href="https://github.com/jladuval"><code>@​jladuval</code></a>!</li>
<li>Escape every CSS ident character necessary when converting component display names to class names (see <a href="https://github-redirect.dependabot.com/styled-components/styled-components/pull/3102">#3102</a>) thanks <a href="https://github.com/kripod"><code>@​kripod</code></a>!</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/styled-components/styled-components/commit/14e215811b6f14972d57301717670ef330cadcbe"><code>14e2158</code></a> v5.3.0</li>
<li><a href="https://github.com/styled-components/styled-components/commit/02ec0d56489aa7341bb3b79820670041cff26c53"><code>02ec0d5</code></a> Fix - add textpath element v5 (<a href="https://github-redirect.dependabot.com/styled-components/styled-components/issues/3461">#3461</a>)</li>
<li><a href="https://github.com/styled-components/styled-components/commit/b0a80410aaaae6553e885e022418b45a92ca61ad"><code>b0a8041</code></a> Fix style prop accepts function in native components for v5 (<a href="https://github-redirect.dependabot.com/styled-components/styled-components/issues/3389">#3389</a>)</li>
<li><a href="https://github.com/styled-components/styled-components/commit/010f1d79aec9ad662aed5702452fe3bbb2303957"><code>010f1d7</code></a> feat: pass elementToBeCreated to shouldForwardProp (<a href="https://github-redirect.dependabot.com/styled-components/styled-components/issues/3451">#3451</a>)</li>
<li>See full diff in <a href="https://github.com/styled-components/styled-components/compare/v5.2.3...v5.3.0">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=styled-components&package-manager=npm_and_yarn&previous-version=5.2.3&new-version=5.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

You can trigger a rebase of this PR by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>
  • Loading branch information
dependabot[bot] authored Jun 8, 2021
1 parent 9f570d8 commit c91f8e2
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3731,7 +3731,7 @@
"@types/node" "*"
form-data "^3.0.0"

"@types/node@*", "@types/node@^14.0.14":
"@types/node@*", "@types/node@^14.0.10", "@types/node@^14.0.14":
version "14.17.2"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.17.2.tgz#1e94476db57ec93a372c7f7d29aa5707cfb92339"
integrity sha512-sld7b/xmFum66AAKuz/rp/CUO8+98fMpyQ3SBfzzBNGMd/1iHBTAg9oyAvcYlAj46bpc74r91jSw2iFdnx29nw==
Expand All @@ -3746,11 +3746,6 @@
resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.4.tgz#73687043dd00fcb6962c60fbf499553a24d6bdf2"
integrity sha512-xRCgeE0Q4pT5UZ189TJ3SpYuX/QGl6QIAOAIeDSbAVAd2gX1NxSZup4jNVK7cxIeP8KDSbJgcckun495isP1jQ==

"@types/node@^14.0.10":
version "14.17.2"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.17.2.tgz#1e94476db57ec93a372c7f7d29aa5707cfb92339"
integrity sha512-sld7b/xmFum66AAKuz/rp/CUO8+98fMpyQ3SBfzzBNGMd/1iHBTAg9oyAvcYlAj46bpc74r91jSw2iFdnx29nw==

"@types/normalize-package-data@^2.4.0":
version "2.4.0"
resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e"
Expand Down Expand Up @@ -18283,9 +18278,9 @@ [email protected], style-to-object@^0.3.0:
inline-style-parser "0.1.1"

styled-components@^5.0.0, styled-components@^5.1.1:
version "5.2.3"
resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-5.2.3.tgz#752669fd694aac10de814d96efc287dde0d11385"
integrity sha512-BlR+KrLW3NL1yhvEB+9Nu9Dt51CuOnHoxd+Hj+rYPdtyR8X11uIW9rvhpy3Dk4dXXBsiW1u5U78f00Lf/afGoA==
version "5.3.0"
resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-5.3.0.tgz#e47c3d3e9ddfff539f118a3dd0fd4f8f4fb25727"
integrity sha512-bPJKwZCHjJPf/hwTJl6TbkSZg/3evha+XPEizrZUGb535jLImwDUdjTNxXqjjaASt2M4qO4AVfoHJNe3XB/tpQ==
dependencies:
"@babel/helper-module-imports" "^7.0.0"
"@babel/traverse" "^7.4.5"
Expand Down

0 comments on commit c91f8e2

Please sign in to comment.