Skip to content

Commit

Permalink
chore(deps): update babel monorepo (#27528)
Browse files Browse the repository at this point in the history
* chore(deps): update babel monorepo

* Fix TS problem

* Worked locally but okay here you go TS

* Another TS warning

* yarn jest -u

Co-authored-by: Renovate Bot <[email protected]>
Co-authored-by: gatsbybot <[email protected]>
Co-authored-by: Peter van der Zee <[email protected]>
  • Loading branch information
4 people authored Nov 17, 2020
1 parent ac80693 commit 539dbb0
Show file tree
Hide file tree
Showing 113 changed files with 951 additions and 864 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"devDependencies": {
"@babel/core": "^7.11.6",
"@babel/node": "^7.10.5",
"@babel/plugin-transform-typescript": "^7.11.0",
"@babel/runtime": "^7.11.2",
"@babel/core": "^7.12.3",
"@babel/node": "^7.12.6",
"@babel/plugin-transform-typescript": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@lerna/prompt": "3.18.5",
"@types/babel__code-frame": "^7.0.2",
"@types/better-queue": "^3.8.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/babel-plugin-remove-graphql-queries/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/babel-plugin-remove-graphql-queries#readme",
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"babel-preset-gatsby-package": "^0.7.0-next.0",
"cross-env": "^7.0.2"
},
Expand Down
8 changes: 6 additions & 2 deletions packages/babel-plugin-remove-graphql-queries/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,12 @@ function isGraphqlTag(tag: NodePath, tagName: string = `graphql`): boolean {
return (tag.get(`property`) as NodePath<Identifier>).node.name === tagName
}

if (importPath.isImportSpecifier())
return importPath.node.imported.name === tagName
if (importPath.isImportSpecifier()) {
if (importPath.node.imported.type === `Identifier`) {
return importPath.node.imported.name === tagName
}
return false
}

if (importPath.isObjectProperty())
return (importPath.get(`key`) as NodePath<Identifier>).node.name === tagName
Expand Down
14 changes: 7 additions & 7 deletions packages/babel-preset-gatsby-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/babel-preset-gatsby-package#readme",
"dependencies": {
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
"@babel/plugin-proposal-optional-chaining": "^7.12.1",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/plugin-transform-typescript": "^7.11.0",
"@babel/preset-env": "^7.11.5",
"@babel/preset-flow": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/plugin-transform-typescript": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-flow": "^7.12.1",
"@babel/preset-react": "^7.12.5",
"babel-plugin-dynamic-import-node": "^2.3.3",
"core-js": "^3.7.0"
},
Expand Down
18 changes: 9 additions & 9 deletions packages/babel-preset-gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/babel-preset-gatsby#readme",
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
"@babel/plugin-proposal-optional-chaining": "^7.12.1",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/plugin-transform-spread": "^7.11.0",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"@babel/runtime": "^7.11.2",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/plugin-transform-spread": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.5",
"@babel/runtime": "^7.12.5",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-macros": "^2.8.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
Expand All @@ -36,7 +36,7 @@
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\" --ignore \"**/utils/path-serializer.ts\" --extensions \".ts,.js\""
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/cli": "^7.12.1",
"babel-preset-gatsby-package": "^0.7.0-next.0",
"cross-env": "^7.0.2",
"slash": "^3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/create-gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"devDependencies": {
"@ascorbic/worker-threads-shim": "^1.0.0",
"@babel/runtime": "^7.12.1",
"@babel/runtime": "^7.12.5",
"@types/configstore": "^4.0.0",
"@types/fs-extra": "^9.0.2",
"@types/node": "^14.14.5",
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@
"yurnalist": "^1.1.2"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@rollup/plugin-babel": "^5.1.0",
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-json": "^4.1.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/gatsby-codemods/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
},
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.11.2"
"@babel/runtime": "^7.12.5"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"babel-preset-gatsby-package": "^0.7.0-next.0",
"cross-env": "^7.0.2",
"jscodeshift": "^0.11.0"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-core-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"xdg-basedir": "^4.0.0"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@types/ci-info": "2.0.0",
"babel-preset-gatsby-package": "^0.7.0-next.0",
"cross-env": "^7.0.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/gatsby-cypress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"@babel/runtime": "^7.11.2"
"@babel/runtime": "^7.12.5"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"babel-preset-gatsby-package": "^0.7.0-next.0",
"cross-env": "^7.0.2"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/gatsby-dev-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"@babel/runtime": "^7.11.2",
"@babel/runtime": "^7.12.5",
"chokidar": "^3.4.3",
"configstore": "^5.0.1",
"del": "^6.0.0",
Expand All @@ -25,8 +25,8 @@
"yargs": "^15.4.1"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"babel-preset-gatsby-package": "^0.7.0-next.0",
"cross-env": "^7.0.2"
},
Expand Down
14 changes: 7 additions & 7 deletions packages/gatsby-graphiql-explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,15 @@
},
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.11.2"
"@babel/runtime": "^7.12.5"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/plugin-proposal-class-properties": "^7.10.4",
"@babel/plugin-transform-runtime": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@babel/preset-react": "^7.10.4",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.5",
"babel-loader": "^8.1.0",
"babel-preset-gatsby-package": "^0.7.0-next.0",
"core-js": "^3.7.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/gatsby-image/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"@babel/runtime": "^7.11.2",
"@babel/runtime": "^7.12.5",
"object-fit-images": "^3.2.4",
"prop-types": "^15.7.2"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@testing-library/react": "^9.5.0",
"babel-preset-gatsby-package": "^0.7.0-next.0",
"cross-env": "^7.0.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/gatsby-link/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"@babel/runtime": "^7.11.2",
"@babel/runtime": "^7.12.5",
"@types/reach__router": "^1.3.6",
"prop-types": "^15.7.2"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@testing-library/react": "^9.5.0",
"babel-preset-gatsby-package": "^0.7.0-next.0",
"cross-env": "^7.0.2"
Expand Down
6 changes: 3 additions & 3 deletions packages/gatsby-page-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-page-utils#readme",
"dependencies": {
"@babel/runtime": "^7.11.2",
"@babel/runtime": "^7.12.5",
"bluebird": "^3.7.2",
"chokidar": "^3.4.3",
"fs-exists-cached": "^1.0.0",
Expand All @@ -30,8 +30,8 @@
"micromatch": "^4.0.2"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"@types/micromatch": "^4.0.1",
"babel-preset-gatsby-package": "^0.7.0-next.0",
"cross-env": "^7.0.2"
Expand Down
4 changes: 2 additions & 2 deletions packages/gatsby-plugin-benchmark-reporting/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
},
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-benchmark-reporting#readme",
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"babel-preset-gatsby-package": "^0.7.0-next.0"
},
"dependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/gatsby-plugin-canonical-urls/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"@babel/runtime": "^7.11.2"
"@babel/runtime": "^7.12.5"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"babel-preset-gatsby-package": "^0.7.0-next.0",
"cross-env": "^7.0.2"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/gatsby-plugin-catch-links/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"@babel/runtime": "^7.11.2",
"@babel/runtime": "^7.12.5",
"escape-string-regexp": "^1.0.5"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"babel-preset-gatsby-package": "^0.7.0-next.0",
"cross-env": "^7.0.2"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/gatsby-plugin-coffeescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
"Noah Lange <[email protected]>"
],
"dependencies": {
"@babel/runtime": "^7.11.2",
"@babel/runtime": "^7.12.5",
"coffee-loader": "^0.9.0",
"coffee-react-transform": "^5.0.0",
"coffeescript": "^2.5.1"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"babel-preset-gatsby-package": "^0.7.0-next.0",
"cross-env": "^7.0.2"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/gatsby-plugin-create-client-paths/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"@babel/runtime": "^7.11.2"
"@babel/runtime": "^7.12.5"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"babel-preset-gatsby-package": "^0.7.0-next.0",
"cross-env": "^7.0.2"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/gatsby-plugin-cxs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"@babel/runtime": "^7.11.2"
"@babel/runtime": "^7.12.5"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"babel-preset-gatsby-package": "^0.7.0-next.0",
"cross-env": "^7.0.2",
"cxs": "^6.2.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/gatsby-plugin-emotion/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"@babel/runtime": "^7.11.2",
"@babel/runtime": "^7.12.5",
"@emotion/babel-preset-css-prop": "^10.0.27"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"babel-preset-gatsby-package": "^0.7.0-next.0",
"cross-env": "^7.0.2"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/gatsby-plugin-facebook-analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"@babel/runtime": "^7.11.2"
"@babel/runtime": "^7.12.5"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"babel-preset-gatsby-package": "^0.7.0-next.0",
"cross-env": "^7.0.2"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/gatsby-plugin-feed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"@babel/runtime": "^7.11.2",
"@babel/runtime": "^7.12.5",
"@hapi/joi": "^15.1.1",
"common-tags": "^1.8.0",
"fs-extra": "^8.1.0",
Expand All @@ -16,8 +16,8 @@
"rss": "^1.2.2"
},
"devDependencies": {
"@babel/cli": "^7.11.6",
"@babel/core": "^7.11.6",
"@babel/cli": "^7.12.1",
"@babel/core": "^7.12.3",
"babel-preset-gatsby-package": "^0.7.0-next.0",
"cross-env": "^7.0.2"
},
Expand Down
Loading

0 comments on commit 539dbb0

Please sign in to comment.