From e30348a717eb7f5a41685f05f7c996bf58cfaa93 Mon Sep 17 00:00:00 2001 From: shisama Date: Tue, 31 Dec 2019 01:34:35 +0900 Subject: [PATCH 1/5] chore: stop supporting Node 8 Node.js v8 is scheduled to stop maintenance on December 2019. Please see https://nodejs.org/en/about/releases/ --- .circleci/config.yml | 21 +++++------------- package.json | 2 +- .../package.json | 2 +- .../babel-preset-gatsby-package/README.md | 2 +- .../__tests__/__snapshots__/index.js.snap | 2 +- packages/babel-preset-gatsby-package/index.js | 2 +- .../babel-preset-gatsby-package/package.json | 2 +- packages/babel-preset-gatsby/package.json | 2 +- packages/gatsby-cli/src/__tests__/index.js | 10 ++++----- packages/gatsby-cli/src/index.ts | 2 +- packages/gatsby-codemods/package.json | 2 +- packages/gatsby-cypress/package.json | 2 +- packages/gatsby-dev-cli/package.json | 2 +- .../gatsby-graphiql-explorer/package.json | 2 +- .../gatsby-plugin-canonical-urls/package.json | 2 +- .../gatsby-plugin-catch-links/package.json | 2 +- .../gatsby-plugin-coffeescript/package.json | 2 +- .../package.json | 2 +- packages/gatsby-plugin-cxs/package.json | 2 +- packages/gatsby-plugin-emotion/package.json | 2 +- .../package.json | 2 +- packages/gatsby-plugin-feed/package.json | 2 +- packages/gatsby-plugin-flow/package.json | 2 +- packages/gatsby-plugin-fullstory/package.json | 2 +- packages/gatsby-plugin-glamor/package.json | 2 +- .../package.json | 2 +- .../gatsby-plugin-google-gtag/package.json | 2 +- .../package.json | 2 +- packages/gatsby-plugin-guess-js/package.json | 2 +- packages/gatsby-plugin-jss/package.json | 2 +- packages/gatsby-plugin-layout/package.json | 2 +- packages/gatsby-plugin-less/package.json | 2 +- packages/gatsby-plugin-lodash/package.json | 2 +- packages/gatsby-plugin-manifest/package.json | 2 +- .../gatsby-plugin-netlify-cms/package.json | 2 +- packages/gatsby-plugin-netlify/package.json | 2 +- .../gatsby-plugin-no-sourcemaps/package.json | 2 +- packages/gatsby-plugin-nprogress/package.json | 2 +- packages/gatsby-plugin-offline/package.json | 2 +- .../gatsby-plugin-page-creator/package.json | 2 +- packages/gatsby-plugin-postcss/package.json | 2 +- packages/gatsby-plugin-preact/package.json | 2 +- .../package.json | 2 +- .../gatsby-plugin-react-helmet/package.json | 2 +- .../package.json | 2 +- packages/gatsby-plugin-sass/package.json | 2 +- packages/gatsby-plugin-sharp/package.json | 2 +- packages/gatsby-plugin-sitemap/package.json | 2 +- .../package.json | 2 +- .../gatsby-plugin-styled-jsx/package.json | 2 +- packages/gatsby-plugin-styletron/package.json | 2 +- packages/gatsby-plugin-stylus/package.json | 2 +- packages/gatsby-plugin-subfont/package.json | 2 +- packages/gatsby-plugin-twitter/package.json | 2 +- .../gatsby-plugin-typescript/package.json | 2 +- .../gatsby-plugin-typography/package.json | 2 +- .../gatsby-react-router-scroll/package.json | 2 +- .../package.json | 2 +- .../gatsby-remark-code-repls/package.json | 2 +- .../package.json | 2 +- .../gatsby-remark-custom-blocks/package.json | 2 +- .../gatsby-remark-embed-snippet/package.json | 2 +- packages/gatsby-remark-graphviz/package.json | 2 +- .../package.json | 2 +- packages/gatsby-remark-images/package.json | 2 +- packages/gatsby-remark-katex/package.json | 2 +- packages/gatsby-remark-prismjs/package.json | 2 +- .../package.json | 2 +- .../src/__tests__/index.js | 10 ++++----- .../gatsby-remark-smartypants/package.json | 2 +- .../gatsby-source-contentful/package.json | 2 +- packages/gatsby-source-drupal/package.json | 2 +- packages/gatsby-source-faker/package.json | 2 +- .../gatsby-source-filesystem/package.json | 2 +- packages/gatsby-source-graphql/package.json | 2 +- .../gatsby-source-hacker-news/package.json | 2 +- packages/gatsby-source-lever/package.json | 2 +- packages/gatsby-source-medium/package.json | 2 +- packages/gatsby-source-mongodb/package.json | 2 +- .../package.json | 2 +- packages/gatsby-source-shopify/package.json | 2 +- packages/gatsby-source-wikipedia/package.json | 2 +- packages/gatsby-source-wordpress/package.json | 2 +- packages/gatsby-telemetry/package.json | 2 +- .../gatsby-transformer-asciidoc/package.json | 2 +- packages/gatsby-transformer-csv/package.json | 2 +- .../package.json | 2 +- .../gatsby-transformer-excel/package.json | 2 +- .../gatsby-transformer-hjson/package.json | 2 +- .../package.json | 2 +- .../package.json | 2 +- packages/gatsby-transformer-json/package.json | 2 +- packages/gatsby-transformer-pdf/package.json | 2 +- .../package.json | 2 +- .../gatsby-transformer-remark/package.json | 2 +- .../package.json | 2 +- .../gatsby-transformer-sharp/package.json | 2 +- packages/gatsby-transformer-sqip/package.json | 2 +- packages/gatsby-transformer-toml/package.json | 2 +- packages/gatsby-transformer-xml/package.json | 2 +- packages/gatsby-transformer-yaml/package.json | 2 +- packages/gatsby/package.json | 2 +- packages/graphql-skip-limit/package.json | 2 +- yarn.lock | 22 ++++++++++++++----- 104 files changed, 131 insertions(+), 132 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 474727fef9fe5..228bd209c62d2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -69,7 +69,7 @@ aliases: - /blog.+/ requires: - lint - - unit_tests_node8 + - unit_tests_node10 e2e_tests_production_runtime_alias: &e2e_tests_production_runtime_alias <<: *e2e-executor @@ -166,7 +166,7 @@ jobs: - <<: *install_node_modules - <<: *persist_cache # persist our git checkout and node_modules as the next step (assert-changed-files) might exit this step - # when no files have changed (master). We still need to have these files for jobs like lint & unit_tests_node8 + # when no files have changed (master). We still need to have these files for jobs like lint & unit_tests_node10 - persist_to_workspace: root: ./ paths: @@ -190,12 +190,6 @@ jobs: - run: yarn typecheck - run: yarn check-repo-fields - unit_tests_node8: - executor: - name: node - image: "8" - <<: *test_template - unit_tests_node10: executor: node <<: *test_template @@ -458,24 +452,19 @@ workflows: - lint: requires: - bootstrap - - unit_tests_node8: - <<: *ignore_docs - requires: - - bootstrap - unit_tests_node10: <<: *ignore_docs requires: - - lint - - unit_tests_node8 + - bootstrap - unit_tests_node12: <<: *ignore_docs requires: - lint - - unit_tests_node8 + - unit_tests_node10 - unit_tests_www: requires: - lint - - unit_tests_node8 + - unit_tests_node10 - integration_tests_long_term_caching: <<: *e2e-test-workflow - integration_tests_gatsby_pipeline: diff --git a/package.json b/package.json index 9334e03797dd7..90a6d8c3cb6c6 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ }, "engines": { "yarn": "^1.17.3", - "node": ">=8.0.0" + "node": ">=10.0.0" }, "eslintIgnore": [ "interfaces", diff --git a/packages/babel-plugin-remove-graphql-queries/package.json b/packages/babel-plugin-remove-graphql-queries/package.json index 402acaca4729a..1f1a4a8ae4f39 100644 --- a/packages/babel-plugin-remove-graphql-queries/package.json +++ b/packages/babel-plugin-remove-graphql-queries/package.json @@ -26,6 +26,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/babel-preset-gatsby-package/README.md b/packages/babel-preset-gatsby-package/README.md index 7c4d27bc7d4aa..822b530716ad8 100644 --- a/packages/babel-preset-gatsby-package/README.md +++ b/packages/babel-preset-gatsby-package/README.md @@ -41,6 +41,6 @@ Outputs the targets/plugins used and the version specified in [plugin data versi ### `nodeVersion` -`string`, defaults to `8.0` +`string`, defaults to `10.0` Allows the Node.js version target to be modified per [`@babel/preset-env` documentation](https://babeljs.io/docs/en/babel-preset-env#targetsnode) diff --git a/packages/babel-preset-gatsby-package/__tests__/__snapshots__/index.js.snap b/packages/babel-preset-gatsby-package/__tests__/__snapshots__/index.js.snap index 3878b9fe4430d..f8ceb0bace50e 100644 --- a/packages/babel-preset-gatsby-package/__tests__/__snapshots__/index.js.snap +++ b/packages/babel-preset-gatsby-package/__tests__/__snapshots__/index.js.snap @@ -172,7 +172,7 @@ Array [ "modules": "commonjs", "shippedProposals": true, "targets": Object { - "node": "8.0", + "node": "10.0", }, "useBuiltIns": "entry", }, diff --git a/packages/babel-preset-gatsby-package/index.js b/packages/babel-preset-gatsby-package/index.js index 35212459fe78e..95ec808ead7ab 100644 --- a/packages/babel-preset-gatsby-package/index.js +++ b/packages/babel-preset-gatsby-package/index.js @@ -1,7 +1,7 @@ const r = require(`./resolver`) function preset(context, options = {}) { - const { browser = false, debug = false, nodeVersion = `8.0` } = options + const { browser = false, debug = false, nodeVersion = `10.0` } = options const { NODE_ENV, BABEL_ENV } = process.env const IS_PRODUCTION = (BABEL_ENV || NODE_ENV) === `production` diff --git a/packages/babel-preset-gatsby-package/package.json b/packages/babel-preset-gatsby-package/package.json index 136fb5db0e7f2..7f3579ae4333c 100644 --- a/packages/babel-preset-gatsby-package/package.json +++ b/packages/babel-preset-gatsby-package/package.json @@ -23,6 +23,6 @@ "license": "MIT", "main": "index.js", "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/babel-preset-gatsby/package.json b/packages/babel-preset-gatsby/package.json index ae07ee1701baa..b19f49b48fa12 100644 --- a/packages/babel-preset-gatsby/package.json +++ b/packages/babel-preset-gatsby/package.json @@ -39,6 +39,6 @@ "slash": "^3.0.0" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-cli/src/__tests__/index.js b/packages/gatsby-cli/src/__tests__/index.js index 8ec655c182f20..1ced9900b8d9f 100644 --- a/packages/gatsby-cli/src/__tests__/index.js +++ b/packages/gatsby-cli/src/__tests__/index.js @@ -41,14 +41,14 @@ const setup = version => { } describe(`error handling`, () => { - it(`panics on Node < 8.0.0`, () => { - const { reporter } = setup(`v6.0.0`) + it(`panics on Node < 10.0.0`, () => { + const { reporter } = setup(`v8.0.0`) expect(reporter.panic).toHaveBeenCalledTimes(1) }) it(`shows error with link to more info`, () => { - const { reporter } = setup(`v6.0.0`) + const { reporter } = setup(`v8.0.0`) expect(reporter.panic).toHaveBeenCalledWith( expect.stringContaining(`https://gatsby.dev/upgrading-node-js`) @@ -57,8 +57,8 @@ describe(`error handling`, () => { }) describe(`normal behavior`, () => { - it(`does not panic on Node >= 8.0.0`, () => { - ;[`8.0.0`, `8.9.0`, `10.0.0`, `11.0.0`, `12.0.0`].forEach(version => { + it(`does not panic on Node >= 10.0.0`, () => { + ;[`10.0.0`, `11.0.0`, `12.0.0`].forEach(version => { const { reporter } = setup(version) expect(reporter.panic).not.toHaveBeenCalled() diff --git a/packages/gatsby-cli/src/index.ts b/packages/gatsby-cli/src/index.ts index 9ca8b743d25b8..716a6a833c0a0 100755 --- a/packages/gatsby-cli/src/index.ts +++ b/packages/gatsby-cli/src/index.ts @@ -17,7 +17,7 @@ if (useJsonLogger) { // Check if update is available updateNotifier({ pkg }).notify({ isGlobal: true }) -const MIN_NODE_VERSION = `>=8.0.0` +const MIN_NODE_VERSION = `>=10.0.0` if (!semver.satisfies(process.version, MIN_NODE_VERSION)) { report.panic( diff --git a/packages/gatsby-codemods/package.json b/packages/gatsby-codemods/package.json index 90e2129a41ff5..aa3b8a4de7259 100644 --- a/packages/gatsby-codemods/package.json +++ b/packages/gatsby-codemods/package.json @@ -34,6 +34,6 @@ "jscodeshift": "^0.6.4" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-cypress/package.json b/packages/gatsby-cypress/package.json index 376b478ba38be..342858954f98e 100644 --- a/packages/gatsby-cypress/package.json +++ b/packages/gatsby-cypress/package.json @@ -40,6 +40,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-dev-cli/package.json b/packages/gatsby-dev-cli/package.json index ea380caa57a30..97194923c0d94 100644 --- a/packages/gatsby-dev-cli/package.json +++ b/packages/gatsby-dev-cli/package.json @@ -48,6 +48,6 @@ "watch": "babel -w src --out-dir dist --ignore \"**/__tests__\"" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-graphiql-explorer/package.json b/packages/gatsby-graphiql-explorer/package.json index f20f876866e92..7f2f9caa61413 100644 --- a/packages/gatsby-graphiql-explorer/package.json +++ b/packages/gatsby-graphiql-explorer/package.json @@ -54,6 +54,6 @@ "whatwg-fetch": "^3.0.0" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-canonical-urls/package.json b/packages/gatsby-plugin-canonical-urls/package.json index a7955a74dc708..2442a93f04462 100644 --- a/packages/gatsby-plugin-canonical-urls/package.json +++ b/packages/gatsby-plugin-canonical-urls/package.json @@ -36,6 +36,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-catch-links/package.json b/packages/gatsby-plugin-catch-links/package.json index a97cbdb4b696c..fcdb276677b7f 100644 --- a/packages/gatsby-plugin-catch-links/package.json +++ b/packages/gatsby-plugin-catch-links/package.json @@ -37,6 +37,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-coffeescript/package.json b/packages/gatsby-plugin-coffeescript/package.json index 5c3c898dd062d..3e38ad9cba3f1 100644 --- a/packages/gatsby-plugin-coffeescript/package.json +++ b/packages/gatsby-plugin-coffeescript/package.json @@ -44,6 +44,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-create-client-paths/package.json b/packages/gatsby-plugin-create-client-paths/package.json index b066d56852a76..18c3bc5fd61d2 100644 --- a/packages/gatsby-plugin-create-client-paths/package.json +++ b/packages/gatsby-plugin-create-client-paths/package.json @@ -36,6 +36,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-cxs/package.json b/packages/gatsby-plugin-cxs/package.json index 5db29e6f6f5bd..56e7d880b9152 100644 --- a/packages/gatsby-plugin-cxs/package.json +++ b/packages/gatsby-plugin-cxs/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-emotion/package.json b/packages/gatsby-plugin-emotion/package.json index 41bcbffc1706d..8f1badff5eedc 100644 --- a/packages/gatsby-plugin-emotion/package.json +++ b/packages/gatsby-plugin-emotion/package.json @@ -40,6 +40,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-facebook-analytics/package.json b/packages/gatsby-plugin-facebook-analytics/package.json index 5ffbf83854806..11a6102dfb576 100644 --- a/packages/gatsby-plugin-facebook-analytics/package.json +++ b/packages/gatsby-plugin-facebook-analytics/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-feed/package.json b/packages/gatsby-plugin-feed/package.json index 9d9923f467a4a..0020e0fb48c24 100644 --- a/packages/gatsby-plugin-feed/package.json +++ b/packages/gatsby-plugin-feed/package.json @@ -43,6 +43,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-flow/package.json b/packages/gatsby-plugin-flow/package.json index 4ebcab3cf54e5..757f887739c59 100644 --- a/packages/gatsby-plugin-flow/package.json +++ b/packages/gatsby-plugin-flow/package.json @@ -34,6 +34,6 @@ "cross-env": "^5.2.1" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-fullstory/package.json b/packages/gatsby-plugin-fullstory/package.json index 925808deb4172..b01ec8fbb7713 100644 --- a/packages/gatsby-plugin-fullstory/package.json +++ b/packages/gatsby-plugin-fullstory/package.json @@ -36,6 +36,6 @@ "gatsby": "^2.0.0" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-glamor/package.json b/packages/gatsby-plugin-glamor/package.json index 97bc79bcf8e37..00d5b8183243d 100644 --- a/packages/gatsby-plugin-glamor/package.json +++ b/packages/gatsby-plugin-glamor/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-google-analytics/package.json b/packages/gatsby-plugin-google-analytics/package.json index e9ba5781c35ae..f08e563ff8d41 100644 --- a/packages/gatsby-plugin-google-analytics/package.json +++ b/packages/gatsby-plugin-google-analytics/package.json @@ -40,7 +40,7 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" }, "types": "./index.d.ts" } diff --git a/packages/gatsby-plugin-google-gtag/package.json b/packages/gatsby-plugin-google-gtag/package.json index f9089d459bf7e..aa66bb5395059 100644 --- a/packages/gatsby-plugin-google-gtag/package.json +++ b/packages/gatsby-plugin-google-gtag/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-google-tagmanager/package.json b/packages/gatsby-plugin-google-tagmanager/package.json index 7f00593181f59..3a8f2fe35448c 100644 --- a/packages/gatsby-plugin-google-tagmanager/package.json +++ b/packages/gatsby-plugin-google-tagmanager/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-guess-js/package.json b/packages/gatsby-plugin-guess-js/package.json index 639a3798f9a09..01c754206ea93 100644 --- a/packages/gatsby-plugin-guess-js/package.json +++ b/packages/gatsby-plugin-guess-js/package.json @@ -41,6 +41,6 @@ "gatsby": "^2.0.0" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-jss/package.json b/packages/gatsby-plugin-jss/package.json index 0ca5111f4ac0e..7a26ffebfc96e 100644 --- a/packages/gatsby-plugin-jss/package.json +++ b/packages/gatsby-plugin-jss/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-layout/package.json b/packages/gatsby-plugin-layout/package.json index 19685dd230d1b..cb36c1361cdd4 100644 --- a/packages/gatsby-plugin-layout/package.json +++ b/packages/gatsby-plugin-layout/package.json @@ -33,6 +33,6 @@ "cross-env": "^5.2.1" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-less/package.json b/packages/gatsby-plugin-less/package.json index 915c13b6b7dae..381651b4d1aaa 100644 --- a/packages/gatsby-plugin-less/package.json +++ b/packages/gatsby-plugin-less/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__,theme-test.js" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-lodash/package.json b/packages/gatsby-plugin-lodash/package.json index ccdb7a047de42..f7ed241f21bf7 100644 --- a/packages/gatsby-plugin-lodash/package.json +++ b/packages/gatsby-plugin-lodash/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-manifest/package.json b/packages/gatsby-plugin-manifest/package.json index 64f69ca60585c..bbb35d7aeb5be 100644 --- a/packages/gatsby-plugin-manifest/package.json +++ b/packages/gatsby-plugin-manifest/package.json @@ -44,6 +44,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-netlify-cms/package.json b/packages/gatsby-plugin-netlify-cms/package.json index 27dac44d8e6b3..19efa821e126c 100644 --- a/packages/gatsby-plugin-netlify-cms/package.json +++ b/packages/gatsby-plugin-netlify-cms/package.json @@ -52,6 +52,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-netlify/package.json b/packages/gatsby-plugin-netlify/package.json index 3fb6ec1844ee1..830a00979b947 100644 --- a/packages/gatsby-plugin-netlify/package.json +++ b/packages/gatsby-plugin-netlify/package.json @@ -48,6 +48,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-no-sourcemaps/package.json b/packages/gatsby-plugin-no-sourcemaps/package.json index d5194f1dc5a31..95037f011276f 100644 --- a/packages/gatsby-plugin-no-sourcemaps/package.json +++ b/packages/gatsby-plugin-no-sourcemaps/package.json @@ -24,6 +24,6 @@ "gatsby": "^2.0.0" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-nprogress/package.json b/packages/gatsby-plugin-nprogress/package.json index 1a7cf85c85567..52440cefeab66 100644 --- a/packages/gatsby-plugin-nprogress/package.json +++ b/packages/gatsby-plugin-nprogress/package.json @@ -37,6 +37,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-offline/package.json b/packages/gatsby-plugin-offline/package.json index 9ad97cff549d1..bd841cbc67484 100644 --- a/packages/gatsby-plugin-offline/package.json +++ b/packages/gatsby-plugin-offline/package.json @@ -49,6 +49,6 @@ "watch": "npm run build:sw-append -- --watch & npm run build:src -- --watch" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-page-creator/package.json b/packages/gatsby-plugin-page-creator/package.json index 6b0faa3451991..374e4a14336aa 100644 --- a/packages/gatsby-plugin-page-creator/package.json +++ b/packages/gatsby-plugin-page-creator/package.json @@ -42,6 +42,6 @@ "gatsby": "^2.0.0" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-postcss/package.json b/packages/gatsby-plugin-postcss/package.json index 6c3f3f26aecbd..7f44e91c090e4 100644 --- a/packages/gatsby-plugin-postcss/package.json +++ b/packages/gatsby-plugin-postcss/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-preact/package.json b/packages/gatsby-plugin-preact/package.json index 2fa0908f9e4f7..5ec66af75ecd4 100644 --- a/packages/gatsby-plugin-preact/package.json +++ b/packages/gatsby-plugin-preact/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-react-css-modules/package.json b/packages/gatsby-plugin-react-css-modules/package.json index 478e552121870..a2c861d03f777 100644 --- a/packages/gatsby-plugin-react-css-modules/package.json +++ b/packages/gatsby-plugin-react-css-modules/package.json @@ -45,6 +45,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-react-helmet/package.json b/packages/gatsby-plugin-react-helmet/package.json index 4ad72527cb106..679fc5bb3e33b 100644 --- a/packages/gatsby-plugin-react-helmet/package.json +++ b/packages/gatsby-plugin-react-helmet/package.json @@ -49,6 +49,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__,**/__mocks__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-remove-trailing-slashes/package.json b/packages/gatsby-plugin-remove-trailing-slashes/package.json index f0c8bbc7455c9..9fc030b144a37 100644 --- a/packages/gatsby-plugin-remove-trailing-slashes/package.json +++ b/packages/gatsby-plugin-remove-trailing-slashes/package.json @@ -36,6 +36,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-sass/package.json b/packages/gatsby-plugin-sass/package.json index d0c20cce17eca..145b93a2f7045 100644 --- a/packages/gatsby-plugin-sass/package.json +++ b/packages/gatsby-plugin-sass/package.json @@ -41,6 +41,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-sharp/package.json b/packages/gatsby-plugin-sharp/package.json index 705be8f263818..3c55e214b0ca3 100644 --- a/packages/gatsby-plugin-sharp/package.json +++ b/packages/gatsby-plugin-sharp/package.json @@ -57,6 +57,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-sitemap/package.json b/packages/gatsby-plugin-sitemap/package.json index 2a0b00987d739..0b0436db30b36 100644 --- a/packages/gatsby-plugin-sitemap/package.json +++ b/packages/gatsby-plugin-sitemap/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-styled-components/package.json b/packages/gatsby-plugin-styled-components/package.json index 707424a25c0bc..f65e4b44f5d6b 100644 --- a/packages/gatsby-plugin-styled-components/package.json +++ b/packages/gatsby-plugin-styled-components/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-styled-jsx/package.json b/packages/gatsby-plugin-styled-jsx/package.json index 2c3de524b219a..a16098ddc2715 100644 --- a/packages/gatsby-plugin-styled-jsx/package.json +++ b/packages/gatsby-plugin-styled-jsx/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-styletron/package.json b/packages/gatsby-plugin-styletron/package.json index 58099bbe0388e..9ac7b9eda41ec 100644 --- a/packages/gatsby-plugin-styletron/package.json +++ b/packages/gatsby-plugin-styletron/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-stylus/package.json b/packages/gatsby-plugin-stylus/package.json index 124213d20c3ed..0ab8ff6439269 100644 --- a/packages/gatsby-plugin-stylus/package.json +++ b/packages/gatsby-plugin-stylus/package.json @@ -40,6 +40,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-subfont/package.json b/packages/gatsby-plugin-subfont/package.json index a3ca3147b6ce4..7e01fb12a2a7c 100644 --- a/packages/gatsby-plugin-subfont/package.json +++ b/packages/gatsby-plugin-subfont/package.json @@ -35,6 +35,6 @@ "cross-env": "^5.2.1" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-twitter/package.json b/packages/gatsby-plugin-twitter/package.json index e4783b3066486..6bc0e3d90138f 100644 --- a/packages/gatsby-plugin-twitter/package.json +++ b/packages/gatsby-plugin-twitter/package.json @@ -36,6 +36,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-typescript/package.json b/packages/gatsby-plugin-typescript/package.json index 178a906e0683c..062f4a5089bfb 100644 --- a/packages/gatsby-plugin-typescript/package.json +++ b/packages/gatsby-plugin-typescript/package.json @@ -45,6 +45,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-plugin-typography/package.json b/packages/gatsby-plugin-typography/package.json index 0bfa40ad830d3..cac59c1dccedf 100644 --- a/packages/gatsby-plugin-typography/package.json +++ b/packages/gatsby-plugin-typography/package.json @@ -46,6 +46,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-react-router-scroll/package.json b/packages/gatsby-react-router-scroll/package.json index 52df7349bc68e..88c0e50400289 100644 --- a/packages/gatsby-react-router-scroll/package.json +++ b/packages/gatsby-react-router-scroll/package.json @@ -41,6 +41,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-remark-autolink-headers/package.json b/packages/gatsby-remark-autolink-headers/package.json index 2860749439290..b2fd3c5fbb391 100644 --- a/packages/gatsby-remark-autolink-headers/package.json +++ b/packages/gatsby-remark-autolink-headers/package.json @@ -41,6 +41,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-remark-code-repls/package.json b/packages/gatsby-remark-code-repls/package.json index 8e6cfce709438..4809b8196e890 100644 --- a/packages/gatsby-remark-code-repls/package.json +++ b/packages/gatsby-remark-code-repls/package.json @@ -46,6 +46,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-remark-copy-linked-files/package.json b/packages/gatsby-remark-copy-linked-files/package.json index a158b1173f876..01a527e1aa3d2 100644 --- a/packages/gatsby-remark-copy-linked-files/package.json +++ b/packages/gatsby-remark-copy-linked-files/package.json @@ -48,6 +48,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-remark-custom-blocks/package.json b/packages/gatsby-remark-custom-blocks/package.json index 0e9bedc2fce0a..f9ef9ab0cfd79 100644 --- a/packages/gatsby-remark-custom-blocks/package.json +++ b/packages/gatsby-remark-custom-blocks/package.json @@ -46,6 +46,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-remark-embed-snippet/package.json b/packages/gatsby-remark-embed-snippet/package.json index 6aa98a0ce25b3..faea3671caeb0 100644 --- a/packages/gatsby-remark-embed-snippet/package.json +++ b/packages/gatsby-remark-embed-snippet/package.json @@ -42,6 +42,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-remark-graphviz/package.json b/packages/gatsby-remark-graphviz/package.json index 1cd0218013912..c0bb14b938633 100644 --- a/packages/gatsby-remark-graphviz/package.json +++ b/packages/gatsby-remark-graphviz/package.json @@ -50,6 +50,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-remark-images-contentful/package.json b/packages/gatsby-remark-images-contentful/package.json index 01acd13b4ebaf..c7ffae3f90ee4 100644 --- a/packages/gatsby-remark-images-contentful/package.json +++ b/packages/gatsby-remark-images-contentful/package.json @@ -43,6 +43,6 @@ "gatsby": "^2.0.15" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-remark-images/package.json b/packages/gatsby-remark-images/package.json index 9b1e9fc09f96c..0be45a83c646f 100644 --- a/packages/gatsby-remark-images/package.json +++ b/packages/gatsby-remark-images/package.json @@ -53,6 +53,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-remark-katex/package.json b/packages/gatsby-remark-katex/package.json index 9ba64b95ce019..2c320aa36ecf7 100644 --- a/packages/gatsby-remark-katex/package.json +++ b/packages/gatsby-remark-katex/package.json @@ -42,6 +42,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-remark-prismjs/package.json b/packages/gatsby-remark-prismjs/package.json index 793e5bfa95228..32e22034780ae 100644 --- a/packages/gatsby-remark-prismjs/package.json +++ b/packages/gatsby-remark-prismjs/package.json @@ -43,6 +43,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-remark-responsive-iframe/package.json b/packages/gatsby-remark-responsive-iframe/package.json index 0ef14e676accf..79843a9c429bd 100644 --- a/packages/gatsby-remark-responsive-iframe/package.json +++ b/packages/gatsby-remark-responsive-iframe/package.json @@ -45,6 +45,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-remark-responsive-iframe/src/__tests__/index.js b/packages/gatsby-remark-responsive-iframe/src/__tests__/index.js index 728cd9dd39cdc..56fd37fdfd715 100644 --- a/packages/gatsby-remark-responsive-iframe/src/__tests__/index.js +++ b/packages/gatsby-remark-responsive-iframe/src/__tests__/index.js @@ -5,12 +5,12 @@ const semver = require(`semver`) const plugin = require(`../`) -const testInNode8OrHigher = (title, ...args) => { - const isNode8OrHigher = semver.satisfies(process.version, `>=8`) - if (isNode8OrHigher) { +const testInNode10OrHigher = (title, ...args) => { + const isNode10OrHigher = semver.satisfies(process.version, `>=10`) + if (isNode10OrHigher) { it(title, ...args) } else { - it.skip(`skipped on Node 7 or lower: ${title}`, ...args) + it.skip(`skipped on Node 9 or lower: ${title}`, ...args) } } @@ -83,7 +83,7 @@ describe(`gatsby-remark-responsive-iframe`, () => { }) }) - testInNode8OrHigher(`can copy JSX images`, async () => { + testInNode10OrHigher(`can copy JSX images`, async () => { const mdx = require(`remark-mdx`) const markdownAST = remark().use(mdx).parse(` diff --git a/packages/gatsby-remark-smartypants/package.json b/packages/gatsby-remark-smartypants/package.json index 46cef210d556b..dd136a3b727ae 100644 --- a/packages/gatsby-remark-smartypants/package.json +++ b/packages/gatsby-remark-smartypants/package.json @@ -40,6 +40,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-source-contentful/package.json b/packages/gatsby-source-contentful/package.json index f6e33a483e74e..621dd9e375584 100644 --- a/packages/gatsby-source-contentful/package.json +++ b/packages/gatsby-source-contentful/package.json @@ -50,6 +50,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-source-drupal/package.json b/packages/gatsby-source-drupal/package.json index 3c2e47fa0431b..031ab13fc5b5b 100644 --- a/packages/gatsby-source-drupal/package.json +++ b/packages/gatsby-source-drupal/package.json @@ -42,6 +42,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-source-faker/package.json b/packages/gatsby-source-faker/package.json index 3c3be7f017904..970089291d1e3 100644 --- a/packages/gatsby-source-faker/package.json +++ b/packages/gatsby-source-faker/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-source-filesystem/package.json b/packages/gatsby-source-filesystem/package.json index 54e02a138e76d..619bb5d201ee8 100644 --- a/packages/gatsby-source-filesystem/package.json +++ b/packages/gatsby-source-filesystem/package.json @@ -50,6 +50,6 @@ }, "types": "index.d.ts", "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-source-graphql/package.json b/packages/gatsby-source-graphql/package.json index fd8fcf2359fb1..07608b4f8e7fa 100644 --- a/packages/gatsby-source-graphql/package.json +++ b/packages/gatsby-source-graphql/package.json @@ -41,6 +41,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-source-hacker-news/package.json b/packages/gatsby-source-hacker-news/package.json index 548c8156e27cc..fa1b10769535d 100644 --- a/packages/gatsby-source-hacker-news/package.json +++ b/packages/gatsby-source-hacker-news/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-source-lever/package.json b/packages/gatsby-source-lever/package.json index cd5b5d0b59550..fb861e3e24dac 100644 --- a/packages/gatsby-source-lever/package.json +++ b/packages/gatsby-source-lever/package.json @@ -44,6 +44,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-source-medium/package.json b/packages/gatsby-source-medium/package.json index 3d13f6a1a06ad..c3aba473229f9 100644 --- a/packages/gatsby-source-medium/package.json +++ b/packages/gatsby-source-medium/package.json @@ -37,6 +37,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-source-mongodb/package.json b/packages/gatsby-source-mongodb/package.json index fd528d07731fa..4dac7291d8bc7 100644 --- a/packages/gatsby-source-mongodb/package.json +++ b/packages/gatsby-source-mongodb/package.json @@ -43,6 +43,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-source-npm-package-search/package.json b/packages/gatsby-source-npm-package-search/package.json index a042d885f2f52..ab6a25764a93a 100644 --- a/packages/gatsby-source-npm-package-search/package.json +++ b/packages/gatsby-source-npm-package-search/package.json @@ -35,6 +35,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-source-shopify/package.json b/packages/gatsby-source-shopify/package.json index ca30c8121ad1e..bd9062c9362a2 100644 --- a/packages/gatsby-source-shopify/package.json +++ b/packages/gatsby-source-shopify/package.json @@ -43,7 +43,7 @@ "prettyjson": "^1.2.1" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" }, "main": "index.js" } diff --git a/packages/gatsby-source-wikipedia/package.json b/packages/gatsby-source-wikipedia/package.json index 841d28df5634c..000c634d53eeb 100644 --- a/packages/gatsby-source-wikipedia/package.json +++ b/packages/gatsby-source-wikipedia/package.json @@ -39,6 +39,6 @@ "cross-env": "^5.2.1" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-source-wordpress/package.json b/packages/gatsby-source-wordpress/package.json index 56380e2bfbcab..54bf6868c7b10 100644 --- a/packages/gatsby-source-wordpress/package.json +++ b/packages/gatsby-source-wordpress/package.json @@ -48,6 +48,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-telemetry/package.json b/packages/gatsby-telemetry/package.json index 3b196644af242..0563416bf9654 100644 --- a/packages/gatsby-telemetry/package.json +++ b/packages/gatsby-telemetry/package.json @@ -61,6 +61,6 @@ "boolean-negation": false }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-transformer-asciidoc/package.json b/packages/gatsby-transformer-asciidoc/package.json index a34a7bd3dd1c0..392fc174a042c 100644 --- a/packages/gatsby-transformer-asciidoc/package.json +++ b/packages/gatsby-transformer-asciidoc/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-transformer-csv/package.json b/packages/gatsby-transformer-csv/package.json index b79c6b6e79228..688ef16fd5fde 100644 --- a/packages/gatsby-transformer-csv/package.json +++ b/packages/gatsby-transformer-csv/package.json @@ -40,6 +40,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-transformer-documentationjs/package.json b/packages/gatsby-transformer-documentationjs/package.json index 47c6273967577..69f1426e7fda6 100644 --- a/packages/gatsby-transformer-documentationjs/package.json +++ b/packages/gatsby-transformer-documentationjs/package.json @@ -40,6 +40,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-transformer-excel/package.json b/packages/gatsby-transformer-excel/package.json index 41faaad86f5a9..31e033d44932d 100644 --- a/packages/gatsby-transformer-excel/package.json +++ b/packages/gatsby-transformer-excel/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-transformer-hjson/package.json b/packages/gatsby-transformer-hjson/package.json index acdb3df68b76e..451c302045ec0 100644 --- a/packages/gatsby-transformer-hjson/package.json +++ b/packages/gatsby-transformer-hjson/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-transformer-javascript-frontmatter/package.json b/packages/gatsby-transformer-javascript-frontmatter/package.json index 39c50f6cde68f..a50319bf2adc2 100644 --- a/packages/gatsby-transformer-javascript-frontmatter/package.json +++ b/packages/gatsby-transformer-javascript-frontmatter/package.json @@ -37,6 +37,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-transformer-javascript-static-exports/package.json b/packages/gatsby-transformer-javascript-static-exports/package.json index 7b6eea03c4f8b..0299be6a08e8b 100644 --- a/packages/gatsby-transformer-javascript-static-exports/package.json +++ b/packages/gatsby-transformer-javascript-static-exports/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-transformer-json/package.json b/packages/gatsby-transformer-json/package.json index b2a8e42007601..406de4d85399b 100644 --- a/packages/gatsby-transformer-json/package.json +++ b/packages/gatsby-transformer-json/package.json @@ -37,6 +37,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-transformer-pdf/package.json b/packages/gatsby-transformer-pdf/package.json index df08b00d8aaeb..bc7c8f83253dc 100644 --- a/packages/gatsby-transformer-pdf/package.json +++ b/packages/gatsby-transformer-pdf/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-transformer-react-docgen/package.json b/packages/gatsby-transformer-react-docgen/package.json index 831242f8cdb5a..f3991a99b0fd8 100644 --- a/packages/gatsby-transformer-react-docgen/package.json +++ b/packages/gatsby-transformer-react-docgen/package.json @@ -44,6 +44,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-transformer-remark/package.json b/packages/gatsby-transformer-remark/package.json index a8975c508973c..41a8df7f73038 100644 --- a/packages/gatsby-transformer-remark/package.json +++ b/packages/gatsby-transformer-remark/package.json @@ -57,6 +57,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-transformer-screenshot/package.json b/packages/gatsby-transformer-screenshot/package.json index b466a37e2b24e..93c8af984e90b 100644 --- a/packages/gatsby-transformer-screenshot/package.json +++ b/packages/gatsby-transformer-screenshot/package.json @@ -40,6 +40,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-transformer-sharp/package.json b/packages/gatsby-transformer-sharp/package.json index 40e7f9bba1d1a..72516f65e7819 100644 --- a/packages/gatsby-transformer-sharp/package.json +++ b/packages/gatsby-transformer-sharp/package.json @@ -44,6 +44,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-transformer-sqip/package.json b/packages/gatsby-transformer-sqip/package.json index 6dd6ba37eacda..3fe999eed2fa5 100644 --- a/packages/gatsby-transformer-sqip/package.json +++ b/packages/gatsby-transformer-sqip/package.json @@ -48,6 +48,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-transformer-toml/package.json b/packages/gatsby-transformer-toml/package.json index c8b02f6bdc989..27cbe6fc5d05b 100644 --- a/packages/gatsby-transformer-toml/package.json +++ b/packages/gatsby-transformer-toml/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-transformer-xml/package.json b/packages/gatsby-transformer-xml/package.json index f45dc5fa4688b..37cd26ebe6ad4 100644 --- a/packages/gatsby-transformer-xml/package.json +++ b/packages/gatsby-transformer-xml/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby-transformer-yaml/package.json b/packages/gatsby-transformer-yaml/package.json index 481223f80f2a9..8b2669bfbf249 100644 --- a/packages/gatsby-transformer-yaml/package.json +++ b/packages/gatsby-transformer-yaml/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 17d84705fcf85..a834aa80a59e8 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -154,7 +154,7 @@ "xhr-mock": "^2.5.1" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" }, "files": [ "apis.json", diff --git a/packages/graphql-skip-limit/package.json b/packages/graphql-skip-limit/package.json index 34c77a8714726..ad46cd89c2771 100644 --- a/packages/graphql-skip-limit/package.json +++ b/packages/graphql-skip-limit/package.json @@ -37,6 +37,6 @@ "watch": "babel -w src --out-dir dist" }, "engines": { - "node": ">=8.0.0" + "node": ">=10.0.0" } } diff --git a/yarn.lock b/yarn.lock index afb3e060f845f..443a369558b1e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4722,7 +4722,7 @@ apollo-link@1.2.13, apollo-link@^1.2.13: tslib "^1.9.3" zen-observable-ts "^0.8.20" -apollo-utilities@^1.3.0, apollo-utilities@^1.3.2: +apollo-utilities@^1.3.0: version "1.3.2" resolved "https://registry.yarnpkg.com/apollo-utilities/-/apollo-utilities-1.3.2.tgz#8cbdcf8b012f664cd6cb5767f6130f5aed9115c9" integrity sha512-JWNHj8XChz7S4OZghV6yc9FNnzEXj285QYp/nLNh943iObycI5GTDO3NGR9Dth12LRrSFMeDOConPfPln+WGfg== @@ -4732,6 +4732,16 @@ apollo-utilities@^1.3.0, apollo-utilities@^1.3.2: ts-invariant "^0.4.0" tslib "^1.9.3" +apollo-utilities@^1.3.3: + version "1.3.3" + resolved "https://registry.yarnpkg.com/apollo-utilities/-/apollo-utilities-1.3.3.tgz#f1854715a7be80cd810bc3ac95df085815c0787c" + integrity sha512-F14aX2R/fKNYMvhuP2t9GD9fggID7zp5I96MF5QeKYWDWTrkRdHRp4+SVfXUVN+cXOaB/IebfvRtzPf25CM0zw== + dependencies: + "@wry/equality" "^0.1.2" + fast-json-stable-stringify "^2.0.0" + ts-invariant "^0.4.0" + tslib "^1.10.0" + append-buffer@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/append-buffer/-/append-buffer-1.0.2.tgz#d8220cf466081525efea50614f3de6514dfa58f1" @@ -11193,13 +11203,13 @@ graphql-request@^1.5.0, graphql-request@^1.8.2: dependencies: cross-fetch "2.2.2" -graphql-tools-fork@^7.2.3: - version "7.2.3" - resolved "https://registry.yarnpkg.com/graphql-tools-fork/-/graphql-tools-fork-7.2.3.tgz#a0457dc0bc0116576c8ea49d6b30b7a3d9ae9782" - integrity sha512-qZTp9TJj5W/Ffbp3y7sg0hIsr0sdGLZ9DYWO8u2c8m44cpvIo5LSzuERMf+Pw9QL/jBg5UKOgx2Y6stHd4Kt9g== +graphql-tools-fork@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/graphql-tools-fork/-/graphql-tools-fork-8.0.1.tgz#57b5f6c36a67485311c3b567db31775318afb660" + integrity sha512-xrR8Kb7y8uoemXkuJzR8pcSr+D2f9mrsIfE4wHWZP81qlBfzbG6dnL/chzy9LR8ErJHdl7/Yrb9rM6KMErawhQ== dependencies: apollo-link "^1.2.13" - apollo-utilities "^1.3.2" + apollo-utilities "^1.3.3" deprecated-decorator "^0.1.6" iterall "^1.2.2" uuid "^3.3.3" From f9aa8aefd446e02a8519fda9c8d96a36ac4727e4 Mon Sep 17 00:00:00 2001 From: shisama Date: Tue, 7 Jan 2020 02:12:26 +0900 Subject: [PATCH 2/5] fix: lowest support Node version is v10.13.0 --- package.json | 2 +- packages/babel-plugin-remove-graphql-queries/package.json | 2 +- packages/babel-preset-gatsby-package/README.md | 2 +- .../__tests__/__snapshots__/index.js.snap | 2 +- packages/babel-preset-gatsby-package/index.js | 2 +- packages/babel-preset-gatsby-package/package.json | 2 +- packages/babel-preset-gatsby/package.json | 2 +- packages/gatsby-cli/src/__tests__/index.js | 6 +++--- packages/gatsby-cli/src/index.ts | 2 +- packages/gatsby-codemods/package.json | 2 +- packages/gatsby-cypress/package.json | 2 +- packages/gatsby-dev-cli/package.json | 2 +- packages/gatsby-graphiql-explorer/package.json | 2 +- packages/gatsby-plugin-canonical-urls/package.json | 2 +- packages/gatsby-plugin-catch-links/package.json | 2 +- packages/gatsby-plugin-coffeescript/package.json | 2 +- packages/gatsby-plugin-create-client-paths/package.json | 2 +- packages/gatsby-plugin-cxs/package.json | 2 +- packages/gatsby-plugin-emotion/package.json | 2 +- packages/gatsby-plugin-facebook-analytics/package.json | 2 +- packages/gatsby-plugin-feed/package.json | 2 +- packages/gatsby-plugin-flow/package.json | 2 +- packages/gatsby-plugin-fullstory/package.json | 2 +- packages/gatsby-plugin-glamor/package.json | 2 +- packages/gatsby-plugin-google-analytics/package.json | 2 +- packages/gatsby-plugin-google-gtag/package.json | 2 +- packages/gatsby-plugin-google-tagmanager/package.json | 2 +- packages/gatsby-plugin-guess-js/package.json | 2 +- packages/gatsby-plugin-jss/package.json | 2 +- packages/gatsby-plugin-layout/package.json | 2 +- packages/gatsby-plugin-less/package.json | 2 +- packages/gatsby-plugin-lodash/package.json | 2 +- packages/gatsby-plugin-manifest/package.json | 2 +- packages/gatsby-plugin-netlify-cms/package.json | 2 +- packages/gatsby-plugin-netlify/package.json | 2 +- packages/gatsby-plugin-no-sourcemaps/package.json | 2 +- packages/gatsby-plugin-nprogress/package.json | 2 +- packages/gatsby-plugin-offline/package.json | 2 +- packages/gatsby-plugin-page-creator/package.json | 2 +- packages/gatsby-plugin-postcss/package.json | 2 +- packages/gatsby-plugin-preact/package.json | 2 +- packages/gatsby-plugin-react-css-modules/package.json | 2 +- packages/gatsby-plugin-react-helmet/package.json | 2 +- packages/gatsby-plugin-remove-trailing-slashes/package.json | 2 +- packages/gatsby-plugin-sass/package.json | 2 +- packages/gatsby-plugin-sharp/package.json | 2 +- packages/gatsby-plugin-sitemap/package.json | 2 +- packages/gatsby-plugin-styled-components/package.json | 2 +- packages/gatsby-plugin-styled-jsx/package.json | 2 +- packages/gatsby-plugin-styletron/package.json | 2 +- packages/gatsby-plugin-stylus/package.json | 2 +- packages/gatsby-plugin-subfont/package.json | 2 +- packages/gatsby-plugin-twitter/package.json | 2 +- packages/gatsby-plugin-typescript/package.json | 2 +- packages/gatsby-plugin-typography/package.json | 2 +- packages/gatsby-react-router-scroll/package.json | 2 +- packages/gatsby-remark-autolink-headers/package.json | 2 +- packages/gatsby-remark-code-repls/package.json | 2 +- packages/gatsby-remark-copy-linked-files/package.json | 2 +- packages/gatsby-remark-custom-blocks/package.json | 2 +- packages/gatsby-remark-embed-snippet/package.json | 2 +- packages/gatsby-remark-graphviz/package.json | 2 +- packages/gatsby-remark-images-contentful/package.json | 2 +- packages/gatsby-remark-images/package.json | 2 +- packages/gatsby-remark-katex/package.json | 2 +- packages/gatsby-remark-prismjs/package.json | 2 +- packages/gatsby-remark-responsive-iframe/package.json | 2 +- packages/gatsby-remark-smartypants/package.json | 2 +- packages/gatsby-source-contentful/package.json | 2 +- packages/gatsby-source-drupal/package.json | 2 +- packages/gatsby-source-faker/package.json | 2 +- packages/gatsby-source-filesystem/package.json | 2 +- packages/gatsby-source-graphql/package.json | 2 +- packages/gatsby-source-hacker-news/package.json | 2 +- packages/gatsby-source-lever/package.json | 2 +- packages/gatsby-source-medium/package.json | 2 +- packages/gatsby-source-mongodb/package.json | 2 +- packages/gatsby-source-npm-package-search/package.json | 2 +- packages/gatsby-source-shopify/package.json | 2 +- packages/gatsby-source-wikipedia/package.json | 2 +- packages/gatsby-source-wordpress/package.json | 2 +- packages/gatsby-telemetry/package.json | 2 +- packages/gatsby-transformer-asciidoc/package.json | 2 +- packages/gatsby-transformer-csv/package.json | 2 +- packages/gatsby-transformer-documentationjs/package.json | 2 +- packages/gatsby-transformer-excel/package.json | 2 +- packages/gatsby-transformer-hjson/package.json | 2 +- .../gatsby-transformer-javascript-frontmatter/package.json | 2 +- .../package.json | 2 +- packages/gatsby-transformer-json/package.json | 2 +- packages/gatsby-transformer-pdf/package.json | 2 +- packages/gatsby-transformer-react-docgen/package.json | 2 +- packages/gatsby-transformer-remark/package.json | 2 +- packages/gatsby-transformer-screenshot/package.json | 2 +- packages/gatsby-transformer-sharp/package.json | 2 +- packages/gatsby-transformer-sqip/package.json | 2 +- packages/gatsby-transformer-toml/package.json | 2 +- packages/gatsby-transformer-xml/package.json | 2 +- packages/gatsby-transformer-yaml/package.json | 2 +- packages/gatsby/package.json | 2 +- packages/graphql-skip-limit/package.json | 2 +- 101 files changed, 103 insertions(+), 103 deletions(-) diff --git a/package.json b/package.json index 90a6d8c3cb6c6..927b165462b0e 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ }, "engines": { "yarn": "^1.17.3", - "node": ">=10.0.0" + "node": ">=10.13.0" }, "eslintIgnore": [ "interfaces", diff --git a/packages/babel-plugin-remove-graphql-queries/package.json b/packages/babel-plugin-remove-graphql-queries/package.json index 1f1a4a8ae4f39..3b19d1572e9bf 100644 --- a/packages/babel-plugin-remove-graphql-queries/package.json +++ b/packages/babel-plugin-remove-graphql-queries/package.json @@ -26,6 +26,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/babel-preset-gatsby-package/README.md b/packages/babel-preset-gatsby-package/README.md index 822b530716ad8..dc0978e8157a8 100644 --- a/packages/babel-preset-gatsby-package/README.md +++ b/packages/babel-preset-gatsby-package/README.md @@ -41,6 +41,6 @@ Outputs the targets/plugins used and the version specified in [plugin data versi ### `nodeVersion` -`string`, defaults to `10.0` +`string`, defaults to `10.13` Allows the Node.js version target to be modified per [`@babel/preset-env` documentation](https://babeljs.io/docs/en/babel-preset-env#targetsnode) diff --git a/packages/babel-preset-gatsby-package/__tests__/__snapshots__/index.js.snap b/packages/babel-preset-gatsby-package/__tests__/__snapshots__/index.js.snap index f8ceb0bace50e..6282e92fbf220 100644 --- a/packages/babel-preset-gatsby-package/__tests__/__snapshots__/index.js.snap +++ b/packages/babel-preset-gatsby-package/__tests__/__snapshots__/index.js.snap @@ -172,7 +172,7 @@ Array [ "modules": "commonjs", "shippedProposals": true, "targets": Object { - "node": "10.0", + "node": "10.13", }, "useBuiltIns": "entry", }, diff --git a/packages/babel-preset-gatsby-package/index.js b/packages/babel-preset-gatsby-package/index.js index 95ec808ead7ab..c51b855d86c16 100644 --- a/packages/babel-preset-gatsby-package/index.js +++ b/packages/babel-preset-gatsby-package/index.js @@ -1,7 +1,7 @@ const r = require(`./resolver`) function preset(context, options = {}) { - const { browser = false, debug = false, nodeVersion = `10.0` } = options + const { browser = false, debug = false, nodeVersion = `10.13` } = options const { NODE_ENV, BABEL_ENV } = process.env const IS_PRODUCTION = (BABEL_ENV || NODE_ENV) === `production` diff --git a/packages/babel-preset-gatsby-package/package.json b/packages/babel-preset-gatsby-package/package.json index 7f3579ae4333c..e25a6d89875c9 100644 --- a/packages/babel-preset-gatsby-package/package.json +++ b/packages/babel-preset-gatsby-package/package.json @@ -23,6 +23,6 @@ "license": "MIT", "main": "index.js", "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/babel-preset-gatsby/package.json b/packages/babel-preset-gatsby/package.json index b19f49b48fa12..9140bbec76e48 100644 --- a/packages/babel-preset-gatsby/package.json +++ b/packages/babel-preset-gatsby/package.json @@ -39,6 +39,6 @@ "slash": "^3.0.0" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-cli/src/__tests__/index.js b/packages/gatsby-cli/src/__tests__/index.js index 1ced9900b8d9f..a3f8fc35fd5d2 100644 --- a/packages/gatsby-cli/src/__tests__/index.js +++ b/packages/gatsby-cli/src/__tests__/index.js @@ -41,7 +41,7 @@ const setup = version => { } describe(`error handling`, () => { - it(`panics on Node < 10.0.0`, () => { + it(`panics on Node < 10.13.0`, () => { const { reporter } = setup(`v8.0.0`) expect(reporter.panic).toHaveBeenCalledTimes(1) @@ -57,8 +57,8 @@ describe(`error handling`, () => { }) describe(`normal behavior`, () => { - it(`does not panic on Node >= 10.0.0`, () => { - ;[`10.0.0`, `11.0.0`, `12.0.0`].forEach(version => { + it(`does not panic on Node >= 10.13.0`, () => { + ;[`10.13.0`, `11.0.0`, `12.0.0`].forEach(version => { const { reporter } = setup(version) expect(reporter.panic).not.toHaveBeenCalled() diff --git a/packages/gatsby-cli/src/index.ts b/packages/gatsby-cli/src/index.ts index 716a6a833c0a0..a39cdc58ac76e 100755 --- a/packages/gatsby-cli/src/index.ts +++ b/packages/gatsby-cli/src/index.ts @@ -17,7 +17,7 @@ if (useJsonLogger) { // Check if update is available updateNotifier({ pkg }).notify({ isGlobal: true }) -const MIN_NODE_VERSION = `>=10.0.0` +const MIN_NODE_VERSION = `>=10.13.0` if (!semver.satisfies(process.version, MIN_NODE_VERSION)) { report.panic( diff --git a/packages/gatsby-codemods/package.json b/packages/gatsby-codemods/package.json index aa3b8a4de7259..da136fe01812b 100644 --- a/packages/gatsby-codemods/package.json +++ b/packages/gatsby-codemods/package.json @@ -34,6 +34,6 @@ "jscodeshift": "^0.6.4" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-cypress/package.json b/packages/gatsby-cypress/package.json index 342858954f98e..fd748e64d6dfc 100644 --- a/packages/gatsby-cypress/package.json +++ b/packages/gatsby-cypress/package.json @@ -40,6 +40,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-dev-cli/package.json b/packages/gatsby-dev-cli/package.json index 97194923c0d94..7577d7d800c44 100644 --- a/packages/gatsby-dev-cli/package.json +++ b/packages/gatsby-dev-cli/package.json @@ -48,6 +48,6 @@ "watch": "babel -w src --out-dir dist --ignore \"**/__tests__\"" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-graphiql-explorer/package.json b/packages/gatsby-graphiql-explorer/package.json index 7f2f9caa61413..2b95f914b8f2f 100644 --- a/packages/gatsby-graphiql-explorer/package.json +++ b/packages/gatsby-graphiql-explorer/package.json @@ -54,6 +54,6 @@ "whatwg-fetch": "^3.0.0" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-canonical-urls/package.json b/packages/gatsby-plugin-canonical-urls/package.json index 2442a93f04462..96edbf4c1585d 100644 --- a/packages/gatsby-plugin-canonical-urls/package.json +++ b/packages/gatsby-plugin-canonical-urls/package.json @@ -36,6 +36,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-catch-links/package.json b/packages/gatsby-plugin-catch-links/package.json index fcdb276677b7f..2eb755e922109 100644 --- a/packages/gatsby-plugin-catch-links/package.json +++ b/packages/gatsby-plugin-catch-links/package.json @@ -37,6 +37,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-coffeescript/package.json b/packages/gatsby-plugin-coffeescript/package.json index 3e38ad9cba3f1..42d9928662a9f 100644 --- a/packages/gatsby-plugin-coffeescript/package.json +++ b/packages/gatsby-plugin-coffeescript/package.json @@ -44,6 +44,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-create-client-paths/package.json b/packages/gatsby-plugin-create-client-paths/package.json index 18c3bc5fd61d2..e2398cbd1ba78 100644 --- a/packages/gatsby-plugin-create-client-paths/package.json +++ b/packages/gatsby-plugin-create-client-paths/package.json @@ -36,6 +36,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-cxs/package.json b/packages/gatsby-plugin-cxs/package.json index 56e7d880b9152..b952d108da767 100644 --- a/packages/gatsby-plugin-cxs/package.json +++ b/packages/gatsby-plugin-cxs/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-emotion/package.json b/packages/gatsby-plugin-emotion/package.json index 8f1badff5eedc..b1f7a03de1f55 100644 --- a/packages/gatsby-plugin-emotion/package.json +++ b/packages/gatsby-plugin-emotion/package.json @@ -40,6 +40,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-facebook-analytics/package.json b/packages/gatsby-plugin-facebook-analytics/package.json index 11a6102dfb576..5921f64b04e73 100644 --- a/packages/gatsby-plugin-facebook-analytics/package.json +++ b/packages/gatsby-plugin-facebook-analytics/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-feed/package.json b/packages/gatsby-plugin-feed/package.json index 0020e0fb48c24..a447b1fbedf7d 100644 --- a/packages/gatsby-plugin-feed/package.json +++ b/packages/gatsby-plugin-feed/package.json @@ -43,6 +43,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-flow/package.json b/packages/gatsby-plugin-flow/package.json index 757f887739c59..3d66f29409f06 100644 --- a/packages/gatsby-plugin-flow/package.json +++ b/packages/gatsby-plugin-flow/package.json @@ -34,6 +34,6 @@ "cross-env": "^5.2.1" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-fullstory/package.json b/packages/gatsby-plugin-fullstory/package.json index b01ec8fbb7713..1dc4557a98020 100644 --- a/packages/gatsby-plugin-fullstory/package.json +++ b/packages/gatsby-plugin-fullstory/package.json @@ -36,6 +36,6 @@ "gatsby": "^2.0.0" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-glamor/package.json b/packages/gatsby-plugin-glamor/package.json index 00d5b8183243d..8a890fc4e3b26 100644 --- a/packages/gatsby-plugin-glamor/package.json +++ b/packages/gatsby-plugin-glamor/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-google-analytics/package.json b/packages/gatsby-plugin-google-analytics/package.json index f08e563ff8d41..fc9b5de75e501 100644 --- a/packages/gatsby-plugin-google-analytics/package.json +++ b/packages/gatsby-plugin-google-analytics/package.json @@ -40,7 +40,7 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" }, "types": "./index.d.ts" } diff --git a/packages/gatsby-plugin-google-gtag/package.json b/packages/gatsby-plugin-google-gtag/package.json index aa66bb5395059..bdc88f57e3609 100644 --- a/packages/gatsby-plugin-google-gtag/package.json +++ b/packages/gatsby-plugin-google-gtag/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-google-tagmanager/package.json b/packages/gatsby-plugin-google-tagmanager/package.json index 3a8f2fe35448c..18480901806a3 100644 --- a/packages/gatsby-plugin-google-tagmanager/package.json +++ b/packages/gatsby-plugin-google-tagmanager/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-guess-js/package.json b/packages/gatsby-plugin-guess-js/package.json index 01c754206ea93..494cb63a87e9f 100644 --- a/packages/gatsby-plugin-guess-js/package.json +++ b/packages/gatsby-plugin-guess-js/package.json @@ -41,6 +41,6 @@ "gatsby": "^2.0.0" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-jss/package.json b/packages/gatsby-plugin-jss/package.json index 7a26ffebfc96e..646ed6590e0fe 100644 --- a/packages/gatsby-plugin-jss/package.json +++ b/packages/gatsby-plugin-jss/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-layout/package.json b/packages/gatsby-plugin-layout/package.json index cb36c1361cdd4..699268510fe1b 100644 --- a/packages/gatsby-plugin-layout/package.json +++ b/packages/gatsby-plugin-layout/package.json @@ -33,6 +33,6 @@ "cross-env": "^5.2.1" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-less/package.json b/packages/gatsby-plugin-less/package.json index 381651b4d1aaa..1d90446cbca5c 100644 --- a/packages/gatsby-plugin-less/package.json +++ b/packages/gatsby-plugin-less/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__,theme-test.js" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-lodash/package.json b/packages/gatsby-plugin-lodash/package.json index f7ed241f21bf7..615195bbed778 100644 --- a/packages/gatsby-plugin-lodash/package.json +++ b/packages/gatsby-plugin-lodash/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-manifest/package.json b/packages/gatsby-plugin-manifest/package.json index bbb35d7aeb5be..80108cbe84d63 100644 --- a/packages/gatsby-plugin-manifest/package.json +++ b/packages/gatsby-plugin-manifest/package.json @@ -44,6 +44,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-netlify-cms/package.json b/packages/gatsby-plugin-netlify-cms/package.json index 19efa821e126c..b8e726df0e9eb 100644 --- a/packages/gatsby-plugin-netlify-cms/package.json +++ b/packages/gatsby-plugin-netlify-cms/package.json @@ -52,6 +52,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-netlify/package.json b/packages/gatsby-plugin-netlify/package.json index 830a00979b947..8aea8c18eaacb 100644 --- a/packages/gatsby-plugin-netlify/package.json +++ b/packages/gatsby-plugin-netlify/package.json @@ -48,6 +48,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-no-sourcemaps/package.json b/packages/gatsby-plugin-no-sourcemaps/package.json index 95037f011276f..83c040b7af6d3 100644 --- a/packages/gatsby-plugin-no-sourcemaps/package.json +++ b/packages/gatsby-plugin-no-sourcemaps/package.json @@ -24,6 +24,6 @@ "gatsby": "^2.0.0" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-nprogress/package.json b/packages/gatsby-plugin-nprogress/package.json index 52440cefeab66..4adbcf240b0e6 100644 --- a/packages/gatsby-plugin-nprogress/package.json +++ b/packages/gatsby-plugin-nprogress/package.json @@ -37,6 +37,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-offline/package.json b/packages/gatsby-plugin-offline/package.json index bd841cbc67484..f0fcc9014a253 100644 --- a/packages/gatsby-plugin-offline/package.json +++ b/packages/gatsby-plugin-offline/package.json @@ -49,6 +49,6 @@ "watch": "npm run build:sw-append -- --watch & npm run build:src -- --watch" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-page-creator/package.json b/packages/gatsby-plugin-page-creator/package.json index 374e4a14336aa..22fc52c161fc7 100644 --- a/packages/gatsby-plugin-page-creator/package.json +++ b/packages/gatsby-plugin-page-creator/package.json @@ -42,6 +42,6 @@ "gatsby": "^2.0.0" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-postcss/package.json b/packages/gatsby-plugin-postcss/package.json index 7f44e91c090e4..1d0ae30dbe9ea 100644 --- a/packages/gatsby-plugin-postcss/package.json +++ b/packages/gatsby-plugin-postcss/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-preact/package.json b/packages/gatsby-plugin-preact/package.json index 5ec66af75ecd4..2ee6ff9638748 100644 --- a/packages/gatsby-plugin-preact/package.json +++ b/packages/gatsby-plugin-preact/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-react-css-modules/package.json b/packages/gatsby-plugin-react-css-modules/package.json index a2c861d03f777..73ef270011b9b 100644 --- a/packages/gatsby-plugin-react-css-modules/package.json +++ b/packages/gatsby-plugin-react-css-modules/package.json @@ -45,6 +45,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-react-helmet/package.json b/packages/gatsby-plugin-react-helmet/package.json index 679fc5bb3e33b..7873b849e18a6 100644 --- a/packages/gatsby-plugin-react-helmet/package.json +++ b/packages/gatsby-plugin-react-helmet/package.json @@ -49,6 +49,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__,**/__mocks__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-remove-trailing-slashes/package.json b/packages/gatsby-plugin-remove-trailing-slashes/package.json index 9fc030b144a37..94203b4d22a1a 100644 --- a/packages/gatsby-plugin-remove-trailing-slashes/package.json +++ b/packages/gatsby-plugin-remove-trailing-slashes/package.json @@ -36,6 +36,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-sass/package.json b/packages/gatsby-plugin-sass/package.json index 145b93a2f7045..14ee8be3ba076 100644 --- a/packages/gatsby-plugin-sass/package.json +++ b/packages/gatsby-plugin-sass/package.json @@ -41,6 +41,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-sharp/package.json b/packages/gatsby-plugin-sharp/package.json index 3c55e214b0ca3..3446c4a0c6ced 100644 --- a/packages/gatsby-plugin-sharp/package.json +++ b/packages/gatsby-plugin-sharp/package.json @@ -57,6 +57,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-sitemap/package.json b/packages/gatsby-plugin-sitemap/package.json index 0b0436db30b36..d92aa1f5cd7f5 100644 --- a/packages/gatsby-plugin-sitemap/package.json +++ b/packages/gatsby-plugin-sitemap/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-styled-components/package.json b/packages/gatsby-plugin-styled-components/package.json index f65e4b44f5d6b..937d491c1e412 100644 --- a/packages/gatsby-plugin-styled-components/package.json +++ b/packages/gatsby-plugin-styled-components/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-styled-jsx/package.json b/packages/gatsby-plugin-styled-jsx/package.json index a16098ddc2715..0df69ebfab8b7 100644 --- a/packages/gatsby-plugin-styled-jsx/package.json +++ b/packages/gatsby-plugin-styled-jsx/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-styletron/package.json b/packages/gatsby-plugin-styletron/package.json index 9ac7b9eda41ec..90948b1f6b8ae 100644 --- a/packages/gatsby-plugin-styletron/package.json +++ b/packages/gatsby-plugin-styletron/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-stylus/package.json b/packages/gatsby-plugin-stylus/package.json index 0ab8ff6439269..9247349323b14 100644 --- a/packages/gatsby-plugin-stylus/package.json +++ b/packages/gatsby-plugin-stylus/package.json @@ -40,6 +40,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-subfont/package.json b/packages/gatsby-plugin-subfont/package.json index 7e01fb12a2a7c..4bae64c8faf41 100644 --- a/packages/gatsby-plugin-subfont/package.json +++ b/packages/gatsby-plugin-subfont/package.json @@ -35,6 +35,6 @@ "cross-env": "^5.2.1" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-twitter/package.json b/packages/gatsby-plugin-twitter/package.json index 6bc0e3d90138f..5ec84d74cbc12 100644 --- a/packages/gatsby-plugin-twitter/package.json +++ b/packages/gatsby-plugin-twitter/package.json @@ -36,6 +36,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-typescript/package.json b/packages/gatsby-plugin-typescript/package.json index 062f4a5089bfb..a9ff2ad34e37a 100644 --- a/packages/gatsby-plugin-typescript/package.json +++ b/packages/gatsby-plugin-typescript/package.json @@ -45,6 +45,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-plugin-typography/package.json b/packages/gatsby-plugin-typography/package.json index cac59c1dccedf..f15c3ac1705f2 100644 --- a/packages/gatsby-plugin-typography/package.json +++ b/packages/gatsby-plugin-typography/package.json @@ -46,6 +46,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-react-router-scroll/package.json b/packages/gatsby-react-router-scroll/package.json index 88c0e50400289..5aca939c56ab0 100644 --- a/packages/gatsby-react-router-scroll/package.json +++ b/packages/gatsby-react-router-scroll/package.json @@ -41,6 +41,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-remark-autolink-headers/package.json b/packages/gatsby-remark-autolink-headers/package.json index b2fd3c5fbb391..fab6e9039d720 100644 --- a/packages/gatsby-remark-autolink-headers/package.json +++ b/packages/gatsby-remark-autolink-headers/package.json @@ -41,6 +41,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-remark-code-repls/package.json b/packages/gatsby-remark-code-repls/package.json index 4809b8196e890..8afb47d812de0 100644 --- a/packages/gatsby-remark-code-repls/package.json +++ b/packages/gatsby-remark-code-repls/package.json @@ -46,6 +46,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-remark-copy-linked-files/package.json b/packages/gatsby-remark-copy-linked-files/package.json index 01a527e1aa3d2..d51341b6a8532 100644 --- a/packages/gatsby-remark-copy-linked-files/package.json +++ b/packages/gatsby-remark-copy-linked-files/package.json @@ -48,6 +48,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-remark-custom-blocks/package.json b/packages/gatsby-remark-custom-blocks/package.json index f9ef9ab0cfd79..5a0558a7e9901 100644 --- a/packages/gatsby-remark-custom-blocks/package.json +++ b/packages/gatsby-remark-custom-blocks/package.json @@ -46,6 +46,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-remark-embed-snippet/package.json b/packages/gatsby-remark-embed-snippet/package.json index faea3671caeb0..009c0538157d2 100644 --- a/packages/gatsby-remark-embed-snippet/package.json +++ b/packages/gatsby-remark-embed-snippet/package.json @@ -42,6 +42,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-remark-graphviz/package.json b/packages/gatsby-remark-graphviz/package.json index c0bb14b938633..2c80c729120bf 100644 --- a/packages/gatsby-remark-graphviz/package.json +++ b/packages/gatsby-remark-graphviz/package.json @@ -50,6 +50,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-remark-images-contentful/package.json b/packages/gatsby-remark-images-contentful/package.json index c7ffae3f90ee4..69864903dcbdf 100644 --- a/packages/gatsby-remark-images-contentful/package.json +++ b/packages/gatsby-remark-images-contentful/package.json @@ -43,6 +43,6 @@ "gatsby": "^2.0.15" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-remark-images/package.json b/packages/gatsby-remark-images/package.json index 0be45a83c646f..5f512e499a3b0 100644 --- a/packages/gatsby-remark-images/package.json +++ b/packages/gatsby-remark-images/package.json @@ -53,6 +53,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-remark-katex/package.json b/packages/gatsby-remark-katex/package.json index 2c320aa36ecf7..d736b388720c7 100644 --- a/packages/gatsby-remark-katex/package.json +++ b/packages/gatsby-remark-katex/package.json @@ -42,6 +42,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-remark-prismjs/package.json b/packages/gatsby-remark-prismjs/package.json index 32e22034780ae..d41c244e4d86b 100644 --- a/packages/gatsby-remark-prismjs/package.json +++ b/packages/gatsby-remark-prismjs/package.json @@ -43,6 +43,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-remark-responsive-iframe/package.json b/packages/gatsby-remark-responsive-iframe/package.json index 79843a9c429bd..5c831cc1ebb6a 100644 --- a/packages/gatsby-remark-responsive-iframe/package.json +++ b/packages/gatsby-remark-responsive-iframe/package.json @@ -45,6 +45,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-remark-smartypants/package.json b/packages/gatsby-remark-smartypants/package.json index dd136a3b727ae..52ca96d4eba10 100644 --- a/packages/gatsby-remark-smartypants/package.json +++ b/packages/gatsby-remark-smartypants/package.json @@ -40,6 +40,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-source-contentful/package.json b/packages/gatsby-source-contentful/package.json index 621dd9e375584..205ac201682a9 100644 --- a/packages/gatsby-source-contentful/package.json +++ b/packages/gatsby-source-contentful/package.json @@ -50,6 +50,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-source-drupal/package.json b/packages/gatsby-source-drupal/package.json index 031ab13fc5b5b..1a6537ac586d9 100644 --- a/packages/gatsby-source-drupal/package.json +++ b/packages/gatsby-source-drupal/package.json @@ -42,6 +42,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-source-faker/package.json b/packages/gatsby-source-faker/package.json index 970089291d1e3..5518e2fa7fdd2 100644 --- a/packages/gatsby-source-faker/package.json +++ b/packages/gatsby-source-faker/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-source-filesystem/package.json b/packages/gatsby-source-filesystem/package.json index 619bb5d201ee8..50bd9e33abec1 100644 --- a/packages/gatsby-source-filesystem/package.json +++ b/packages/gatsby-source-filesystem/package.json @@ -50,6 +50,6 @@ }, "types": "index.d.ts", "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-source-graphql/package.json b/packages/gatsby-source-graphql/package.json index 07608b4f8e7fa..47b80f2cc8738 100644 --- a/packages/gatsby-source-graphql/package.json +++ b/packages/gatsby-source-graphql/package.json @@ -41,6 +41,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-source-hacker-news/package.json b/packages/gatsby-source-hacker-news/package.json index fa1b10769535d..89423893fb7c7 100644 --- a/packages/gatsby-source-hacker-news/package.json +++ b/packages/gatsby-source-hacker-news/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-source-lever/package.json b/packages/gatsby-source-lever/package.json index fb861e3e24dac..d9c54bd1d90b9 100644 --- a/packages/gatsby-source-lever/package.json +++ b/packages/gatsby-source-lever/package.json @@ -44,6 +44,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-source-medium/package.json b/packages/gatsby-source-medium/package.json index c3aba473229f9..35a474eec5a7d 100644 --- a/packages/gatsby-source-medium/package.json +++ b/packages/gatsby-source-medium/package.json @@ -37,6 +37,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-source-mongodb/package.json b/packages/gatsby-source-mongodb/package.json index 4dac7291d8bc7..096a4424e90e6 100644 --- a/packages/gatsby-source-mongodb/package.json +++ b/packages/gatsby-source-mongodb/package.json @@ -43,6 +43,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-source-npm-package-search/package.json b/packages/gatsby-source-npm-package-search/package.json index ab6a25764a93a..7ecd8454adf54 100644 --- a/packages/gatsby-source-npm-package-search/package.json +++ b/packages/gatsby-source-npm-package-search/package.json @@ -35,6 +35,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-source-shopify/package.json b/packages/gatsby-source-shopify/package.json index bd9062c9362a2..6c487a03a5fd6 100644 --- a/packages/gatsby-source-shopify/package.json +++ b/packages/gatsby-source-shopify/package.json @@ -43,7 +43,7 @@ "prettyjson": "^1.2.1" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" }, "main": "index.js" } diff --git a/packages/gatsby-source-wikipedia/package.json b/packages/gatsby-source-wikipedia/package.json index 000c634d53eeb..ecded2ef774a3 100644 --- a/packages/gatsby-source-wikipedia/package.json +++ b/packages/gatsby-source-wikipedia/package.json @@ -39,6 +39,6 @@ "cross-env": "^5.2.1" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-source-wordpress/package.json b/packages/gatsby-source-wordpress/package.json index 54bf6868c7b10..357475eeb2a2c 100644 --- a/packages/gatsby-source-wordpress/package.json +++ b/packages/gatsby-source-wordpress/package.json @@ -48,6 +48,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-telemetry/package.json b/packages/gatsby-telemetry/package.json index 0563416bf9654..f527d5ade8f36 100644 --- a/packages/gatsby-telemetry/package.json +++ b/packages/gatsby-telemetry/package.json @@ -61,6 +61,6 @@ "boolean-negation": false }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-transformer-asciidoc/package.json b/packages/gatsby-transformer-asciidoc/package.json index 392fc174a042c..5f8934fa319c2 100644 --- a/packages/gatsby-transformer-asciidoc/package.json +++ b/packages/gatsby-transformer-asciidoc/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-transformer-csv/package.json b/packages/gatsby-transformer-csv/package.json index 688ef16fd5fde..fd3f1b4909a2f 100644 --- a/packages/gatsby-transformer-csv/package.json +++ b/packages/gatsby-transformer-csv/package.json @@ -40,6 +40,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-transformer-documentationjs/package.json b/packages/gatsby-transformer-documentationjs/package.json index 69f1426e7fda6..e89049600cc4b 100644 --- a/packages/gatsby-transformer-documentationjs/package.json +++ b/packages/gatsby-transformer-documentationjs/package.json @@ -40,6 +40,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-transformer-excel/package.json b/packages/gatsby-transformer-excel/package.json index 31e033d44932d..4f55da584d9fe 100644 --- a/packages/gatsby-transformer-excel/package.json +++ b/packages/gatsby-transformer-excel/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-transformer-hjson/package.json b/packages/gatsby-transformer-hjson/package.json index 451c302045ec0..90d5f04101a20 100644 --- a/packages/gatsby-transformer-hjson/package.json +++ b/packages/gatsby-transformer-hjson/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-transformer-javascript-frontmatter/package.json b/packages/gatsby-transformer-javascript-frontmatter/package.json index a50319bf2adc2..01b6430e9c36d 100644 --- a/packages/gatsby-transformer-javascript-frontmatter/package.json +++ b/packages/gatsby-transformer-javascript-frontmatter/package.json @@ -37,6 +37,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-transformer-javascript-static-exports/package.json b/packages/gatsby-transformer-javascript-static-exports/package.json index 0299be6a08e8b..23d780eff802e 100644 --- a/packages/gatsby-transformer-javascript-static-exports/package.json +++ b/packages/gatsby-transformer-javascript-static-exports/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-transformer-json/package.json b/packages/gatsby-transformer-json/package.json index 406de4d85399b..96018d1e851cb 100644 --- a/packages/gatsby-transformer-json/package.json +++ b/packages/gatsby-transformer-json/package.json @@ -37,6 +37,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-transformer-pdf/package.json b/packages/gatsby-transformer-pdf/package.json index bc7c8f83253dc..39658e4ad62f0 100644 --- a/packages/gatsby-transformer-pdf/package.json +++ b/packages/gatsby-transformer-pdf/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-transformer-react-docgen/package.json b/packages/gatsby-transformer-react-docgen/package.json index f3991a99b0fd8..777ca45a4f913 100644 --- a/packages/gatsby-transformer-react-docgen/package.json +++ b/packages/gatsby-transformer-react-docgen/package.json @@ -44,6 +44,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-transformer-remark/package.json b/packages/gatsby-transformer-remark/package.json index 41a8df7f73038..349fb437b4f17 100644 --- a/packages/gatsby-transformer-remark/package.json +++ b/packages/gatsby-transformer-remark/package.json @@ -57,6 +57,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-transformer-screenshot/package.json b/packages/gatsby-transformer-screenshot/package.json index 93c8af984e90b..eef226d8a91b2 100644 --- a/packages/gatsby-transformer-screenshot/package.json +++ b/packages/gatsby-transformer-screenshot/package.json @@ -40,6 +40,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-transformer-sharp/package.json b/packages/gatsby-transformer-sharp/package.json index 72516f65e7819..5725650df8efd 100644 --- a/packages/gatsby-transformer-sharp/package.json +++ b/packages/gatsby-transformer-sharp/package.json @@ -44,6 +44,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-transformer-sqip/package.json b/packages/gatsby-transformer-sqip/package.json index 3fe999eed2fa5..85a54625c2674 100644 --- a/packages/gatsby-transformer-sqip/package.json +++ b/packages/gatsby-transformer-sqip/package.json @@ -48,6 +48,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-transformer-toml/package.json b/packages/gatsby-transformer-toml/package.json index 27cbe6fc5d05b..87ae81ab59343 100644 --- a/packages/gatsby-transformer-toml/package.json +++ b/packages/gatsby-transformer-toml/package.json @@ -38,6 +38,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-transformer-xml/package.json b/packages/gatsby-transformer-xml/package.json index 37cd26ebe6ad4..15ef73bb2d8c3 100644 --- a/packages/gatsby-transformer-xml/package.json +++ b/packages/gatsby-transformer-xml/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby-transformer-yaml/package.json b/packages/gatsby-transformer-yaml/package.json index 8b2669bfbf249..84769d88e0386 100644 --- a/packages/gatsby-transformer-yaml/package.json +++ b/packages/gatsby-transformer-yaml/package.json @@ -39,6 +39,6 @@ "watch": "babel -w src --out-dir . --ignore **/__tests__" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index a834aa80a59e8..ccff9611204b7 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -154,7 +154,7 @@ "xhr-mock": "^2.5.1" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" }, "files": [ "apis.json", diff --git a/packages/graphql-skip-limit/package.json b/packages/graphql-skip-limit/package.json index ad46cd89c2771..2d81708289ebb 100644 --- a/packages/graphql-skip-limit/package.json +++ b/packages/graphql-skip-limit/package.json @@ -37,6 +37,6 @@ "watch": "babel -w src --out-dir dist" }, "engines": { - "node": ">=10.0.0" + "node": ">=10.13.0" } } From 951a6b9a45806365777af15a1f427ac1780d90ea Mon Sep 17 00:00:00 2001 From: shisama Date: Tue, 7 Jan 2020 02:15:17 +0900 Subject: [PATCH 3/5] fix: revert yarn.lock --- yarn.lock | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/yarn.lock b/yarn.lock index 443a369558b1e..afb3e060f845f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4722,7 +4722,7 @@ apollo-link@1.2.13, apollo-link@^1.2.13: tslib "^1.9.3" zen-observable-ts "^0.8.20" -apollo-utilities@^1.3.0: +apollo-utilities@^1.3.0, apollo-utilities@^1.3.2: version "1.3.2" resolved "https://registry.yarnpkg.com/apollo-utilities/-/apollo-utilities-1.3.2.tgz#8cbdcf8b012f664cd6cb5767f6130f5aed9115c9" integrity sha512-JWNHj8XChz7S4OZghV6yc9FNnzEXj285QYp/nLNh943iObycI5GTDO3NGR9Dth12LRrSFMeDOConPfPln+WGfg== @@ -4732,16 +4732,6 @@ apollo-utilities@^1.3.0: ts-invariant "^0.4.0" tslib "^1.9.3" -apollo-utilities@^1.3.3: - version "1.3.3" - resolved "https://registry.yarnpkg.com/apollo-utilities/-/apollo-utilities-1.3.3.tgz#f1854715a7be80cd810bc3ac95df085815c0787c" - integrity sha512-F14aX2R/fKNYMvhuP2t9GD9fggID7zp5I96MF5QeKYWDWTrkRdHRp4+SVfXUVN+cXOaB/IebfvRtzPf25CM0zw== - dependencies: - "@wry/equality" "^0.1.2" - fast-json-stable-stringify "^2.0.0" - ts-invariant "^0.4.0" - tslib "^1.10.0" - append-buffer@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/append-buffer/-/append-buffer-1.0.2.tgz#d8220cf466081525efea50614f3de6514dfa58f1" @@ -11203,13 +11193,13 @@ graphql-request@^1.5.0, graphql-request@^1.8.2: dependencies: cross-fetch "2.2.2" -graphql-tools-fork@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/graphql-tools-fork/-/graphql-tools-fork-8.0.1.tgz#57b5f6c36a67485311c3b567db31775318afb660" - integrity sha512-xrR8Kb7y8uoemXkuJzR8pcSr+D2f9mrsIfE4wHWZP81qlBfzbG6dnL/chzy9LR8ErJHdl7/Yrb9rM6KMErawhQ== +graphql-tools-fork@^7.2.3: + version "7.2.3" + resolved "https://registry.yarnpkg.com/graphql-tools-fork/-/graphql-tools-fork-7.2.3.tgz#a0457dc0bc0116576c8ea49d6b30b7a3d9ae9782" + integrity sha512-qZTp9TJj5W/Ffbp3y7sg0hIsr0sdGLZ9DYWO8u2c8m44cpvIo5LSzuERMf+Pw9QL/jBg5UKOgx2Y6stHd4Kt9g== dependencies: apollo-link "^1.2.13" - apollo-utilities "^1.3.3" + apollo-utilities "^1.3.2" deprecated-decorator "^0.1.6" iterall "^1.2.2" uuid "^3.3.3" From 6f33f9f6d8e4405dd148b4bdc6c0757c4f16c846 Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Fri, 20 Mar 2020 13:41:21 +0100 Subject: [PATCH 4/5] we don't need conditional testInNode8OrHigher jest utility --- .../gatsby-remark-copy-linked-files/package.json | 3 +-- .../src/__tests__/index.js | 12 +----------- .../gatsby-remark-responsive-iframe/package.json | 1 - .../src/__tests__/index.js | 12 +----------- 4 files changed, 3 insertions(+), 25 deletions(-) diff --git a/packages/gatsby-remark-copy-linked-files/package.json b/packages/gatsby-remark-copy-linked-files/package.json index 8be1a99f0d6f2..278e79a0c98f1 100644 --- a/packages/gatsby-remark-copy-linked-files/package.json +++ b/packages/gatsby-remark-copy-linked-files/package.json @@ -22,8 +22,7 @@ "babel-preset-gatsby-package": "^0.3.0", "cross-env": "^5.2.1", "remark": "^10.0.1", - "remark-mdx": "^1.5.7", - "semver": "^6.3.0" + "remark-mdx": "^1.5.7" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-copy-linked-files#readme", "keywords": [ diff --git a/packages/gatsby-remark-copy-linked-files/src/__tests__/index.js b/packages/gatsby-remark-copy-linked-files/src/__tests__/index.js index 30c9a9d22e94c..328c8cfc1462b 100644 --- a/packages/gatsby-remark-copy-linked-files/src/__tests__/index.js +++ b/packages/gatsby-remark-copy-linked-files/src/__tests__/index.js @@ -8,7 +8,6 @@ jest.mock(`fs-extra`, () => { const Remark = require(`remark`) const fsExtra = require(`fs-extra`) const path = require(`path`) -const semver = require(`semver`) const plugin = require(`../`) @@ -20,15 +19,6 @@ const remark = new Remark().data(`settings`, { const imageURL = markdownAST => markdownAST.children[0].children[0].url -const testInNode8OrHigher = (title, ...args) => { - const isNode8OrHigher = semver.satisfies(process.version, `>=8`) - if (isNode8OrHigher) { - it(title, ...args) - } else { - it.skip(`skipped on Node 7 or lower: ${title}`, ...args) - } -} - describe(`gatsby-remark-copy-linked-files`, () => { afterEach(() => { fsExtra.copy.mockReset() @@ -132,7 +122,7 @@ describe(`gatsby-remark-copy-linked-files`, () => { expect(fsExtra.copy).toHaveBeenCalled() }) - testInNode8OrHigher(`can copy JSX images`, async () => { + it(`can copy JSX images`, async () => { const mdx = require(`remark-mdx`) const path = `images/sample-image.gif` diff --git a/packages/gatsby-remark-responsive-iframe/package.json b/packages/gatsby-remark-responsive-iframe/package.json index 3245ca1a23482..a18736c3ee6ad 100644 --- a/packages/gatsby-remark-responsive-iframe/package.json +++ b/packages/gatsby-remark-responsive-iframe/package.json @@ -20,7 +20,6 @@ "cross-env": "^5.2.1", "remark": "^10.0.1", "remark-mdx": "^1.5.7", - "semver": "^6.3.0", "unist-util-find": "^1.0.1" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-responsive-iframe#readme", diff --git a/packages/gatsby-remark-responsive-iframe/src/__tests__/index.js b/packages/gatsby-remark-responsive-iframe/src/__tests__/index.js index 56fd37fdfd715..7de121916025c 100644 --- a/packages/gatsby-remark-responsive-iframe/src/__tests__/index.js +++ b/packages/gatsby-remark-responsive-iframe/src/__tests__/index.js @@ -1,19 +1,9 @@ const Remark = require(`remark`) const find = require(`unist-util-find`) const _ = require(`lodash`) -const semver = require(`semver`) const plugin = require(`../`) -const testInNode10OrHigher = (title, ...args) => { - const isNode10OrHigher = semver.satisfies(process.version, `>=10`) - if (isNode10OrHigher) { - it(title, ...args) - } else { - it.skip(`skipped on Node 9 or lower: ${title}`, ...args) - } -} - const remark = new Remark().data(`settings`, { commonmark: true, footnotes: true, @@ -83,7 +73,7 @@ describe(`gatsby-remark-responsive-iframe`, () => { }) }) - testInNode10OrHigher(`can copy JSX images`, async () => { + it(`can copy JSX images`, async () => { const mdx = require(`remark-mdx`) const markdownAST = remark().use(mdx).parse(` From 2f8ef7468969d92d70d150fed5fa34d98d688071 Mon Sep 17 00:00:00 2001 From: Michal Piechowiak Date: Fri, 20 Mar 2020 13:43:03 +0100 Subject: [PATCH 5/5] no unneeded changes --- packages/gatsby-cli/src/__tests__/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-cli/src/__tests__/index.js b/packages/gatsby-cli/src/__tests__/index.js index 4a8f2fbc0f1af..47072d2b081f9 100644 --- a/packages/gatsby-cli/src/__tests__/index.js +++ b/packages/gatsby-cli/src/__tests__/index.js @@ -52,7 +52,7 @@ describe(`error handling`, () => { }) it(`shows error with link to more info`, () => { - const { reporter } = setup(`v8.0.0`) + const { reporter } = setup(`v6.0.0`) expect(reporter.panic).toHaveBeenCalledWith( expect.stringContaining(`https://gatsby.dev/upgrading-node-js`)