8000 chore(deps): update babel monorepo (#27528) · gatsbyjs/gatsby@539dbb0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 539dbb0

Browse files
renovate[bot]renovate-botgatsbybotpvdz
authored
chore(deps): update babel monorepo (#27528)
* 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 <bot@renovateapp.com> Co-authored-by: gatsbybot <mathews.kyle+gatsbybot@gmail.com> Co-authored-by: Peter van der Zee <github-public@qfox.nl>
1 parent ac80693 commit 539dbb0

File tree

113 files changed

+951
-864
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+951
-864
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
"devDependencies": {
3-
"@babel/core": "^7.11.6",
4-
"@babel/node": "^7.10.5",
5-
"@babel/plugin-transform-typescript": "^7.11.0",
6-
"@babel/runtime": "^7.11.2",
3+
"@babel/core": "^7.12.3",
4+
"@babel/node": "^7.12.6",
5+
"@babel/plugin-transform-typescript": "^7.12.1",
6+
"@babel/runtime": "^7.12.5",
77
"@lerna/prompt": "3.18.5",
88
"@types/babel__code-frame": "^7.0.2",
99
"@types/better-queue": "^3.8.2",

packages/babel-plugin-remove-graphql-queries/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
},
1010
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/babel-plugin-remove-graphql-queries#readme",
1111
"devDependencies": {
12-
"@babel/cli": "^7.11.6",
13-
"@babel/core": "^7.11.6",
12+
"@babel/cli": "^7.12.1",
13+
"@babel/core": "^7.12.3",
1414
"babel-preset-gatsby-package": "^0.7.0-next.0",
1515
"cross-env": "^7.0.2"
1616
},

packages/babel-plugin-remove-graphql-queries/src/index.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,12 @@ function isGraphqlTag(tag: NodePath, tagName: string = `graphql`): boolean {
166166
return (tag.get(`property`) as NodePath<Identifier>).node.name === tagName
167167
}
168168

169-
if (importPath.isImportSpecifier())
170-
return importPath.node.imported.name === tagName
169+
if (importPath.isImportSpecifier()) {
170+
if (importPath.node.imported.type === `Identifier`) {
171+
return importPath.node.imported.name === tagName
172+
}
173+
return false
174+
}
171175

172176
if (importPath.isObjectProperty())
173177
return (importPath.get(`key`) as NodePath<Identifier>).node.name === tagName

packages/babel-preset-gatsby-package/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
},
1010
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/babel-preset-gatsby-package#readme",
1111
"dependencies": {
12-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
13-
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
12+
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
13+
"@babel/plugin-proposal-optional-chaining": "^7.12.1",
1414
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
15-
"@babel/plugin-transform-runtime": "^7.11.5",
16-
"@babel/plugin-transform-typescript": "^7.11.0",
17-
"@babel/preset-env": "^7.11.5",
18-
"@babel/preset-flow": "^7.10.4",
19-
"@babel/preset-react": "^7.10.4",
15+
"@babel/plugin-transform-runtime": "^7.12.1",
16+
"@babel/plugin-transform-typescript": "^7.12.1",
17+
"@babel/preset-env": "^7.12.1",
18+
"@babel/preset-flow": "^7.12.1",
19+
"@babel/preset-react": "^7.12.5",
2020
"babel-plugin-dynamic-import-node": "^2.3.3",
2121
"core-js": "^3.7.0"
2222
},

packages/babel-preset-gatsby/package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
},
1010
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/babel-preset-gatsby#readme",
1111
"dependencies": {
12-
"@babel/plugin-proposal-class-properties": "^7.10.4",
13-
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
14-
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
12+
"@babel/plugin-proposal-class-properties": "^7.12.1",
13+
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1",
14+
"@babel/plugin-proposal-optional-chaining": "^7.12.1",
1515
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
16-
"@babel/plugin-transform-runtime": "^7.11.5",
17-
"@babel/plugin-transform-spread": "^7.11.0",
18-
"@babel/preset-env": "^7.11.5",
19-
"@babel/preset-react": "^7.10.4",
20-
"@babel/runtime": "^7.11.2",
16+
"@babel/plugin-transform-runtime": "^7.12.1",
17+
"@babel/plugin-transform-spread": "^7.12.1",
18+
"@babel/preset-env": "^7.12.1",
19+
"@babel/preset-react": "^7.12.5",
20+
"@babel/runtime": "^7.12.5",
2121
"babel-plugin-dynamic-import-node": "^2.3.3",
2222
"babel-plugin-macros": "^2.8.0",
2323
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
@@ -36,7 +36,7 @@
3636
"watch": "babel -w src --out-dir . --ignore \"**/__tests__\" --ignore \"**/utils/path-serializer.ts\" --extensions \".ts,.js\""
3737
},
3838
"devDependencies": {
39-
"@babel/cli": "^7.11.6",
39+
"@babel/cli": "^7.12.1",
4040
"babel-preset-gatsby-package": "^0.7.0-next.0",
4141
"cross-env": "^7.0.2",
4242
"slash": "^3.0.0"

packages/create-gatsby/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"devDependencies": {
1919
"@ascorbic/worker-threads-shim": "^1.0.0",
20-
"@babel/runtime": "^7.12.1",
20+
"@babel/runtime": "^7.12.5",
2121
"@types/configstore": "^4.0.0",
2222
"@types/fs-extra": "^9.0.2",
2323
"@types/node": "^14.14.5",

packages/gatsby-cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
"yurnalist": "^1.1.2"
5151
},
5252
"devDependencies": {
53-
"@babel/cli": "^7.11.6",
54-
"@babel/core": "^7.11.6",
53+
"@babel/cli": "^7.12.1",
54+
"@babel/core": "^7.12.3",
5555
"@rollup/plugin-babel": "^5.1.0",
5656
"@rollup/plugin-commonjs": "^14.0.0",
5757
"@rollup/plugin-json": "^4.1.0",

packages/gatsby-codemods/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
},
2525
"license": "MIT",
2626
"dependencies": {
27-
"@babel/runtime": "^7.11.2"
27+
"@babel/runtime": "^7.12.5"
2828
},
2929
"devDependencies": {
30-
"@babel/cli": "^7.11.6",
31-
"@babel/core": "^7.11.6",
30+
"@babel/cli": "^7.12.1",
31+
"@babel/core": "^7.12.3",
3232
"babel-preset-gatsby-package": "^0.7.0-next.0",
3333
"cross-env": "^7.0.2",
3434
"jscodeshift": "^0.11.0"

packages/gatsby-core-utils/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
"xdg-basedir": "^4.0.0"
3939
},
4040
"devDependencies": {
41-
"@babel/cli": "^7.11.6",
42-
"@babel/core": "^7.11.6",
41+
"@babel/cli": "^7.12.1",
42+
"@babel/core": "^7.12.3",
4343
"@types/ci-info": "2.0.0",
4444
"babel-preset-gatsby-package": "^0.7.0-next.0",
4545
"cross-env": "^7.0.2",

packages/gatsby-cypress/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
"url": "https://github.com/gatsbyjs/gatsby/issues"
1616
},
1717
"dependencies": {
18-
"@babel/runtime": "^7.11.2"
18+
"@babel/runtime": "^7.12.5"
1919
},
2020
"devDependencies": {
21-
"@babel/cli": "^7.11.6",
22-
"@babel/core": "^7.11.6",
21+
"@babel/cli": "^7.12.1",
22+
"@babel/core": "^7.12.3",
2323
"babel-preset-gatsby-package": "^0.7.0-next.0",
2424
"cross-env": "^7.0.2"
2525
},

0 commit comments

Comments
 (0)
0