Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
remove @babel/plugin-transform-runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
notrab committed Apr 16, 2019
1 parent 1367023 commit 27b7120
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 42 deletions.
19 changes: 10 additions & 9 deletions babel.config.js
@@ -1,20 +1,21 @@
module.exports = {
presets: [['@babel/env'], '@babel/react'],
plugins: [
'@babel/plugin-proposal-class-properties',
presets: [
[
'@babel/plugin-transform-runtime',
'@babel/env',
{
regenerator: true
targets: {
node: 'current'
}
}
],
'@babel/react'
],
plugins: [
'@babel/plugin-proposal-class-properties',
[
'babel-plugin-styled-components',
{
ssr: false,
displayName: false,
fileName: false,
pure: true
ssr: false
}
]
]
Expand Down
18 changes: 9 additions & 9 deletions package.json
Expand Up @@ -17,24 +17,24 @@
"author": "Jamie Barton <jamie@notrab.dev>",
"license": "MIT",
"dependencies": {
"@moltin/request": "^1.5.3",
"algolia-places-react": "^1.4.0",
"easy-peasy": "^2.1.1",
"final-form": "^4.12.0",
"@moltin/request": "1.5.3",
"algolia-places-react": "1.4.0",
"easy-peasy": "2.1.1",
"final-form": "4.12.0",
"react": "16.8.5",
"react-dom": "16.8.5",
"react-final-form": "^4.1.0",
"react-stripe-elements": "^2.0.3",
"styled-components": "^4.2.0"
"react-final-form": "4.1.0",
"react-stripe-elements": "2.0.3",
"styled-components": "4.2.0"
},
"devDependencies": {
"@babel/core": "7.4.0",
"@babel/plugin-proposal-class-properties": "7.4.0",
"@babel/plugin-transform-runtime": "^7.4.3",
"@babel/preset-env": "7.4.2",
"@babel/preset-react": "7.0.0",
"babel-loader": "8.0.5",
"babel-plugin-styled-components": "^1.10.0",
"babel-plugin-styled-components": "1.10.0",
"prop-types": "15.7.2",
"webpack": "4.29.6",
"webpack-cli": "3.3.0",
"webpack-dev-server": "3.2.1"
Expand Down
38 changes: 14 additions & 24 deletions yarn.lock
Expand Up @@ -531,16 +531,6 @@
dependencies:
regenerator-transform "^0.13.4"

"@babel/plugin-transform-runtime@^7.4.3":
version "7.4.3"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.4.3.tgz#4d6691690ecdc9f5cb8c3ab170a1576c1f556371"
integrity sha512-7Q61bU+uEI7bCUFReT1NKn7/X6sDQsZ7wL1sJ9IYMAO7cI+eg6x9re1cEw2fCRMbbTVyoeUKWSV1M6azEfKCfg==
dependencies:
"@babel/helper-module-imports" "^7.0.0"
"@babel/helper-plugin-utils" "^7.0.0"
resolve "^1.8.1"
semver "^5.5.1"

"@babel/plugin-transform-shorthand-properties@^7.2.0":
version "7.2.0"
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.2.0.tgz#6333aee2f8d6ee7e28615457298934a3b46198f0"
Expand Down Expand Up @@ -706,7 +696,7 @@
resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.7.3.tgz#6310a047f12d21a1036fb031317219892440416f"
integrity sha512-4zAPlpDEh2VwXswwr/t8xGNDGg8RQiPxtxZ3qQEXyQsBV39ptTdESCjuBvGze1nLMVrxmTIKmnO/nAV8Tqjjzg==

"@moltin/request@^1.5.3":
"@moltin/request@1.5.3":
version "1.5.3"
resolved "https://registry.yarnpkg.com/@moltin/request/-/request-1.5.3.tgz#9d715b9b73f1e962d34acbee82c0cd87aa4284f8"
integrity sha512-lbN+zabx8Qilm3AnHjL+vpgKgaNFsV04lL0UVkINhc8HjIn5agNBIIIAKZy1v/omiNRSa2g6DHHWq3vN73vJzA==
Expand Down Expand Up @@ -922,7 +912,7 @@ algolia-aerial@^1.5.3:
resolved "https://registry.yarnpkg.com/algolia-aerial/-/algolia-aerial-1.5.3.tgz#c8b8ca6bc484164ffc7b36717689a424ea6bfe6c"
integrity sha512-LZTpVlYnhqNFd+ru/Spm73omhsagiRQLmjrosa5bJ6/I9OMRp4Sb9pYZkAxcx3RSr+ZNXZqthL7rpXqMFdrnPA==

algolia-places-react@^1.4.0:
algolia-places-react@1.4.0:
version "1.4.0"
resolved "https://registry.yarnpkg.com/algolia-places-react/-/algolia-places-react-1.4.0.tgz#394bc3a14cdd3ed6f79b979ce44b0868cd50ea42"
integrity sha512-S3CcstTsyeMka2r2Ttt8fplxooCHFOOII9OmQH+nySj/FxbBKnPwvBHnWwN1TfNXBF+/NegQKgOnPJ1OJINhTQ==
Expand Down Expand Up @@ -1094,7 +1084,7 @@ babel-loader@8.0.5:
mkdirp "^0.5.1"
util.promisify "^1.0.0"

"babel-plugin-styled-components@>= 1", babel-plugin-styled-components@^1.10.0:
babel-plugin-styled-components@1.10.0, "babel-plugin-styled-components@>= 1":
version "1.10.0"
resolved "https://registry.yarnpkg.com/babel-plugin-styled-components/-/babel-plugin-styled-components-1.10.0.tgz#ff1f42ad2cc78c21f26b62266b8f564dbc862939"
integrity sha512-sQVKG8irFXx14ZfaK1bBePirfkacl3j8nZwSZK+ZjsbnadRHKQTbhXbe/RB1vT6Vgkz45E+V95LBq4KqdhZUNw==
Expand Down Expand Up @@ -1879,10 +1869,10 @@ duplexify@^3.4.2, duplexify@^3.6.0:
readable-stream "^2.0.0"
stream-shift "^1.0.0"

easy-peasy@^2.1.1:
version "2.1.5"
resolved "https://registry.yarnpkg.com/easy-peasy/-/easy-peasy-2.1.5.tgz#e07479eef582a296d93c8c368ffbf06533d3f561"
integrity sha512-KZxBES2d8EGPVe6COobPbHcQTWONxC6Uh2M5VYQlGIijFpkSoNuqMYoHzOprxpXOYrT27SObshWcRU1+Rejqbg==
easy-peasy@2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/easy-peasy/-/easy-peasy-2.1.1.tgz#7dfda45497fa6e020f97bfdc2c0f38c363fe07f1"
integrity sha512-sV+K/iAvch3o+Y+LZNmW7NMzt1VfhEtmxnCQClwPanYWjNwMXLyIfW3LrZZbo064CgVca9ECn1S0fFOGjUUfUg==
dependencies:
immer "^2.1.3"
memoizerific "^1.11.3"
Expand Down Expand Up @@ -2194,7 +2184,7 @@ fill-range@^4.0.0:
repeat-string "^1.6.1"
to-regex-range "^2.1.0"

final-form@^4.12.0:
final-form@4.12.0:
version "4.12.0"
resolved "https://registry.yarnpkg.com/final-form/-/final-form-4.12.0.tgz#1844e2a3bc9789d51115c76a94d0ea6a19e219c0"
integrity sha512-z1fSzDNmIBlDjRMaluM3WgDbcwCFpPm7mvopplgXGMRS49MXR+1n//lteLwPURdGQNOZhWm3GwiEJanEHCItww==
Expand Down Expand Up @@ -3800,7 +3790,7 @@ promise-inflight@^1.0.1:
resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3"
integrity sha1-mEcocL8igTL8vdhoEputEsPAKeM=

prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.6.0, prop-types@^15.6.2:
prop-types@15.7.2, prop-types@^15.5.10, prop-types@^15.5.4, prop-types@^15.6.0, prop-types@^15.6.2:
version "15.7.2"
resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5"
integrity sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==
Expand Down Expand Up @@ -3944,7 +3934,7 @@ react-dom@16.8.5:
prop-types "^15.6.2"
scheduler "^0.13.5"

react-final-form@^4.1.0:
react-final-form@4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/react-final-form/-/react-final-form-4.1.0.tgz#4e1b513de164771b2b824f3fb9c0548014255971"
integrity sha512-O8p1EPQ/PFWNcX3bYGsLzuo/KnGeNfGfFi2UAX8jXLXrGcGdTfZMnyo/DFHdEKA9aKso61d/PHekQ9sst0cOmw==
Expand All @@ -3956,7 +3946,7 @@ react-is@^16.6.0, react-is@^16.8.1:
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.8.6.tgz#5bbc1e2d29141c9fbdfed456343fe2bc430a6a16"
integrity sha512-aUk3bHfZ2bRSVFFbbeVS4i+lNPZr3/WM5jT2J5omUVV1zzcs1nAaf3l51ctA5FFvCRbhrH0bdAsRRQddFJZPtA==

react-stripe-elements@^2.0.3:
react-stripe-elements@2.0.3:
version "2.0.3"
resolved "https://registry.yarnpkg.com/react-stripe-elements/-/react-stripe-elements-2.0.3.tgz#cfd0f68d00ce52a07aab1cb2b59b29dc12309486"
integrity sha512-aKLiWyfP0n3Gq42BKykULgoruNVRXEaeYh8NSokdgH3ubGU3nsHFZJg3LgbT/XOquttDGHE7kLhleaX+UnN81A==
Expand Down Expand Up @@ -4140,7 +4130,7 @@ resolve-url@^0.2.1:
resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a"
integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=

resolve@^1.3.2, resolve@^1.8.1:
resolve@^1.3.2:
version "1.10.0"
resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.10.0.tgz#3bdaaeaf45cc07f375656dfd2e54ed0810b101ba"
integrity sha512-3sUr9aq5OfSg2S9pNtPA9hL1FVEAjvfOC4leW0SNf/mpnaakz2a9femSd6LqAww2RaFctwyf1lCqnTHuF1rxDg==
Expand Down Expand Up @@ -4225,7 +4215,7 @@ selfsigned@^1.9.1:
dependencies:
node-forge "0.7.5"

semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0:
semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.6.0:
version "5.7.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.0.tgz#790a7cf6fea5459bac96110b29b60412dc8ff96b"
integrity sha512-Ya52jSX2u7QKghxeoFGpLwCtGlt7j0oY9DYb5apt9nPlJ42ID+ulTXESnt/qAQcoSERyZ5sl3LDIOw0nAn/5DA==
Expand Down Expand Up @@ -4573,7 +4563,7 @@ strip-json-comments@~2.0.1:
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo=

styled-components@^4.2.0:
styled-components@4.2.0:
version "4.2.0"
resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-4.2.0.tgz#811fbbec4d64c7189f6c7482b9eb6fefa7fefef7"
integrity sha512-L/LzkL3ZbBhqIVHdR7DbYujy4tqvTNRfc+4JWDCYyhTatI+8CRRQUmdaR0+ARl03DWsfKLhjewll5uNLrqrl4A==
Expand Down

0 comments on commit 27b7120

Please sign in to comment.