diff --git a/frontend/.babelrc b/frontend/.babelrc index ea9bdb73..e743e478 100644 --- a/frontend/.babelrc +++ b/frontend/.babelrc @@ -11,7 +11,6 @@ }] ], "plugins": [ - "styled-components", "react-hot-loader/babel", "transform-es2015-modules-commonjs", "transform-exponentiation-operator", diff --git a/frontend/package.json b/frontend/package.json index 59886d6c..55475ac1 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -54,7 +54,7 @@ "require-hacker": "^2.1.4", "reselect": "^2.5.4", "style-loader": "^0.13.1", - "styled-components": "^2.0.0-1", + "styled-components": "^1.4.3", "svg-react-loader": "^0.3.7", "understood": "^1.0.1", "url-loader": "^0.5.7" diff --git a/frontend/yarn.lock b/frontend/yarn.lock index 59cfb248..bc013bb0 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -6777,7 +6777,7 @@ style-search@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/style-search/-/style-search-0.1.0.tgz#7958c793e47e32e07d2b5cafe5c0bf8e12e77902" -styled-components@^1.3.0: +styled-components@^1.3.0, styled-components@^1.4.3: version "1.4.3" resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-1.4.3.tgz#83fa44e553882aaa3ddc4363ccc435814d690706" dependencies: @@ -6790,20 +6790,6 @@ styled-components@^1.3.0: is-plain-object "^2.0.1" supports-color "^3.1.2" -styled-components@^2.0.0-1: - version "2.0.0-1" - resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-2.0.0-1.tgz#b0840a7f4ed120adb23bec3159a8f79ab41cc5dd" - dependencies: - buffer "^5.0.2" - css-to-react-native "^1.0.6" - fbjs "^0.8.7" - glamor "^2.20.12" - inline-style-prefixer "^2.0.5" - is-function "^1.0.1" - is-plain-object "^2.0.1" - stylis "^1.0.1" - supports-color "^3.1.2" - stylehacks@^2.3.0: version "2.3.1" resolved "https://registry.yarnpkg.com/stylehacks/-/stylehacks-2.3.1.tgz#de49e8baa2e12b29c35b416b337094839bc97b35" @@ -6870,10 +6856,6 @@ stylelint-processor-styled-components: babel-traverse "^6.16.0" babylon "^6.12.0" -stylis@^1.0.1: - version "1.0.4" - resolved "https://registry.yarnpkg.com/stylis/-/stylis-1.0.4.tgz#303cae8d1016a0d646feebcb3118d17ee4837b3a" - subtext@^4.3.x: version "4.3.0" resolved "https://registry.yarnpkg.com/subtext/-/subtext-4.3.0.tgz#dfac90492ec35669fd6e00c6e5d938b06d7ccfbb" diff --git a/ui/.babelrc b/ui/.babelrc index 800fe927..2d71bd81 100644 --- a/ui/.babelrc +++ b/ui/.babelrc @@ -5,7 +5,6 @@ "es2015" ], "plugins": [ - "styled-components", "transform-exponentiation-operator", "syntax-async-functions", ["transform-object-rest-spread", { diff --git a/ui/package.json b/ui/package.json index 82e69d39..e2eb5351 100644 --- a/ui/package.json +++ b/ui/package.json @@ -35,7 +35,7 @@ "react-router-dom": "4.0.0-beta.4", "react-select": "^1.0.0-rc.3", "reduce-css-calc": "^1.3.0", - "styled-components": "^2.0.0-1", + "styled-components": "^1.4.3", "svg-react-loader": "^0.3.7", "transform-props-with": "^2.1.0", "traverse": "^0.6.6" diff --git a/ui/yarn.lock b/ui/yarn.lock index 6b556855..f988da65 100644 --- a/ui/yarn.lock +++ b/ui/yarn.lock @@ -6396,9 +6396,9 @@ style-search@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/style-search/-/style-search-0.1.0.tgz#7958c793e47e32e07d2b5cafe5c0bf8e12e77902" -styled-components@^2.0.0-1: - version "2.0.0-1" - resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-2.0.0-1.tgz#b0840a7f4ed120adb23bec3159a8f79ab41cc5dd" +styled-components@^1.4.3: + version "1.4.3" + resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-1.4.3.tgz#83fa44e553882aaa3ddc4363ccc435814d690706" dependencies: buffer "^5.0.2" css-to-react-native "^1.0.6" @@ -6407,7 +6407,6 @@ styled-components@^2.0.0-1: inline-style-prefixer "^2.0.5" is-function "^1.0.1" is-plain-object "^2.0.1" - stylis "^1.0.1" supports-color "^3.1.2" stylehacks@^2.3.0: @@ -6476,10 +6475,6 @@ stylelint@^7.8.0: svg-tags "^1.0.0" table "^4.0.1" -stylis@^1.0.1: - version "1.0.4" - resolved "https://registry.yarnpkg.com/stylis/-/stylis-1.0.4.tgz#303cae8d1016a0d646feebcb3118d17ee4837b3a" - sugarss@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/sugarss/-/sugarss-0.2.0.tgz#ac34237563327c6ff897b64742bf6aec190ad39e"