-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
fix: Do not add px to unitless CSS variables #3975
Merged
quantizor
merged 1 commit into
styled-components:legacy-v5
from
Lazyuki:fix-unitless-css-vars
Apr 6, 2023
Merged
fix: Do not add px to unitless CSS variables #3975
quantizor
merged 1 commit into
styled-components:legacy-v5
from
Lazyuki:fix-unitless-css-vars
Apr 6, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Lazyuki
changed the title
Do not add px to CSS variables
fix: Do not add px to CSS variables
Mar 29, 2023
Lazyuki
changed the title
fix: Do not add px to CSS variables
fix: Do not add px to unitless CSS variables
Mar 29, 2023
quantizor
approved these changes
Apr 6, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes a ton of sense, thank you. Could you also make the same PR against main
?
kodiakhq bot
pushed a commit
to kula-app/OnLaunch
that referenced
this pull request
Apr 23, 2023
[![Mend 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.3.9` -> `5.3.10`](https://renovatebot.com/diffs/npm/styled-components/5.3.9/5.3.10) | [![age](https://badges.renovateapi.com/packages/npm/styled-components/5.3.10/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/styled-components/5.3.10/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/styled-components/5.3.10/compatibility-slim/5.3.9)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/styled-components/5.3.10/confidence-slim/5.3.9)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>styled-components/styled-components</summary> ### [`v5.3.10`](https://togithub.com/styled-components/styled-components/releases/tag/v5.3.10) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v5.3.9...v5.3.10) #### What's Changed - fix: Do not add px to unitless CSS variables by [@​Lazyuki](https://togithub.com/Lazyuki) in [styled-components/styled-components#3975 **Full Changelog**: styled-components/styled-components@v5.3.9...v5.3.10 </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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://app.renovatebot.com/dashboard#github/kula-app/OnLaunch). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNS41Ny4wIiwidXBkYXRlZEluVmVyIjoiMzUuNTcuMCJ9-->
scudette
pushed a commit
to Velocidex/velociraptor
that referenced
this pull request
May 15, 2023
<h3>Snyk has created this PR to upgrade styled-components from 5.3.9 to 5.3.10.</h3> :information_source: 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. <hr/> - The recommended version is **1 version** ahead of your current version. - The recommended version was released **22 days ago**, on 2023-04-23. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>styled-components</b></summary> <ul> <li> <b>5.3.10</b> - <a href="https://snyk.io/redirect/github/styled-components/styled-components/releases/tag/v5.3.10">2023-04-23</a></br><h2>What's Changed</h2> <ul> <li>fix: Do not add px to unitless CSS variables by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Lazyuki/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://snyk.io/redirect/github/Lazyuki">@ Lazyuki</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1645996474" data-permission-text="Title is private" data-url="styled-components/styled-components#3975" data-hovercard-type="pull_request" data-hovercard-url="/styled-components/styled-components/pull/3975/hovercard" href="https://snyk.io/redirect/github/styled-components/styled-components/pull/3975">#3975</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://snyk.io/redirect/github/styled-components/styled-components/compare/v5.3.9...v5.3.10"><tt>v5.3.9...v5.3.10</tt></a></p> </li> <li> <b>5.3.9</b> - <a href="https://snyk.io/redirect/github/styled-components/styled-components/releases/tag/v5.3.9">2023-03-13</a></br><h2>What's Changed</h2> <ul> <li>[v5] Make styled components work when the Object prototype is frozen by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jportner/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://snyk.io/redirect/github/jportner">@ jportner</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1618328501" data-permission-text="Title is private" data-url="styled-components/styled-components#3964" data-hovercard-type="pull_request" data-hovercard-url="/styled-components/styled-components/pull/3964/hovercard" href="https://snyk.io/redirect/github/styled-components/styled-components/pull/3964">#3964</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://snyk.io/redirect/github/styled-components/styled-components/compare/v5.3.8...v5.3.9"><tt>v5.3.8...v5.3.9</tt></a></p> </li> </ul> from <a href="https://snyk.io/redirect/github/styled-components/styled-components/releases">styled-components GitHub release notes</a> </details> </details> <hr/> **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: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJlZGI3Y2IwYi1hZjhmLTRhMzctYWRkYi0zZGEzNDIxMTQ4M2QiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImVkYjdjYjBiLWFmOGYtNGEzNy1hZGRiLTNkYTM0MjExNDgzZCJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/scudette/project/76f4d127-566b-42ef-86f4-bdcbc92b90b4?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/scudette/project/76f4d127-566b-42ef-86f4-bdcbc92b90b4/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/scudette/project/76f4d127-566b-42ef-86f4-bdcbc92b90b4/settings/integration?pkg=styled-components&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) <!--- (snyk:metadata:{"prId":"edb7cb0b-af8f-4a37-addb-3da34211483d","prPublicId":"edb7cb0b-af8f-4a37-addb-3da34211483d","dependencies":[{"name":"styled-components","from":"5.3.9","to":"5.3.10"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/scudette/project/76f4d127-566b-42ef-86f4-bdcbc92b90b4?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"76f4d127-566b-42ef-86f4-bdcbc92b90b4","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":1,"publishedDate":"2023-04-23T00:46:53.666Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]}) --->
scudette
pushed a commit
to Velocidex/velociraptor
that referenced
this pull request
May 23, 2023
<h3>Snyk has created this PR to upgrade styled-components from 5.3.9 to 5.3.10.</h3> :information_source: 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. <hr/> - The recommended version is **1 version** ahead of your current version. - The recommended version was released **22 days ago**, on 2023-04-23. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>styled-components</b></summary> <ul> <li> <b>5.3.10</b> - <a href="https://snyk.io/redirect/github/styled-components/styled-components/releases/tag/v5.3.10">2023-04-23</a></br><h2>What's Changed</h2> <ul> <li>fix: Do not add px to unitless CSS variables by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Lazyuki/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://snyk.io/redirect/github/Lazyuki">@ Lazyuki</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1645996474" data-permission-text="Title is private" data-url="styled-components/styled-components#3975" data-hovercard-type="pull_request" data-hovercard-url="/styled-components/styled-components/pull/3975/hovercard" href="https://snyk.io/redirect/github/styled-components/styled-components/pull/3975">#3975</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://snyk.io/redirect/github/styled-components/styled-components/compare/v5.3.9...v5.3.10"><tt>v5.3.9...v5.3.10</tt></a></p> </li> <li> <b>5.3.9</b> - <a href="https://snyk.io/redirect/github/styled-components/styled-components/releases/tag/v5.3.9">2023-03-13</a></br><h2>What's Changed</h2> <ul> <li>[v5] Make styled components work when the Object prototype is frozen by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jportner/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://snyk.io/redirect/github/jportner">@ jportner</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1618328501" data-permission-text="Title is private" data-url="styled-components/styled-components#3964" data-hovercard-type="pull_request" data-hovercard-url="/styled-components/styled-components/pull/3964/hovercard" href="https://snyk.io/redirect/github/styled-components/styled-components/pull/3964">#3964</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://snyk.io/redirect/github/styled-components/styled-components/compare/v5.3.8...v5.3.9"><tt>v5.3.8...v5.3.9</tt></a></p> </li> </ul> from <a href="https://snyk.io/redirect/github/styled-components/styled-components/releases">styled-components GitHub release notes</a> </details> </details> <hr/> **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: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiJlZGI3Y2IwYi1hZjhmLTRhMzctYWRkYi0zZGEzNDIxMTQ4M2QiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6ImVkYjdjYjBiLWFmOGYtNGEzNy1hZGRiLTNkYTM0MjExNDgzZCJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/scudette/project/76f4d127-566b-42ef-86f4-bdcbc92b90b4?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/scudette/project/76f4d127-566b-42ef-86f4-bdcbc92b90b4/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/scudette/project/76f4d127-566b-42ef-86f4-bdcbc92b90b4/settings/integration?pkg=styled-components&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) <!--- (snyk:metadata:{"prId":"edb7cb0b-af8f-4a37-addb-3da34211483d","prPublicId":"edb7cb0b-af8f-4a37-addb-3da34211483d","dependencies":[{"name":"styled-components","from":"5.3.9","to":"5.3.10"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/scudette/project/76f4d127-566b-42ef-86f4-bdcbc92b90b4?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"76f4d127-566b-42ef-86f4-bdcbc92b90b4","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":1,"publishedDate":"2023-04-23T00:46:53.666Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]}) --->
thoomasbro
added a commit
to MTES-MCT/monitorenv
that referenced
this pull request
Jun 9, 2023
<p>This PR was automatically created by Snyk using the credentials of a real user.</p><br /><h3>Snyk has created this PR to upgrade styled-components from 5.3.5 to 5.3.10.</h3> :information_source: 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. <hr/> - The recommended version is **5 versions** ahead of your current version. - The recommended version was released **2 months ago**, on 2023-04-23. The recommended version fixes: Severity | Issue | PriorityScore (*) | Exploit Maturity | :-------------------------:|:-------------------------|-------------------------|:------------------------- <img src="https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png" width="20" height="20" title="medium severity"/> | Undesired Behavior<br/> [SNYK-JS-STYLEDCOMPONENTS-3149924](https://snyk.io/vuln/SNYK-JS-STYLEDCOMPONENTS-3149924) | **454/1000** <br/> **Why?** Has a fix available, CVSS 4.8 | No Known Exploit (*) Note that the real score may have changed since the PR was raised. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>styled-components</b></summary> <ul> <li> <b>5.3.10</b> - <a href="https://snyk.io/redirect/github/styled-components/styled-components/releases/tag/v5.3.10">2023-04-23</a></br><h2>What's Changed</h2> <ul> <li>fix: Do not add px to unitless CSS variables by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Lazyuki/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://snyk.io/redirect/github/Lazyuki">@ Lazyuki</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1645996474" data-permission-text="Title is private" data-url="styled-components/styled-components#3975" data-hovercard-type="pull_request" data-hovercard-url="/styled-components/styled-components/pull/3975/hovercard" href="https://snyk.io/redirect/github/styled-components/styled-components/pull/3975">#3975</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://snyk.io/redirect/github/styled-components/styled-components/compare/v5.3.9...v5.3.10"><tt>v5.3.9...v5.3.10</tt></a></p> </li> <li> <b>5.3.9</b> - <a href="https://snyk.io/redirect/github/styled-components/styled-components/releases/tag/v5.3.9">2023-03-13</a></br><h2>What's Changed</h2> <ul> <li>[v5] Make styled components work when the Object prototype is frozen by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jportner/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://snyk.io/redirect/github/jportner">@ jportner</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1618328501" data-permission-text="Title is private" data-url="styled-components/styled-components#3964" data-hovercard-type="pull_request" data-hovercard-url="/styled-components/styled-components/pull/3964/hovercard" href="https://snyk.io/redirect/github/styled-components/styled-components/pull/3964">#3964</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://snyk.io/redirect/github/styled-components/styled-components/compare/v5.3.8...v5.3.9"><tt>v5.3.8...v5.3.9</tt></a></p> </li> <li> <b>5.3.8</b> - <a href="https://snyk.io/redirect/github/styled-components/styled-components/releases/tag/v5.3.8">2023-03-02</a></br><h2>What's Changed</h2> <p>fix(constants): rework process env guard</p> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://snyk.io/redirect/github/styled-components/styled-components/compare/v5.3.7-fixed...v5.3.8"><tt>v5.3.7-fixed...v5.3.8</tt></a></p> </li> <li> <b>5.3.7</b> - <a href="https://snyk.io/redirect/github/styled-components/styled-components/releases/tag/v5.3.7">2023-03-02</a></br><p>Fix to recently added test that wasn't running</p> </li> <li> <b>5.3.6</b> - 2022-09-27 </li> <li> <b>5.3.5</b> - 2022-03-24 </li> </ul> from <a href="https://snyk.io/redirect/github/styled-components/styled-components/releases">styled-components GitHub release notes</a> </details> </details> <hr/> **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: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI4YjkyOWY5MC01NTA3LTQ0ODAtYjAxZS05OGE2YzgzYWY2MjUiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjhiOTI5ZjkwLTU1MDctNDQ4MC1iMDFlLTk4YTZjODNhZjYyNSJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/mtes-mct/project/afb3e19a-88e3-4a0e-9409-d0f9cfdc75b5?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/mtes-mct/project/afb3e19a-88e3-4a0e-9409-d0f9cfdc75b5/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/mtes-mct/project/afb3e19a-88e3-4a0e-9409-d0f9cfdc75b5/settings/integration?pkg=styled-components&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) <!--- (snyk:metadata:{"prId":"8b929f90-5507-4480-b01e-98a6c83af625","prPublicId":"8b929f90-5507-4480-b01e-98a6c83af625","dependencies":[{"name":"styled-components","from":"5.3.5","to":"5.3.10"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/mtes-mct/project/afb3e19a-88e3-4a0e-9409-d0f9cfdc75b5?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"afb3e19a-88e3-4a0e-9409-d0f9cfdc75b5","env":"prod","prType":"upgrade","vulns":["SNYK-JS-STYLEDCOMPONENTS-3149924"],"issuesToFix":[{"issueId":"SNYK-JS-STYLEDCOMPONENTS-3149924","severity":"medium","title":"Undesired Behavior","exploitMaturity":"no-known-exploit","priorityScore":454,"priorityScoreFactors":[{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"4.8","score":240},{"type":"scoreVersion","label":"v1","score":1}]}],"upgrade":["SNYK-JS-STYLEDCOMPONENTS-3149924"],"upgradeInfo":{"versionsDiff":5,"publishedDate":"2023-04-23T00:46:53.666Z"},"templateVariants":["priorityScore"],"hasFixes":true,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[454]}) --->
scudette
added a commit
to Velocidex/velociraptor
that referenced
this pull request
Jun 20, 2023
<p>This PR was automatically created by Snyk using the credentials of a real user.</p><br /><h3>Snyk has created this PR to upgrade styled-components from 5.3.10 to 5.3.11.</h3> :information_source: 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. <hr/> - The recommended version is **1 version** ahead of your current version. - The recommended version was released **25 days ago**, on 2023-05-26. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>styled-components</b></summary> <ul> <li> <b>5.3.11</b> - <a href="https://snyk.io/redirect/github/styled-components/styled-components/releases/tag/v5.3.11">2023-05-26</a></br><p>Removed use of the <code>useDebugValue</code> hook to rectify older React support.</p> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://snyk.io/redirect/github/styled-components/styled-components/compare/v5.3.10...v5.3.11"><tt>v5.3.10...v5.3.11</tt></a></p> </li> <li> <b>5.3.10</b> - <a href="https://snyk.io/redirect/github/styled-components/styled-components/releases/tag/v5.3.10">2023-04-23</a></br><h2>What's Changed</h2> <ul> <li>fix: Do not add px to unitless CSS variables by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Lazyuki/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://snyk.io/redirect/github/Lazyuki">@ Lazyuki</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1645996474" data-permission-text="Title is private" data-url="styled-components/styled-components#3975" data-hovercard-type="pull_request" data-hovercard-url="/styled-components/styled-components/pull/3975/hovercard" href="https://snyk.io/redirect/github/styled-components/styled-components/pull/3975">#3975</a></li> </ul> <p><strong>Full Changelog</strong>: <a class="commit-link" href="https://snyk.io/redirect/github/styled-components/styled-components/compare/v5.3.9...v5.3.10"><tt>v5.3.9...v5.3.10</tt></a></p> </li> </ul> from <a href="https://snyk.io/redirect/github/styled-components/styled-components/releases">styled-components GitHub release notes</a> </details> </details> <hr/> **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: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiIxNzhhM2JmNi0xM2IyLTRkM2MtOWMzMy05MDQzOTc3YTkwZDEiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjE3OGEzYmY2LTEzYjItNGQzYy05YzMzLTkwNDM5NzdhOTBkMSJ9fQ==" width="0" height="0"/> 🧐 [View latest project report](https://app.snyk.io/org/scudette/project/76f4d127-566b-42ef-86f4-bdcbc92b90b4?utm_source=github&utm_medium=referral&page=upgrade-pr) 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/scudette/project/76f4d127-566b-42ef-86f4-bdcbc92b90b4/settings/integration?utm_source=github&utm_medium=referral&page=upgrade-pr) 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/scudette/project/76f4d127-566b-42ef-86f4-bdcbc92b90b4/settings/integration?pkg=styled-components&utm_source=github&utm_medium=referral&page=upgrade-pr#auto-dep-upgrades) <!--- (snyk:metadata:{"prId":"178a3bf6-13b2-4d3c-9c33-9043977a90d1","prPublicId":"178a3bf6-13b2-4d3c-9c33-9043977a90d1","dependencies":[{"name":"styled-components","from":"5.3.10","to":"5.3.11"}],"packageManager":"npm","type":"auto","projectUrl":"https://app.snyk.io/org/scudette/project/76f4d127-566b-42ef-86f4-bdcbc92b90b4?utm_source=github&utm_medium=referral&page=upgrade-pr","projectPublicId":"76f4d127-566b-42ef-86f4-bdcbc92b90b4","env":"prod","prType":"upgrade","vulns":[],"issuesToFix":[],"upgrade":[],"upgradeInfo":{"versionsDiff":1,"publishedDate":"2023-05-26T03:40:38.148Z"},"templateVariants":[],"hasFixes":false,"isMajorUpgrade":false,"isBreakingChange":false,"priorityScoreList":[]}) ---> Co-authored-by: snyk-bot <snyk-bot@snyk.io>
constanzauanini
pushed a commit
to terraware/terraware-web
that referenced
this pull request
Sep 18, 2023
[![Mend 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.3.5` -> `^6.0.0`](https://renovatebot.com/diffs/npm/styled-components/5.3.6/6.0.8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/styled-components/6.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/styled-components/6.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/styled-components/5.3.6/6.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/styled-components/5.3.6/6.0.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>styled-components/styled-components (styled-components)</summary> ### [`v6.0.8`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.8) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.7...v6.0.8) #### What's Changed - feat(native): add `toStyleSheet` function by [@​krudos](https://togithub.com/krudos) in [styled-components/styled-components#4124 - fix: prevent `StyleSheetManager` updating context on every render by [@​keeganstreet](https://togithub.com/keeganstreet) in [styled-components/styled-components#4159 - fix(types): ensure typing for static properties defined on third-party components wrapped by styled-components by [@​MartinPELCAT](https://togithub.com/MartinPELCAT) in [styled-components/styled-components#4141 - fix: production mode inconsistent CSS rendering when dynamic property values are the same but property names are different by [@​bcole808](https://togithub.com/bcole808) in [styled-components/styled-components#4132 - fix(types): decrease type complexity by moving off of `JSX.IntrinsicElements` for the supported element list by [@​RJWadley](https://togithub.com/RJWadley) in [styled-components/styled-components#4149 - fix(types): adopt ref typing from forwardedAs by [@​probablyup](https://togithub.com/probablyup) in [styled-components/styled-components#4163 - chore: update typescript reference on issue template by [@​chilled-capybara](https://togithub.com/chilled-capybara) in [styled-components/styled-components#4150 - chore(types): add type exports for `StyleFunction`, `Interpolation` by [@​bcole808](https://togithub.com/bcole808) in [styled-components/styled-components#4140 - chore: updated Contributing guide benchmark instructions by [@​bcole808](https://togithub.com/bcole808) in [styled-components/styled-components#4137 - chore(types): add missing types `CSSProperties`, `CSSObject`, `CSSPseudos` and `CSSKeyframes` by [@​takurinton](https://togithub.com/takurinton) in [styled-components/styled-components#4117 #### New Contributors - [@​takurinton](https://togithub.com/takurinton) made their first contribution in [styled-components/styled-components#4117 - [@​krudos](https://togithub.com/krudos) made their first contribution in [styled-components/styled-components#4124 - [@​chilled-capybara](https://togithub.com/chilled-capybara) made their first contribution in [styled-components/styled-components#4150 - [@​MartinPELCAT](https://togithub.com/MartinPELCAT) made their first contribution in [styled-components/styled-components#4141 - [@​RJWadley](https://togithub.com/RJWadley) made their first contribution in [styled-components/styled-components#4149 **Full Changelog**: styled-components/styled-components@v6.0.7...v6.0.8 ### [`v6.0.7`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.7) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.6...v6.0.7) #### What's Changed - refactor(types): enable `exactOptionalPropertyTypes` check by [@​aspirisen](https://togithub.com/aspirisen) in [styled-components/styled-components#3993 - fix(types): allow number for height/width/etc ([#​4090](https://togithub.com/styled-components/styled-components/issues/4090)) by [@​drewbrend](https://togithub.com/drewbrend) in [styled-components/styled-components#4111 #### New Contributors - [@​aspirisen](https://togithub.com/aspirisen) made their first contribution in [styled-components/styled-components#3993 - [@​drewbrend](https://togithub.com/drewbrend) made their first contribution in [styled-components/styled-components#4111 **Full Changelog**: styled-components/styled-components@v6.0.6...v6.0.7 ### [`v6.0.6`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.6) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.5...v6.0.6) #### What's Changed - fix(types): issues with StyleFunctions and StyledObjects by [@​bcole808](https://togithub.com/bcole808) in [styled-components/styled-components#4107 #### New Contributors - [@​bcole808](https://togithub.com/bcole808) made their first contribution in [styled-components/styled-components#4107 **Full Changelog**: styled-components/styled-components@v6.0.5...v6.0.6 ### [`v6.0.5`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.5) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.4...v6.0.5) #### What's Changed - Fix createGlobalStyle not removing styles on unmount by [@​mdeschamps](https://togithub.com/mdeschamps) in [styled-components/styled-components#4101 #### New Contributors - [@​mdeschamps](https://togithub.com/mdeschamps) made their first contribution in [styled-components/styled-components#4101 **Full Changelog**: styled-components/styled-components@v6.0.4...v6.0.5 ### [`v6.0.4`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.4) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.3...v6.0.4) #### What's Changed - refactor: dev warning on unknown props retargeted specifically toward HTML targets rather than other React components by [@​woodreamz](https://togithub.com/woodreamz) in [styled-components/styled-components#4084 - fix: untyped event handler callbacks by [@​ziolekjj](https://togithub.com/ziolekjj) in [styled-components/styled-components#4086 #### New Contributors - [@​woodreamz](https://togithub.com/woodreamz) made their first contribution in [styled-components/styled-components#4084 - [@​ziolekjj](https://togithub.com/ziolekjj) made their first contribution in [styled-components/styled-components#4086 **Full Changelog**: styled-components/styled-components@v6.0.3...v6.0.4 ### [`v6.0.3`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.3) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.2...v6.0.3) #### What's Changed - fix: StyleSheetManager missing Stylis types by [@​MattIPv4](https://togithub.com/MattIPv4) in [styled-components/styled-components#4078 #### New Contributors - [@​MattIPv4](https://togithub.com/MattIPv4) made their first contribution in [styled-components/styled-components#4078 **Full Changelog**: styled-components/styled-components@v6.0.2...v6.0.3 ### [`v6.0.2`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.2) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.1...v6.0.2) #### What's Changed - fix: StyleSheetManager must accept undefined props by [@​gineika](https://togithub.com/gineika) in [styled-components/styled-components#4069 - fix: replace slow Omit type by [@​gineika](https://togithub.com/gineika) in [styled-components/styled-components#4068 - drop `displayName` in production to save bytes, it's already present in the static className if you're using the babel plugin or equivalent - refactor use of `flatMap` and `at` with ES5-compliant variants #### New Contributors - [@​gineika](https://togithub.com/gineika) made their first contribution in [styled-components/styled-components#4069 **Full Changelog**: styled-components/styled-components@v6.0.1...v6.0.2 ### [`v6.0.1`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.1) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v6.0.0...v6.0.1) Fixed an issue where a dev-time warning was being triggered too eagerly. **Full Changelog**: styled-components/styled-components@v6.0.0...v6.0.1 ### [`v6.0.0`](https://togithub.com/styled-components/styled-components/releases/tag/v6.0.0) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v5.3.11...v6.0.0) yarn add styled-components #### Changed in this version - fix(types): prevent prop bleed on styling properties (fixes [#​4053](https://togithub.com/styled-components/styled-components/issues/4053), [`c0f8015`](https://togithub.com/styled-components/styled-components/commit/c0f8015af64367938ff9d9debf90fb8005459c6c)) - feat(types): ship csstype via "CSS" namespace ([`e6c4f0a`](https://togithub.com/styled-components/styled-components/commit/e6c4f0a6b1a1c483cf0c433f0d0434bbda124d2c)) - chore: bump stylis to 4.3 (fixes [#​4007](https://togithub.com/styled-components/styled-components/issues/4007), [`fa58875`](https://togithub.com/styled-components/styled-components/commit/fa58875dcbdbff43532c3b9519eb5fc7d009830d)) - reduced some sources of unnecessary branching logic #### Breaking changes in v6 Migration guide → https://styled-components.com/docs/faqs#what-do-i-need-to-do-to-migrate-to-v6 - now using `stylis` v4 (if using `stylis-plugin-rtl` you'll need to upgrade to the newer version) - styled-components now provides its own types; if you installed `@types/styled-components` in the past, you'll want to remove it - dropped `$as` and `$forwardedAs` props (use `as` or `forwardedAs`) - dropped automatic prop filtering; use transient props (`$` prefix) for stuff you don't want to be passed to child component / HTML - `StyleSheetManager` - replaced `disableVendorPrefixes` with `enableVendorPrefixes` prop - dropped automatic vendor prefixing; if you need to support older browsers, you can re-enable it easily with the above prop ```tsx <StyleSheetManager enableVendorPrefixes> {/* your React tree and ThemeProvider goes here */} </StyleSheetManager> ``` - dropped deprecated `withComponent` API ([`87f511a`](https://togithub.com/styled-components/styled-components/commit/87f511a228e5b13b1ff70a416409e0705e5bf456)); use "as" prop instead - node >= 14 needed **Full Changelog**: styled-components/styled-components@v5.3.7...v6.0.0 ### [`v5.3.11`](https://togithub.com/styled-components/styled-components/releases/tag/v5.3.11) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v5.3.10...v5.3.11) Removed use of the `useDebugValue` hook to rectify older React support. **Full Changelog**: styled-components/styled-components@v5.3.10...v5.3.11 ### [`v5.3.10`](https://togithub.com/styled-components/styled-components/releases/tag/v5.3.10) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v5.3.9...v5.3.10) #### What's Changed - fix: Do not add px to unitless CSS variables by [@​Lazyuki](https://togithub.com/Lazyuki) in [styled-components/styled-components#3975 **Full Changelog**: styled-components/styled-components@v5.3.9...v5.3.10 ### [`v5.3.9`](https://togithub.com/styled-components/styled-components/releases/tag/v5.3.9) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v5.3.8...v5.3.9) ##### What's Changed - \[v5] Make styled components work when the Object prototype is frozen by [@​jportner](https://togithub.com/jportner) in [styled-components/styled-components#3964 **Full Changelog**: styled-components/styled-components@v5.3.8...v5.3.9 ### [`v5.3.8`](https://togithub.com/styled-components/styled-components/releases/tag/v5.3.8) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v5.3.7...v5.3.8) #### What's Changed fix(constants): rework process env guard **Full Changelog**: styled-components/styled-components@v5.3.7-fixed...v5.3.8 ### [`v5.3.7`](https://togithub.com/styled-components/styled-components/compare/v5.3.6...v5.3.7) [Compare Source](https://togithub.com/styled-components/styled-components/compare/v5.3.6...v5.3.7) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), 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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/terraware/terraware-web). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi44My4wIiwidXBkYXRlZEluVmVyIjoiMzYuODMuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently, the
addUnitIfNeeded
function is addingpx
to CSS variables that could potentially be used unitless. i.e.--tooltip-z-index
or--font-weight-bold
. It should ignore addingpx
if it's used for CSS variables since we can't know what they are used for.