Skip to content

[Snyk] Upgrade babel-plugin-styled-components from 1.11.1 to 1.13.3#3

Open
snyk-bot wants to merge 1 commit into
mainfrom
snyk-upgrade-11bc0e114ab953a613772dea945916f7
Open

[Snyk] Upgrade babel-plugin-styled-components from 1.11.1 to 1.13.3#3
snyk-bot wants to merge 1 commit into
mainfrom
snyk-upgrade-11bc0e114ab953a613772dea945916f7

Conversation

@snyk-bot

@snyk-bot snyk-bot commented May 1, 2022

Copy link
Copy Markdown

Snyk has created this PR to upgrade babel-plugin-styled-components from 1.11.1 to 1.13.3.

merge advice
ℹ️ 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.


  • The recommended version is 12 versions ahead of your current version.
  • The recommended version was released 6 months ago, on 2021-10-18.
Release notes
Package name: babel-plugin-styled-components
  • 1.13.3 - 2021-10-18
    • when there are multiple assignments prefer the outer name (#355) thanks @ rockwotj
    • minor dependency updates
  • 1.13.2 - 2021-07-08
    • added some conditional guards to code paths that lead to errors for some consumers (0c16c1b)
    • dependency updates
    • teach babel plugin about certain spread application scenarios with "css" prop #339
    • handle namespace import (import * as styled from 'styled-components') properly #340
  • 1.13.2-test.1 - 2021-07-06

    Teach the plugin how to handle namespace import syntax properly, fixes #315 e.g.

    import * as styled from 'styled-components'

    const css = styled.css</span> <span class="pl-s"> <span class="pl-c1">background</span><span class="pl-kos">:</span> black;</span> <span class="pl-s">

    const GlobalStyle = styled.createGlobalStyle</span> <span class="pl-s"> html {</span> <span class="pl-s"> background: black;</span> <span class="pl-s"> }</span> <span class="pl-s">

    const Test = styled.default.div</span> <span class="pl-s"> color: red;</span> <span class="pl-s">

    const before = styled.default.div</span> <span class="pl-s"> color: blue;</span> <span class="pl-s">

    styled.default.div``

    export default styled.default.button``




  • 1.13.2-test.0 - 2021-07-06

    Fix #337 #332 (spread application involving local variable inside of css prop resulting in build error)




  • 1.13.1 - 2021-06-29

    Fix one edge case with object key interpolation from v1.13.0




  • 1.13.0 - 2021-06-29

    • teach the plugin how to handle variable interpolation in object keys, e.g.

      css={{
        [theme.breakpoint.sm]: {
          color: 'red'
        } 
      }}
    • plugin now emits transient props when replacing css prop calls (cuts down on garbage in the DOM for s-c 5.1+)

    • merge withConfig arguments to allow for shouldForwardProp, thanks @ ithinkdancan #323

    • move injected components to end of file scope, thanks @ sfishel18

    • Ensure sc- prefix is always added #313, thanks @ chalbert

  • 1.13.0-test.3 - 2021-06-29
  • 1.13.0-test.2 - 2021-06-29
  • 1.13.0-test.1 - 2021-06-29
  • 1.13.0-test - 2021-06-29
  • 1.12.1 - 2021-06-29
    • Resolve operability issue with rollup (see #327), thanks @ ktranada

    • Update dependencies

  • 1.12.0 - 2020-11-20
    • Add topLevelImportPaths option (#288)

      This functionality allows the composer to specify alternate import locations for the "styled" constructor, for instance if you are using a third party library that wraps styled-components and does additional processing. See this test for how to use it.

    • preserve structure of JSX member expressions in generated ast nodes; this makes sure that other babel transformations that rename variables will be able to process the ast nodes created by this plugin. fixes #240

  • 1.11.1 - 2020-07-30

    Revert #283, it caused a major build performance regression

from babel-plugin-styled-components GitHub release notes

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:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

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.

1 participant