Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update gatsby monorepo #37366

Merged
merged 5 commits into from
Jan 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
42 changes: 21 additions & 21 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,33 +8,33 @@
"@babel/plugin-transform-typescript": "^7.15.4",
"@babel/runtime": "^7.15.4",
"@lerna/prompt": "3.18.5",
"@types/babel__code-frame": "^7.0.2",
"@types/better-queue": "^3.8.2",
"@types/bluebird": "^3.5.35",
"@types/babel__code-frame": "^7.0.3",
"@types/better-queue": "^3.8.3",
"@types/bluebird": "^3.5.38",
"@types/cache-manager": "^2.10.3",
"@types/common-tags": "^1.8.0",
"@types/common-tags": "^1.8.1",
"@types/fs-extra": "^9.0.13",
"@types/jaeger-client": "^3.18.0",
"@types/jest": "^27.0.2",
"@types/jaeger-client": "^3.18.4",
"@types/jest": "^27.5.2",
"@types/joi": "^14.3.4",
"@types/lodash": "^4.14.170",
"@types/node": "^12.20.6",
"@types/node-fetch": "^2.5.10",
"@types/lodash": "^4.14.191",
"@types/node": "^12.20.55",
"@types/node-fetch": "^2.6.2",
"@types/normalize-path": "^3.0.0",
"@types/react": "^18.0.21",
"@types/react": "^18.0.26",
"@types/semver": "^7.3.13",
"@types/signal-exit": "^3.0.0",
"@types/stack-trace": "^0.0.29",
"@types/signal-exit": "^3.0.1",
"@types/stack-trace": "^0.0.30",
"@types/webpack-merge": "^4.1.5",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"babel-jest": "^27.2.1",
"babel-jest": "^27.5.1",
"chalk": "^4.1.2",
"chokidar": "^3.5.3",
"cross-env": "^7.0.3",
"danger": "^10.6.4",
"danger": "^10.9.0",
"date-fns": "^1.30.1",
"dictionary-en": "^3.1.0",
"dictionary-en": "^3.2.0",
"eslint": "^8.29.0",
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^8.5.0",
Expand All @@ -47,24 +47,24 @@
"fs-extra": "^10.1.0",
"glob": "^7.2.3",
"husky": "3.1.0",
"ignore": "^5.1.8",
"jest": "^27.4.4",
"ignore": "^5.2.4",
"jest": "^27.5.1",
"jest-extended": "^0.11.5",
"jest-junit": "^12.2.0",
"jest-junit": "^12.3.0",
"jest-serializer-path": "^0.1.15",
"jest-silent-reporter": "^0.5.0",
"joi": "^14.3.1",
"js-yaml": "^3.14.1",
"lerna": "^3.22.1",
"lint-staged": "^10.5.4",
"markdown-magic": "^0.2.1",
"node-notifier": "^10.0.0",
"npm-packlist": "^2.1.5",
"node-notifier": "^10.0.1",
"npm-packlist": "^2.2.2",
"npm-run-all": "4.1.5",
"prettier": "^2.8.0",
"rimraf": "^3.0.2",
"typescript": "^4.9.3",
"unified": "^9.2.0",
"unified": "^9.2.2",
"yargs": "^15.4.1"
},
"engines": {
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ if ("4" === '4') {
} else {
console.log('Old code path');
}

function isGatsby4() {
return "4" === '4';
}

if (isGatsby4()) {
console.log('We only load this for Gatsby 4');
} else {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

exports.__esModule = true;
exports.someFunction2 = someFunction2;

async function someFunction2() {
return await import(`path`);
}
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,13 @@ Object {
"columnNumber": 28,
"fileName": "<PROJECT_ROOT>/node_modules/jest-circus/build/utils.js",
"functionName": "Promise.then.completed",
"lineNumber": 390,
"lineNumber": 391,
},
Object {
"columnNumber": 10,
"fileName": "<PROJECT_ROOT>/node_modules/jest-circus/build/utils.js",
"functionName": "callAsyncCircusFn",
"lineNumber": 315,
"lineNumber": 316,
},
Object {
"columnNumber": 40,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
export default function () {
return "test";
}

function anotherFunction() {
return "test";
}

export { anotherFunction };
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ export default function () {
const x = new Response({});
anotherSelfReferencedOne();
return usedReference;
} // such a structure is being generated by regenerator-runtime
}

// such a structure is being generated by regenerator-runtime
function renderPage() {
renderPage = () => {};
}

function anotherSelfReferencedOne() {
anotherSelfReferencedOne = () => {};
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ export const {
const {
config
} = 'hello'; // Ensure matching nested properties stay untouched

return {
defer: true
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
const {
Response
} = require('node-fetch');

const usedReference = 'used reference';

module.exports = function () {
const x = new Response({});
return usedReference;
};

exports.anotherFunction = function anotherFunction() {
return "test";
};
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import React from "react";
import { graphql } from "gatsby";
import { MDXProvider } from "@mdx-js/react";
import { components } from "../components/shortcodes";

const PostsTemplate = ({
data,
children
Expand All @@ -12,7 +11,6 @@ const PostsTemplate = ({
components: components
}, children));
};

export default function GatsbyMDXWrapper(props) {
return React.createElement(PostsTemplate, props, React.createElement(GATSBY_COMPILED_MDX, props));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ export default function () {
const x = new Response({});
anotherSelfReferencedOne();
return usedReference;
} // such a structure is being generated by regenerator-runtime
}

// such a structure is being generated by regenerator-runtime

function anotherSelfReferencedOne() {
anotherSelfReferencedOne = () => {};
}

export function anotherFunction() {
return "test";
}