Skip to content

Commit

Permalink
chore: update packages (#23449)
Browse files Browse the repository at this point in the history
* chore: update packages

* Update tests

* Really fix tests

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Mikhail Novikov <freiksenet@gmail.com>
  • Loading branch information
3 people authored Apr 27, 2020
1 parent b4d3902 commit cf214c6
Show file tree
Hide file tree
Showing 112 changed files with 1,415 additions and 1,375 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"devDependencies": {
"@babel/core": "^7.8.7",
"@babel/core": "^7.9.0",
"@babel/node": "^7.8.7",
"@babel/plugin-transform-typescript": "^7.8.7",
"@babel/runtime": "^7.8.7",
"@babel/plugin-transform-typescript": "^7.9.4",
"@babel/runtime": "^7.9.2",
"@lerna/prompt": "3.18.5",
"@types/babel__code-frame": "^7.0.1",
"@types/bluebird": "^3.5.30",
Expand All @@ -29,16 +29,16 @@
"babel-eslint": "^10.1.0",
"babel-jest": "^24.9.0",
"chalk": "^2.4.2",
"chokidar": "^3.3.1",
"chokidar": "^3.4.0",
"cross-env": "^5.2.1",
"danger": "^8.0.0",
"date-fns": "^1.30.1",
"eslint": "^5.16.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^6.10.1",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-filenames": "^1.3.2",
"eslint-plugin-flowtype": "^3.13.0",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.19.0",
Expand All @@ -59,7 +59,7 @@
"markdown-magic": "^0.2.1",
"npm-run-all": "4.1.5",
"plop": "^1.9.1",
"prettier": "2.0.4",
"prettier": "2.0.5",
"rimraf": "^3.0.2",
"svgo": "1.3.2",
"ts-jest": "^22",
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin-remove-graphql-queries/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/babel-plugin-remove-graphql-queries#readme",
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7",
"@babel/core": "^7.9.0",
"babel-preset-gatsby-package": "^0.3.2",
"cross-env": "^5.2.1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import * as Gatsby from 'gatsby';
export default (() => {
const query = \\"2626356014\\";
const siteTitle = staticQueryData.data;
return React.createElement(\\"h1\\", null, siteTitle.site.siteMetadata.title);
return /*#__PURE__*/React.createElement(\\"h1\\", null, siteTitle.site.siteMetadata.title);
});"
`;

Expand All @@ -16,9 +16,9 @@ exports[`Doesn't add data import for non static queries 1`] = `
import * as React from 'react';
import { StaticQuery } from \\"gatsby\\";
const Test = () => React.createElement(StaticQuery, {
const Test = () => /*#__PURE__*/React.createElement(StaticQuery, {
query: \\"4279313589\\",
render: data => React.createElement(\\"div\\", null, data.site.siteMetadata.title),
render: data => /*#__PURE__*/React.createElement(\\"div\\", null, data.site.siteMetadata.title),
data: staticQueryData
});
Expand All @@ -30,16 +30,16 @@ exports[`Handles closing StaticQuery tag 1`] = `
"import staticQueryData from \\"public/static/d/2626356014.json\\";
import * as React from 'react';
import { StaticQuery } from 'gatsby';
export default (() => React.createElement(StaticQuery, {
export default (() => /*#__PURE__*/React.createElement(StaticQuery, {
query: \\"2626356014\\",
data: staticQueryData
}, data => React.createElement(\\"div\\", null, data.site.siteMetadata.title)));"
}, data => /*#__PURE__*/React.createElement(\\"div\\", null, data.site.siteMetadata.title)));"
`;

exports[`Leaves other graphql tags alone 1`] = `
"import * as React from 'react';
import { graphql } from 'relay';
export default (() => React.createElement(\\"div\\", null, data.site.siteMetadata.title));
export default (() => /*#__PURE__*/React.createElement(\\"div\\", null, data.site.siteMetadata.title));
export const query = graphql\`
{
site { siteMetadata { title }}
Expand All @@ -52,12 +52,12 @@ exports[`Only runs transforms if useStaticQuery is imported from gatsby 1`] = `
export default (() => {
const query = \\"2626356014\\";
const siteTitle = useStaticQuery(query);
return React.createElement(\\"h1\\", null, siteTitle.site.siteMetadata.title);
return /*#__PURE__*/React.createElement(\\"h1\\", null, siteTitle.site.siteMetadata.title);
});"
`;

exports[`Removes all gatsby queries 1`] = `
"export default (() => React.createElement(\\"div\\", null, data.site.siteMetadata.title));
"export default (() => /*#__PURE__*/React.createElement(\\"div\\", null, data.site.siteMetadata.title));
export const siteMetaQuery = \\"2673797374\\";
export const query = \\"2589775908\\";"
`;
Expand All @@ -73,7 +73,7 @@ const useSiteMetadata = () => {
export default (() => {
const siteMetadata = useSiteMetadata();
return React.createElement(\\"h1\\", null, site.siteMetadata.title);
return /*#__PURE__*/React.createElement(\\"h1\\", null, site.siteMetadata.title);
});"
`;

Expand All @@ -82,7 +82,7 @@ exports[`Transforms exported queries in useStaticQuery 1`] = `
import * as React from 'react';
export default (() => {
const data = staticQueryData.data;
return React.createElement(React.Fragment, null, React.createElement(\\"h1\\", null, data.site.siteMetadata.title), React.createElement(\\"p\\", null, data.site.siteMetadata.description));
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\\"h1\\", null, data.site.siteMetadata.title), /*#__PURE__*/React.createElement(\\"p\\", null, data.site.siteMetadata.description));
});
export const query = \\"2626356014\\";"
`;
Expand All @@ -97,7 +97,7 @@ const useSiteMetadata = () => {
export default (() => {
const siteMetadata = useSiteMetadata();
return React.createElement(\\"h1\\", null, siteMetadata.title);
return /*#__PURE__*/React.createElement(\\"h1\\", null, siteMetadata.title);
});"
`;

Expand All @@ -109,7 +109,7 @@ export default (() => {
const {
site
} = staticQueryData.data;
return React.createElement(\\"h1\\", null, site.siteMetadata.title);
return /*#__PURE__*/React.createElement(\\"h1\\", null, site.siteMetadata.title);
});"
`;

Expand All @@ -121,7 +121,7 @@ export default (() => {
let {
site
} = staticQueryData.data;
return React.createElement(\\"h1\\", null, site.siteMetadata.title);
return /*#__PURE__*/React.createElement(\\"h1\\", null, site.siteMetadata.title);
});"
`;

Expand All @@ -130,9 +130,9 @@ exports[`Transforms queries defined in own variable in <StaticQuery> 1`] = `
import * as React from 'react';
import { StaticQuery } from 'gatsby';
const query = \\"2626356014\\";
export default (() => React.createElement(StaticQuery, {
export default (() => /*#__PURE__*/React.createElement(StaticQuery, {
query: query,
render: data => React.createElement(\\"div\\", null, data.site.siteMetadata.title),
render: data => /*#__PURE__*/React.createElement(\\"div\\", null, data.site.siteMetadata.title),
data: staticQueryData
}));"
`;
Expand All @@ -143,17 +143,17 @@ import * as React from 'react';
export default (() => {
const query = \\"2626356014\\";
const siteTitle = staticQueryData.data;
return React.createElement(\\"h1\\", null, siteTitle.site.siteMetadata.title);
return /*#__PURE__*/React.createElement(\\"h1\\", null, siteTitle.site.siteMetadata.title);
});"
`;
exports[`Transforms queries in <StaticQuery> 1`] = `
"import staticQueryData from \\"public/static/d/2626356014.json\\";
import * as React from 'react';
import { StaticQuery } from 'gatsby';
export default (() => React.createElement(StaticQuery, {
export default (() => /*#__PURE__*/React.createElement(StaticQuery, {
query: \\"2626356014\\",
render: data => React.createElement(\\"div\\", null, data.site.siteMetadata.title),
render: data => /*#__PURE__*/React.createElement(\\"div\\", null, data.site.siteMetadata.title),
data: staticQueryData
}));"
`;
Expand All @@ -165,7 +165,7 @@ exports[`Transforms queries in useStaticQuery 1`] = `
import * as React from 'react';
export default (() => {
const siteTitle = staticQueryData.data;
return React.createElement(\\"h1\\", null, siteTitle.site.siteMetadata.title);
return /*#__PURE__*/React.createElement(\\"h1\\", null, siteTitle.site.siteMetadata.title);
});"
`;
Expand Down Expand Up @@ -211,9 +211,9 @@ exports[`transforms exported variable queries in <StaticQuery> 1`] = `
import * as React from 'react';
import { StaticQuery } from 'gatsby';
export const query = \\"2626356014\\";
export default (() => React.createElement(StaticQuery, {
export default (() => /*#__PURE__*/React.createElement(StaticQuery, {
query: query,
render: data => React.createElement(\\"div\\", null, data.site.siteMetadata.title),
render: data => /*#__PURE__*/React.createElement(\\"div\\", null, data.site.siteMetadata.title),
data: staticQueryData
}));"
`;
12 changes: 6 additions & 6 deletions packages/babel-preset-gatsby-package/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.7",
"@babel/preset-flow": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"babel-plugin-dynamic-import-node": "^2.3.0",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-flow": "^7.9.0",
"@babel/preset-react": "^7.9.4",
"babel-plugin-dynamic-import-node": "^2.3.3",
"core-js": "^2.6.11"
},
"license": "MIT",
Expand Down
12 changes: 6 additions & 6 deletions packages/babel-preset-gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.8.3",
"@babel/plugin-proposal-optional-chaining": "^7.9.0",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/plugin-transform-spread": "^7.8.3",
"@babel/preset-env": "^7.8.7",
"@babel/preset-react": "^7.8.3",
"@babel/runtime": "^7.8.7",
"babel-plugin-dynamic-import-node": "^2.3.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"@babel/runtime": "^7.9.2",
"babel-plugin-dynamic-import-node": "^2.3.3",
"babel-plugin-macros": "^2.8.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
"gatsby-core-utils": "^1.1.4"
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"react-dom": "^16.12.0",
"subscriptions-transport-ws": "^0.9.16",
"typescript": "^3.8.3",
"urql": "^1.9.5"
"urql": "^1.9.7"
},
"scripts": {
"develop": "gatsby develop"
Expand Down
12 changes: 6 additions & 6 deletions packages/gatsby-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@
},
"dependencies": {
"@babel/code-frame": "^7.8.3",
"@babel/runtime": "^7.8.7",
"@babel/runtime": "^7.9.2",
"@hapi/joi": "^15.1.1",
"better-opn": "^1.0.0",
"bluebird": "^3.7.2",
"chalk": "^2.4.2",
"clipboardy": "^2.2.0",
"clipboardy": "^2.3.0",
"common-tags": "^1.8.0",
"configstore": "^5.0.1",
"convert-hrtime": "^3.0.0",
"core-js": "^2.6.11",
"envinfo": "^7.5.0",
"envinfo": "^7.5.1",
"execa": "^3.4.0",
"fs-exists-cached": "^1.0.0",
"fs-extra": "^8.1.0",
Expand All @@ -37,12 +37,12 @@
"opentracing": "^0.14.4",
"pretty-error": "^2.1.1",
"progress": "^2.0.3",
"prompts": "^2.3.1",
"prompts": "^2.3.2",
"react": "^16.8.0",
"redux": "^4.0.5",
"resolve-cwd": "^2.0.0",
"semver": "^6.3.0",
"signal-exit": "^3.0.2",
"signal-exit": "^3.0.3",
"source-map": "0.7.3",
"stack-trace": "^0.0.10",
"strip-ansi": "^5.2.0",
Expand All @@ -53,7 +53,7 @@
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7",
"@babel/core": "^7.9.0",
"babel-preset-gatsby-package": "^0.3.2",
"cross-env": "^5.2.1"
},
Expand Down
4 changes: 2 additions & 2 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.8.7"
"@babel/runtime": "^7.9.2"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7",
"@babel/core": "^7.9.0",
"babel-preset-gatsby-package": "^0.3.2",
"cross-env": "^5.2.1",
"jscodeshift": "^0.7.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-core-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7",
"@babel/core": "^7.9.0",
"@types/ci-info": "2.0.0",
"babel-preset-gatsby-package": "^0.3.2",
"cross-env": "^5.2.1",
Expand Down
4 changes: 2 additions & 2 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.8.7"
"@babel/runtime": "^7.9.2"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7",
"@babel/core": "^7.9.0",
"babel-preset-gatsby-package": "^0.3.2",
"cross-env": "^5.2.1"
},
Expand Down
10 changes: 5 additions & 5 deletions packages/gatsby-dev-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"url": "https://github.com/gatsbyjs/gatsby/issues"
},
"dependencies": {
"@babel/runtime": "^7.8.7",
"chokidar": "^3.3.1",
"@babel/runtime": "^7.9.2",
"chokidar": "^3.4.0",
"configstore": "^5.0.1",
"del": "^5.1.0",
"execa": "^3.4.0",
Expand All @@ -20,13 +20,13 @@
"is-absolute": "^1.0.0",
"lodash": "^4.17.15",
"request": "2.88.2",
"signal-exit": "^3.0.2",
"verdaccio": "^4.5.1",
"signal-exit": "^3.0.3",
"verdaccio": "^4.6.1",
"yargs": "^8.0.2"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7",
"@babel/core": "^7.9.0",
"babel-preset-gatsby-package": "^0.3.2",
"cross-env": "^5.2.1"
},
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,16 +28,16 @@
},
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.8.7"
"@babel/runtime": "^7.9.2"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.8.7",
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.8.3",
"@babel/preset-env": "^7.8.7",
"@babel/preset-react": "^7.8.3",
"babel-loader": "^8.0.6",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/preset-env": "^7.9.5",
"@babel/preset-react": "^7.9.4",
"babel-loader": "^8.1.0",
"babel-preset-gatsby-package": "^0.3.2",
"core-js": "^2.6.11",
"cross-env": "^5.2.1",
Expand All @@ -50,7 +50,7 @@
"react": "^16.12.0",
"react-dom": "^16.12.0",
"style-loader": "^0.23.1",
"webpack": "^4.42.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"whatwg-fetch": "^3.0.0"
},
Expand Down
Loading

0 comments on commit cf214c6

Please sign in to comment.