Skip to content

Commit 7eef582

Browse files
committed
fix(Babel): Return babel-runtime back
1 parent 8d63823 commit 7eef582

File tree

3 files changed

+18
-7
lines changed

3 files changed

+18
-7
lines changed

.babelrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
22
"plugins": [
33
"transform-object-rest-spread",
4-
"transform-flow-strip-types"
4+
"transform-flow-strip-types",
5+
"transform-runtime"
56
],
67
"presets": [
78
["env", {
9+
"loose": true,
810
"targets": {
911
"node": 4
1012
},

package.json

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@
2323
},
2424
"homepage": "https://github.com/nodkz/graphql-compose-connection",
2525
"peerDependencies": {
26-
"graphql-compose": ">=1.19.4"
26+
"graphql-compose": ">=1.20.0"
2727
},
2828
"devDependencies": {
2929
"babel-cli": "^6.24.1",
3030
"babel-eslint": "^7.2.3",
3131
"babel-jest": "^20.0.3",
3232
"babel-plugin-transform-flow-strip-types": "^6.22.0",
3333
"babel-plugin-transform-object-rest-spread": "^6.23.0",
34+
"babel-plugin-transform-runtime": "^6.23.0",
3435
"babel-preset-env": "^1.5.1",
3536
"cz-conventional-changelog": "^2.0.0",
3637
"eslint": "^3.19.0",
@@ -41,13 +42,15 @@
4142
"eslint-plugin-prettier": "^2.1.1",
4243
"flow-bin": "^0.47.0",
4344
"graphql": "^0.10.1",
44-
"graphql-compose": "^1.19.4",
45+
"graphql-compose": "^1.20.0",
4546
"jest": "^20.0.4",
4647
"prettier": "^1.4.2",
4748
"rimraf": "^2.6.1",
4849
"semantic-release": "^6.3.2"
4950
},
50-
"dependencies": {},
51+
"dependencies": {
52+
"babel-runtime": "^6.23.0"
53+
},
5154
"config": {
5255
"commitizen": {
5356
"path": "./node_modules/cz-conventional-changelog"

yarn.lock

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,12 @@ babel-plugin-transform-regenerator@^6.22.0:
666666
dependencies:
667667
regenerator-transform "0.9.11"
668668

669+
babel-plugin-transform-runtime@^6.23.0:
670+
version "6.23.0"
671+
resolved "https://registry.yarnpkg.com/babel-plugin-transform-runtime/-/babel-plugin-transform-runtime-6.23.0.tgz#88490d446502ea9b8e7efb0fe09ec4d99479b1ee"
672+
dependencies:
673+
babel-runtime "^6.22.0"
674+
669675
babel-plugin-transform-strict-mode@^6.24.1:
670676
version "6.24.1"
671677
resolved "https://registry.yarnpkg.com/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz#d5faf7aa578a65bbe591cf5edae04a0c67020758"
@@ -1782,9 +1788,9 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.4, graceful-fs@^4.1.6:
17821788
version "1.0.1"
17831789
resolved "https://registry.yarnpkg.com/graceful-readlink/-/graceful-readlink-1.0.1.tgz#4cafad76bc62f02fa039b2f94e9a3dd3a391a725"
17841790

1785-
graphql-compose@^1.19.4:
1786-
version "1.19.4"
1787-
resolved "https://registry.yarnpkg.com/graphql-compose/-/graphql-compose-1.19.4.tgz#700a3aeb28c2f0aaed8f00f8bd81bc70f16a1524"
1791+
graphql-compose@^1.20.0:
1792+
version "1.20.0"
1793+
resolved "https://registry.yarnpkg.com/graphql-compose/-/graphql-compose-1.20.0.tgz#aaf78d3010e90895b0eec30658bd4f297171632b"
17881794
dependencies:
17891795
babel-runtime "^6.23.0"
17901796
object-path "^0.11.4"

0 commit comments

Comments
 (0)