diff --git a/docs/docs/how-to/adding-common-features/adding-an-rss-feed.md b/docs/docs/how-to/adding-common-features/adding-an-rss-feed.md index 33c8039eb5b67..4337ff99be7aa 100644 --- a/docs/docs/how-to/adding-common-features/adding-an-rss-feed.md +++ b/docs/docs/how-to/adding-common-features/adding-an-rss-feed.md @@ -135,7 +135,24 @@ The `output` field in your feed object allows you to customize the filename for By default, feed is referenced in every page. You can customize this behavior by providing an extra field `match` of type `string`. This string will be used to build a `RegExp`, and this regular expression will be used to test the `pathname` of current page. Only pages that satisfied the regular expression will have feed reference included. -To see your feed in action, run `gatsby build && gatsby serve` and you can then inspect the content and URLs in your RSS file at `http://localhost:9000/rss.xml`. +If your site has none-English link (or none-ASCII link), you may need to encode URI in advance. You can use the build-in function `encodeURI(string)` for your link: + +```js:title=gatsby-config.js +serialize: ({ query: { site, allMarkdownRemark } }) => { + return allMarkdownRemark.edges.map(edge => { + return Object.assign({}, edge.node.frontmatter, { + description: edge.node.excerpt, + date: edge.node.frontmatter.date, + // highlight-next-line + url: encodeURI(site.siteMetadata.siteUrl + edge.node.fields.slug), + guid: site.siteMetadata.siteUrl + edge.node.fields.slug, + custom_elements: [{ "content:encoded": edge.node.html }], + }) + }) +}, +``` + +To see your feed in action, run `gatsby build && gatsby serve` and you can then inspect the content and URLs in your RSS file at `http://localhost:9000/rss.xml`. You can checkout the validation of your RSS feed on [W3C Feed Validation Service](https://validator.w3.org/feed/ "W3C Feed Validation Service"). > NOTE: if your blog has custom permalinks, such as links with or without dates in them, you may need to [customize `gatsby-node.js`](https://github.com/gatsbyjs/gatsby-starter-blog/blob/master/gatsby-node.js#L57) to output the correct URLs in your RSS feed. [Get in touch with us](/contributing/how-to-contribute/) if you need any help! diff --git a/docs/docs/how-to/adding-common-features/adding-search.md b/docs/docs/how-to/adding-common-features/adding-search.md index 92a45253140fc..65d76b630814a 100644 --- a/docs/docs/how-to/adding-common-features/adding-search.md +++ b/docs/docs/how-to/adding-common-features/adding-search.md @@ -9,7 +9,7 @@ There are three required components for adding search to your Gatsby website: th | Search Component | Description | | ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | **Search index** | The search index is a copy of your data stored in a search-friendly format. An index is for optimizing speed and performance when executing a search query. Without an index, every search would need to scan every page in your site—which quickly becomes inefficient. | -| **Search engine** | The search engine indexes your content, takes a search query, runs it through theindex, and returns any matching documents. Search engines can be hosted services (like Algolia) or open-source that you can self-host (like Elastic) | +| **Search engine** | The search engine indexes your content, takes a search query, runs it through the index, and returns any matching documents. Search engines can be hosted services (like Algolia) or open-source that you can self-host (like Elastic) | | **Search UI** | A UI component on your site that allows users to write search queries and view the results of each query. Some search providers provide out of the box React components that you can drop into Gatsby sites. | | ## Adding search to your site diff --git a/docs/docs/how-to/performance/improving-build-performance.md b/docs/docs/how-to/performance/improving-build-performance.md index c4bd66471ad4a..aa9b180cf0a24 100644 --- a/docs/docs/how-to/performance/improving-build-performance.md +++ b/docs/docs/how-to/performance/improving-build-performance.md @@ -23,7 +23,7 @@ The Gatsby team is constantly updating plugins to use less memory and run faster #### Audit plugin configuration and queries and remove unused ones -As your site's codebaes evolves, you might acccumulate plugins that are not longer needed. Try looking through your `gatsby-config.js` to make sure you're using all the plugins you have installed. In addition, you may want to look through queries to make sure you're using them (and the fields in each query). +As your site's codebase evolves, you might accumulate plugins that are not longer needed. Try looking through your `gatsby-config.js` to make sure you're using all the plugins you have installed. In addition, you may want to look through queries to make sure you're using them (and the fields in each query). #### Make sure you're not clearing the cache between builds @@ -31,7 +31,7 @@ In the past, Gatsby's cache was less reliable than it is now. As a result, some #### Run builds on a machine with more and higher-powered CPUs -The better the underlying hardware / VM / container you have, the faster your builds will go. As an anecdote, a Gatsby core team developer ran the same build on two machines they owned -- a five-year-old low-powered Windows machine and a new Macbook Pro -- and found that the latter gave a 30x build speed improvement. +The better the underlying hardware / VM / container you have, the faster your builds will go. As an anecdote, a Gatsby core team developer ran the same build on two machines they owned -- a five-year-old low-powered Windows machine and a new MacBook Pro -- and found that the latter gave a 30x build speed improvement. #### Use Gatsby Cloud diff --git a/docs/docs/how-to/routing/client-only-routes-and-user-authentication.md b/docs/docs/how-to/routing/client-only-routes-and-user-authentication.md index a4400e9f3c8b9..d86ed9b42ad02 100644 --- a/docs/docs/how-to/routing/client-only-routes-and-user-authentication.md +++ b/docs/docs/how-to/routing/client-only-routes-and-user-authentication.md @@ -119,7 +119,7 @@ Popular hosting services like Gatsby Cloud, Netlify, and Vercel have plugins tha - [Netlify](https://www.gatsbyjs.com/plugins/gatsby-plugin-netlify/?=netlif) - Vercel automatically adds its Gatsby plugin. -### Self-hosting with Ngninx and Apache +### Self-hosting with NGINX and Apache Your server configuration should handle `GET` requests to `/app/*` e.g. `/app/why-gatsby-is-awesome` with `/app/index.html` and let the client handle the rendering of the route with the matching path. It is important to note that the response code should be a **200** (an OK) and not a **301** (a redirect). This can be done with NGINX using [`try_files`](https://docs.nginx.com/nginx/admin-guide/web-server/serving-static-content/#trying-several-options), or an [equivalent directive](https://serverfault.com/questions/290784/what-is-apaches-equivalent-of-nginxs-try-files) if using Apache. diff --git a/docs/docs/how-to/testing/unit-testing.md b/docs/docs/how-to/testing/unit-testing.md index 07e37104d43f4..52cc8400388c7 100644 --- a/docs/docs/how-to/testing/unit-testing.md +++ b/docs/docs/how-to/testing/unit-testing.md @@ -65,9 +65,12 @@ const babelOptions = { presets: ["babel-preset-gatsby"], } -module.exports = require("babel-jest").createTransformer(babelOptions) +module.exports = require("babel-jest").default.createTransformer(babelOptions) ``` +> **Note:** If you're using Jest 26.6.3 or below, the last line has to be changed to +> `module.exports = require("babel-jest").createTransformer(babelOptions)` + - The next option is `moduleNameMapper`. This section works a bit like webpack rules and tells Jest how to handle imports. You are mainly concerned here with mocking static file imports, which Jest can't diff --git a/docs/docs/reference/release-notes/v2.26/index.md b/docs/docs/reference/release-notes/v2.26/index.md index 14ffbfbd2a52d..73891a5028dc2 100644 --- a/docs/docs/reference/release-notes/v2.26/index.md +++ b/docs/docs/reference/release-notes/v2.26/index.md @@ -1,6 +1,7 @@ --- date: "2020-11-12" version: "2.26.0" +title: "v2.26 Release Notes" --- # [v2.26](https://github.com/gatsbyjs/gatsby/compare/gatsby@2.26.0-next.0...gatsby@2.26.0) (November 2020) diff --git a/docs/docs/reference/release-notes/v2.27/index.md b/docs/docs/reference/release-notes/v2.27/index.md index 48b7d7a1bd5c8..0788cd3209c4d 100644 --- a/docs/docs/reference/release-notes/v2.27/index.md +++ b/docs/docs/reference/release-notes/v2.27/index.md @@ -1,6 +1,7 @@ --- date: "2020-11-19" version: "2.27.0" +title: "v2.27 Release Notes" --- # [v2.27](https://github.com/gatsbyjs/gatsby/compare/gatsby@2.27.0-next.0...gatsby@2.27.0) (November 2020 #2) diff --git a/docs/docs/reference/release-notes/v2.28/index.md b/docs/docs/reference/release-notes/v2.28/index.md index dd00bc1b194f1..cb1017c16d2fc 100644 --- a/docs/docs/reference/release-notes/v2.28/index.md +++ b/docs/docs/reference/release-notes/v2.28/index.md @@ -1,6 +1,7 @@ --- date: "2020-12-01" version: "2.28.0" +title: "v2.28 Release Notes" --- # [v2.28](https://github.com/gatsbyjs/gatsby/compare/gatsby@2.28.0-next.0...gatsby@2.28.0) (December 2020 #1) diff --git a/docs/docs/reference/release-notes/v2.29/index.md b/docs/docs/reference/release-notes/v2.29/index.md index 1b55c903e73c4..db1fab9918f18 100644 --- a/docs/docs/reference/release-notes/v2.29/index.md +++ b/docs/docs/reference/release-notes/v2.29/index.md @@ -1,6 +1,7 @@ --- date: "2020-12-15" version: "2.29.0" +title: "v2.29 Release Notes" --- # [v2.29](https://github.com/gatsbyjs/gatsby/compare/gatsby@2.29.0-next.0...gatsby@2.29.0) (December 2020 #2) diff --git a/docs/docs/reference/release-notes/v2.30/index.md b/docs/docs/reference/release-notes/v2.30/index.md index 1cba55920f226..9d9b6726b0c69 100644 --- a/docs/docs/reference/release-notes/v2.30/index.md +++ b/docs/docs/reference/release-notes/v2.30/index.md @@ -1,6 +1,7 @@ --- date: "2021-01-05" version: "2.30.0" +title: "v2.30 Release Notes" --- # [v2.30](https://github.com/gatsbyjs/gatsby/compare/gatsby@2.30.0-next.0...gatsby@2.30.0) (January 2021 #1) diff --git a/docs/docs/reference/release-notes/v2.31/index.md b/docs/docs/reference/release-notes/v2.31/index.md index cc3e117e94d7f..ef9a5d25c355c 100644 --- a/docs/docs/reference/release-notes/v2.31/index.md +++ b/docs/docs/reference/release-notes/v2.31/index.md @@ -1,6 +1,7 @@ --- date: "2021-01-19" version: "2.31.0" +title: "v2.31 Release Notes" --- # [v2.31](https://github.com/gatsbyjs/gatsby/compare/gatsby@2.31.0-next.0...gatsby@2.31.0) (January 2021 #2) diff --git a/docs/docs/reference/release-notes/v2.32/index.md b/docs/docs/reference/release-notes/v2.32/index.md index 80245f3e05d70..06ce55ac3550a 100644 --- a/docs/docs/reference/release-notes/v2.32/index.md +++ b/docs/docs/reference/release-notes/v2.32/index.md @@ -1,6 +1,7 @@ --- date: "2021-02-02" version: "2.32.0" +title: "v2.32 Release Notes" --- # [v2.32](https://github.com/gatsbyjs/gatsby/compare/gatsby@2.32.0-next.0...gatsby@2.32.0) (February 2021 #1) diff --git a/docs/docs/reference/release-notes/v3.0/index.md b/docs/docs/reference/release-notes/v3.0/index.md index aa8f3b64dea9c..69cd8ae5bda25 100644 --- a/docs/docs/reference/release-notes/v3.0/index.md +++ b/docs/docs/reference/release-notes/v3.0/index.md @@ -1,6 +1,7 @@ --- date: "2021-03-02" version: "3.0.0" +title: "v3 Release Notes" --- # v3.0 (March 2021 #1) diff --git a/docs/docs/reference/release-notes/v3.1/index.md b/docs/docs/reference/release-notes/v3.1/index.md index 8b0db8440fe6d..010b5088c509f 100644 --- a/docs/docs/reference/release-notes/v3.1/index.md +++ b/docs/docs/reference/release-notes/v3.1/index.md @@ -1,6 +1,7 @@ --- date: "2021-03-16" version: "3.1.0" +title: "v3.1 Release Notes" --- # [v3.1](https://github.com/gatsbyjs/gatsby/compare/gatsby@3.1.0-next.0...gatsby@3.1.0) (March 2021 #2) diff --git a/docs/docs/reference/release-notes/v3.2/index.md b/docs/docs/reference/release-notes/v3.2/index.md index edf93ce3ac2d1..453d056d5249f 100644 --- a/docs/docs/reference/release-notes/v3.2/index.md +++ b/docs/docs/reference/release-notes/v3.2/index.md @@ -1,6 +1,7 @@ --- date: "2021-03-30" version: "3.2.0" +title: "v3.2 Release Notes" --- # [v3.2](https://github.com/gatsbyjs/gatsby/compare/gatsby@3.2.0-next.0...gatsby@3.2.0) (March 2021 #3) diff --git a/docs/docs/reference/release-notes/v3.3/index.md b/docs/docs/reference/release-notes/v3.3/index.md index 86c2b48970c02..389a027a6d529 100644 --- a/docs/docs/reference/release-notes/v3.3/index.md +++ b/docs/docs/reference/release-notes/v3.3/index.md @@ -1,6 +1,7 @@ --- date: "2021-04-13" version: "3.3.0" +title: "v3.3 Release Notes" --- # [v3.3](https://github.com/gatsbyjs/gatsby/compare/gatsby@3.3.0...gatsby@3.3.0) (April 2021 #1) diff --git a/docs/docs/reference/release-notes/v3.4/index.md b/docs/docs/reference/release-notes/v3.4/index.md index a05e53c33dcb2..e818df4a05738 100644 --- a/docs/docs/reference/release-notes/v3.4/index.md +++ b/docs/docs/reference/release-notes/v3.4/index.md @@ -1,6 +1,7 @@ --- date: "2021-04-27" version: "3.4.0" +title: "v3.4 Release Notes" --- # [v3.4](https://github.com/gatsbyjs/gatsby/compare/gatsby@3.4.0-next.0...gatsby@3.4.0) (April 2021 #2) diff --git a/docs/docs/reference/release-notes/v3.5/index.md b/docs/docs/reference/release-notes/v3.5/index.md index 113a9127bdf5f..4d3908817c317 100644 --- a/docs/docs/reference/release-notes/v3.5/index.md +++ b/docs/docs/reference/release-notes/v3.5/index.md @@ -1,6 +1,7 @@ --- date: "2021-05-11" version: "3.5.0" +title: "v3.5 Release Notes" --- # [v3.5](https://github.com/gatsbyjs/gatsby/compare/gatsby@3.5.0-next.0...gatsby@3.5.0) (May 2021 #1) diff --git a/docs/docs/reference/release-notes/v3.6/index.md b/docs/docs/reference/release-notes/v3.6/index.md index d347a64977c06..6f89da926c64d 100644 --- a/docs/docs/reference/release-notes/v3.6/index.md +++ b/docs/docs/reference/release-notes/v3.6/index.md @@ -1,6 +1,7 @@ --- date: "2021-05-25" version: "3.6.0" +title: "v3.6 Release Notes" --- # [v3.6](https://github.com/gatsbyjs/gatsby/compare/gatsby@3.6.0-next.0...gatsby@3.6.0) (May 2021 #2) diff --git a/docs/docs/tutorial/part-0/index.mdx b/docs/docs/tutorial/part-0/index.mdx index d829845a893aa..b5c1509f4a4e7 100644 --- a/docs/docs/tutorial/part-0/index.mdx +++ b/docs/docs/tutorial/part-0/index.mdx @@ -3,9 +3,9 @@ title: Set Up Your Development Environment tableOfContentsDepth: 2 --- -import { Announcement, Notification } from 'gatsby-interface' +import { Announcement, Notification, LinkButton } from 'gatsby-interface' import Collapsible from '@components/collapsible' -import { MdInfo } from 'react-icons/md' +import { MdInfo, MdArrowForward } from 'react-icons/md' **Share Your Feedback!** @@ -344,3 +340,15 @@ Our goal is for this Tutorial to be helpful and easy to follow. We'd love to hea Use the "Was this doc helpful to you?" form at the bottom of this page to let us know what worked well and what we can improve. + +### What's coming next? + +In Part 1 of the Tutorial, you'll create your first Gatsby site and deploy it online for everyone to see. + +} + variant="SECONDARY" +> + Continue to Part 1 + \ No newline at end of file diff --git a/docs/docs/tutorial/part-1/index.mdx b/docs/docs/tutorial/part-1/index.mdx index ef43d5878015f..4d6881b9c4293 100644 --- a/docs/docs/tutorial/part-1/index.mdx +++ b/docs/docs/tutorial/part-1/index.mdx @@ -2,9 +2,9 @@ title: Create and Deploy Your First Gatsby Site --- -import { Announcement, Notification } from 'gatsby-interface' +import { Announcement, Notification, LinkButton } from 'gatsby-interface' import Collapsible from '@components/collapsible' -import { MdInfo } from 'react-icons/md' +import { MdInfo, MdArrowForward } from 'react-icons/md' -### What's coming next? - -Now that you have a default Gatsby site up and running, it's time to make it your own. In the next section, you'll learn how to use React to customize the design and contents of your site. - **Share Your Feedback!** @@ -317,3 +313,15 @@ Our goal is for this Tutorial to be helpful and easy to follow. We'd love to hea Use the "Was this doc helpful to you?" form at the bottom of this page to let us know what worked well and what we can improve. + +### What's coming next? + +Now that you have a default Gatsby site up and running, it's time to make it your own. In Part 2 of the Tutorial, you'll learn how to use React to customize the design and contents of your site. + +} + variant="SECONDARY" +> + Continue to Part 2 + \ No newline at end of file diff --git a/docs/docs/tutorial/part-2/index.mdx b/docs/docs/tutorial/part-2/index.mdx index cca2462cb2019..86526113e23ee 100644 --- a/docs/docs/tutorial/part-2/index.mdx +++ b/docs/docs/tutorial/part-2/index.mdx @@ -2,9 +2,9 @@ title: Use and Style React Components --- -import { Announcement, Notification } from 'gatsby-interface' +import { Announcement, Notification, LinkButton } from 'gatsby-interface' import Collapsible from '@components/collapsible' -import { MdInfo } from 'react-icons/md' +import { MdInfo, MdArrowForward } from 'react-icons/md' @@ -807,24 +803,14 @@ Use the "Was this doc helpful to you?" form at the bottom of this page to let us -} variant="SECONDARY" - content={ -
-

- Note: We{"'"}re still working on updating this Tutorial to use Gatsby v3. - You've reached the end of the new content we've released so far. Subsequent parts - will be added as we finish them. -

-

- If you{"'"}re looking for a full experience in the meantime, you can check out the (slightly outdated){" "} - - Gatsby v2 Tutorial - - . -

-
- } -/> \ No newline at end of file +> + Continue to Part 3 + \ No newline at end of file diff --git a/docs/docs/tutorial/part-3/cooking-accessories.png b/docs/docs/tutorial/part-3/cooking-accessories.png new file mode 100644 index 0000000000000..6f7cb5949477b Binary files /dev/null and b/docs/docs/tutorial/part-3/cooking-accessories.png differ diff --git a/docs/docs/tutorial/part-3/index-page-with-static-image-from-filesystem.png b/docs/docs/tutorial/part-3/index-page-with-static-image-from-filesystem.png new file mode 100644 index 0000000000000..ccb5bdb7ca5ca Binary files /dev/null and b/docs/docs/tutorial/part-3/index-page-with-static-image-from-filesystem.png differ diff --git a/docs/docs/tutorial/part-3/index-page-with-static-image-from-url.png b/docs/docs/tutorial/part-3/index-page-with-static-image-from-url.png new file mode 100644 index 0000000000000..d98a2c6487367 Binary files /dev/null and b/docs/docs/tutorial/part-3/index-page-with-static-image-from-url.png differ diff --git a/docs/docs/tutorial/part-3/index.mdx b/docs/docs/tutorial/part-3/index.mdx new file mode 100644 index 0000000000000..18b9ecf9ae9a4 --- /dev/null +++ b/docs/docs/tutorial/part-3/index.mdx @@ -0,0 +1,320 @@ +--- +title: Add Features with Plugins +tableOfContentsDepth: 2 +--- + +import { Announcement, Notification } from 'gatsby-interface' +import Collapsible from '@components/collapsible' +import { MdInfo } from 'react-icons/md' + + +

+ Note: We{"'"}re still working on updating this Tutorial to use Gatsby v3. + The first few parts of the new Tutorial have been released here, and subsequent parts + will be added as we finish them. +

+

+ If you{"'"}re looking for a full experience in the meantime, you can check out the (slightly outdated){" "} + + Gatsby v2 Tutorial + + . +

+ + } +/> + +## Introduction + +It can be a lot of work to build new features for a website. Luckily, by using Gatsby plugins, you can quickly add new functionality to your site without needing to build it from scratch yourself. Gatsby's plugin ecosystem has thousands of prebuilt packages for you to choose from. + +In this part of the Tutorial, you'll learn what Gatsby plugins are and how to use them in your site. + +By the end of this part of the Tutorial, you will be able to: + +* Use the [Gatsby Plugin Library](/plugins) to browse all the available plugins. +* Add a plugin to your Gatsby site. +* Configure your plugins in your `gatsby-config.js` file. + +## What is a plugin? + +In Gatsby terms, a **plugin** is a separate npm package that you install to add extra features to your site. + +There are a variety of plugins that each have different use cases. Some plugins provide pre-built components, others add analytics, others let you pull data into your site. Some plugins are built by Gatsby employees, while other plugins are built and maintained by community members. So far, there are more than 2,600 plugins to choose from. You can look through all the available plugins using the [Gatsby Plugin Library](/plugins). + +You can think of a plugin as an accessory for your site. You don't _need_ to use plugins - you could build out the same functionality from scratch yourself - but they save you time. They're like those fancy single-purpose cooking gadgets that peel apples or crush garlic. You could accomplish the same task using a regular knife, but it's often faster to use a tool that's built to do that one specific job really well. + +![Kitchen accessories like an apple peeler, an egg slicer, or a garlic press are specialized tools that do one thing really well. They aren't required, but they make your life easier.)](./cooking-accessories.png) + +You will likely use plugins in almost every Gatsby site you build. While working through the rest of the Tutorial, you’ll have many opportunities to practice installing and using plugins. + +## Add a plugin to your site + +To add a plugin to your site, you'll use the following process: + +1. **Install the plugin** using npm. +2. **Configure the plugin** in your site's `gatsby-config.js` file. +3. **Use the plugin features** in your site, as needed. + +Key Gatsby Concept: Adding a plugin to your site} +> + +Here's a more detailed breakdown of the steps to add a plugin to your site: + +#### 1) Install the plugin using npm. + +In your terminal, run the following command (swapping out `plugin-name` for the name of the plugin you want to use). This will add the plugin as a dependency in your `package.json` and `package-lock.json` files. + +```shell +npm install plugin-name +``` +Depending on what plugin you're using, there might be more dependencies that you also need to install. Check the specific plugin's README in the plugin library for more details. + +#### 2) Configure the plugin in your `gatsby-config.js` file. + +Your `gatsby-config.js` file contains information about your site, including configuration for plugins. You can add a plugin to the `plugins` array: + +```js:title=gatsby-config.js +module.exports = { + siteMetadata: { + title: "My First Gatsby Site", + }, + // highlight-next-line + plugins: ["plugin-name"], +}; +``` + +Some plugins require extra configuration options. In that case, you'll add an object to the `plugins` array (instead of a string), as shown below. (Check the plugin README in the [Gatsby Plugin Library](/plugins) for more details on what that options object should look like.) + +```js:title=gatsby-config.js +module.exports = { + siteMetadata: { + title: "My First Gatsby Site", + }, + plugins: [ + // highlight-start + { + resolve: "plugin-name", + options: { + // Check the plugin README for what options go in here + } + }, + // highlight-end + ] +} +``` + + + +**Note:** After you make updates to your `gatsby-config.js` file, you'll need to restart your `gatsby develop` process for your changes to be picked up. + + + +#### 3) Use the plugin features in your site. + +Now that you've set up the plugin, you can use it in your Gatsby site as needed. + +The specifics of this step will be different based on what the plugin does. Sometimes, the plugin might have a component or function that you can import and use in your site. Other times, you might not need to do anything extra at all. Check the plugin's README for more details. + + + +![The general process for using a plugin: Install, configure, and use in your site (when needed).](./plugin-process.png) + +The next few sections will walk you through the process of adding a plugin to your site. You'll use the `gatsby-plugin-image` to add performant images to your site. + +### Task: Use `gatsby-plugin-image` to add a static image to your home page + +You can use the `gatsby-plugin-image` plugin to add responsive images to your site while maintaining high performance scores. `gatsby-plugin-image` exports a component called `StaticImage`, which you can use to load images from a remote URL or your local filesystem. + +Follow the steps below to use the `StaticImage` component to add an image from a URL to your home page. + +1. In the terminal, run the following command to install `gatsby-plugin-image` and its dependencies. + +```shell +npm install gatsby-plugin-image gatsby-plugin-sharp gatsby-source-filesystem +``` + + + +The `StaticImage` component requires a few additional plugins to work. These extra plugins are called **peer dependencies**, and you'll need to install them along with the `gatsby-plugin-image` package: + +* `gatsby-plugin-sharp`: Handles the actual image processing that is used by `gatsby-plugin-image`. +* `gatsby-source-filesystem`: Lets you pull in data from your computer's filesystem. (You'll learn more about this plugin later. Just install it for now.) + +**Tip:** When adding a new plugin to your site, check the plugin README in the [Gatsby Plugin Library](/plugins) to see if there are any special setup instructions. + + + +2. Next, add the `gatsby-plugin-image` and `gatsby-plugin-sharp` plugins to your `gatsby-config.js` file. (Don't worry about `gatsby-source-filesystem` just yet. You'll come back to it later.) + +```js:title=gatsby-config.js +module.exports = { + siteMetadata: { + title: "My First Gatsby Site", + }, + plugins: [ + "gatsby-plugin-gatsby-cloud", + // highlight-start + "gatsby-plugin-image", + "gatsby-plugin-sharp", + // highlight-end + ], +}; +``` + + + +**Key Gatsby Concept** 💡 + +The `gatsby-config.js` file is a special file that Gatsby recognizes automatically. It's where you add plugins and other site configuration. + +After you update your `gatsby-config.js` file, your local development server has to restart in order to pick up the new changes. Sometimes it will restart itself automatically, but if you're seeing unexpected behavior, try stopping and restarting it yourself. + + +3. Now that your plugins have been installed and configured, you can use the `StaticImage` component in your Gatsby site! You can use the `StaticImage` component similarly to the way you'd use an HTML `` tag. + + The `StaticImage` component expects the following props: + + * `src` (string): The URL to the image you want to load. (This is the same as what you put in the `src` attribute of an `` HTML element.) + * `alt` (string): The alt text to describe the image. This gets used by screen readers or if there's a problem loading the image. + + Find an image URL online, and then use the `StaticImage` component to add that image to your home page: + +```js:title=src/pages/index.js +import * as React from 'react' +import Layout from '../components/layout' +import { StaticImage } from 'gatsby-plugin-image' // highlight-line + +const IndexPage = () => { + return ( + +

I'm making this by following the Gatsby Tutorial.

+ {/* highlight-start */} + + {/* highlight-end */} +
+ ) +} +``` + +4. In your web browser, go to `localhost:8000` to see your home page. There should now be a photo at the bottom of the page: + +![The home page of your site, which now includes a picture of a dog.](./index-page-with-static-image-from-url.png) + + + +Nothing at `localhost:8000`? Make sure your local development server is still running! + +```shell +gatsby develop +``` + + + +### Task: Update the static image to use a photo from your local filesystem + +So far, you've used the `StaticImage` component to add an image from an external URL. But what happens if you want to use a photo that isn't on the internet yet? + +You can also use the `StaticImage` component to render images from your local filesystem. + +1. Download a photo to your computer, and move it into your project folder. To keep things organized, put it in the `src/images` directory. +2. Update the `src` prop in your home page to be a relative path to your file instead of a URL. (Make sure it matches the name of your image!) Don't forget to update the `alt` prop to describe your image! +```js:title=src/pages/index.js +import * as React from 'react' +import Layout from '../components/layout' +import { StaticImage } from 'gatsby-plugin-image' + +const IndexPage = () => { + return ( + +

I'm making this by following the Gatsby Tutorial.

+ +
+ ) +} +``` +3. In your web browser, go to `localhost:8000`. Your image should still appear on the home page. + +![The home page of your site, which includes a different picture of a dog.](./index-page-with-static-image-from-filesystem.png) + +## Summary + +Take a moment to think back on what you've learned so far. Challenge yourself to answer the following questions from memory: + +* What is the benefit to using a plugin in your Gatsby site? +* How would you add a new plugin to your Gatsby site? + + + +**Ship It!** 🚀 + +Before you move on, deploy your changes to your live site on Gatsby Cloud so that you can share your progress! + +First, run the following commands in a terminal to push your changes to your GitHub repository. (Make sure you're in the top-level directory for your Gatsby site!) + +```shell +git add . +git commit -m "Finished Gatsby Tutorial Part 2" +git push +``` + +Once your changes have been pushed to GitHub, Gatsby Cloud should notice the update and rebuild and deploy the latest version of your site. (It may take a few minutes for your changes to be reflected on the live site. Watch your build's progress from your [Gatsby Cloud dashboard](/dashboard/?utm_campaign=tutorial).) + + + +### Key takeaways + +- A plugin is a package that lets you add new features to your site. +- Using plugins saves you development time, since it's faster to install and configure a plugin than it is to recreate the same functionality from scratch. +- The general process for using a plugin is to install it, configure it in your `gatsby-config.js` file, and then use it in your site as needed. +- You can use the [Gatsby Plugin Library](https://www.gatsbyjs.com/plugins) to browse all the available plugins and learn more about how each one works. + + + +**Share Your Feedback!** + +Our goal is for this Tutorial to be helpful and easy to follow. We'd love to hear your feedback about what you liked or didn't like about this part of the Tutorial. + +Use the "Was this doc helpful to you?" form at the bottom of this page to let us know what worked well and what we can improve. + + + +### What's coming next? + +In Part 4, you'll learn about a specific category of plugins that let you pull data into your site: source plugins. + + +

+ Note: We{"'"}re still working on updating this Tutorial to use Gatsby v3. + You've reached the end of the new content we've released so far. Subsequent parts + will be added as we finish them. +

+

+ If you{"'"}re looking for a full experience in the meantime, you can check out the (slightly outdated){" "} + + Gatsby v2 Tutorial + + . +

+ + } +/> diff --git a/docs/docs/tutorial/part-3/plugin-process.png b/docs/docs/tutorial/part-3/plugin-process.png new file mode 100644 index 0000000000000..4e0d596f98507 Binary files /dev/null and b/docs/docs/tutorial/part-3/plugin-process.png differ diff --git a/e2e-tests/contentful/cypress/integration/boolean.js b/e2e-tests/contentful/cypress/integration/boolean.js index 999d156a5f2b4..46f90bd1bc7aa 100644 --- a/e2e-tests/contentful/cypress/integration/boolean.js +++ b/e2e-tests/contentful/cypress/integration/boolean.js @@ -3,21 +3,38 @@ describe(`boolean`, () => { cy.visit("/boolean").waitForRouteChange() }) it(`boolean: No`, () => { - cy.get('[data-cy-id="boolean-no"] [data-cy-value]').should( + cy.get('[data-cy-id="default-boolean-no"] [data-cy-value]').should( "have.text", "false" ) }) it(`boolean: Null`, () => { - cy.get('[data-cy-id="boolean-null"] [data-cy-value]').should( + cy.get('[data-cy-id="default-boolean-null"] [data-cy-value]').should( "have.text", "null" ) }) it(`boolean: Yes`, () => { - cy.get('[data-cy-id="boolean-yes"] [data-cy-value]').should( + cy.get('[data-cy-id="default-boolean-yes"] [data-cy-value]').should( "have.text", "true" ) }) }) +describe(`boolean localized`, () => { + beforeEach(() => { + cy.visit("/boolean").waitForRouteChange() + }) + it(`boolean localized: English`, () => { + cy.get('[data-cy-id="english-boolean-localized"] [data-cy-value]').should( + "have.text", + "true" + ) + }) + it(`boolean localized: German`, () => { + cy.get('[data-cy-id="german-boolean-localized"] [data-cy-value]').should( + "have.text", + "false" + ) + }) +}) diff --git a/e2e-tests/contentful/cypress/integration/content-reference.js b/e2e-tests/contentful/cypress/integration/content-reference.js index a51a368be06c8..a7b476d2e98f5 100644 --- a/e2e-tests/contentful/cypress/integration/content-reference.js +++ b/e2e-tests/contentful/cypress/integration/content-reference.js @@ -3,27 +3,59 @@ describe(`content-reference`, () => { cy.visit("/content-reference").waitForRouteChange() }) it(`content-reference-many-2nd-level-loop`, () => { - cy.get('[data-cy-id="content-reference-many-2nd-level-loop"]').snapshot() + cy.get( + '[data-cy-id="default-content-reference-many-2nd-level-loop"]' + ).snapshot() }) it(`content-reference-many-loop-a-greater-b`, () => { - cy.get('[data-cy-id="content-reference-many-loop-a-greater-b"]').snapshot() + cy.get( + '[data-cy-id="default-content-reference-many-loop-a-greater-b"]' + ).snapshot() }) it(`content-reference-many-loop-b-greater-a`, () => { - cy.get('[data-cy-id="content-reference-many-loop-b-greater-a"]').snapshot() + cy.get( + '[data-cy-id="default-content-reference-many-loop-b-greater-a"]' + ).snapshot() }) it(`content-reference-many-self-reference`, () => { - cy.get('[data-cy-id="content-reference-many-self-reference"]').snapshot() + cy.get( + '[data-cy-id="default-content-reference-many-self-reference"]' + ).snapshot() }) it(`content-reference-one`, () => { - cy.get('[data-cy-id="content-reference-one"]').snapshot() + cy.get('[data-cy-id="default-content-reference-one"]').snapshot() }) it(`content-reference-one-loop-a-greater-b`, () => { - cy.get('[data-cy-id="content-reference-one-loop-a-greater-b"]').snapshot() + cy.get( + '[data-cy-id="default-content-reference-one-loop-a-greater-b"]' + ).snapshot() }) it(`content-reference-one-loop-b-greater-a`, () => { - cy.get('[data-cy-id="content-reference-one-loop-b-greater-a"]').snapshot() + cy.get( + '[data-cy-id="default-content-reference-one-loop-b-greater-a"]' + ).snapshot() }) it(`content-reference-one-self-reference`, () => { - cy.get('[data-cy-id="content-reference-one-self-reference"]').snapshot() + cy.get( + '[data-cy-id="default-content-reference-one-self-reference"]' + ).snapshot() + }) +}) + +describe(`content-reference localized`, () => { + beforeEach(() => { + cy.visit("/content-reference").waitForRouteChange() + }) + it(`english-content-reference-one-localized`, () => { + cy.get('[data-cy-id="english-content-reference-one-localized"]').snapshot() + }) + it(`english-content-reference-many-localized`, () => { + cy.get('[data-cy-id="english-content-reference-many-localized"]').snapshot() + }) + it(`german-content-reference-one-localized`, () => { + cy.get('[data-cy-id="german-content-reference-one-localized"]').snapshot() + }) + it(`german-content-reference-many-localized`, () => { + cy.get('[data-cy-id="german-content-reference-many-localized"]').snapshot() }) }) diff --git a/e2e-tests/contentful/cypress/integration/date.js b/e2e-tests/contentful/cypress/integration/date.js index 0c29ef25f5521..bac21954dc494 100644 --- a/e2e-tests/contentful/cypress/integration/date.js +++ b/e2e-tests/contentful/cypress/integration/date.js @@ -26,4 +26,20 @@ describe(`date`, () => { ) }) }) + it(`date: Localization`, () => { + cy.get('[data-cy-id="date-english"]').within(() => { + cy.get(`[data-cy-value]`).should("have.text", "2021-05-24T12:45+00:00") + cy.get(`[data-cy-value-formatted]`).should( + "have.text", + "24.5.2021 - 12:45:00" + ) + }) + cy.get('[data-cy-id="date-german"]').within(() => { + cy.get(`[data-cy-value]`).should("have.text", "2021-05-23T16:20+02:00") + cy.get(`[data-cy-value-formatted]`).should( + "have.text", + "23.5.2021 - 14:20:00" + ) + }) + }) }) diff --git a/e2e-tests/contentful/cypress/integration/gatsby-image.js b/e2e-tests/contentful/cypress/integration/gatsby-image.js index a4136c2868551..ab1aadbd36d55 100644 --- a/e2e-tests/contentful/cypress/integration/gatsby-image.js +++ b/e2e-tests/contentful/cypress/integration/gatsby-image.js @@ -31,8 +31,9 @@ function testGatsbyImage(type, testPlaceholder) { }) } - cy.get(`[data-cy="${type}"]`).scrollIntoView() - // Wait for load + cy.get(`[data-cy="${type}"]`).scrollIntoView({ duration: 500 }) + + // Wait images for load cy.wait(1000) cy.get(`[data-cy="${type}"]`) @@ -53,4 +54,19 @@ describe(`gatsby-image`, () => { it(`webp`, testConfig, () => testGatsbyImage(`webp`, hasJPEGPlaceholder)) it(`traced`, testConfig, () => testGatsbyImage(`traced`, hasSVGPlaceholder)) it(`sqip`, testConfig, () => testGatsbyImage(`sqip`, hasSVGPlaceholder)) + + it(`english`, testConfig, () => { + testGatsbyImage(`english`, hasJPEGPlaceholder) + cy.get(`[data-cy="english"] p strong`).should( + "have.text", + "Locale - American English (png)" + ) + }) + it(`german`, testConfig, () => { + testGatsbyImage(`german`, hasJPEGPlaceholder) + cy.get(`[data-cy="german"] p strong`).should( + "have.text", + "Locale - German (png)" + ) + }) }) diff --git a/e2e-tests/contentful/cypress/integration/gatsby-plugin-image.js b/e2e-tests/contentful/cypress/integration/gatsby-plugin-image.js index 3ad283ea8a9aa..0ef5519eacaa4 100644 --- a/e2e-tests/contentful/cypress/integration/gatsby-plugin-image.js +++ b/e2e-tests/contentful/cypress/integration/gatsby-plugin-image.js @@ -43,7 +43,7 @@ function testGatsbyPluginImage(type, testPlaceholder) { cy.get(`[data-cy="${type}"]`).scrollIntoView({ duration: 500 }) - // Wait for load + // Wait images for load cy.wait(1000) cy.get(`[data-cy="${type}"]`) @@ -80,4 +80,19 @@ describe(`gatsby-plugin-image`, () => { testGatsbyPluginImage(`blurred`, hasJPEGPlaceholder) ) it(`sqip`, testConfig, () => testGatsbyPluginImage(`sqip`, hasSVGPlaceholder)) + + it(`english`, testConfig, () => { + testGatsbyPluginImage(`english`, hasColorPlaceholder) + cy.get(`[data-cy="english"] p strong`).should( + "have.text", + "Locale - American English (png)" + ) + }) + it(`german`, testConfig, () => { + testGatsbyPluginImage(`german`, hasColorPlaceholder) + cy.get(`[data-cy="german"] p strong`).should( + "have.text", + "Locale - German (png)" + ) + }) }) diff --git a/e2e-tests/contentful/cypress/integration/json.js b/e2e-tests/contentful/cypress/integration/json.js index 161f6df81f458..e7314cf6678d7 100644 --- a/e2e-tests/contentful/cypress/integration/json.js +++ b/e2e-tests/contentful/cypress/integration/json.js @@ -13,4 +13,16 @@ describe(`json`, () => { cy.get('[data-cy-id="complex"] > div:first-child').snapshot() cy.get('[data-cy-id="complex"] > div:last-child').snapshot() }) + it(`json: Localized`, () => { + cy.get('[data-cy-id="english"]').within(() => { + cy.get(`[data-cy-value-name]`).should("have.text", "Name: John") + cy.get(`[data-cy-value-city]`).should("have.text", "City: New York") + cy.get(`[data-cy-value-age]`).should("have.text", "Age: 31") + }) + cy.get('[data-cy-id="german"]').within(() => { + cy.get(`[data-cy-value-name]`).should("have.text", "Name: Max") + cy.get(`[data-cy-value-city]`).should("have.text", "City: Berlin") + cy.get(`[data-cy-value-age]`).should("have.text", "Age: 25") + }) + }) }) diff --git a/e2e-tests/contentful/cypress/integration/location.js b/e2e-tests/contentful/cypress/integration/location.js index 86164ed5a77c5..3c1a6fc002225 100644 --- a/e2e-tests/contentful/cypress/integration/location.js +++ b/e2e-tests/contentful/cypress/integration/location.js @@ -12,4 +12,22 @@ describe(`location`, () => { "13.3777" ) }) + it(`location localized`, () => { + cy.get('[data-cy-id="english"] [data-cy-value-lat]').should( + "have.text", + "37.79176" + ) + cy.get('[data-cy-id="english"] [data-cy-value-lon]').should( + "have.text", + "-122.393" + ) + cy.get('[data-cy-id="german"] [data-cy-value-lat]').should( + "have.text", + "52.53907" + ) + cy.get('[data-cy-id="german"] [data-cy-value-lon]').should( + "have.text", + "13.38405" + ) + }) }) diff --git a/e2e-tests/contentful/cypress/integration/media-reference.js b/e2e-tests/contentful/cypress/integration/media-reference.js index 880b26b46247f..7f0a38496e25c 100644 --- a/e2e-tests/contentful/cypress/integration/media-reference.js +++ b/e2e-tests/contentful/cypress/integration/media-reference.js @@ -4,11 +4,8 @@ describe(`media-reference`, () => { }) it(`media-reference: many`, () => { cy.get('[data-cy-id="media-reference-many"]').within(() => { - cy.get(".gatsby-image-wrapper").should("have.length", 2) - cy.get(".gatsby-image-wrapper > img") - .should("have.attr", "src") - .should("match", /^data:image\//) - cy.get(".gatsby-image-wrapper picture img") + cy.get("img") + .should("have.length", 2) .should("have.attr", "src") .should("match", /^\/\/images\.ctfassets\.net/) }) @@ -16,13 +13,47 @@ describe(`media-reference`, () => { it(`media-reference: one`, () => { cy.get('[data-cy-id="media-reference-one"]').within(() => { - cy.get(".gatsby-image-wrapper").should("have.length", 1) - cy.get(".gatsby-image-wrapper > img") - .should("have.attr", "src") - .should("match", /^data:image\//) - cy.get(".gatsby-image-wrapper picture img") + cy.get("img") .should("have.attr", "src") .should("match", /^\/\/images\.ctfassets\.net/) }) }) }) + +describe(`media-reference localized`, () => { + beforeEach(() => { + cy.visit("/media-reference") + }) + it(`media-reference: many with localized field`, () => { + cy.get( + '[data-cy-id="english-media-reference-many-localized-field"]' + ).snapshot() + cy.get( + '[data-cy-id="german-media-reference-many-localized-field"]' + ).snapshot() + }) + it(`media-reference: many with localized asset`, () => { + cy.get( + '[data-cy-id="english-media-reference-many-with-localized-asset"]' + ).snapshot() + cy.get( + '[data-cy-id="german-media-reference-many-with-localized-asset"]' + ).snapshot() + }) + it(`media-reference: one with localized asset`, () => { + cy.get( + '[data-cy-id="english-media-reference-one-localized-asset"]' + ).snapshot() + cy.get( + '[data-cy-id="german-media-reference-one-localized-asset"]' + ).snapshot() + }) + it(`media-reference: one with localized field`, () => { + cy.get( + '[data-cy-id="english-media-reference-one-localized-field"]' + ).snapshot() + cy.get( + '[data-cy-id="german-media-reference-one-localized-field"]' + ).snapshot() + }) +}) diff --git a/e2e-tests/contentful/cypress/integration/number.js b/e2e-tests/contentful/cypress/integration/number.js index be9e3da90cc69..d3893bbb1439f 100644 --- a/e2e-tests/contentful/cypress/integration/number.js +++ b/e2e-tests/contentful/cypress/integration/number.js @@ -14,4 +14,20 @@ describe(`number`, () => { "42" ) }) + it(`number: Decimal Localized`, () => { + cy.get( + '[data-cy-id="english-number-decimal-localized"] [data-cy-value]' + ).should("have.text", "76.26") + cy.get( + '[data-cy-id="german-number-decimal-localized"] [data-cy-value]' + ).should("have.text", "95.31") + }) + it(`number: Integer Localized`, () => { + cy.get( + '[data-cy-id="english-number-integer-localized"] [data-cy-value]' + ).should("have.text", "8673000") + cy.get( + '[data-cy-id="german-number-integer-localized"] [data-cy-value]' + ).should("have.text", "6046000") + }) }) diff --git a/e2e-tests/contentful/cypress/integration/rich-text.js b/e2e-tests/contentful/cypress/integration/rich-text.js index fd23726411154..b35d4c0870955 100644 --- a/e2e-tests/contentful/cypress/integration/rich-text.js +++ b/e2e-tests/contentful/cypress/integration/rich-text.js @@ -45,4 +45,8 @@ describe(`rich-text`, () => { `[data-cy-id="rich-text-inline-entry-with-reference-loop"]` ).snapshot() }) + it(`rich-text: Localized`, () => { + cy.get(`[data-cy-id="english-rich-text-localized"]`).snapshot() + cy.get(`[data-cy-id="german-rich-text-localized"]`).snapshot() + }) }) diff --git a/e2e-tests/contentful/cypress/integration/text.js b/e2e-tests/contentful/cypress/integration/text.js index 5e2c28156c928..5afa83907f0b0 100644 --- a/e2e-tests/contentful/cypress/integration/text.js +++ b/e2e-tests/contentful/cypress/integration/text.js @@ -29,4 +29,13 @@ describe(`text`, () => { it(`text: Long Markdown Complex`, () => { cy.get(`[data-cy-id="long-markdown-complex"]`).snapshot() }) + + it(`text: Short Localized`, () => { + cy.get(`[data-cy-id="english-short"]`).should("have.text", "Short text") + cy.get(`[data-cy-id="german-short"]`).should("have.text", "Kurzer Text") + }) + it(`text: Long Localized`, () => { + cy.get(`[data-cy-id="english-long"]`).snapshot() + cy.get(`[data-cy-id="german-long"]`).snapshot() + }) }) diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/english-0.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/english-0.snap.png new file mode 100644 index 0000000000000..075a097de48dd Binary files /dev/null and b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/english-0.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/fixed-0.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/fixed-0.snap.png index d18c5e9a9f2d5..592c93c520b1c 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/fixed-0.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/fixed-0.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/fixed-1.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/fixed-1.snap.png index 0ad3a4c0b0ca2..01be5b1e3bd36 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/fixed-1.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/fixed-1.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/fluid-0.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/fluid-0.snap.png index f4657097bbcb2..f220980b72c4a 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/fluid-0.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/fluid-0.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/fluid-1.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/fluid-1.snap.png index b42c59c37ee2f..223ef5457bb9a 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/fluid-1.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/fluid-1.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/german-0.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/german-0.snap.png new file mode 100644 index 0000000000000..a98c7a2036b34 Binary files /dev/null and b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/german-0.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/sqip-0.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/sqip-0.snap.png index 0f7ccd590b074..36dc3e0d6433d 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/sqip-0.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/sqip-0.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/sqip-1.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/sqip-1.snap.png index 1c187a5cef4a0..50bae5de2c3fc 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/sqip-1.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/sqip-1.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/traced-0.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/traced-0.snap.png index 0f7ccd590b074..15d05586564d0 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/traced-0.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/traced-0.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/traced-1.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/traced-1.snap.png index 1c187a5cef4a0..01be5b1e3bd36 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/traced-1.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/traced-1.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/webp-0.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/webp-0.snap.png index fb2ff83ce2e5c..c61c1ee4a1a0d 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/webp-0.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/webp-0.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/webp-1.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/webp-1.snap.png index 5a84d35b3b68a..6cf68e7b42628 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/webp-1.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-image.js/webp-1.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/blurred-0.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/blurred-0.snap.png index ab34e717c308c..585803f06b1da 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/blurred-0.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/blurred-0.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/blurred-1.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/blurred-1.snap.png index eb6287ea213b0..953dab32137ee 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/blurred-1.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/blurred-1.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/constrained-0.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/constrained-0.snap.png index ccf8438032a63..04a06a34354c8 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/constrained-0.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/constrained-0.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/constrained-1.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/constrained-1.snap.png index da17d60b0b376..a1a04a04bd704 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/constrained-1.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/constrained-1.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/dominant-color-0.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/dominant-color-0.snap.png index 4135297b3943c..f615b4dfb0f04 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/dominant-color-0.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/dominant-color-0.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/dominant-color-1.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/dominant-color-1.snap.png index 943adf6b87dfb..6cf68e7b42628 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/dominant-color-1.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/dominant-color-1.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/english-0.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/english-0.snap.png new file mode 100644 index 0000000000000..263e5595d6eb4 Binary files /dev/null and b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/english-0.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/fixed-0.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/fixed-0.snap.png index 4f26a6a882cb3..c61c1ee4a1a0d 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/fixed-0.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/fixed-0.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/fixed-1.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/fixed-1.snap.png index eb6287ea213b0..6cf68e7b42628 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/fixed-1.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/fixed-1.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/full-width-0.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/full-width-0.snap.png index 88477259cf630..c61c1ee4a1a0d 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/full-width-0.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/full-width-0.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/full-width-1.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/full-width-1.snap.png index eb6287ea213b0..6cf68e7b42628 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/full-width-1.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/full-width-1.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/german-0.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/german-0.snap.png new file mode 100644 index 0000000000000..e6f13231933f9 Binary files /dev/null and b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/german-0.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/sqip-0.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/sqip-0.snap.png index ab34e717c308c..c61c1ee4a1a0d 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/sqip-0.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/sqip-0.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/sqip-1.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/sqip-1.snap.png index eb6287ea213b0..6cf68e7b42628 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/sqip-1.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/sqip-1.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/traced-0.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/traced-0.snap.png index 4135297b3943c..93d687d8b98fb 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/traced-0.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/traced-0.snap.png differ diff --git a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/traced-1.snap.png b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/traced-1.snap.png index eb6287ea213b0..953dab32137ee 100644 Binary files a/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/traced-1.snap.png and b/e2e-tests/contentful/cypress/snapshots/gatsby-plugin-image.js/traced-1.snap.png differ diff --git a/e2e-tests/contentful/cypress/support/index.js b/e2e-tests/contentful/cypress/support/index.js index 22bfe96e4499d..02ba324e1fd4e 100644 --- a/e2e-tests/contentful/cypress/support/index.js +++ b/e2e-tests/contentful/cypress/support/index.js @@ -21,7 +21,7 @@ addMatchImageSnapshotCommand({ customDiffConfig: { threshold: 0.1, }, - failureThreshold: 0.04, + failureThreshold: 0.08, failureThresholdType: `percent`, }) diff --git a/e2e-tests/contentful/schema.gql b/e2e-tests/contentful/schema.gql index f9a4742d433a4..2a8e30403f33d 100644 --- a/e2e-tests/contentful/schema.gql +++ b/e2e-tests/contentful/schema.gql @@ -1,4 +1,4 @@ -### Type definitions saved at 2021-05-12T15:50:31.482Z ### +### Type definitions saved at 2021-05-21T17:02:49.951Z ### type File implements Node @dontInfer { sourceInstanceName: String! @@ -125,7 +125,7 @@ type MarkdownWordCount { words: Int } -type MarkdownRemark implements Node @childOf(mimeTypes: ["text/markdown", "text/x-markdown"], types: ["contentfulTextLongPlainTextNode", "contentfulTextLongMarkdownTextNode"]) @dontInfer { +type MarkdownRemark implements Node @childOf(mimeTypes: ["text/markdown", "text/x-markdown"], types: ["contentfulTextLongPlainTextNode", "contentfulTextLongMarkdownTextNode", "contentfulTextLongLocalizedTextNode"]) @derivedTypes @dontInfer { frontmatter: MarkdownRemarkFrontmatter excerpt: String rawMarkdownBody: String @@ -146,7 +146,7 @@ interface ContentfulReference { id: ID! } -type ContentfulAsset implements ContentfulReference & Node @dontInfer { +type ContentfulAsset implements ContentfulReference & Node @derivedTypes @dontInfer { contentful_id: String! spaceId: String createdAt: Date @dateformat @@ -158,14 +158,14 @@ type ContentfulAsset implements ContentfulReference & Node @dontInfer { sys: ContentfulAssetSys } -type ContentfulAssetFile { +type ContentfulAssetFile @derivedTypes { url: String details: ContentfulAssetFileDetails fileName: String contentType: String } -type ContentfulAssetFileDetails { +type ContentfulAssetFileDetails @derivedTypes { size: Int image: ContentfulAssetFileDetailsImage } @@ -180,41 +180,61 @@ type ContentfulAssetSys { revision: Int } -type ContentfulNumber implements ContentfulReference & ContentfulEntry & Node @dontInfer { +type ContentfulNumber implements ContentfulReference & ContentfulEntry & Node @derivedTypes @dontInfer { contentful_id: String! node_locale: String! title: String - integer: Int - content_reference: [ContentfulContentReference] @link(by: "id", from: "content reference___NODE") @proxy(from: "content reference___NODE", fromNode: false) + decimal: Float spaceId: String createdAt: Date @dateformat updatedAt: Date @dateformat sys: ContentfulNumberSys - decimal: Float + integer: Int + content_reference: [ContentfulContentReference] @link(by: "id", from: "content reference___NODE") @proxy(from: "content reference___NODE") + decimalLocalized: Float + integerLocalized: Int +} + +type ContentfulNumberSys @derivedTypes { + type: String + revision: Int + contentType: ContentfulNumberSysContentType +} + +type ContentfulNumberSysContentType @derivedTypes { + sys: ContentfulNumberSysContentTypeSys +} + +type ContentfulNumberSysContentTypeSys { + type: String + linkType: String + id: String } -type ContentfulContentReference implements ContentfulReference & ContentfulEntry & Node @dontInfer { +type ContentfulContentReference implements ContentfulReference & ContentfulEntry & Node @derivedTypes @dontInfer { contentful_id: String! node_locale: String! title: String - one: ContentfulContentReferenceContentfulTextUnion @link(by: "id", from: "one___NODE") - content_reference: [ContentfulContentReference] @link(by: "id", from: "content reference___NODE") @proxy(from: "content reference___NODE", fromNode: false) + manyLocalized: [ContentfulNumberContentfulTextUnion] @link(by: "id", from: "manyLocalized___NODE") spaceId: String createdAt: Date @dateformat updatedAt: Date @dateformat sys: ContentfulContentReferenceSys + oneLocalized: ContentfulNumber @link(by: "id", from: "oneLocalized___NODE") + one: ContentfulContentReferenceContentfulTextUnion @link(by: "id", from: "one___NODE") + content_reference: [ContentfulContentReference] @link(by: "id", from: "content reference___NODE") @proxy(from: "content reference___NODE") many: [ContentfulContentReferenceContentfulNumberContentfulTextUnion] @link(by: "id", from: "many___NODE") } -union ContentfulContentReferenceContentfulTextUnion = ContentfulContentReference | ContentfulText +union ContentfulNumberContentfulTextUnion = ContentfulNumber | ContentfulText -type ContentfulContentReferenceSys { +type ContentfulContentReferenceSys @derivedTypes { type: String revision: Int contentType: ContentfulContentReferenceSysContentType } -type ContentfulContentReferenceSysContentType { +type ContentfulContentReferenceSysContentType @derivedTypes { sys: ContentfulContentReferenceSysContentTypeSys } @@ -224,55 +244,43 @@ type ContentfulContentReferenceSysContentTypeSys { id: String } -union ContentfulContentReferenceContentfulNumberContentfulTextUnion = ContentfulContentReference | ContentfulNumber | ContentfulText - -type ContentfulNumberSys { - type: String - revision: Int - contentType: ContentfulNumberSysContentType -} - -type ContentfulNumberSysContentType { - sys: ContentfulNumberSysContentTypeSys -} +union ContentfulContentReferenceContentfulTextUnion = ContentfulContentReference | ContentfulText -type ContentfulNumberSysContentTypeSys { - type: String - linkType: String - id: String -} +union ContentfulContentReferenceContentfulNumberContentfulTextUnion = ContentfulContentReference | ContentfulNumber | ContentfulText -type ContentfulText implements ContentfulReference & ContentfulEntry & Node @dontInfer { +type ContentfulText implements ContentfulReference & ContentfulEntry & Node @derivedTypes @dontInfer { contentful_id: String! node_locale: String! title: String - longMarkdown: contentfulTextLongMarkdownTextNode @link(by: "id", from: "longMarkdown___NODE") + longLocalized: contentfulTextLongLocalizedTextNode @link(by: "id", from: "longLocalized___NODE") spaceId: String createdAt: Date @dateformat updatedAt: Date @dateformat sys: ContentfulTextSys + shortLocalized: String + longMarkdown: contentfulTextLongMarkdownTextNode @link(by: "id", from: "longMarkdown___NODE") longPlain: contentfulTextLongPlainTextNode @link(by: "id", from: "longPlain___NODE") short: String - content_reference: [ContentfulContentReference] @link(by: "id", from: "content reference___NODE") @proxy(from: "content reference___NODE", fromNode: false) + content_reference: [ContentfulContentReference] @link(by: "id", from: "content reference___NODE") @proxy(from: "content reference___NODE") shortList: [String] } -type contentfulTextLongMarkdownTextNode implements Node @childOf(mimeTypes: [], types: ["ContentfulText"]) @dontInfer { - longMarkdown: String - sys: contentfulTextLongMarkdownTextNodeSys +type contentfulTextLongLocalizedTextNode implements Node @derivedTypes @childOf(types: ["ContentfulText"]) @dontInfer { + longLocalized: String + sys: contentfulTextLongLocalizedTextNodeSys } -type contentfulTextLongMarkdownTextNodeSys { +type contentfulTextLongLocalizedTextNodeSys { type: String } -type ContentfulTextSys { +type ContentfulTextSys @derivedTypes { type: String revision: Int contentType: ContentfulTextSysContentType } -type ContentfulTextSysContentType { +type ContentfulTextSysContentType @derivedTypes { sys: ContentfulTextSysContentTypeSys } @@ -282,7 +290,16 @@ type ContentfulTextSysContentTypeSys { id: String } -type contentfulTextLongPlainTextNode implements Node @childOf(mimeTypes: [], types: ["ContentfulText"]) @dontInfer { +type contentfulTextLongMarkdownTextNode implements Node @derivedTypes @childOf(types: ["ContentfulText"]) @dontInfer { + longMarkdown: String + sys: contentfulTextLongMarkdownTextNodeSys +} + +type contentfulTextLongMarkdownTextNodeSys { + type: String +} + +type contentfulTextLongPlainTextNode implements Node @derivedTypes @childOf(types: ["ContentfulText"]) @dontInfer { longPlain: String sys: contentfulTextLongPlainTextNodeSys } @@ -291,25 +308,27 @@ type contentfulTextLongPlainTextNodeSys { type: String } -type ContentfulMediaReference implements ContentfulReference & ContentfulEntry & Node @dontInfer { +type ContentfulMediaReference implements ContentfulReference & ContentfulEntry & Node @derivedTypes @dontInfer { contentful_id: String! node_locale: String! title: String - many: [ContentfulAsset] @link(by: "id", from: "many___NODE") + manyLocalized: [ContentfulAsset] @link(by: "id", from: "manyLocalized___NODE") spaceId: String createdAt: Date @dateformat updatedAt: Date @dateformat sys: ContentfulMediaReferenceSys + many: [ContentfulAsset] @link(by: "id", from: "many___NODE") + oneLocalized: ContentfulAsset @link(by: "id", from: "oneLocalized___NODE") one: ContentfulAsset @link(by: "id", from: "one___NODE") } -type ContentfulMediaReferenceSys { +type ContentfulMediaReferenceSys @derivedTypes { type: String revision: Int contentType: ContentfulMediaReferenceSysContentType } -type ContentfulMediaReferenceSysContentType { +type ContentfulMediaReferenceSysContentType @derivedTypes { sys: ContentfulMediaReferenceSysContentTypeSys } @@ -319,10 +338,11 @@ type ContentfulMediaReferenceSysContentTypeSys { id: String } -type ContentfulBoolean implements ContentfulReference & ContentfulEntry & Node @dontInfer { +type ContentfulBoolean implements ContentfulReference & ContentfulEntry & Node @derivedTypes @dontInfer { contentful_id: String! node_locale: String! title: String + booleanLocalized: Boolean spaceId: String createdAt: Date @dateformat updatedAt: Date @dateformat @@ -330,13 +350,13 @@ type ContentfulBoolean implements ContentfulReference & ContentfulEntry & Node @ boolean: Boolean } -type ContentfulBooleanSys { +type ContentfulBooleanSys @derivedTypes { type: String revision: Int contentType: ContentfulBooleanSysContentType } -type ContentfulBooleanSysContentType { +type ContentfulBooleanSysContentType @derivedTypes { sys: ContentfulBooleanSysContentTypeSys } @@ -346,26 +366,27 @@ type ContentfulBooleanSysContentTypeSys { id: String } -type ContentfulDate implements ContentfulReference & ContentfulEntry & Node @dontInfer { +type ContentfulDate implements ContentfulReference & ContentfulEntry & Node @derivedTypes @dontInfer { contentful_id: String! node_locale: String! title: String - dateTime: Date @dateformat + dateLocalized: Date @dateformat spaceId: String createdAt: Date @dateformat updatedAt: Date @dateformat sys: ContentfulDateSys + dateTime: Date @dateformat dateTimeTimezone: Date @dateformat date: Date @dateformat } -type ContentfulDateSys { +type ContentfulDateSys @derivedTypes { type: String revision: Int contentType: ContentfulDateSysContentType } -type ContentfulDateSysContentType { +type ContentfulDateSysContentType @derivedTypes { sys: ContentfulDateSysContentTypeSys } @@ -375,29 +396,30 @@ type ContentfulDateSysContentTypeSys { id: String } -type ContentfulLocation implements ContentfulReference & ContentfulEntry & Node @dontInfer { +type ContentfulLocation implements ContentfulReference & ContentfulEntry & Node @derivedTypes @dontInfer { contentful_id: String! node_locale: String! title: String - location: ContentfulLocationLocation + locationLocalized: ContentfulLocationLocationLocalized spaceId: String createdAt: Date @dateformat updatedAt: Date @dateformat sys: ContentfulLocationSys + location: ContentfulLocationLocation } -type ContentfulLocationLocation { +type ContentfulLocationLocationLocalized { lat: Float lon: Float } -type ContentfulLocationSys { +type ContentfulLocationSys @derivedTypes { type: String revision: Int contentType: ContentfulLocationSysContentType } -type ContentfulLocationSysContentType { +type ContentfulLocationSysContentType @derivedTypes { sys: ContentfulLocationSysContentTypeSys } @@ -407,18 +429,51 @@ type ContentfulLocationSysContentTypeSys { id: String } -type ContentfulJson implements ContentfulReference & ContentfulEntry & Node @dontInfer { +type ContentfulLocationLocation { + lat: Float + lon: Float +} + +type ContentfulJson implements ContentfulReference & ContentfulEntry & Node @derivedTypes @dontInfer { contentful_id: String! node_locale: String! title: String - json: contentfulJsonJsonJsonNode @link(by: "id", from: "json___NODE") + jsonLocalized: contentfulJsonJsonLocalizedJsonNode @link(by: "id", from: "jsonLocalized___NODE") spaceId: String createdAt: Date @dateformat updatedAt: Date @dateformat sys: ContentfulJsonSys + json: contentfulJsonJsonJsonNode @link(by: "id", from: "json___NODE") +} + +type contentfulJsonJsonLocalizedJsonNode implements Node @derivedTypes @childOf(types: ["ContentfulJson"]) @dontInfer { + age: Int + city: String + name: String + sys: contentfulJsonJsonLocalizedJsonNodeSys +} + +type contentfulJsonJsonLocalizedJsonNodeSys { + type: String +} + +type ContentfulJsonSys @derivedTypes { + type: String + revision: Int + contentType: ContentfulJsonSysContentType +} + +type ContentfulJsonSysContentType @derivedTypes { + sys: ContentfulJsonSysContentTypeSys } -type contentfulJsonJsonJsonNode implements Node @childOf(mimeTypes: [], types: ["ContentfulJson"]) @dontInfer { +type ContentfulJsonSysContentTypeSys { + type: String + linkType: String + id: String +} + +type contentfulJsonJsonJsonNode implements Node @derivedTypes @childOf(types: ["ContentfulJson"]) @dontInfer { Actors: [contentfulJsonJsonJsonNodeActors] sys: contentfulJsonJsonJsonNodeSys name: String @@ -429,7 +484,7 @@ type contentfulJsonJsonJsonNode implements Node @childOf(mimeTypes: [], types: [ type contentfulJsonJsonJsonNodeActors { name: String age: Int - Born_At: String @proxy(from: "Born At", fromNode: false) + Born_At: String @proxy(from: "Born At") Birthdate: String photo: String wife: String @@ -443,47 +498,33 @@ type contentfulJsonJsonJsonNodeSys { type: String } -type ContentfulJsonSys { - type: String - revision: Int - contentType: ContentfulJsonSysContentType -} - -type ContentfulJsonSysContentType { - sys: ContentfulJsonSysContentTypeSys -} - -type ContentfulJsonSysContentTypeSys { - type: String - linkType: String - id: String -} - -type ContentfulRichText implements ContentfulReference & ContentfulEntry & Node @dontInfer { +type ContentfulRichText implements ContentfulReference & ContentfulEntry & Node @derivedTypes @dontInfer { contentful_id: String! node_locale: String! title: String - richText: ContentfulRichTextRichText + richTextValidated: ContentfulRichTextRichTextValidated spaceId: String createdAt: Date @dateformat updatedAt: Date @dateformat sys: ContentfulRichTextSys + richTextLocalized: ContentfulRichTextRichTextLocalized + richText: ContentfulRichTextRichText } -type ContentfulRichTextRichText { +type ContentfulRichTextRichTextValidated { raw: String - references: [ContentfulAssetContentfulContentReferenceContentfulLocationContentfulTextUnion] @link(by: "id", from: "references___NODE") + references: [ContentfulAssetContentfulLocationContentfulNumberContentfulTextUnion] @link(by: "id", from: "references___NODE") } -union ContentfulAssetContentfulContentReferenceContentfulLocationContentfulTextUnion = ContentfulAsset | ContentfulContentReference | ContentfulLocation | ContentfulText +union ContentfulAssetContentfulLocationContentfulNumberContentfulTextUnion = ContentfulAsset | ContentfulLocation | ContentfulNumber | ContentfulText -type ContentfulRichTextSys { +type ContentfulRichTextSys @derivedTypes { type: String revision: Int contentType: ContentfulRichTextSysContentType } -type ContentfulRichTextSysContentType { +type ContentfulRichTextSysContentType @derivedTypes { sys: ContentfulRichTextSysContentTypeSys } @@ -493,7 +534,23 @@ type ContentfulRichTextSysContentTypeSys { id: String } -type ContentfulContentType implements Node @dontInfer { +type ContentfulRichTextRichTextLocalized { + raw: String +} + +type ContentfulRichTextRichText { + raw: String + references: [ContentfulAssetContentfulContentReferenceContentfulLocationContentfulTextUnion] @link(by: "id", from: "references___NODE") +} + +union ContentfulAssetContentfulContentReferenceContentfulLocationContentfulTextUnion = ContentfulAsset | ContentfulContentReference | ContentfulLocation | ContentfulText + +type ContentfulValidatedContentReference implements ContentfulReference & ContentfulEntry & Node @dontInfer { + contentful_id: String! + node_locale: String! +} + +type ContentfulContentType implements Node @derivedTypes @dontInfer { name: String displayField: String description: String @@ -502,4 +559,4 @@ type ContentfulContentType implements Node @dontInfer { type ContentfulContentTypeSys { type: String -} +} \ No newline at end of file diff --git a/e2e-tests/contentful/snapshots.js b/e2e-tests/contentful/snapshots.js index 441f5c4956cce..7446d9c25683a 100644 --- a/e2e-tests/contentful/snapshots.js +++ b/e2e-tests/contentful/snapshots.js @@ -2,28 +2,28 @@ module.exports = { "__version": "6.9.1", "content-reference": { "content-reference-many-2nd-level-loop": { - "1": "
\n

Content Reference: Many (2nd level loop)

\n

[ContentfulInteger]\n 42

\n

[ContentfulText]\n The quick brown fox jumps over the lazy dog.

\n

[ContentfulReference]\n Content Reference: One (Loop A -> B)\n : [\n Content Reference: One (Loop B -> A)\n ]

\n
" + "1": "
\n

Content Reference: Many (2nd level loop)

\n

[ContentfulNumber]\n 42

\n

[ContentfulText]\n The quick brown fox jumps over the lazy dog.

\n

[ContentfulReference]\n Content Reference: One (Loop A -> B)\n : [\n Content Reference: One (Loop B -> A)\n ]

\n
" }, "content-reference-many-loop-a-greater-b": { - "1": "
\n

Content Reference: Many (Loop A -> B)

\n

[ContentfulInteger]\n 42

\n

[ContentfulText]\n The quick brown fox jumps over the lazy dog.

\n

[ContentfulReference]\n Content Reference: Many (Loop B -> A)\n : [\n Number: Integer, Text: Short, Content Reference: Many (Loop A ->\n B)\n ]

\n
" + "1": "
\n

Content Reference: Many (Loop A -> B)

\n

[ContentfulNumber]\n 42

\n

[ContentfulText]\n The quick brown fox jumps over the lazy dog.

\n

[ContentfulReference]\n Content Reference: Many (Loop B -> A)\n : [\n Number: Integer, Text: Short, Content Reference: Many (Loop A ->\n B)\n ]

\n
" }, "content-reference-many-loop-b-greater-a": { - "1": "
\n

Content Reference: Many (Loop B -> A)

\n

[ContentfulInteger]\n 42

\n

[ContentfulText]\n The quick brown fox jumps over the lazy dog.

\n

[ContentfulReference]\n Content Reference: Many (Loop A -> B)\n : [\n Number: Integer, Text: Short, Content Reference: Many (Loop B ->\n A)\n ]

\n
" + "1": "
\n

Content Reference: Many (Loop B -> A)

\n

[ContentfulNumber]\n 42

\n

[ContentfulText]\n The quick brown fox jumps over the lazy dog.

\n

[ContentfulReference]\n Content Reference: Many (Loop A -> B)\n : [\n Number: Integer, Text: Short, Content Reference: Many (Loop B ->\n A)\n ]

\n
" }, "content-reference-many-self-reference": { - "1": "
\n

Content Reference: Many (Self Reference)

\n

[ContentfulInteger]\n 42

\n

[ContentfulText]\n The quick brown fox jumps over the lazy dog.

\n

[ContentfulReference]\n Content Reference: Many (Self Reference)\n : [\n Number: Integer, Text: Short, Content Reference: Many (Self\n Reference)\n ]

\n
" + "1": "
\n

Content Reference: Many (Self Reference)

\n

[ContentfulNumber]\n 42

\n

[ContentfulText]\n The quick brown fox jumps over the lazy dog.

\n

[ContentfulReference]\n Content Reference: Many (Self Reference)\n : [\n Number: Integer, Text: Short, Content Reference: Many (Self\n Reference)\n ]

\n
" }, "content-reference-one": { - "1": "
\n

Content Reference: One

\n

[ContentfulText]\n The quick brown fox jumps over the lazy dog.

\n
" + "1": "
\n

Content Reference: One

\n

[ContentfulText]\n The quick brown fox jumps over the lazy dog.

\n
" }, "content-reference-one-loop-a-greater-b": { - "1": "
\n

Content Reference: One (Loop A -> B)

\n

[ContentfulReference]\n Content Reference: One (Loop B -> A)\n : [\n Content Reference: One (Loop A -> B)\n ]

\n
" + "1": "
\n

Content Reference: One (Loop A -> B)

\n

[ContentfulReference]\n Content Reference: One (Loop B -> A)\n : [\n Content Reference: One (Loop A -> B)\n ]

\n
" }, "content-reference-one-loop-b-greater-a": { - "1": "
\n

Content Reference: One (Loop B -> A)

\n

[ContentfulReference]\n Content Reference: One (Loop A -> B)\n : [\n Content Reference: One (Loop B -> A)\n ]

\n
" + "1": "
\n

Content Reference: One (Loop B -> A)

\n

[ContentfulReference]\n Content Reference: One (Loop A -> B)\n : [\n Content Reference: One (Loop B -> A)\n ]

\n
" }, "content-reference-one-self-reference": { - "1": "
\n

Content Reference: One (Self Reference)

\n

[ContentfulReference]\n Content Reference: One (Self Reference)\n : [\n Content Reference: One (Self Reference)\n ]

\n
" + "1": "
\n

Content Reference: One (Self Reference)

\n

[ContentfulReference]\n Content Reference: One (Self Reference)\n : [\n Content Reference: One (Self Reference)\n ]

\n
" } }, "rich-text": { @@ -53,6 +53,10 @@ module.exports = { }, "rich-text: Inline Entry With Reference Loop": { "1": "
\n

Rich Text: Inline entry with reference loop

\n

Inline entry with reference loop

\n

Should be rendered after this [Inline-\n ContentfulContentReference\n ]\n Content Reference: One (Loop A -> B) and before that

\n

\n

\n
\n
" + }, + "rich-text: Localized": { + "1": "
\n

Rich Text: Localized

\n

Rich Text in English

\n
\n
", + "2": "
\n

Rich Text: Localized

\n

Reichhaltiger Text in deutscher\n Sprache

\n
\n
" } }, "text": { @@ -64,12 +68,48 @@ module.exports = { }, "text: Long Markdown Complex": { "1": "
\n

Headline Complex

\n

The European languages are members of the same family. Their\n separate existence is a myth. For:

\n
    \n
  • science
  • \n
  • music
  • \n
  • sport
  • \n
  • etc
  • \n
\n

Europe uses the same vocabulary.

\n
\n

The languages only differ in their grammar, their pronunciation and their\n most common words. Everyone realizes why a new common language would be\n desirable: one could refuse to pay expensive translators.

\n
\n

\n

To achieve this, it would be necessary to have uniform grammar,\n pronunciation and more common words. If several languages coalesce, the\n grammar of the resulting language is more simple and regular than that of\n the individual languages. The new common language will be more simple and\n regular than the existing European languages. It will be as simple as\n Occidental; in fact, it will be.

\n
{\n\t\"userId\": 1,\n\t\"id\": 1,\n\t\"title\": \"delectus aut autem\",\n\t\"completed\": false\n}\n
\n
" + }, + "text: Long Localized": { + "1": "
\n

One morning, when Gregor Samsa woke from troubled\n dreams, he found himself transformed in his bed into a horrible vermin. He\n lay on his armour-like back, and if he lifted his head a little he could see\n his brown belly, slightly domed and divided by arches into stiff sections.\n The bedding was hardly able to cover it and seemed ready to slide off any\n moment. His many legs, pitifully thin compared with the size of the rest of\n him, waved about helplessly as he looked. \"What's happened to me?\" he\n thought.\n\n It wasn't a dream. His room, a proper human room although a little too\n small, lay peacefully between its four familiar walls. A collection of\n textile samples lay spread out on the table - Samsa was a travelling\n salesman - and above it there hung a picture that he had recently cut out of\n an illustrated magazine and housed in a nice, gilded frame. It showed a lady\n fitted out with a fur hat and fur boa who sat upright, raising a heavy fur\n muff that covered the whole of her lower arm towards the viewer. Gregor then\n turned to look out the window at the dull weather.

\n
", + "2": "
\n

Jemand musste Josef K. verleumdet haben, denn ohne\n dass er etwas Böses getan hätte, wurde er eines Morgens verhaftet. »Wie ein\n Hund!« sagte er, es war, als sollte die Scham ihn überleben. Als Gregor\n Samsa eines Morgens aus unruhigen Träumen erwachte, fand er sich in seinem\n Bett zu einem ungeheueren Ungeziefer verwandelt. Und es war ihnen wie eine\n Bestätigung ihrer neuen Träume und guten Absichten, als am Ziele ihrer Fahrt\n die Tochter als erste sich erhob und ihren jungen Körper dehnte.\n\n »Es ist ein eigentümlicher Apparat«, sagte der Offizier zu dem\n Forschungsreisenden und überblickte mit einem gewissermaßen bewundernden\n Blick den ihm doch wohlbekannten Apparat. Sie hätten noch ins Boot springen\n können, aber der Reisende hob ein schweres, geknotetes Tau vom Boden, drohte\n ihnen damit und hielt sie dadurch von dem Sprunge ab. In den letzten\n Jahrzehnten ist das Interesse an Hungerkünstlern sehr zurückgegangen. Aber\n sie überwanden sich, umdrängten den Käfig und wollten sich gar nicht\n fortrühren.Jemand musste Josef K. verleumdet haben, denn ohne dass er etwas\n Böses getan hätte, wurde er eines Morgens verhaftet. »Wie ein Hund!« sagte\n er, es war, als sollte die Scham ihn überleben. Als Gregor Samsa eines\n Morgens aus unruhigen Träumen erwachte, fand er sich

\n
" } }, "json": { "json: Complex": { - "1": "
\n

Name:\n Tom Cruise

\n

Photo:\n https://jsonformatter.org/img/tom-cruise.jpg

\n

Birthdate:\n 1962-7-3T00:12:34.000Z

\n

Born at:\n Syracuse, NY

\n

Weight:\n 67.5

\n

Age:\n 56

\n

Wife:

\n

Children:\n Suri, Isabella Jane, Connor

\n

Has children:\n true

\n

Has grey hair:\n false

\n
", - "2": "
\n

Name:\n Robert Downey Jr.

\n

Photo:\n https://jsonformatter.org/img/Robert-Downey-Jr.jpg

\n

Birthdate:\n 1965-4-4T00:12:34.000Z

\n

Born at:\n New York City, NY

\n

Weight:\n 77.1

\n

Age:\n 53

\n

Wife:\n Susan Downey

\n

Children:\n Indio Falconer, Avri Roel, Exton Elias

\n

Has children:\n true

\n

Has grey hair:\n false

\n
" + "1": "
\n

Name:\n Tom Cruise

\n

Photo:\n https://jsonformatter.org/img/tom-cruise.jpg

\n

Birthdate:\n 1962-7-3T00:12:34.000Z

\n

Born at:\n Syracuse, NY

\n

Weight:\n 67.5

\n

Age:\n 56

\n

Wife:

\n

Children:\n Suri, Isabella Jane, Connor

\n

Has children:\n true

\n

Has grey hair:\n false

\n
", + "2": "
\n

Name:\n Robert Downey Jr.

\n

Photo:\n https://jsonformatter.org/img/Robert-Downey-Jr.jpg

\n

Birthdate:\n 1965-4-4T00:12:34.000Z

\n

Born at:\n New York City, NY

\n

Weight:\n 77.1

\n

Age:\n 53

\n

Wife:\n Susan Downey

\n

Children:\n Indio Falconer, Avri Roel, Exton Elias

\n

Has children:\n true

\n

Has grey hair:\n false

\n
" + } + }, + "content-reference localized": { + "english-content-reference-one-localized": { + "1": "
\n

Content Reference: One Localized

\n

[ContentfulNumber]\n 42

\n
" + }, + "english-content-reference-many-localized": { + "1": "
\n

Content Reference: Many Localized

\n

[ContentfulText]\n The quick brown fox jumps over the lazy dog.

\n

[ContentfulNumber]\n 42

\n
" + }, + "german-content-reference-one-localized": { + "1": "
\n

Content Reference: One Localized

\n

[ContentfulNumber]\n 4.2

\n
" + }, + "german-content-reference-many-localized": { + "1": "
\n

Content Reference: Many Localized

\n

[ContentfulNumber]\n 4.2

\n

[ContentfulText]\n The European languages are members of the same family. Their\n separate existence is a myth. For science, music, sport, etc, Europe uses\n the same vocabulary.\n\n The languages only differ in their grammar, their pronunciation and their\n most common words. Everyone realizes why a new common language would be\n desirable: one could refuse to pay expensive translators.\n\n To achieve this, it would be necessary to have uniform grammar,\n pronunciation and more common words. If several languages coalesce, the\n grammar of the resulting language is more simple and regular than that of\n the individual languages. The new common language will be more simple and\n regular than the existing European languages. It will be as simple as\n Occidental; in fact, it will be.

\n
" + } + }, + "media-reference localized": { + "media-reference: many with localized field": { + "1": "
\n

Media Reference: Many Localized Field

\n
", + "2": "
\n

Media Reference: Many Localized Field

\n
" + }, + "media-reference: many with localized asset": { + "1": "
\n

Media Reference: Many With Localized Asset

\n
", + "2": "
\n

Media Reference: Many With Localized Asset

\n
" + }, + "media-reference: one with localized asset": { + "1": "
\n

Media Reference: One Localized Asset

\n
", + "2": "
\n

Media Reference: One Localized Asset

\n
" + }, + "media-reference: one with localized field": { + "1": "
\n

Media Reference: One Localized Field

\n
", + "2": "
\n

Media Reference: One Localized Field

\n
" } } } diff --git a/e2e-tests/contentful/src/components/grid.js b/e2e-tests/contentful/src/components/grid.js index 20410d855e28c..104aa87bf0d30 100644 --- a/e2e-tests/contentful/src/components/grid.js +++ b/e2e-tests/contentful/src/components/grid.js @@ -1,18 +1,23 @@ import * as React from "react" -const Grid = ({ children, columns, ...rest }) => ( -
- {children} -
-) +const Grid = ({ children, columns, ...rest }) => { + const wrappedChildren = React.Children.map(children, child => ( +
{child}
+ )) + + return ( +
+ {wrappedChildren} +
+ ) +} export default Grid diff --git a/e2e-tests/contentful/src/components/header.js b/e2e-tests/contentful/src/components/header.js index aaad59fe864a8..96b842e53f622 100644 --- a/e2e-tests/contentful/src/components/header.js +++ b/e2e-tests/contentful/src/components/header.js @@ -13,7 +13,7 @@ const Header = ({ siteTitle }) => ( style={{ margin: `0 auto`, maxWidth: 960, - padding: `1.45rem 1.0875rem`, + padding: `1.45rem 20px`, }} >

diff --git a/e2e-tests/contentful/src/components/layout.js b/e2e-tests/contentful/src/components/layout.js index b2bdf6926408c..c55e857be4610 100644 --- a/e2e-tests/contentful/src/components/layout.js +++ b/e2e-tests/contentful/src/components/layout.js @@ -22,7 +22,7 @@ const Layout = ({ children }) => ( style={{ margin: `0 auto`, maxWidth: 960, - padding: `0px 1.0875rem 1.45rem`, + padding: `0px 20px`, paddingTop: 0, }} > diff --git a/e2e-tests/contentful/src/components/references/number.js b/e2e-tests/contentful/src/components/references/number.js index e05997352b12a..db7e048b14636 100644 --- a/e2e-tests/contentful/src/components/references/number.js +++ b/e2e-tests/contentful/src/components/references/number.js @@ -1,5 +1,5 @@ import React from "react" -export const ContentfulNumber = ({ integer }) => ( -

[ContentfulInteger] {integer}

+export const ContentfulNumber = ({ integer, decimal }) => ( +

[ContentfulNumber] {integer || decimal}

) diff --git a/e2e-tests/contentful/src/components/references/text.js b/e2e-tests/contentful/src/components/references/text.js index 78fa8732feb38..8bcf361eb99c8 100644 --- a/e2e-tests/contentful/src/components/references/text.js +++ b/e2e-tests/contentful/src/components/references/text.js @@ -1,5 +1,5 @@ import React from "react" -export const ContentfulText = ({ short }) => ( -

[ContentfulText] {short}

+export const ContentfulText = ({ short, longPlain }) => ( +

[ContentfulText] {short || longPlain?.longPlain}

) diff --git a/e2e-tests/contentful/src/pages/boolean.js b/e2e-tests/contentful/src/pages/boolean.js index 979b92eac6b49..410065f7074bd 100644 --- a/e2e-tests/contentful/src/pages/boolean.js +++ b/e2e-tests/contentful/src/pages/boolean.js @@ -5,18 +5,42 @@ import slugify from "slugify" import Layout from "../components/layout" const BooleanPage = ({ data }) => { - const entries = data.allContentfulBoolean.nodes + const defaultEntries = data.default.nodes + const englishEntries = data.english.nodes + const germanEntries = data.german.nodes + return ( - {entries.map(({ title, boolean }) => { +

Default

+ {defaultEntries.map(({ title, boolean }) => { const slug = slugify(title, { strict: true, lower: true }) return ( -
+

{title}

{JSON.stringify(boolean)}

) })} +

English Locale

+ {englishEntries.map(({ title, booleanLocalized }) => { + const slug = slugify(title, { strict: true, lower: true }) + return ( +
+

{title}

+

{JSON.stringify(booleanLocalized)}

+
+ ) + })} +

German Locale

+ {germanEntries.map(({ title, booleanLocalized }) => { + const slug = slugify(title, { strict: true, lower: true }) + return ( +
+

{title}

+

{JSON.stringify(booleanLocalized)}

+
+ ) + })} ) } @@ -25,11 +49,32 @@ export default BooleanPage export const pageQuery = graphql` query BooleanQuery { - allContentfulBoolean(sort: { fields: contentful_id }) { + default: allContentfulBoolean( + sort: { fields: contentful_id } + filter: { node_locale: { eq: "en-US" }, booleanLocalized: { eq: null } } + ) { nodes { title boolean } } + english: allContentfulBoolean( + sort: { fields: contentful_id } + filter: { node_locale: { eq: "en-US" }, booleanLocalized: { ne: null } } + ) { + nodes { + title + booleanLocalized + } + } + german: allContentfulBoolean( + sort: { fields: contentful_id } + filter: { node_locale: { eq: "de-DE" }, booleanLocalized: { ne: null } } + ) { + nodes { + title + booleanLocalized + } + } } ` diff --git a/e2e-tests/contentful/src/pages/content-reference.js b/e2e-tests/contentful/src/pages/content-reference.js index 66d5d87d23f04..642722e2a92d6 100644 --- a/e2e-tests/contentful/src/pages/content-reference.js +++ b/e2e-tests/contentful/src/pages/content-reference.js @@ -17,10 +17,14 @@ function renderReferencedComponent(ref) { } const ContentReferencePage = ({ data }) => { - const entries = data.allContentfulContentReference.nodes + const defaultEntries = data.default.nodes + const englishEntries = data.english.nodes + const germanEntries = data.german.nodes + return ( - {entries.map(({ contentful_id, title, one, many }) => { +

Default

+ {defaultEntries.map(({ contentful_id, title, one, many }) => { const slug = slugify(title, { strict: true, lower: true }) let content = null @@ -33,12 +37,56 @@ const ContentReferencePage = ({ data }) => { } return ( -
+

{title}

{content}
) })} +

English Locale

+ {englishEntries.map( + ({ contentful_id, title, oneLocalized, manyLocalized }) => { + const slug = slugify(title, { strict: true, lower: true }) + + let content = null + if (manyLocalized) { + content = manyLocalized.map(renderReferencedComponent) + } + + if (oneLocalized) { + content = renderReferencedComponent(oneLocalized) + } + + return ( +
+

{title}

+ {content} +
+ ) + } + )} +

German Locale

+ {germanEntries.map( + ({ contentful_id, title, oneLocalized, manyLocalized }) => { + const slug = slugify(title, { strict: true, lower: true }) + + let content = null + if (manyLocalized) { + content = manyLocalized.map(renderReferencedComponent) + } + + if (oneLocalized) { + content = renderReferencedComponent(oneLocalized) + } + + return ( +
+

{title}

+ {content} +
+ ) + } + )} ) } @@ -47,7 +95,10 @@ export default ContentReferencePage export const pageQuery = graphql` query ContentReferenceQuery { - allContentfulContentReference(sort: { fields: title }) { + default: allContentfulContentReference( + sort: { fields: title } + filter: { node_locale: { eq: "en-US" }, title: { glob: "!*Localized*" } } + ) { nodes { title contentful_id @@ -126,5 +177,65 @@ export const pageQuery = graphql` } } } + english: allContentfulContentReference( + sort: { fields: title } + filter: { node_locale: { eq: "en-US" }, title: { glob: "*Localized*" } } + ) { + nodes { + title + contentful_id + oneLocalized { + __typename + title + decimal + integer + } + manyLocalized { + __typename + ... on ContentfulNumber { + title + decimal + integer + } + ... on ContentfulText { + title + short + longPlain { + longPlain + } + } + } + } + } + german: allContentfulContentReference( + sort: { fields: title } + filter: { node_locale: { eq: "de-DE" }, title: { glob: "*Localized*" } } + ) { + nodes { + title + contentful_id + oneLocalized { + __typename + title + decimal + integer + } + manyLocalized { + __typename + ... on ContentfulNumber { + title + decimal + integer + } + ... on ContentfulText { + title + short + longPlain { + longPlain + } + } + } + } + } } ` diff --git a/e2e-tests/contentful/src/pages/date.js b/e2e-tests/contentful/src/pages/date.js index a1d078405f288..bb3a0ff554a38 100644 --- a/e2e-tests/contentful/src/pages/date.js +++ b/e2e-tests/contentful/src/pages/date.js @@ -5,7 +5,13 @@ import slugify from "slugify" import Layout from "../components/layout" const DatePage = ({ data }) => { - const entries = [data.date, data.dateTime, data.dateTimeTimezone] + const entries = [ + data.date, + data.dateTime, + data.dateTimeTimezone, + { ...data.dateEnglish, title: "Date: English" }, + { ...data.dateGerman, title: "Date: German" }, + ] return ( {entries.map(({ title, date, formatted }) => { @@ -43,5 +49,21 @@ export const pageQuery = graphql` date formatted: date(formatString: "D.M.YYYY") } + dateEnglish: contentfulDate( + contentful_id: { eq: "1ERWZvDiYELryAZEP1dmKG" } + node_locale: { eq: "en-US" } + ) { + title + date: dateLocalized + formatted: dateLocalized(formatString: "D.M.YYYY - HH:mm:ss") + } + dateGerman: contentfulDate( + contentful_id: { eq: "1ERWZvDiYELryAZEP1dmKG" } + node_locale: { eq: "de-DE" } + ) { + title + date: dateLocalized + formatted: dateLocalized(formatString: "D.M.YYYY - HH:mm:ss") + } } ` diff --git a/e2e-tests/contentful/src/pages/gatsby-image.js b/e2e-tests/contentful/src/pages/gatsby-image.js index bb15c3c97614f..c1a5deda7291d 100644 --- a/e2e-tests/contentful/src/pages/gatsby-image.js +++ b/e2e-tests/contentful/src/pages/gatsby-image.js @@ -12,7 +12,7 @@ const GatsbyImagePage = ({ data }) => {

Test legacy gatsby-image

gatsby-image: fluid

- {data.allContentfulAsset.nodes.map(node => ( + {data.default.nodes.map(node => (

@@ -31,7 +31,7 @@ const GatsbyImagePage = ({ data }) => {

gatsby-image: fixed

- {data.allContentfulAsset.nodes.map(node => ( + {data.default.nodes.map(node => (

@@ -50,7 +50,7 @@ const GatsbyImagePage = ({ data }) => {

gatsby-image: WebP

- {data.allContentfulAsset.nodes.map(node => ( + {data.default.nodes.map(node => (

@@ -69,7 +69,7 @@ const GatsbyImagePage = ({ data }) => {

gatsby-image: Traced SVG Placeholder

- {data.allContentfulAsset.nodes.map(node => ( + {data.default.nodes.map(node => (

@@ -88,7 +88,7 @@ const GatsbyImagePage = ({ data }) => {

gatsby-image: SQIP Placeholder

- {data.allContentfulAsset.nodes.map(node => ( + {data.default.nodes.map(node => (

@@ -109,6 +109,44 @@ const GatsbyImagePage = ({ data }) => {

))}
+ +

gatsby-image: English

+ + {data.english.nodes.map(node => ( +
+

+ + {node.title} ({node.file.fileName.split(".").pop()}) + +

+ {node.description &&

{node.description}

} + {node.fluid ? ( + + ) : ( + + )} +
+ ))} +
+ +

gatsby-image: German

+ + {data.german.nodes.map(node => ( +
+

+ + {node.title} ({node.file.fileName.split(".").pop()}) + +

+ {node.description &&

{node.description}

} + {node.fluid ? ( + + ) : ( + + )} +
+ ))} +
) } @@ -117,7 +155,7 @@ export default GatsbyImagePage export const pageQuery = graphql` query GatsbyImageQuery { - allContentfulAsset( + default: allContentfulAsset( filter: { contentful_id: { in: [ @@ -126,6 +164,7 @@ export const pageQuery = graphql` "65syuRuRVeKi03HvRsOkkb" ] } + node_locale: { eq: "en-US" } } sort: { fields: contentful_id } ) { @@ -153,5 +192,43 @@ export const pageQuery = graphql` } } } + english: allContentfulAsset( + filter: { + contentful_id: { in: ["4FwygYxkL3rAteERtoxxNC"] } + node_locale: { eq: "en-US" } + } + sort: { fields: contentful_id } + ) { + nodes { + title + description + file { + fileName + url + } + fluid(maxWidth: 420) { + ...GatsbyContentfulFluid + } + } + } + german: allContentfulAsset( + filter: { + contentful_id: { in: ["4FwygYxkL3rAteERtoxxNC"] } + node_locale: { eq: "de-DE" } + } + sort: { fields: contentful_id } + ) { + nodes { + title + description + file { + fileName + url + } + fluid(maxWidth: 420) { + ...GatsbyContentfulFluid + } + } + } } ` diff --git a/e2e-tests/contentful/src/pages/gatsby-plugin-image.js b/e2e-tests/contentful/src/pages/gatsby-plugin-image.js index 6ddc03521cbc7..38f11874aa32f 100644 --- a/e2e-tests/contentful/src/pages/gatsby-plugin-image.js +++ b/e2e-tests/contentful/src/pages/gatsby-plugin-image.js @@ -12,7 +12,7 @@ const GatsbyPluginImagePage = ({ data }) => {

Test gatsby-plugin-image

gatsby-plugin-image: constrained

- {data.allContentfulAsset.nodes.map(node => ( + {data.default.nodes.map(node => (

@@ -30,7 +30,7 @@ const GatsbyPluginImagePage = ({ data }) => {

gatsby-plugin-image: full width

- {data.allContentfulAsset.nodes.map(node => ( + {data.default.nodes.map(node => (

@@ -49,7 +49,7 @@ const GatsbyPluginImagePage = ({ data }) => {

gatsby-plugin-image: fixed

- {data.allContentfulAsset.nodes.map(node => ( + {data.default.nodes.map(node => (

@@ -68,7 +68,7 @@ const GatsbyPluginImagePage = ({ data }) => {

gatsby-plugin-image: Dominant Color Placeholder

- {data.allContentfulAsset.nodes.map(node => ( + {data.default.nodes.map(node => (

@@ -87,7 +87,7 @@ const GatsbyPluginImagePage = ({ data }) => {

gatsby-plugin-image: Traced SVG Placeholder

- {data.allContentfulAsset.nodes.map(node => ( + {data.default.nodes.map(node => (

@@ -106,7 +106,7 @@ const GatsbyPluginImagePage = ({ data }) => {

gatsby-plugin-image: Blurred Placeholder

- {data.allContentfulAsset.nodes.map(node => ( + {data.default.nodes.map(node => (

@@ -125,7 +125,7 @@ const GatsbyPluginImagePage = ({ data }) => {

gatsby-plugin-image: SQIP Placeholder

- {data.allContentfulAsset.nodes.map(node => ( + {data.default.nodes.map(node => (

@@ -148,6 +148,44 @@ const GatsbyPluginImagePage = ({ data }) => {

))}
+ +

gatsby-plugin-image: English

+ + {data.english.nodes.map(node => ( +
+

+ + {node.title} ({node.file.fileName.split(".").pop()}) + +

+ {node.description &&

{node.description}

} + {node.constrained ? ( + + ) : ( + + )} +
+ ))} +
+ +

gatsby-plugin-image: German

+ + {data.german.nodes.map(node => ( +
+

+ + {node.title} ({node.file.fileName.split(".").pop()}) + +

+ {node.description &&

{node.description}

} + {node.constrained ? ( + + ) : ( + + )} +
+ ))} +
) } @@ -156,7 +194,7 @@ export default GatsbyPluginImagePage export const pageQuery = graphql` query GatsbyPluginImageQuery { - allContentfulAsset( + default: allContentfulAsset( filter: { contentful_id: { in: [ @@ -165,6 +203,7 @@ export const pageQuery = graphql` "65syuRuRVeKi03HvRsOkkb" ] } + node_locale: { eq: "en-US" } } sort: { fields: contentful_id } ) { @@ -198,5 +237,39 @@ export const pageQuery = graphql` } } } + english: allContentfulAsset( + filter: { + contentful_id: { in: ["4FwygYxkL3rAteERtoxxNC"] } + node_locale: { eq: "en-US" } + } + sort: { fields: contentful_id } + ) { + nodes { + title + description + file { + fileName + url + } + constrained: gatsbyImageData(width: 420) + } + } + german: allContentfulAsset( + filter: { + contentful_id: { in: ["4FwygYxkL3rAteERtoxxNC"] } + node_locale: { eq: "de-DE" } + } + sort: { fields: contentful_id } + ) { + nodes { + title + description + file { + fileName + url + } + constrained: gatsbyImageData(width: 420) + } + } } ` diff --git a/e2e-tests/contentful/src/pages/json.js b/e2e-tests/contentful/src/pages/json.js index eeb1437fe2850..b41d1bf54501e 100644 --- a/e2e-tests/contentful/src/pages/json.js +++ b/e2e-tests/contentful/src/pages/json.js @@ -7,6 +7,8 @@ import Layout from "../components/layout" const JSONPage = ({ data }) => { const simple = data.simple.json const actors = data.complex.json.Actors + const english = data.english.jsonLocalized + const german = data.german.jsonLocalized return (

Simple:

@@ -26,23 +28,31 @@ const JSONPage = ({ data }) => { margin: "1rem 0", }} > -

Name: {actor.name}

-

Photo: {actor.photo}

-

Birthdate: {actor.Birthdate}

-

Born at: {actor.Born_At}

-

Weight: {actor.weight}

-

Age: {actor.age}

-

Wife: {actor.wife}

-

Children: {actor.children.join(", ")}

-

- Has children: {JSON.stringify(actor.hasChildren)} -

-

- Has grey hair: {JSON.stringify(actor.hasGreyHair)} -

+

Name: {actor.name}

+

Photo: {actor.photo}

+

Birthdate: {actor.Birthdate}

+

Born at: {actor.Born_At}

+

Weight: {actor.weight}

+

Age: {actor.age}

+

Wife: {actor.wife}

+

Children: {actor.children.join(", ")}

+

Has children: {JSON.stringify(actor.hasChildren)}

+

Has grey hair: {JSON.stringify(actor.hasGreyHair)}

))}
+

English:

+
+

Name: {english.name}

+

City: {english.city}

+

Age: {english.age}

+
+

German:

+
+

Name: {german.name}

+

City: {german.city}

+

Age: {german.age}

+
) } @@ -74,5 +84,27 @@ export const pageQuery = graphql` } } } + english: contentfulJson( + node_locale: { eq: "en-US" } + jsonLocalized: { id: { ne: null } } + ) { + title + jsonLocalized { + age + city + name + } + } + german: contentfulJson( + node_locale: { eq: "de-DE" } + jsonLocalized: { id: { ne: null } } + ) { + title + jsonLocalized { + age + city + name + } + } } ` diff --git a/e2e-tests/contentful/src/pages/location.js b/e2e-tests/contentful/src/pages/location.js index 084e08fb4254b..813f6cf9ed7dd 100644 --- a/e2e-tests/contentful/src/pages/location.js +++ b/e2e-tests/contentful/src/pages/location.js @@ -5,10 +5,12 @@ import slugify from "slugify" import Layout from "../components/layout" const LocationPage = ({ data }) => { - const entries = data.allContentfulLocation.nodes + const defaultEntries = data.default.nodes + const englishEntries = data.english.nodes + const germanEntries = data.german.nodes return ( - {entries.map(({ title, location }) => { + {defaultEntries.map(({ title, location }) => { const slug = slugify(title, { strict: true, lower: true }) return (
@@ -20,6 +22,32 @@ const LocationPage = ({ data }) => {
) })} +

English Locale

+ {englishEntries.map(({ title, locationLocalized }) => { + const slug = slugify(title, { strict: true, lower: true }) + return ( +
+

{title}

+

+ Lat: {locationLocalized.lat} Long:{" "} + {locationLocalized.lon} +

+
+ ) + })} +

German Locale

+ {germanEntries.map(({ title, locationLocalized }) => { + const slug = slugify(title, { strict: true, lower: true }) + return ( +
+

{title}

+

+ Lat: {locationLocalized.lat} Long:{" "} + {locationLocalized.lon} +

+
+ ) + })}
) } @@ -28,7 +56,10 @@ export default LocationPage export const pageQuery = graphql` query LocationQuery { - allContentfulLocation(sort: { fields: contentful_id }) { + default: allContentfulLocation( + sort: { fields: contentful_id } + filter: { title: { glob: "!*Localized*" }, node_locale: { eq: "en-US" } } + ) { nodes { title location { @@ -37,5 +68,29 @@ export const pageQuery = graphql` } } } + english: allContentfulLocation( + sort: { fields: contentful_id } + filter: { title: { glob: "*Localized*" }, node_locale: { eq: "en-US" } } + ) { + nodes { + title + locationLocalized { + lat + lon + } + } + } + german: allContentfulLocation( + sort: { fields: contentful_id } + filter: { title: { glob: "*Localized*" }, node_locale: { eq: "de-DE" } } + ) { + nodes { + title + locationLocalized { + lat + lon + } + } + } } ` diff --git a/e2e-tests/contentful/src/pages/media-reference.js b/e2e-tests/contentful/src/pages/media-reference.js index 765764da61365..f6bf077d006e1 100644 --- a/e2e-tests/contentful/src/pages/media-reference.js +++ b/e2e-tests/contentful/src/pages/media-reference.js @@ -1,26 +1,29 @@ import { graphql } from "gatsby" -import GatsbyImage from "gatsby-image" import * as React from "react" import slugify from "slugify" import Layout from "../components/layout" const MediaReferencePage = ({ data }) => { - const entries = data.allContentfulMediaReference.nodes + const defaultEntries = data.default.nodes + const englishEntries = data.english.nodes + const germanEntries = data.german.nodes return ( - {entries.map(({ contentful_id, title, one, many }) => { + {defaultEntries.map(({ contentful_id, title, one, many }) => { const slug = slugify(title, { strict: true, lower: true }) let content = null if (many) { content = many.map(imageData => ( - + {title} )) } if (one) { - content = + content = ( + {title} + ) } return ( @@ -30,6 +33,107 @@ const MediaReferencePage = ({ data }) => {
) })} +

English Locale

+ {englishEntries.map( + ({ contentful_id, title, one, oneLocalized, many, manyLocalized }) => { + const slug = slugify(title, { strict: true, lower: true }) + + let content = null + if (manyLocalized) { + content = manyLocalized.map(imageData => ( + {title} + )) + } + + if (oneLocalized) { + content = ( + {title} + ) + } + + if (many) { + content = many.map(imageData => ( + {title} + )) + } + + if (one) { + content = ( + {title} + ) + } + + return ( +
+

{title}

+ {content} +
+ ) + } + )} + +

German Locale

+ {germanEntries.map( + ({ contentful_id, title, one, oneLocalized, many, manyLocalized }) => { + const slug = slugify(title, { strict: true, lower: true }) + + let content = null + if (manyLocalized) { + content = manyLocalized.map(imageData => ( + {title} + )) + } + + if (oneLocalized) { + content = ( + {title} + ) + } + + if (many) { + content = many.map(imageData => ( + {title} + )) + } + + if (one) { + content = ( + {title} + ) + } + + return ( +
+

{title}

+ {content} +
+ ) + } + )} ) } @@ -38,18 +142,79 @@ export default MediaReferencePage export const pageQuery = graphql` query MediaReferenceQuery { - allContentfulMediaReference(sort: { fields: title }) { + default: allContentfulMediaReference( + sort: { fields: title } + filter: { title: { glob: "!*Localized*" }, node_locale: { eq: "en-US" } } + ) { nodes { title contentful_id one { - fluid(maxWidth: 200) { - ...GatsbyContentfulFluid + file { + url } } many { - fluid(maxWidth: 200) { - ...GatsbyContentfulFluid + file { + url + } + } + } + } + english: allContentfulMediaReference( + sort: { fields: title } + filter: { title: { glob: "*Localized*" }, node_locale: { eq: "en-US" } } + ) { + nodes { + title + contentful_id + one { + file { + url + } + } + many { + file { + url + } + } + oneLocalized { + file { + url + } + } + manyLocalized { + file { + url + } + } + } + } + german: allContentfulMediaReference( + sort: { fields: title } + filter: { title: { glob: "*Localized*" }, node_locale: { eq: "de-DE" } } + ) { + nodes { + title + contentful_id + one { + file { + url + } + } + many { + file { + url + } + } + oneLocalized { + file { + url + } + } + manyLocalized { + file { + url } } } diff --git a/e2e-tests/contentful/src/pages/number.js b/e2e-tests/contentful/src/pages/number.js index 3782552ae03bf..5eff2ed704bba 100644 --- a/e2e-tests/contentful/src/pages/number.js +++ b/e2e-tests/contentful/src/pages/number.js @@ -5,10 +5,12 @@ import slugify from "slugify" import Layout from "../components/layout" const NumberPage = ({ data }) => { - const entries = data.allContentfulNumber.nodes + const defaultEntries = data.default.nodes + const englishEntries = data.english.nodes + const germanEntries = data.german.nodes return ( - {entries.map(({ title, integer, decimal }) => { + {defaultEntries.map(({ title, integer, decimal }) => { const slug = slugify(title, { strict: true, lower: true }) return (
@@ -17,6 +19,32 @@ const NumberPage = ({ data }) => {
) })} + +

English Locale

+ {englishEntries.map(({ title, integerLocalized, decimalLocalized }) => { + const slug = slugify(title, { strict: true, lower: true }) + return ( +
+

{title}

+

+ {integerLocalized ? integerLocalized : decimalLocalized} +

+
+ ) + })} + +

German Locale

+ {germanEntries.map(({ title, integerLocalized, decimalLocalized }) => { + const slug = slugify(title, { strict: true, lower: true }) + return ( +
+

{title}

+

+ {integerLocalized ? integerLocalized : decimalLocalized} +

+
+ ) + })}
) } @@ -25,12 +53,35 @@ export default NumberPage export const pageQuery = graphql` query NumberQuery { - allContentfulNumber(sort: { fields: contentful_id }) { + default: allContentfulNumber( + sort: { fields: contentful_id } + filter: { title: { glob: "!*Localized*" }, node_locale: { eq: "en-US" } } + ) { nodes { title integer decimal } } + english: allContentfulNumber( + sort: { fields: contentful_id } + filter: { title: { glob: "*Localized*" }, node_locale: { eq: "en-US" } } + ) { + nodes { + title + integerLocalized + decimalLocalized + } + } + german: allContentfulNumber( + sort: { fields: contentful_id } + filter: { title: { glob: "*Localized*" }, node_locale: { eq: "de-DE" } } + ) { + nodes { + title + integerLocalized + decimalLocalized + } + } } ` diff --git a/e2e-tests/contentful/src/pages/rich-text.js b/e2e-tests/contentful/src/pages/rich-text.js index 1a42d61d0d036..8ef4b0e4bc154 100644 --- a/e2e-tests/contentful/src/pages/rich-text.js +++ b/e2e-tests/contentful/src/pages/rich-text.js @@ -67,10 +67,12 @@ const options = { } const RichTextPage = ({ data }) => { - const entries = data.allContentfulRichText.nodes + const defaultEntries = data.default.nodes + const englishEntries = data.english.nodes + const germanEntries = data.german.nodes return ( - {entries.map(({ id, title, richText }) => { + {defaultEntries.map(({ id, title, richText }) => { const slug = slugify(title, { strict: true, lower: true }) return (
@@ -80,6 +82,30 @@ const RichTextPage = ({ data }) => {
) })} + +

English Locale

+ {englishEntries.map(({ id, title, richTextLocalized }) => { + const slug = slugify(title, { strict: true, lower: true }) + return ( +
+

{title}

+ {renderRichText(richTextLocalized, options)} +
+
+ ) + })} + +

German Locale

+ {germanEntries.map(({ id, title, richTextLocalized }) => { + const slug = slugify(title, { strict: true, lower: true }) + return ( +
+

{title}

+ {renderRichText(richTextLocalized, options)} +
+
+ ) + })}
) } @@ -88,7 +114,13 @@ export default RichTextPage export const pageQuery = graphql` query RichTextQuery { - allContentfulRichText(sort: { fields: title }) { + default: allContentfulRichText( + sort: { fields: title } + filter: { + title: { glob: "!*Localized*|*Validated*" } + node_locale: { eq: "en-US" } + } + ) { nodes { id title @@ -156,5 +188,29 @@ export const pageQuery = graphql` } } } + english: allContentfulRichText( + sort: { fields: title } + filter: { title: { glob: "*Localized*" }, node_locale: { eq: "en-US" } } + ) { + nodes { + id + title + richTextLocalized { + raw + } + } + } + german: allContentfulRichText( + sort: { fields: title } + filter: { title: { glob: "*Localized*" }, node_locale: { eq: "de-DE" } } + ) { + nodes { + id + title + richTextLocalized { + raw + } + } + } } ` diff --git a/e2e-tests/contentful/src/pages/text.js b/e2e-tests/contentful/src/pages/text.js index 53664046e87d6..bc39dd5ddfa6e 100644 --- a/e2e-tests/contentful/src/pages/text.js +++ b/e2e-tests/contentful/src/pages/text.js @@ -10,14 +10,18 @@ const TextPage = ({ data }) => { longPlain, longMarkdownSimple, longMarkdownComplex, + shortEnglish, + longEnglish, + shortGerman, + longGerman, } = data return ( -

Short:

+

Short:

{short.short}

-

Short List:

+

Short List:

    {shortList.shortList.map((text, i) => ( @@ -27,24 +31,44 @@ const TextPage = ({ data }) => { ))}
-

Long (Plain):

+

Long (Plain):

{longPlain.longPlain.longPlain}

-

Markdown (Simple):

+

Markdown (Simple):

-

Markdown (Complex):

+

Markdown (Complex):

+ +

English Locale

+

Short:

+
+

{shortEnglish.shortLocalized}

+
+

Long (Plain):

+
+

{longEnglish.longLocalized.longLocalized}

+
+ +

German Locale

+

Short:

+
+

{shortGerman.shortLocalized}

+
+

Long (Plain):

+
+

{longGerman.longLocalized.longLocalized}

+
) } @@ -53,18 +77,28 @@ export default TextPage export const pageQuery = graphql` query TextQuery { - short: contentfulText(contentful_id: { eq: "5ZtcN1o7KpN7J7xgiTyaXo" }) { + short: contentfulText( + node_locale: { eq: "en-US" } + contentful_id: { eq: "5ZtcN1o7KpN7J7xgiTyaXo" } + ) { short } - shortList: contentfulText(contentful_id: { eq: "7b5U927WTFcQXO2Gewwa2k" }) { + shortList: contentfulText( + node_locale: { eq: "en-US" } + contentful_id: { eq: "7b5U927WTFcQXO2Gewwa2k" } + ) { shortList } - longPlain: contentfulText(contentful_id: { eq: "6ru8cSC9hZi3Ekvtw7P77S" }) { + longPlain: contentfulText( + node_locale: { eq: "en-US" } + contentful_id: { eq: "6ru8cSC9hZi3Ekvtw7P77S" } + ) { longPlain { longPlain } } longMarkdownSimple: contentfulText( + node_locale: { eq: "en-US" } contentful_id: { eq: "NyPJw0mcSuCwY2gV0zYny" } ) { longMarkdown { @@ -74,6 +108,7 @@ export const pageQuery = graphql` } } longMarkdownComplex: contentfulText( + node_locale: { eq: "en-US" } contentful_id: { eq: "3pwKS9UWsYmOguo4UdE1EB" } ) { longMarkdown { @@ -82,5 +117,33 @@ export const pageQuery = graphql` } } } + shortEnglish: contentfulText( + node_locale: { eq: "en-US" } + contentful_id: { eq: "2sQRyOLUexvWZj9nkzS3nN" } + ) { + shortLocalized + } + shortGerman: contentfulText( + node_locale: { eq: "de-DE" } + contentful_id: { eq: "2sQRyOLUexvWZj9nkzS3nN" } + ) { + shortLocalized + } + longEnglish: contentfulText( + node_locale: { eq: "en-US" } + contentful_id: { eq: "5csovkwdDBqTKwSblAOHvd" } + ) { + longLocalized { + longLocalized + } + } + longGerman: contentfulText( + node_locale: { eq: "de-DE" } + contentful_id: { eq: "5csovkwdDBqTKwSblAOHvd" } + ) { + longLocalized { + longLocalized + } + } } ` diff --git a/examples/creating-source-plugins/source-plugin/gatsby-node.js b/examples/creating-source-plugins/source-plugin/gatsby-node.js index cffc0dfdc2c41..e9c4c0d385d56 100644 --- a/examples/creating-source-plugins/source-plugin/gatsby-node.js +++ b/examples/creating-source-plugins/source-plugin/gatsby-node.js @@ -144,7 +144,7 @@ exports.sourceNodes = async function sourceNodes( console.log(await cache.get(`hello`)) // touch nodes to ensure they aren't garbage collected - getNodesByType(POST_NODE_TYPE).forEach(node => touchNode(node) + getNodesByType(POST_NODE_TYPE).forEach(node => touchNode(node)) getNodesByType(AUTHOR_NODE_TYPE).forEach(node => touchNode(node) ) diff --git a/package.json b/package.json index b3b70f71b5999..c63fb9afc11d6 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "@babel/core": "^7.13.8", "@babel/eslint-parser": "^7.13.8", "@babel/eslint-plugin": "^7.13.0", - "@babel/node": "^7.13.0", + "@babel/node": "^7.14.2", "@babel/plugin-transform-typescript": "^7.13.0", "@babel/runtime": "^7.13.9", "@lerna/prompt": "3.18.5", diff --git a/packages/babel-plugin-remove-graphql-queries/CHANGELOG.md b/packages/babel-plugin-remove-graphql-queries/CHANGELOG.md index 491d0b495d042..c22a94493e826 100644 --- a/packages/babel-plugin-remove-graphql-queries/CHANGELOG.md +++ b/packages/babel-plugin-remove-graphql-queries/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/babel-plugin-remove-graphql-queries@3.7.0-next.0...babel-plugin-remove-graphql-queries@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package babel-plugin-remove-graphql-queries + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/babel-plugin-remove-graphql-queries@3.6.0-next.0...babel-plugin-remove-graphql-queries@3.7.0-next.0) (2021-05-21) ### Bug Fixes diff --git a/packages/babel-plugin-remove-graphql-queries/package.json b/packages/babel-plugin-remove-graphql-queries/package.json index c0c1f57e0769b..d1c3b3a43c9a6 100644 --- a/packages/babel-plugin-remove-graphql-queries/package.json +++ b/packages/babel-plugin-remove-graphql-queries/package.json @@ -1,6 +1,6 @@ { "name": "babel-plugin-remove-graphql-queries", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Jason Quense ", "repository": { "type": "git", @@ -9,11 +9,11 @@ }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/babel-plugin-remove-graphql-queries#readme", "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", - "gatsby-core-utils": "^2.7.0-next.0" + "gatsby-core-utils": "^2.7.0-next.1" }, "peerDependencies": { "@babel/core": "^7.0.0", diff --git a/packages/babel-preset-gatsby-package/CHANGELOG.md b/packages/babel-preset-gatsby-package/CHANGELOG.md index 91d7fb6c69a9b..d9ca04c2341b0 100644 --- a/packages/babel-preset-gatsby-package/CHANGELOG.md +++ b/packages/babel-preset-gatsby-package/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/babel-preset-gatsby-package@1.7.0-next.0...babel-preset-gatsby-package@1.7.0-next.1) (2021-05-31) + +### Bug Fixes + +- **gatsby-plugin-gatsby-cloud:** only load indicator code when enabled ([#31506](https://github.com/gatsbyjs/gatsby/issues/31506)) ([cb654cd](https://github.com/gatsbyjs/gatsby/commit/cb654cd7dd3a42f5e557736d18b0f7530d4a710e)) + # [1.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/babel-preset-gatsby-package@1.6.0-next.0...babel-preset-gatsby-package@1.7.0-next.0) (2021-05-21) **Note:** Version bump only for package babel-preset-gatsby-package diff --git a/packages/babel-preset-gatsby-package/package.json b/packages/babel-preset-gatsby-package/package.json index c783adc3ca5ce..b2f1e765522d1 100644 --- a/packages/babel-preset-gatsby-package/package.json +++ b/packages/babel-preset-gatsby-package/package.json @@ -1,6 +1,6 @@ { "name": "babel-preset-gatsby-package", - "version": "1.7.0-next.0", + "version": "1.7.0-next.1", "author": "Philipp Spiess ", "repository": { "type": "git", @@ -9,14 +9,14 @@ }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/babel-preset-gatsby-package#readme", "dependencies": { - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1", - "@babel/plugin-proposal-optional-chaining": "^7.12.1", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.2", + "@babel/plugin-proposal-optional-chaining": "^7.14.2", "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-transform-runtime": "^7.12.1", - "@babel/plugin-transform-typescript": "^7.12.1", - "@babel/preset-env": "^7.12.1", - "@babel/preset-flow": "^7.12.1", - "@babel/preset-react": "^7.12.5", + "@babel/plugin-transform-runtime": "^7.14.3", + "@babel/plugin-transform-typescript": "^7.14.4", + "@babel/preset-env": "^7.14.4", + "@babel/preset-flow": "^7.13.13", + "@babel/preset-react": "^7.13.13", "babel-plugin-dynamic-import-node": "^2.3.3", "core-js": "^3.10.0" }, diff --git a/packages/babel-preset-gatsby/CHANGELOG.md b/packages/babel-preset-gatsby/CHANGELOG.md index 1b504a1afd533..0bfd81ee62b06 100644 --- a/packages/babel-preset-gatsby/CHANGELOG.md +++ b/packages/babel-preset-gatsby/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/babel-preset-gatsby@1.7.0-next.0...babel-preset-gatsby@1.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package babel-preset-gatsby + # [1.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/babel-preset-gatsby@1.6.0-next.0...babel-preset-gatsby@1.7.0-next.0) (2021-05-21) **Note:** Version bump only for package babel-preset-gatsby diff --git a/packages/babel-preset-gatsby/package.json b/packages/babel-preset-gatsby/package.json index b01f6bb8251f8..b833115f8508d 100644 --- a/packages/babel-preset-gatsby/package.json +++ b/packages/babel-preset-gatsby/package.json @@ -1,6 +1,6 @@ { "name": "babel-preset-gatsby", - "version": "1.7.0-next.0", + "version": "1.7.0-next.1", "author": "Philipp Spiess ", "repository": { "type": "git", @@ -9,20 +9,20 @@ }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/babel-preset-gatsby#readme", "dependencies": { - "@babel/plugin-proposal-class-properties": "^7.12.1", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1", - "@babel/plugin-proposal-optional-chaining": "^7.12.1", + "@babel/plugin-proposal-class-properties": "^7.13.0", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.2", + "@babel/plugin-proposal-optional-chaining": "^7.14.2", "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-transform-classes": "^7.12.1", - "@babel/plugin-transform-runtime": "^7.12.1", - "@babel/plugin-transform-spread": "^7.12.1", - "@babel/preset-env": "^7.12.1", - "@babel/preset-react": "^7.12.5", - "@babel/runtime": "^7.12.5", + "@babel/plugin-transform-classes": "^7.14.4", + "@babel/plugin-transform-runtime": "^7.14.3", + "@babel/plugin-transform-spread": "^7.13.0", + "@babel/preset-env": "^7.14.4", + "@babel/preset-react": "^7.13.13", + "@babel/runtime": "^7.14.0", "babel-plugin-dynamic-import-node": "^2.3.3", "babel-plugin-macros": "^2.8.0", "babel-plugin-transform-react-remove-prop-types": "^0.4.24", - "gatsby-core-utils": "^2.7.0-next.0", + "gatsby-core-utils": "^2.7.0-next.1", "gatsby-legacy-polyfills": "^1.7.0-next.0" }, "peerDependencies": { @@ -37,8 +37,8 @@ "watch": "babel -w src --out-dir . --ignore \"**/__tests__\" --ignore \"**/utils/path-serializer.ts\" --extensions \".ts,.js\"" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "slash": "^3.0.0" }, diff --git a/packages/create-gatsby/CHANGELOG.md b/packages/create-gatsby/CHANGELOG.md index 89eabe875146f..d121503c2b1f6 100644 --- a/packages/create-gatsby/CHANGELOG.md +++ b/packages/create-gatsby/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/create-gatsby@1.7.0-next.0...create-gatsby@1.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package create-gatsby + # [1.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/create-gatsby@1.6.0-next.0...create-gatsby@1.7.0-next.0) (2021-05-21) **Note:** Version bump only for package create-gatsby diff --git a/packages/create-gatsby/package.json b/packages/create-gatsby/package.json index 675f631c99c34..a0b7daebb861c 100644 --- a/packages/create-gatsby/package.json +++ b/packages/create-gatsby/package.json @@ -1,6 +1,6 @@ { "name": "create-gatsby", - "version": "1.7.0-next.0", + "version": "1.7.0-next.1", "main": "lib/index.js", "bin": "cli.js", "license": "MIT", @@ -17,7 +17,7 @@ ], "devDependencies": { "@ascorbic/worker-threads-shim": "^1.0.0", - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "@types/configstore": "^4.0.0", "@types/fs-extra": "^9.0.2", "@types/node": "^14.14.5", @@ -27,7 +27,7 @@ "eslint": "^7.24.0", "execa": "^4.1.0", "fs-extra": "^9.0.1", - "gatsby-plugin-utils": "^1.7.0-next.0", + "gatsby-plugin-utils": "^1.7.0-next.1", "joi": "^17.2.1", "microbundle": "^0.13.0", "node-fetch": "^2.6.1", diff --git a/packages/gatsby-admin/CHANGELOG.md b/packages/gatsby-admin/CHANGELOG.md index b239e917f1fc6..0c6e1fb06d1a8 100644 --- a/packages/gatsby-admin/CHANGELOG.md +++ b/packages/gatsby-admin/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.17.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-admin@0.17.0-next.0...gatsby-admin@0.17.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-admin + # [0.17.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-admin@0.16.0-next.6...gatsby-admin@0.17.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-admin diff --git a/packages/gatsby-admin/package.json b/packages/gatsby-admin/package.json index 0ab935f1a7ca6..d97c4076467e1 100644 --- a/packages/gatsby-admin/package.json +++ b/packages/gatsby-admin/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-admin", - "version": "0.17.0-next.0", + "version": "0.17.0-next.1", "main": "index.js", "author": "Max Stoiber", "license": "MIT", @@ -20,11 +20,11 @@ "@typescript-eslint/parser": "^4.14.2", "csstype": "^2.6.14", "formik": "^2.2.6", - "gatsby": "^3.7.0-next.0", + "gatsby": "^3.7.0-next.1", "gatsby-interface": "^0.0.244", - "gatsby-plugin-typescript": "^3.7.0-next.0", + "gatsby-plugin-typescript": "^3.7.0-next.1", "gatsby-plugin-webfonts": "^1.1.4", - "gatsby-source-graphql": "^3.7.0-next.0", + "gatsby-source-graphql": "^3.7.0-next.1", "lodash-es": "^4.17.21", "ncp": "^2.0.0", "nodemon": "^2.0.7", diff --git a/packages/gatsby-cli/CHANGELOG.md b/packages/gatsby-cli/CHANGELOG.md index 0be4462b51b4d..5be109b633f2a 100644 --- a/packages/gatsby-cli/CHANGELOG.md +++ b/packages/gatsby-cli/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-cli@3.7.0-next.0...gatsby-cli@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-cli + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-cli@3.6.0-next.2...gatsby-cli@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-cli diff --git a/packages/gatsby-cli/package.json b/packages/gatsby-cli/package.json index 084a1274e48c8..9e9267e3a58db 100644 --- a/packages/gatsby-cli/package.json +++ b/packages/gatsby-cli/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-cli", "description": "Gatsby command-line interface for creating new sites and running Gatsby commands", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bin": { "gatsby": "cli.js" @@ -10,7 +10,7 @@ "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/code-frame": "^7.10.4", + "@babel/code-frame": "^7.12.13", "@types/common-tags": "^1.8.0", "better-opn": "^2.0.0", "chalk": "^4.1.0", @@ -18,14 +18,14 @@ "common-tags": "^1.8.0", "configstore": "^5.0.1", "convert-hrtime": "^3.0.0", - "create-gatsby": "^1.7.0-next.0", + "create-gatsby": "^1.7.0-next.1", "envinfo": "^7.7.3", "execa": "^3.4.0", "fs-exists-cached": "^1.0.0", "fs-extra": "^8.1.0", - "gatsby-core-utils": "^2.7.0-next.0", - "gatsby-recipes": "^0.18.0-next.0", - "gatsby-telemetry": "^2.7.0-next.0", + "gatsby-core-utils": "^2.7.0-next.1", + "gatsby-recipes": "^0.18.0-next.1", + "gatsby-telemetry": "^2.7.0-next.1", "hosted-git-info": "^3.0.6", "is-valid-path": "^0.1.1", "joi": "^17.4.0", @@ -50,8 +50,8 @@ "yurnalist": "^2.1.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", "@rollup/plugin-babel": "^5.1.0", "@rollup/plugin-commonjs": "^17.0.0", "@rollup/plugin-json": "^4.1.0", @@ -59,7 +59,7 @@ "@rollup/plugin-replace": "^2.3.3", "@types/hosted-git-info": "^3.0.1", "@types/yargs": "^15.0.8", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "ink": "^3.0.8", "ink-spinner": "^4.0.1", diff --git a/packages/gatsby-codemods/CHANGELOG.md b/packages/gatsby-codemods/CHANGELOG.md index 705400a46f1b1..3e4124d194785 100644 --- a/packages/gatsby-codemods/CHANGELOG.md +++ b/packages/gatsby-codemods/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-codemods@2.7.0-next.0...gatsby-codemods@2.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-codemods + # [2.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-codemods@2.6.0-next.0...gatsby-codemods@2.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-codemods diff --git a/packages/gatsby-codemods/package.json b/packages/gatsby-codemods/package.json index e6d830ec29dd8..35da4678bc885 100644 --- a/packages/gatsby-codemods/package.json +++ b/packages/gatsby-codemods/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-codemods", - "version": "2.7.0-next.0", + "version": "2.7.0-next.1", "description": "A collection of codemod scripts for use with JSCodeshift that help migrate to newer versions of Gatsby.", "main": "index.js", "scripts": { @@ -24,19 +24,19 @@ }, "license": "MIT", "dependencies": { - "@babel/core": "^7.12.3", - "@babel/plugin-proposal-class-properties": "^7.12.1", - "@babel/plugin-syntax-jsx": "^7.12.1", - "@babel/plugin-syntax-typescript": "^7.12.1", - "@babel/runtime": "^7.12.5", + "@babel/core": "^7.14.3", + "@babel/plugin-proposal-class-properties": "^7.13.0", + "@babel/plugin-syntax-jsx": "^7.12.13", + "@babel/plugin-syntax-typescript": "^7.12.13", + "@babel/runtime": "^7.14.0", "execa": "^5.0.0", "graphql": "^15.5.0", "jscodeshift": "^0.11.0", "recast": "^0.20.4" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "engines": { diff --git a/packages/gatsby-core-utils/CHANGELOG.md b/packages/gatsby-core-utils/CHANGELOG.md index 3a7ee45507592..10d7d2854f43e 100644 --- a/packages/gatsby-core-utils/CHANGELOG.md +++ b/packages/gatsby-core-utils/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-core-utils@2.7.0-next.0...gatsby-core-utils@2.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-core-utils + # [2.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-core-utils@2.6.0-next.0...gatsby-core-utils@2.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-core-utils diff --git a/packages/gatsby-core-utils/package.json b/packages/gatsby-core-utils/package.json index e1c3989f8da7e..cd68daac6626c 100644 --- a/packages/gatsby-core-utils/package.json +++ b/packages/gatsby-core-utils/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-core-utils", - "version": "2.7.0-next.0", + "version": "2.7.0-next.1", "description": "A collection of gatsby utils used in different gatsby packages", "keywords": [ "gatsby", @@ -39,10 +39,10 @@ "xdg-basedir": "^4.0.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", "@types/ci-info": "2.0.0", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "typescript": "^4.1.5" }, diff --git a/packages/gatsby-cypress/CHANGELOG.md b/packages/gatsby-cypress/CHANGELOG.md index f1ffbbe3e6b8c..a3ff9062f1244 100644 --- a/packages/gatsby-cypress/CHANGELOG.md +++ b/packages/gatsby-cypress/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-cypress@1.7.0-next.0...gatsby-cypress@1.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-cypress + # [1.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-cypress@1.6.0-next.0...gatsby-cypress@1.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-cypress diff --git a/packages/gatsby-cypress/package.json b/packages/gatsby-cypress/package.json index 50481d924a7ae..9a635fe0e5bff 100644 --- a/packages/gatsby-cypress/package.json +++ b/packages/gatsby-cypress/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-cypress", - "version": "1.7.0-next.0", + "version": "1.7.0-next.1", "description": "Cypress tools for Gatsby projects", "main": "index.js", "repository": { @@ -15,12 +15,12 @@ "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5" + "@babel/runtime": "^7.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "keywords": [ diff --git a/packages/gatsby-dev-cli/CHANGELOG.md b/packages/gatsby-dev-cli/CHANGELOG.md index e054f44d8a221..112e6236e169e 100644 --- a/packages/gatsby-dev-cli/CHANGELOG.md +++ b/packages/gatsby-dev-cli/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-dev-cli@3.7.0-next.0...gatsby-dev-cli@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-dev-cli + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-dev-cli@3.6.0-next.0...gatsby-dev-cli@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-dev-cli diff --git a/packages/gatsby-dev-cli/package.json b/packages/gatsby-dev-cli/package.json index 75e76afeb90b8..6cd51afd6eced 100644 --- a/packages/gatsby-dev-cli/package.json +++ b/packages/gatsby-dev-cli/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-dev-cli", "description": "CLI helpers for contributors working on Gatsby", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bin": { "gatsby-dev": "./dist/index.js" @@ -10,7 +10,7 @@ "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "chokidar": "^3.5.1", "configstore": "^5.0.1", "del": "^6.0.0", @@ -25,9 +25,9 @@ "yargs": "^15.4.1" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-dev-cli#readme", diff --git a/packages/gatsby-graphiql-explorer/CHANGELOG.md b/packages/gatsby-graphiql-explorer/CHANGELOG.md index b4854d0c7ee46..749d632558c07 100644 --- a/packages/gatsby-graphiql-explorer/CHANGELOG.md +++ b/packages/gatsby-graphiql-explorer/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-graphiql-explorer@1.7.0-next.0...gatsby-graphiql-explorer@1.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-graphiql-explorer + # [1.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-graphiql-explorer@1.6.0-next.0...gatsby-graphiql-explorer@1.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-graphiql-explorer diff --git a/packages/gatsby-graphiql-explorer/package.json b/packages/gatsby-graphiql-explorer/package.json index 805b0ad2602aa..482421ae5b0a4 100644 --- a/packages/gatsby-graphiql-explorer/package.json +++ b/packages/gatsby-graphiql-explorer/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-graphiql-explorer", - "version": "1.7.0-next.0", + "version": "1.7.0-next.1", "description": "GraphiQL IDE with custom features for Gatsby users", "main": "index.js", "scripts": { @@ -28,17 +28,17 @@ }, "license": "MIT", "dependencies": { - "@babel/runtime": "^7.12.5" + "@babel/runtime": "^7.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "@babel/plugin-proposal-class-properties": "^7.12.1", - "@babel/plugin-transform-runtime": "^7.12.1", - "@babel/preset-env": "^7.12.1", - "@babel/preset-react": "^7.12.5", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "@babel/plugin-proposal-class-properties": "^7.13.0", + "@babel/plugin-transform-runtime": "^7.14.3", + "@babel/preset-env": "^7.14.4", + "@babel/preset-react": "^7.13.13", "babel-loader": "^8.2.2", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "babel-preset-gatsby-package": "^1.7.0-next.1", "core-js": "^3.8.1", "cross-env": "^7.0.3", "css-loader": "^1.0.1", diff --git a/packages/gatsby-image/CHANGELOG.md b/packages/gatsby-image/CHANGELOG.md index 856066cb58d3b..6b817761d7dbf 100644 --- a/packages/gatsby-image/CHANGELOG.md +++ b/packages/gatsby-image/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-image@3.7.0-next.0...gatsby-image@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-image + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-image@3.6.0-next.0...gatsby-image@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-image diff --git a/packages/gatsby-image/package.json b/packages/gatsby-image/package.json index 852a4a5970676..6398cf93d7a26 100644 --- a/packages/gatsby-image/package.json +++ b/packages/gatsby-image/package.json @@ -1,21 +1,21 @@ { "name": "gatsby-image", "description": "Lazy-loading React image component with optional support for the blur-up effect.", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "object-fit-images": "^3.2.4", "prop-types": "^15.7.2" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", "@testing-library/react": "^9.5.0", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "jest-matchmedia-mock": "^1.1.0" }, diff --git a/packages/gatsby-link/CHANGELOG.md b/packages/gatsby-link/CHANGELOG.md index 1b6e5fb8bb6a1..ed99028dc45d4 100644 --- a/packages/gatsby-link/CHANGELOG.md +++ b/packages/gatsby-link/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-link@3.7.0-next.0...gatsby-link@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-link + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-link@3.6.0-next.0...gatsby-link@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-link diff --git a/packages/gatsby-link/package.json b/packages/gatsby-link/package.json index 1aba865904781..9a4cdf1172652 100644 --- a/packages/gatsby-link/package.json +++ b/packages/gatsby-link/package.json @@ -1,21 +1,21 @@ { "name": "gatsby-link", "description": "An enhanced Link component for Gatsby sites with support for resource prefetching", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "@types/reach__router": "^1.3.7", "prop-types": "^15.7.2" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", "@testing-library/react": "^9.5.0", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-page-utils/CHANGELOG.md b/packages/gatsby-page-utils/CHANGELOG.md index 843ccea4296bc..c59a527e4cb15 100644 --- a/packages/gatsby-page-utils/CHANGELOG.md +++ b/packages/gatsby-page-utils/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-page-utils@1.7.0-next.0...gatsby-page-utils@1.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-page-utils + # [1.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-page-utils@1.6.0-next.0...gatsby-page-utils@1.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-page-utils diff --git a/packages/gatsby-page-utils/package.json b/packages/gatsby-page-utils/package.json index ebcc7ec0bbd02..5fd4dd3c98176 100644 --- a/packages/gatsby-page-utils/package.json +++ b/packages/gatsby-page-utils/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-page-utils", - "version": "1.7.0-next.0", + "version": "1.7.0-next.1", "description": "Gatsby library that helps creating pages", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -22,20 +22,20 @@ }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-page-utils#readme", "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "bluebird": "^3.7.2", "chokidar": "^3.5.1", "fs-exists-cached": "^1.0.0", - "gatsby-core-utils": "^2.7.0-next.0", + "gatsby-core-utils": "^2.7.0-next.1", "glob": "^7.1.6", "lodash": "^4.17.21", "micromatch": "^4.0.2" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", "@types/micromatch": "^4.0.1", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "rimraf": "^3.0.2", "typescript": "^4.1.5" diff --git a/packages/gatsby-plugin-benchmark-reporting/CHANGELOG.md b/packages/gatsby-plugin-benchmark-reporting/CHANGELOG.md index 51bd635d79c18..995493cf50c3f 100644 --- a/packages/gatsby-plugin-benchmark-reporting/CHANGELOG.md +++ b/packages/gatsby-plugin-benchmark-reporting/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-benchmark-reporting@1.7.0-next.0...gatsby-plugin-benchmark-reporting@1.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-benchmark-reporting + # [1.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-benchmark-reporting@1.6.0-next.0...gatsby-plugin-benchmark-reporting@1.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-benchmark-reporting diff --git a/packages/gatsby-plugin-benchmark-reporting/package.json b/packages/gatsby-plugin-benchmark-reporting/package.json index 9568fef8cf5c1..2a3a6b1280e8b 100644 --- a/packages/gatsby-plugin-benchmark-reporting/package.json +++ b/packages/gatsby-plugin-benchmark-reporting/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-benchmark-reporting", "description": "Gatsby Benchmark Reporting", - "version": "1.7.0-next.0", + "version": "1.7.0-next.1", "author": "Peter van der Zee ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -14,9 +14,9 @@ }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-benchmark-reporting#readme", "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0" + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1" }, "dependencies": { "fast-glob": "^3.2.5", diff --git a/packages/gatsby-plugin-canonical-urls/CHANGELOG.md b/packages/gatsby-plugin-canonical-urls/CHANGELOG.md index a777612ad98bb..beb8411f17f71 100644 --- a/packages/gatsby-plugin-canonical-urls/CHANGELOG.md +++ b/packages/gatsby-plugin-canonical-urls/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-canonical-urls@3.7.0-next.0...gatsby-plugin-canonical-urls@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-canonical-urls + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-canonical-urls@3.6.0-next.0...gatsby-plugin-canonical-urls@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-canonical-urls diff --git a/packages/gatsby-plugin-canonical-urls/package.json b/packages/gatsby-plugin-canonical-urls/package.json index d7fe7d2bd3566..6a41cdf1657c5 100644 --- a/packages/gatsby-plugin-canonical-urls/package.json +++ b/packages/gatsby-plugin-canonical-urls/package.json @@ -1,18 +1,18 @@ { "name": "gatsby-plugin-canonical-urls", "description": "Add canonical links to HTML pages Gatsby generates.", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5" + "@babel/runtime": "^7.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-canonical-urls#readme", diff --git a/packages/gatsby-plugin-catch-links/CHANGELOG.md b/packages/gatsby-plugin-catch-links/CHANGELOG.md index 79885ade023e1..c94dbf2dc52e1 100644 --- a/packages/gatsby-plugin-catch-links/CHANGELOG.md +++ b/packages/gatsby-plugin-catch-links/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-catch-links@3.7.0-next.0...gatsby-plugin-catch-links@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-catch-links + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-catch-links@3.6.0-next.0...gatsby-plugin-catch-links@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-catch-links diff --git a/packages/gatsby-plugin-catch-links/package.json b/packages/gatsby-plugin-catch-links/package.json index 49095c0cab555..db8226cb79257 100644 --- a/packages/gatsby-plugin-catch-links/package.json +++ b/packages/gatsby-plugin-catch-links/package.json @@ -1,19 +1,19 @@ { "name": "gatsby-plugin-catch-links", "description": "Intercepts local links from markdown and other non-react pages and does a client-side pushState to avoid the browser having to refresh the page.", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "escape-string-regexp": "^1.0.5" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-catch-links#readme", diff --git a/packages/gatsby-plugin-coffeescript/CHANGELOG.md b/packages/gatsby-plugin-coffeescript/CHANGELOG.md index fdc44acd0bb60..0281c89f060ea 100644 --- a/packages/gatsby-plugin-coffeescript/CHANGELOG.md +++ b/packages/gatsby-plugin-coffeescript/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-coffeescript@3.7.0-next.0...gatsby-plugin-coffeescript@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-coffeescript + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-coffeescript@3.6.0-next.0...gatsby-plugin-coffeescript@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-coffeescript diff --git a/packages/gatsby-plugin-coffeescript/package.json b/packages/gatsby-plugin-coffeescript/package.json index 56cc24b6c9f86..c0db0391301d5 100644 --- a/packages/gatsby-plugin-coffeescript/package.json +++ b/packages/gatsby-plugin-coffeescript/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-coffeescript", "description": "Adds CoffeeScript support for Gatsby", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -10,15 +10,15 @@ "Noah Lange " ], "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "coffee-loader": "^0.9.0", "coffee-react-transform": "^5.0.0", "coffeescript": "^2.5.1" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-coffeescript#readme", diff --git a/packages/gatsby-plugin-create-client-paths/CHANGELOG.md b/packages/gatsby-plugin-create-client-paths/CHANGELOG.md index 83de6d07b5634..59a8515e525f6 100644 --- a/packages/gatsby-plugin-create-client-paths/CHANGELOG.md +++ b/packages/gatsby-plugin-create-client-paths/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-create-client-paths@3.7.0-next.0...gatsby-plugin-create-client-paths@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-create-client-paths + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-create-client-paths@3.6.0-next.0...gatsby-plugin-create-client-paths@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-create-client-paths diff --git a/packages/gatsby-plugin-create-client-paths/package.json b/packages/gatsby-plugin-create-client-paths/package.json index 4b8e029751fcc..7acf9ddcc9e1c 100644 --- a/packages/gatsby-plugin-create-client-paths/package.json +++ b/packages/gatsby-plugin-create-client-paths/package.json @@ -1,18 +1,18 @@ { "name": "gatsby-plugin-create-client-paths", "description": "Gatsby-plugin for creating paths that exist only on the client", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "scott.eckenthal@gmail.com", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5" + "@babel/runtime": "^7.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-create-client-paths#readme", diff --git a/packages/gatsby-plugin-cxs/CHANGELOG.md b/packages/gatsby-plugin-cxs/CHANGELOG.md index 9ce9b1469da15..93123cb74180d 100644 --- a/packages/gatsby-plugin-cxs/CHANGELOG.md +++ b/packages/gatsby-plugin-cxs/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-cxs@3.7.0-next.0...gatsby-plugin-cxs@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-cxs + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-cxs@3.6.0-next.0...gatsby-plugin-cxs@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-cxs diff --git a/packages/gatsby-plugin-cxs/package.json b/packages/gatsby-plugin-cxs/package.json index edcde2c51ac60..c3b90104d3300 100644 --- a/packages/gatsby-plugin-cxs/package.json +++ b/packages/gatsby-plugin-cxs/package.json @@ -1,21 +1,21 @@ { "name": "gatsby-plugin-cxs", "description": "Gatsby plugin to add SSR support for ctx", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Chen-Tai Hou ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5" + "@babel/runtime": "^7.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "cxs": "^6.2.0", - "gatsby-plugin-utils": "^1.7.0-next.0" + "gatsby-plugin-utils": "^1.7.0-next.1" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-cxs#readme", "keywords": [ diff --git a/packages/gatsby-plugin-emotion/CHANGELOG.md b/packages/gatsby-plugin-emotion/CHANGELOG.md index cefd240cbee09..16daced67b27e 100644 --- a/packages/gatsby-plugin-emotion/CHANGELOG.md +++ b/packages/gatsby-plugin-emotion/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-emotion@6.7.0-next.0...gatsby-plugin-emotion@6.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-emotion + # [6.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-emotion@6.6.0-next.0...gatsby-plugin-emotion@6.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-emotion diff --git a/packages/gatsby-plugin-emotion/package.json b/packages/gatsby-plugin-emotion/package.json index 3d86dd8846789..5550579bb1bd3 100644 --- a/packages/gatsby-plugin-emotion/package.json +++ b/packages/gatsby-plugin-emotion/package.json @@ -1,19 +1,19 @@ { "name": "gatsby-plugin-emotion", "description": "Gatsby plugin to add support for Emotion", - "version": "6.7.0-next.0", + "version": "6.7.0-next.1", "author": "Tegan Churchill ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.11.2", + "@babel/runtime": "^7.14.0", "@emotion/babel-preset-css-prop": "^11.2.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-facebook-analytics/CHANGELOG.md b/packages/gatsby-plugin-facebook-analytics/CHANGELOG.md index 7a71f882b8791..e921d2022013e 100644 --- a/packages/gatsby-plugin-facebook-analytics/CHANGELOG.md +++ b/packages/gatsby-plugin-facebook-analytics/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-facebook-analytics@3.7.0-next.0...gatsby-plugin-facebook-analytics@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-facebook-analytics + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-facebook-analytics@3.6.0-next.0...gatsby-plugin-facebook-analytics@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-facebook-analytics diff --git a/packages/gatsby-plugin-facebook-analytics/package.json b/packages/gatsby-plugin-facebook-analytics/package.json index e14ea0d9075cc..197c9ec85a646 100644 --- a/packages/gatsby-plugin-facebook-analytics/package.json +++ b/packages/gatsby-plugin-facebook-analytics/package.json @@ -1,18 +1,18 @@ { "name": "gatsby-plugin-facebook-analytics", "description": "Gatsby plugin to add facebook analytics onto a site", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Yeison Daza ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5" + "@babel/runtime": "^7.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-facebook-analytics#readme", diff --git a/packages/gatsby-plugin-feed/CHANGELOG.md b/packages/gatsby-plugin-feed/CHANGELOG.md index 2b0306a116209..f15aacdc43f7d 100644 --- a/packages/gatsby-plugin-feed/CHANGELOG.md +++ b/packages/gatsby-plugin-feed/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-feed@3.7.0-next.0...gatsby-plugin-feed@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-feed + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-feed@3.6.0-next.0...gatsby-plugin-feed@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-feed diff --git a/packages/gatsby-plugin-feed/package.json b/packages/gatsby-plugin-feed/package.json index a8d0b5183c2c6..52c6a3c4ba635 100644 --- a/packages/gatsby-plugin-feed/package.json +++ b/packages/gatsby-plugin-feed/package.json @@ -1,24 +1,24 @@ { "name": "gatsby-plugin-feed", "description": "Creates an RSS feed for your Gatsby site.", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Nicholas Young ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "@hapi/joi": "^15.1.1", "common-tags": "^1.8.0", "fs-extra": "^9.1.0", - "gatsby-plugin-utils": "^1.7.0-next.0", + "gatsby-plugin-utils": "^1.7.0-next.1", "lodash.merge": "^4.6.2", "rss": "^1.2.2" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-feed#readme", diff --git a/packages/gatsby-plugin-flow/CHANGELOG.md b/packages/gatsby-plugin-flow/CHANGELOG.md index 8b31a7f291269..1344c2ebde8eb 100644 --- a/packages/gatsby-plugin-flow/CHANGELOG.md +++ b/packages/gatsby-plugin-flow/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-flow@2.7.0-next.0...gatsby-plugin-flow@2.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-flow + # [2.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-flow@2.6.0-next.0...gatsby-plugin-flow@2.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-flow diff --git a/packages/gatsby-plugin-flow/package.json b/packages/gatsby-plugin-flow/package.json index c059b506b1ff1..ea69ffb1147dc 100644 --- a/packages/gatsby-plugin-flow/package.json +++ b/packages/gatsby-plugin-flow/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-flow", - "version": "2.7.0-next.0", + "version": "2.7.0-next.1", "description": "Provides drop-in support for Flow by adding @babel/preset-flow.", "main": "index.js", "scripts": { @@ -24,15 +24,15 @@ }, "license": "MIT", "dependencies": { - "@babel/preset-flow": "^7.12.1", - "@babel/runtime": "^7.12.5" + "@babel/preset-flow": "^7.13.13", + "@babel/runtime": "^7.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^1.7.0-next.0" + "gatsby-plugin-utils": "^1.7.0-next.1" }, "peerDependencies": { "gatsby": "^3.0.0-next.0" diff --git a/packages/gatsby-plugin-fullstory/CHANGELOG.md b/packages/gatsby-plugin-fullstory/CHANGELOG.md index 126a503922d2b..1a8675b68d561 100644 --- a/packages/gatsby-plugin-fullstory/CHANGELOG.md +++ b/packages/gatsby-plugin-fullstory/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-fullstory@3.7.0-next.0...gatsby-plugin-fullstory@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-fullstory + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-fullstory@3.6.0-next.0...gatsby-plugin-fullstory@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-fullstory diff --git a/packages/gatsby-plugin-fullstory/package.json b/packages/gatsby-plugin-fullstory/package.json index de39eb0ca61bf..224d5021bb5d1 100644 --- a/packages/gatsby-plugin-fullstory/package.json +++ b/packages/gatsby-plugin-fullstory/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-fullstory", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "description": "Plugin to add the tracking code for Fullstory.com", "main": "index.js", "scripts": { @@ -24,12 +24,12 @@ }, "license": "MIT", "dependencies": { - "@babel/runtime": "^7.12.5" + "@babel/runtime": "^7.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-gatsby-cloud/CHANGELOG.md b/packages/gatsby-plugin-gatsby-cloud/CHANGELOG.md index adcd780d3bc54..86d8b9c47a327 100644 --- a/packages/gatsby-plugin-gatsby-cloud/CHANGELOG.md +++ b/packages/gatsby-plugin-gatsby-cloud/CHANGELOG.md @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-gatsby-cloud@2.7.0-next.0...gatsby-plugin-gatsby-cloud@2.7.0-next.1) (2021-05-31) + +### Bug Fixes + +- **gatsby:** add componentChunkName to components list so don't need to loop over pages ([#31547](https://github.com/gatsbyjs/gatsby/issues/31547)) ([783b937](https://github.com/gatsbyjs/gatsby/commit/783b937c8f70478796bce37808bf8bf967bb4252)) +- **gatsby-plugin-gatsby-cloud:** fix cloud being bundled ([#31604](https://github.com/gatsbyjs/gatsby/issues/31604)) ([4a62a20](https://github.com/gatsbyjs/gatsby/commit/4a62a20450639fab915593f6d61bfc9fdddde1d1)) +- **gatsby-plugin-gatsby-cloud:** only load indicator code when enabled ([#31506](https://github.com/gatsbyjs/gatsby/issues/31506)) ([cb654cd](https://github.com/gatsbyjs/gatsby/commit/cb654cd7dd3a42f5e557736d18b0f7530d4a710e)) + # [2.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-gatsby-cloud@2.6.0-next.1...gatsby-plugin-gatsby-cloud@2.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-gatsby-cloud diff --git a/packages/gatsby-plugin-gatsby-cloud/package.json b/packages/gatsby-plugin-gatsby-cloud/package.json index ecc152ca8a074..1896add75977e 100644 --- a/packages/gatsby-plugin-gatsby-cloud/package.json +++ b/packages/gatsby-plugin-gatsby-cloud/package.json @@ -1,13 +1,13 @@ { "name": "gatsby-plugin-gatsby-cloud", "description": "A Gatsby plugin which optimizes working with Gatsby Cloud", - "version": "2.7.0-next.0", + "version": "2.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "date-fns": "^2.21.1", "fs-extra": "^8.1.0", "kebab-hash": "^0.1.2", @@ -15,13 +15,13 @@ "webpack-assets-manifest": "^5.0.1" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", "@testing-library/dom": "^7.30.3", "@testing-library/jest-dom": "^5.11.10", "@testing-library/react": "^11.2.6", "@testing-library/user-event": "^13.1.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "jest": "^26.6.3", "msw": "^0.28.2", @@ -44,6 +44,7 @@ "url": "https://github.com/gatsbyjs/gatsby.git", "directory": "packages/gatsby-plugin-gatsby-cloud" }, + "sideEffects": false, "scripts": { "build": "babel src --out-dir . --ignore \"**/__tests__\"", "prepare": "cross-env NODE_ENV=production npm run build", diff --git a/packages/gatsby-plugin-glamor/CHANGELOG.md b/packages/gatsby-plugin-glamor/CHANGELOG.md index 8f059b7505f2b..19d6495e2a9f4 100644 --- a/packages/gatsby-plugin-glamor/CHANGELOG.md +++ b/packages/gatsby-plugin-glamor/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-glamor@3.7.0-next.0...gatsby-plugin-glamor@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-glamor + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-glamor@3.6.0-next.0...gatsby-plugin-glamor@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-glamor diff --git a/packages/gatsby-plugin-glamor/package.json b/packages/gatsby-plugin-glamor/package.json index b8e12792bd6b9..71f0aef33af2b 100644 --- a/packages/gatsby-plugin-glamor/package.json +++ b/packages/gatsby-plugin-glamor/package.json @@ -1,20 +1,20 @@ { "name": "gatsby-plugin-glamor", "description": "Gatsby plugin to add support for Glamor", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5" + "@babel/runtime": "^7.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^1.7.0-next.0" + "gatsby-plugin-utils": "^1.7.0-next.1" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-glamor#readme", "keywords": [ diff --git a/packages/gatsby-plugin-google-analytics/CHANGELOG.md b/packages/gatsby-plugin-google-analytics/CHANGELOG.md index fc3ffe37e4834..0acba3c047d6f 100644 --- a/packages/gatsby-plugin-google-analytics/CHANGELOG.md +++ b/packages/gatsby-plugin-google-analytics/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-google-analytics@3.7.0-next.0...gatsby-plugin-google-analytics@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-google-analytics + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-google-analytics@3.6.0-next.0...gatsby-plugin-google-analytics@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-google-analytics diff --git a/packages/gatsby-plugin-google-analytics/package.json b/packages/gatsby-plugin-google-analytics/package.json index adbd285110cec..8428feb99a8e7 100644 --- a/packages/gatsby-plugin-google-analytics/package.json +++ b/packages/gatsby-plugin-google-analytics/package.json @@ -1,20 +1,20 @@ { "name": "gatsby-plugin-google-analytics", "description": "Gatsby plugin to add google analytics onto a site", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "minimatch": "3.0.4" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", "@testing-library/react": "^9.5.0", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-google-analytics#readme", diff --git a/packages/gatsby-plugin-google-gtag/CHANGELOG.md b/packages/gatsby-plugin-google-gtag/CHANGELOG.md index 9e39d2d6dc33b..1af0927335b80 100644 --- a/packages/gatsby-plugin-google-gtag/CHANGELOG.md +++ b/packages/gatsby-plugin-google-gtag/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-google-gtag@3.7.0-next.0...gatsby-plugin-google-gtag@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-google-gtag + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-google-gtag@3.6.0-next.1...gatsby-plugin-google-gtag@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-google-gtag diff --git a/packages/gatsby-plugin-google-gtag/package.json b/packages/gatsby-plugin-google-gtag/package.json index 28f94767732fa..3121b33cc8c01 100644 --- a/packages/gatsby-plugin-google-gtag/package.json +++ b/packages/gatsby-plugin-google-gtag/package.json @@ -1,19 +1,19 @@ { "name": "gatsby-plugin-google-gtag", "description": "Gatsby plugin to add google gtag onto a site", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Tyler Buchea ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "minimatch": "^3.0.4" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-google-gtag#readme", diff --git a/packages/gatsby-plugin-google-tagmanager/CHANGELOG.md b/packages/gatsby-plugin-google-tagmanager/CHANGELOG.md index 6a720d768391b..8d8834b8fcae7 100644 --- a/packages/gatsby-plugin-google-tagmanager/CHANGELOG.md +++ b/packages/gatsby-plugin-google-tagmanager/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-google-tagmanager@3.7.0-next.0...gatsby-plugin-google-tagmanager@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-google-tagmanager + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-google-tagmanager@3.6.0-next.0...gatsby-plugin-google-tagmanager@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-google-tagmanager diff --git a/packages/gatsby-plugin-google-tagmanager/package.json b/packages/gatsby-plugin-google-tagmanager/package.json index bce4ee39d4928..903784eca4ba3 100644 --- a/packages/gatsby-plugin-google-tagmanager/package.json +++ b/packages/gatsby-plugin-google-tagmanager/package.json @@ -1,20 +1,20 @@ { "name": "gatsby-plugin-google-tagmanager", "description": "Gatsby plugin to add google tagmanager onto a site", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Thijs Koerselman ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5" + "@babel/runtime": "^7.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^1.7.0-next.0" + "gatsby-plugin-utils": "^1.7.0-next.1" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-google-tagmanager#readme", "keywords": [ diff --git a/packages/gatsby-plugin-graphql-config/CHANGELOG.md b/packages/gatsby-plugin-graphql-config/CHANGELOG.md index 1f15460948351..40dcabb78ad7f 100644 --- a/packages/gatsby-plugin-graphql-config/CHANGELOG.md +++ b/packages/gatsby-plugin-graphql-config/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.16.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-graphql-config@0.16.0-next.0...gatsby-plugin-graphql-config@0.16.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-graphql-config + # [0.16.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-graphql-config@0.15.0-next.0...gatsby-plugin-graphql-config@0.16.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-graphql-config diff --git a/packages/gatsby-plugin-graphql-config/package.json b/packages/gatsby-plugin-graphql-config/package.json index 13abdacaabed8..8863a893971fd 100644 --- a/packages/gatsby-plugin-graphql-config/package.json +++ b/packages/gatsby-plugin-graphql-config/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-graphql-config", "description": "Gatsby plugin to write out a graphql-config with develop process endpoint configured", - "version": "0.16.0-next.0", + "version": "0.16.0-next.1", "author": "Rikki Schulte ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -10,9 +10,9 @@ "fs-extra": "^9.1.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-image/CHANGELOG.md b/packages/gatsby-plugin-image/CHANGELOG.md index 097759d43e926..403ea0a09651d 100644 --- a/packages/gatsby-plugin-image/CHANGELOG.md +++ b/packages/gatsby-plugin-image/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-image@1.7.0-next.0...gatsby-plugin-image@1.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-image + # [1.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-image@1.6.0-next.1...gatsby-plugin-image@1.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-image diff --git a/packages/gatsby-plugin-image/package.json b/packages/gatsby-plugin-image/package.json index e9956794a4ddd..ef0737e779e71 100644 --- a/packages/gatsby-plugin-image/package.json +++ b/packages/gatsby-plugin-image/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-image", - "version": "1.7.0-next.0", + "version": "1.7.0-next.1", "scripts": { "build": "npm-run-all -s clean -p build:*", "build:gatsby-node": "tsc --jsx react --downlevelIteration true --skipLibCheck true --esModuleInterop true --outDir dist/ src/gatsby-node.ts src/babel-plugin-parse-static-images.ts src/resolver-utils.ts src/types.d.ts -d --declarationDir dist/src", @@ -41,8 +41,8 @@ "types": "dist/src/index.d.ts", "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-image#readme", "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", "@testing-library/react": "^11.2.6", "@types/babel__core": "^7.1.12", "@types/babel__traverse": "^7.11.1", @@ -73,15 +73,15 @@ }, "dependencies": { "@babel/code-frame": "^7.12.13", - "@babel/parser": "^7.12.5", - "@babel/traverse": "^7.12.5", + "@babel/parser": "^7.14.4", + "@babel/traverse": "^7.14.2", "babel-jsx-utils": "^1.1.0", - "babel-plugin-remove-graphql-queries": "^3.7.0-next.0", + "babel-plugin-remove-graphql-queries": "^3.7.0-next.1", "camelcase": "^5.3.1", "chokidar": "^3.5.1", "common-tags": "^1.8.0", "fs-extra": "^8.1.0", - "gatsby-core-utils": "^2.7.0-next.0", + "gatsby-core-utils": "^2.7.0-next.1", "objectFitPolyfill": "^2.3.0", "prop-types": "^15.7.2" }, diff --git a/packages/gatsby-plugin-jss/CHANGELOG.md b/packages/gatsby-plugin-jss/CHANGELOG.md index 5a0de0d897e53..828be9cbea83c 100644 --- a/packages/gatsby-plugin-jss/CHANGELOG.md +++ b/packages/gatsby-plugin-jss/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-jss@3.7.0-next.0...gatsby-plugin-jss@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-jss + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-jss@3.6.0-next.0...gatsby-plugin-jss@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-jss diff --git a/packages/gatsby-plugin-jss/package.json b/packages/gatsby-plugin-jss/package.json index 94f6bf35df382..ac45536a6b8dc 100644 --- a/packages/gatsby-plugin-jss/package.json +++ b/packages/gatsby-plugin-jss/package.json @@ -1,18 +1,18 @@ { "name": "gatsby-plugin-jss", "description": "Gatsby plugin that adds SSR support for JSS", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Vladimir Guguiev ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5" + "@babel/runtime": "^7.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-jss#readme", diff --git a/packages/gatsby-plugin-layout/CHANGELOG.md b/packages/gatsby-plugin-layout/CHANGELOG.md index f53a99fb4541d..f267b41ed33d9 100644 --- a/packages/gatsby-plugin-layout/CHANGELOG.md +++ b/packages/gatsby-plugin-layout/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-layout@2.7.0-next.0...gatsby-plugin-layout@2.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-layout + # [2.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-layout@2.6.0-next.0...gatsby-plugin-layout@2.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-layout diff --git a/packages/gatsby-plugin-layout/package.json b/packages/gatsby-plugin-layout/package.json index bbf60459f1d25..6c84c1d92d66d 100644 --- a/packages/gatsby-plugin-layout/package.json +++ b/packages/gatsby-plugin-layout/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-layout", - "version": "2.7.0-next.0", + "version": "2.7.0-next.1", "description": "Reimplements the behavior of layout components in gatsby@1, which was removed in version 2.", "main": "index.js", "scripts": { @@ -24,12 +24,12 @@ }, "license": "MIT", "dependencies": { - "@babel/runtime": "^7.12.5" + "@babel/runtime": "^7.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-less/CHANGELOG.md b/packages/gatsby-plugin-less/CHANGELOG.md index ba4ef94b7707d..21f20ef183e2e 100644 --- a/packages/gatsby-plugin-less/CHANGELOG.md +++ b/packages/gatsby-plugin-less/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-less@5.7.0-next.0...gatsby-plugin-less@5.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-less + # [5.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-less@5.6.0-next.0...gatsby-plugin-less@5.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-less diff --git a/packages/gatsby-plugin-less/package.json b/packages/gatsby-plugin-less/package.json index 82cc55997d3a7..3e027098518ee 100644 --- a/packages/gatsby-plugin-less/package.json +++ b/packages/gatsby-plugin-less/package.json @@ -1,19 +1,19 @@ { "name": "gatsby-plugin-less", "description": "Gatsby plugin to add support for using Less", - "version": "5.7.0-next.0", + "version": "5.7.0-next.1", "author": "monastic.panic@gmail.com", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "less-loader": "^6.2.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-less#readme", diff --git a/packages/gatsby-plugin-lodash/CHANGELOG.md b/packages/gatsby-plugin-lodash/CHANGELOG.md index 4e69318e58148..0ae2ad2b299c4 100644 --- a/packages/gatsby-plugin-lodash/CHANGELOG.md +++ b/packages/gatsby-plugin-lodash/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-lodash@4.7.0-next.0...gatsby-plugin-lodash@4.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-lodash + # [4.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-lodash@4.6.0-next.0...gatsby-plugin-lodash@4.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-lodash diff --git a/packages/gatsby-plugin-lodash/package.json b/packages/gatsby-plugin-lodash/package.json index 34dc032d3bb16..d7c509dd217c9 100644 --- a/packages/gatsby-plugin-lodash/package.json +++ b/packages/gatsby-plugin-lodash/package.json @@ -1,20 +1,20 @@ { "name": "gatsby-plugin-lodash", "description": "Easy modular Lodash builds. Adds the Lodash webpack & Babel plugins to your Gatsby build", - "version": "4.7.0-next.0", + "version": "4.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "babel-plugin-lodash": "^3.3.4", "lodash-webpack-plugin": "^0.11.6" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-lodash#readme", diff --git a/packages/gatsby-plugin-manifest/CHANGELOG.md b/packages/gatsby-plugin-manifest/CHANGELOG.md index 86295c70f6df9..1b4f93e3959fc 100644 --- a/packages/gatsby-plugin-manifest/CHANGELOG.md +++ b/packages/gatsby-plugin-manifest/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-manifest@3.7.0-next.0...gatsby-plugin-manifest@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-manifest + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-manifest@3.6.0-next.0...gatsby-plugin-manifest@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-manifest diff --git a/packages/gatsby-plugin-manifest/package.json b/packages/gatsby-plugin-manifest/package.json index 7b6a94930ce15..4c419c581d963 100644 --- a/packages/gatsby-plugin-manifest/package.json +++ b/packages/gatsby-plugin-manifest/package.json @@ -1,22 +1,22 @@ { "name": "gatsby-plugin-manifest", "description": "Gatsby plugin which adds a manifest.webmanifest to make sites progressive web apps", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", - "gatsby-core-utils": "^2.7.0-next.0", - "gatsby-plugin-utils": "^1.7.0-next.0", + "@babel/runtime": "^7.14.0", + "gatsby-core-utils": "^2.7.0-next.1", + "gatsby-plugin-utils": "^1.7.0-next.1", "semver": "^7.3.5", "sharp": "^0.28.1" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-manifest#readme", diff --git a/packages/gatsby-plugin-mdx/CHANGELOG.md b/packages/gatsby-plugin-mdx/CHANGELOG.md index df0c787b39f4e..9da03f2d44277 100644 --- a/packages/gatsby-plugin-mdx/CHANGELOG.md +++ b/packages/gatsby-plugin-mdx/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-mdx@2.7.0-next.0...gatsby-plugin-mdx@2.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-mdx + # [2.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-mdx@2.6.0-next.2...gatsby-plugin-mdx@2.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-mdx diff --git a/packages/gatsby-plugin-mdx/package.json b/packages/gatsby-plugin-mdx/package.json index 83fb6c3e7bd64..b998c31ae1a83 100644 --- a/packages/gatsby-plugin-mdx/package.json +++ b/packages/gatsby-plugin-mdx/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-mdx", - "version": "2.7.0-next.0", + "version": "2.7.0-next.1", "description": "MDX integration for Gatsby", "main": "index.js", "license": "MIT", @@ -20,13 +20,13 @@ "react-dom": "^16.9.0 || ^17.0.0" }, "dependencies": { - "@babel/core": "^7.12.3", - "@babel/generator": "^7.12.5", - "@babel/helper-plugin-utils": "^7.10.4", - "@babel/plugin-proposal-object-rest-spread": "^7.12.1", - "@babel/preset-env": "^7.12.1", - "@babel/preset-react": "^7.12.5", - "@babel/types": "^7.12.6", + "@babel/core": "^7.14.3", + "@babel/generator": "^7.14.3", + "@babel/helper-plugin-utils": "^7.13.0", + "@babel/plugin-proposal-object-rest-spread": "^7.14.4", + "@babel/preset-env": "^7.14.4", + "@babel/preset-react": "^7.13.13", + "@babel/types": "^7.14.4", "camelcase-css": "^2.0.1", "change-case": "^3.1.0", "core-js": "^3.6.5", @@ -35,7 +35,7 @@ "escape-string-regexp": "^1.0.5", "eval": "^0.1.4", "fs-extra": "^8.1.0", - "gatsby-core-utils": "^2.7.0-next.0", + "gatsby-core-utils": "^2.7.0-next.1", "gray-matter": "^4.0.2", "json5": "^2.1.3", "loader-utils": "^1.4.0", @@ -60,7 +60,7 @@ "devDependencies": { "@mdx-js/mdx": "^1.6.16", "@mdx-js/react": "^1.6.16", - "gatsby-plugin-utils": "^1.7.0-next.0", + "gatsby-plugin-utils": "^1.7.0-next.1", "jest": "^24.9.0", "js-combinatorics": "^1.4.5", "react-test-renderer": "^16.13.1" diff --git a/packages/gatsby-plugin-netlify-cms/CHANGELOG.md b/packages/gatsby-plugin-netlify-cms/CHANGELOG.md index 34862cd8364eb..c1af1ec7a3916 100644 --- a/packages/gatsby-plugin-netlify-cms/CHANGELOG.md +++ b/packages/gatsby-plugin-netlify-cms/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-netlify-cms@5.7.0-next.0...gatsby-plugin-netlify-cms@5.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-netlify-cms + # [5.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-netlify-cms@5.6.0-next.1...gatsby-plugin-netlify-cms@5.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-netlify-cms diff --git a/packages/gatsby-plugin-netlify-cms/package.json b/packages/gatsby-plugin-netlify-cms/package.json index 9fb4e8a9795ff..4c5ff80436430 100644 --- a/packages/gatsby-plugin-netlify-cms/package.json +++ b/packages/gatsby-plugin-netlify-cms/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-netlify-cms", "description": "A Gatsby plugin which generates the Netlify CMS single page app", - "version": "5.7.0-next.0", + "version": "5.7.0-next.1", "author": "Shawn Erquhart ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -17,9 +17,9 @@ "webpack": "^5.23.0" }, "devDependencies": { - "@babel/cli": "^7.12.17", - "@babel/core": "^7.12.17", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "react": "^16.12.0", "react-dom": "^16.12.0" diff --git a/packages/gatsby-plugin-netlify/CHANGELOG.md b/packages/gatsby-plugin-netlify/CHANGELOG.md index 7caebf95a2672..4c7d13905b9dc 100644 --- a/packages/gatsby-plugin-netlify/CHANGELOG.md +++ b/packages/gatsby-plugin-netlify/CHANGELOG.md @@ -3,6 +3,12 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-netlify@3.7.0-next.0...gatsby-plugin-netlify@3.7.0-next.1) (2021-05-31) + +### Bug Fixes + +- **gatsby:** add componentChunkName to components list so don't need to loop over pages ([#31547](https://github.com/gatsbyjs/gatsby/issues/31547)) ([783b937](https://github.com/gatsbyjs/gatsby/commit/783b937c8f70478796bce37808bf8bf967bb4252)) + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-netlify@3.6.0-next.0...gatsby-plugin-netlify@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-netlify diff --git a/packages/gatsby-plugin-netlify/package.json b/packages/gatsby-plugin-netlify/package.json index f4dbfe224bbc1..4e1425ee4ced7 100644 --- a/packages/gatsby-plugin-netlify/package.json +++ b/packages/gatsby-plugin-netlify/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-netlify", "description": "A Gatsby plugin which generates a _headers file for netlify", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -13,18 +13,18 @@ } ], "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "fs-extra": "^8.1.0", "kebab-hash": "^0.1.2", "lodash": "^4.17.21", "webpack-assets-manifest": "^5.0.5" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^1.7.0-next.0" + "gatsby-plugin-utils": "^1.7.0-next.1" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-netlify#readme", "keywords": [ diff --git a/packages/gatsby-plugin-nprogress/CHANGELOG.md b/packages/gatsby-plugin-nprogress/CHANGELOG.md index 6c6824395b169..8e46d9ce540c2 100644 --- a/packages/gatsby-plugin-nprogress/CHANGELOG.md +++ b/packages/gatsby-plugin-nprogress/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-nprogress@3.7.0-next.0...gatsby-plugin-nprogress@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-nprogress + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-nprogress@3.6.0-next.0...gatsby-plugin-nprogress@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-nprogress diff --git a/packages/gatsby-plugin-nprogress/package.json b/packages/gatsby-plugin-nprogress/package.json index 64ce1e567ebe6..c5b655c1a522a 100644 --- a/packages/gatsby-plugin-nprogress/package.json +++ b/packages/gatsby-plugin-nprogress/package.json @@ -1,19 +1,19 @@ { "name": "gatsby-plugin-nprogress", "description": "Shows page loading indicator when loading page resources is delayed", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "nprogress": "^0.2.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-nprogress#readme", diff --git a/packages/gatsby-plugin-offline/CHANGELOG.md b/packages/gatsby-plugin-offline/CHANGELOG.md index c76d8a1269d9b..5bbdb4fc1a14d 100644 --- a/packages/gatsby-plugin-offline/CHANGELOG.md +++ b/packages/gatsby-plugin-offline/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-offline@4.7.0-next.0...gatsby-plugin-offline@4.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-offline + # [4.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-offline@4.6.0-next.1...gatsby-plugin-offline@4.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-offline diff --git a/packages/gatsby-plugin-offline/package.json b/packages/gatsby-plugin-offline/package.json index 2f3d8b42c1298..b0950197f2840 100644 --- a/packages/gatsby-plugin-offline/package.json +++ b/packages/gatsby-plugin-offline/package.json @@ -1,27 +1,27 @@ { "name": "gatsby-plugin-offline", "description": "Gatsby plugin which sets up a site to be able to run offline", - "version": "4.7.0-next.0", + "version": "4.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "cheerio": "^1.0.0-rc.9", - "gatsby-core-utils": "^2.7.0-next.0", + "gatsby-core-utils": "^2.7.0-next.1", "glob": "^7.1.6", "idb-keyval": "^3.2.0", "lodash": "^4.17.21", "workbox-build": "^4.3.1" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cpx": "^1.5.0", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^1.7.0-next.0", + "gatsby-plugin-utils": "^1.7.0-next.1", "rewire": "^5.0.0" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-offline#readme", diff --git a/packages/gatsby-plugin-page-creator/CHANGELOG.md b/packages/gatsby-plugin-page-creator/CHANGELOG.md index 5424086bad1a5..c28be3f65cb5a 100644 --- a/packages/gatsby-plugin-page-creator/CHANGELOG.md +++ b/packages/gatsby-plugin-page-creator/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-page-creator@3.7.0-next.0...gatsby-plugin-page-creator@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-page-creator + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-page-creator@3.6.0-next.1...gatsby-plugin-page-creator@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-page-creator diff --git a/packages/gatsby-plugin-page-creator/package.json b/packages/gatsby-plugin-page-creator/package.json index de7c4f71ca095..f03ac6b061b29 100644 --- a/packages/gatsby-plugin-page-creator/package.json +++ b/packages/gatsby-plugin-page-creator/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-page-creator", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "description": "Gatsby plugin that automatically creates pages from React components in specified directories", "main": "index.js", "scripts": { @@ -24,20 +24,20 @@ }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-page-creator#readme", "dependencies": { - "@babel/traverse": "^7.12.5", + "@babel/traverse": "^7.14.2", "@sindresorhus/slugify": "^1.1.2", "chokidar": "^3.5.1", "fs-exists-cached": "^1.0.0", - "gatsby-core-utils": "^2.7.0-next.0", - "gatsby-page-utils": "^1.7.0-next.0", - "gatsby-telemetry": "^2.7.0-next.0", + "gatsby-core-utils": "^2.7.0-next.1", + "gatsby-page-utils": "^1.7.0-next.1", + "gatsby-telemetry": "^2.7.0-next.1", "globby": "^11.0.3", "lodash": "^4.17.21" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-postcss/CHANGELOG.md b/packages/gatsby-plugin-postcss/CHANGELOG.md index b1eb726ffba06..c40089c8b2e28 100644 --- a/packages/gatsby-plugin-postcss/CHANGELOG.md +++ b/packages/gatsby-plugin-postcss/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-postcss@4.7.0-next.0...gatsby-plugin-postcss@4.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-postcss + # [4.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-postcss@4.6.0-next.0...gatsby-plugin-postcss@4.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-postcss diff --git a/packages/gatsby-plugin-postcss/package.json b/packages/gatsby-plugin-postcss/package.json index 59ac3dfe920ab..d9f4bbbf3d07f 100644 --- a/packages/gatsby-plugin-postcss/package.json +++ b/packages/gatsby-plugin-postcss/package.json @@ -1,19 +1,19 @@ { "name": "gatsby-plugin-postcss", "description": "Gatsby plugin to handle PostCSS", - "version": "4.7.0-next.0", + "version": "4.7.0-next.1", "author": "Marat Dreizin ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "postcss-loader": "^4.1.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-postcss#readme", diff --git a/packages/gatsby-plugin-preact/CHANGELOG.md b/packages/gatsby-plugin-preact/CHANGELOG.md index a193dd3a2d5e2..6abe0673d9731 100644 --- a/packages/gatsby-plugin-preact/CHANGELOG.md +++ b/packages/gatsby-plugin-preact/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-preact@5.7.0-next.0...gatsby-plugin-preact@5.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-preact + # [5.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-preact@5.6.0-next.0...gatsby-plugin-preact@5.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-preact diff --git a/packages/gatsby-plugin-preact/package.json b/packages/gatsby-plugin-preact/package.json index 6c7b125be6cb5..fd0db0f3f4bce 100644 --- a/packages/gatsby-plugin-preact/package.json +++ b/packages/gatsby-plugin-preact/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-preact", "description": "A Gatsby plugin which replaces React with Preact", - "version": "5.7.0-next.0", + "version": "5.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -12,10 +12,10 @@ "@prefresh/webpack": "^3.2.2" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", "@pmmmwh/react-refresh-webpack-plugin": "^0.4.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-preact#readme", diff --git a/packages/gatsby-plugin-preload-fonts/CHANGELOG.md b/packages/gatsby-plugin-preload-fonts/CHANGELOG.md index 8a7221010c3a0..de0502f503b73 100644 --- a/packages/gatsby-plugin-preload-fonts/CHANGELOG.md +++ b/packages/gatsby-plugin-preload-fonts/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-preload-fonts@2.7.0-next.0...gatsby-plugin-preload-fonts@2.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-preload-fonts + # [2.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-preload-fonts@2.6.0-next.0...gatsby-plugin-preload-fonts@2.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-preload-fonts diff --git a/packages/gatsby-plugin-preload-fonts/package.json b/packages/gatsby-plugin-preload-fonts/package.json index 405a61cc6b9f2..81e9f912ffda0 100644 --- a/packages/gatsby-plugin-preload-fonts/package.json +++ b/packages/gatsby-plugin-preload-fonts/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-preload-fonts", "description": "Gatsby plugin for preloading fonts per page", - "version": "2.7.0-next.0", + "version": "2.7.0-next.1", "author": "Aaron Ross ", "main": "index.js", "bin": { @@ -14,15 +14,15 @@ "chalk": "^4.1.0", "date-fns": "^2.21.1", "fs-extra": "^8.1.0", - "gatsby-core-utils": "^2.7.0-next.0", + "gatsby-core-utils": "^2.7.0-next.1", "graphql-request": "^1.8.2", "progress": "^2.0.3", "puppeteer": "^3.3.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "del-cli": "^3.0.1" }, diff --git a/packages/gatsby-plugin-react-css-modules/CHANGELOG.md b/packages/gatsby-plugin-react-css-modules/CHANGELOG.md index 922291815a9fc..5b7f617cdd0da 100644 --- a/packages/gatsby-plugin-react-css-modules/CHANGELOG.md +++ b/packages/gatsby-plugin-react-css-modules/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-react-css-modules@3.7.0-next.0...gatsby-plugin-react-css-modules@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-react-css-modules + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-react-css-modules@3.6.0-next.0...gatsby-plugin-react-css-modules@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-react-css-modules diff --git a/packages/gatsby-plugin-react-css-modules/package.json b/packages/gatsby-plugin-react-css-modules/package.json index 133a9ed25fc03..b6aecf93a6ba0 100644 --- a/packages/gatsby-plugin-react-css-modules/package.json +++ b/packages/gatsby-plugin-react-css-modules/package.json @@ -1,19 +1,19 @@ { "name": "gatsby-plugin-react-css-modules", "description": "Gatsby plugin that transforms styleName to className using compile time CSS module resolution", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Ming Aldrich-Gan ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "babel-plugin-react-css-modules": "^3.4.2" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-react-css-modules#readme", diff --git a/packages/gatsby-plugin-react-helmet/CHANGELOG.md b/packages/gatsby-plugin-react-helmet/CHANGELOG.md index 21e3f056c8a09..73315e8ee2db9 100644 --- a/packages/gatsby-plugin-react-helmet/CHANGELOG.md +++ b/packages/gatsby-plugin-react-helmet/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-react-helmet@4.7.0-next.0...gatsby-plugin-react-helmet@4.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-react-helmet + # [4.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-react-helmet@4.6.0-next.0...gatsby-plugin-react-helmet@4.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-react-helmet diff --git a/packages/gatsby-plugin-react-helmet/package.json b/packages/gatsby-plugin-react-helmet/package.json index 9fdd917f12268..0d6e2e5b908e8 100644 --- a/packages/gatsby-plugin-react-helmet/package.json +++ b/packages/gatsby-plugin-react-helmet/package.json @@ -1,18 +1,18 @@ { "name": "gatsby-plugin-react-helmet", "description": "Manage document head data with react-helmet. Provides drop-in server rendering support for Gatsby.", - "version": "4.7.0-next.0", + "version": "4.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5" + "@babel/runtime": "^7.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-react-helmet#readme", diff --git a/packages/gatsby-plugin-remove-trailing-slashes/CHANGELOG.md b/packages/gatsby-plugin-remove-trailing-slashes/CHANGELOG.md index c22024ccfe5d1..6d8ce7d9f2d0d 100644 --- a/packages/gatsby-plugin-remove-trailing-slashes/CHANGELOG.md +++ b/packages/gatsby-plugin-remove-trailing-slashes/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-remove-trailing-slashes@3.7.0-next.0...gatsby-plugin-remove-trailing-slashes@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-remove-trailing-slashes + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-remove-trailing-slashes@3.6.0-next.0...gatsby-plugin-remove-trailing-slashes@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-remove-trailing-slashes diff --git a/packages/gatsby-plugin-remove-trailing-slashes/package.json b/packages/gatsby-plugin-remove-trailing-slashes/package.json index 86d8c1d419512..489bcc7e1962a 100644 --- a/packages/gatsby-plugin-remove-trailing-slashes/package.json +++ b/packages/gatsby-plugin-remove-trailing-slashes/package.json @@ -1,18 +1,18 @@ { "name": "gatsby-plugin-remove-trailing-slashes", "description": "Removes trailing slashes from your project's paths. For example, yoursite.com/about/ becomes yoursite.com/about", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "scott.eckenthal@gmail.com", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5" + "@babel/runtime": "^7.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-remove-trailing-slashes#readme", diff --git a/packages/gatsby-plugin-sass/CHANGELOG.md b/packages/gatsby-plugin-sass/CHANGELOG.md index a15c675fc0e8f..e72097ffd7c80 100644 --- a/packages/gatsby-plugin-sass/CHANGELOG.md +++ b/packages/gatsby-plugin-sass/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-sass@4.7.0-next.0...gatsby-plugin-sass@4.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-sass + # [4.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-sass@4.6.0-next.0...gatsby-plugin-sass@4.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-sass diff --git a/packages/gatsby-plugin-sass/package.json b/packages/gatsby-plugin-sass/package.json index b25fa7578d195..0e15b3de97962 100644 --- a/packages/gatsby-plugin-sass/package.json +++ b/packages/gatsby-plugin-sass/package.json @@ -1,23 +1,23 @@ { "name": "gatsby-plugin-sass", "description": "Gatsby plugin to handle SCSS/Sass files", - "version": "4.7.0-next.0", + "version": "4.7.0-next.1", "author": "Daniel Farrell ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "resolve-url-loader": "^3.1.2", "sass-loader": "^10.1.1" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", "autoprefixer": "^10.2.5", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^1.7.0-next.0" + "gatsby-plugin-utils": "^1.7.0-next.1" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sass#readme", "keywords": [ diff --git a/packages/gatsby-plugin-sharp/CHANGELOG.md b/packages/gatsby-plugin-sharp/CHANGELOG.md index f363af3978905..e32bddd097f28 100644 --- a/packages/gatsby-plugin-sharp/CHANGELOG.md +++ b/packages/gatsby-plugin-sharp/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-sharp@3.7.0-next.0...gatsby-plugin-sharp@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-sharp + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-sharp@3.6.0-next.1...gatsby-plugin-sharp@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-sharp diff --git a/packages/gatsby-plugin-sharp/package.json b/packages/gatsby-plugin-sharp/package.json index a36e806665beb..857fe8c0f6a0d 100644 --- a/packages/gatsby-plugin-sharp/package.json +++ b/packages/gatsby-plugin-sharp/package.json @@ -1,19 +1,19 @@ { "name": "gatsby-plugin-sharp", "description": "Wrapper of the Sharp image manipulation library for Gatsby plugins", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "async": "^3.2.0", "bluebird": "^3.7.2", "filenamify": "^4.2.0", "fs-extra": "^9.1.0", - "gatsby-core-utils": "^2.7.0-next.0", - "gatsby-telemetry": "^2.7.0-next.0", + "gatsby-core-utils": "^2.7.0-next.1", + "gatsby-telemetry": "^2.7.0-next.1", "got": "^10.7.0", "imagemin": "^7.0.1", "imagemin-mozjpeg": "^9.0.0", @@ -29,13 +29,13 @@ "uuid": "3.4.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", "@types/sharp": "^0.27.1", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", - "gatsby-plugin-image": "^1.7.0-next.0", - "gatsby-plugin-utils": "^1.7.0-next.0" + "gatsby-plugin-image": "^1.7.0-next.1", + "gatsby-plugin-utils": "^1.7.0-next.1" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sharp#readme", "keywords": [ diff --git a/packages/gatsby-plugin-sitemap/CHANGELOG.md b/packages/gatsby-plugin-sitemap/CHANGELOG.md index 4738021189c4c..c71fea536617b 100644 --- a/packages/gatsby-plugin-sitemap/CHANGELOG.md +++ b/packages/gatsby-plugin-sitemap/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.3.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-sitemap@4.3.0-next.0...gatsby-plugin-sitemap@4.3.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-sitemap + # [4.3.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-sitemap@4.2.0-next.2...gatsby-plugin-sitemap@4.3.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-sitemap diff --git a/packages/gatsby-plugin-sitemap/package.json b/packages/gatsby-plugin-sitemap/package.json index ffdbf3681afb9..79755d2d38016 100644 --- a/packages/gatsby-plugin-sitemap/package.json +++ b/packages/gatsby-plugin-sitemap/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-sitemap", "description": "Gatsby plugin that automatically creates a sitemap for your site", - "version": "4.3.0-next.0", + "version": "4.3.0-next.1", "contributors": [ "Alex Moon ", "Nicholas Young " @@ -10,17 +10,17 @@ "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "common-tags": "^1.8.0", "minimatch": "^3.0.4", "sitemap": "^7.0.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^1.7.0-next.0" + "gatsby-plugin-utils": "^1.7.0-next.1" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-sitemap#readme", "keywords": [ diff --git a/packages/gatsby-plugin-styled-components/CHANGELOG.md b/packages/gatsby-plugin-styled-components/CHANGELOG.md index 956d17adad47c..adad92ab206f2 100644 --- a/packages/gatsby-plugin-styled-components/CHANGELOG.md +++ b/packages/gatsby-plugin-styled-components/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-styled-components@4.7.0-next.0...gatsby-plugin-styled-components@4.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-styled-components + # [4.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-styled-components@4.6.0-next.0...gatsby-plugin-styled-components@4.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-styled-components diff --git a/packages/gatsby-plugin-styled-components/package.json b/packages/gatsby-plugin-styled-components/package.json index 360052e7b91a6..4db20260c54b7 100644 --- a/packages/gatsby-plugin-styled-components/package.json +++ b/packages/gatsby-plugin-styled-components/package.json @@ -1,18 +1,18 @@ { "name": "gatsby-plugin-styled-components", "description": "Gatsby plugin to add support for styled components", - "version": "4.7.0-next.0", + "version": "4.7.0-next.1", "author": "Guten Ye ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5" + "@babel/runtime": "^7.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-styled-components#readme", diff --git a/packages/gatsby-plugin-styled-jsx/CHANGELOG.md b/packages/gatsby-plugin-styled-jsx/CHANGELOG.md index cfdf8c18143df..8f831fdee32ed 100644 --- a/packages/gatsby-plugin-styled-jsx/CHANGELOG.md +++ b/packages/gatsby-plugin-styled-jsx/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-styled-jsx@4.7.0-next.0...gatsby-plugin-styled-jsx@4.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-styled-jsx + # [4.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-styled-jsx@4.6.0-next.0...gatsby-plugin-styled-jsx@4.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-styled-jsx diff --git a/packages/gatsby-plugin-styled-jsx/package.json b/packages/gatsby-plugin-styled-jsx/package.json index 8add2cbc80374..d0e588996e900 100644 --- a/packages/gatsby-plugin-styled-jsx/package.json +++ b/packages/gatsby-plugin-styled-jsx/package.json @@ -1,18 +1,18 @@ { "name": "gatsby-plugin-styled-jsx", "description": "Adds SSR support for styled-jsx", - "version": "4.7.0-next.0", + "version": "4.7.0-next.1", "author": "Tim Suchanek ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5" + "@babel/runtime": "^7.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-styled-jsx#readme", diff --git a/packages/gatsby-plugin-styletron/CHANGELOG.md b/packages/gatsby-plugin-styletron/CHANGELOG.md index ff0c8eefbd1ed..11b8b4104f669 100644 --- a/packages/gatsby-plugin-styletron/CHANGELOG.md +++ b/packages/gatsby-plugin-styletron/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-styletron@6.7.0-next.0...gatsby-plugin-styletron@6.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-styletron + # [6.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-styletron@6.6.0-next.0...gatsby-plugin-styletron@6.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-styletron diff --git a/packages/gatsby-plugin-styletron/package.json b/packages/gatsby-plugin-styletron/package.json index de876eaa67e0d..e6598eb710995 100644 --- a/packages/gatsby-plugin-styletron/package.json +++ b/packages/gatsby-plugin-styletron/package.json @@ -1,15 +1,15 @@ { "name": "gatsby-plugin-styletron", "description": "A Gatsby plugin for styletron with built-in server-side rendering support", - "version": "6.7.0-next.0", + "version": "6.7.0-next.1", "author": "Nadiia Dmytrenko ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "styletron-engine-atomic": "^1.4.7", "styletron-react": "^5.2.7" diff --git a/packages/gatsby-plugin-stylus/CHANGELOG.md b/packages/gatsby-plugin-stylus/CHANGELOG.md index cddcacafe7373..2e4b91a3a723e 100644 --- a/packages/gatsby-plugin-stylus/CHANGELOG.md +++ b/packages/gatsby-plugin-stylus/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-stylus@3.7.0-next.0...gatsby-plugin-stylus@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-stylus + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-stylus@3.6.0-next.0...gatsby-plugin-stylus@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-stylus diff --git a/packages/gatsby-plugin-stylus/package.json b/packages/gatsby-plugin-stylus/package.json index 9c2db02c10d1e..c91c13bc5eece 100644 --- a/packages/gatsby-plugin-stylus/package.json +++ b/packages/gatsby-plugin-stylus/package.json @@ -1,20 +1,20 @@ { "name": "gatsby-plugin-stylus", "description": "Gatsby support for Stylus", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Ian Sinnott ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "stylus": "^0.54.8", "stylus-loader": "^3.0.2" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-stylus#readme", diff --git a/packages/gatsby-plugin-subfont/CHANGELOG.md b/packages/gatsby-plugin-subfont/CHANGELOG.md index 410c56b299cc4..9e40f1ae7c546 100644 --- a/packages/gatsby-plugin-subfont/CHANGELOG.md +++ b/packages/gatsby-plugin-subfont/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-subfont@3.7.0-next.0...gatsby-plugin-subfont@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-subfont + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-subfont@3.6.0-next.0...gatsby-plugin-subfont@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-subfont diff --git a/packages/gatsby-plugin-subfont/package.json b/packages/gatsby-plugin-subfont/package.json index 9b660c4949454..4fbff6838a193 100644 --- a/packages/gatsby-plugin-subfont/package.json +++ b/packages/gatsby-plugin-subfont/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-subfont", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "description": "Runs the font delivery optimizing CLI tool subfont on the homepage of your site during the Gatsby build", "main": "index.js", "scripts": { @@ -27,9 +27,9 @@ "subfont": "^5.3.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-twitter/CHANGELOG.md b/packages/gatsby-plugin-twitter/CHANGELOG.md index ed1fa52f7af01..83f93124caa95 100644 --- a/packages/gatsby-plugin-twitter/CHANGELOG.md +++ b/packages/gatsby-plugin-twitter/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-twitter@3.7.0-next.0...gatsby-plugin-twitter@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-twitter + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-twitter@3.6.0-next.0...gatsby-plugin-twitter@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-twitter diff --git a/packages/gatsby-plugin-twitter/package.json b/packages/gatsby-plugin-twitter/package.json index 4f3d8f7348a0c..d557ffd43bcf4 100644 --- a/packages/gatsby-plugin-twitter/package.json +++ b/packages/gatsby-plugin-twitter/package.json @@ -1,20 +1,20 @@ { "name": "gatsby-plugin-twitter", "description": "Loads the Twitter JavaScript for embedding tweets.", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5" + "@babel/runtime": "^7.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^1.7.0-next.0" + "gatsby-plugin-utils": "^1.7.0-next.1" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-plugin-twitter#readme", "keywords": [ diff --git a/packages/gatsby-plugin-typescript/CHANGELOG.md b/packages/gatsby-plugin-typescript/CHANGELOG.md index ce6b1e8c17308..957641fe00fe1 100644 --- a/packages/gatsby-plugin-typescript/CHANGELOG.md +++ b/packages/gatsby-plugin-typescript/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-typescript@3.7.0-next.0...gatsby-plugin-typescript@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-typescript + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-typescript@3.6.0-next.0...gatsby-plugin-typescript@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-typescript diff --git a/packages/gatsby-plugin-typescript/package.json b/packages/gatsby-plugin-typescript/package.json index 610f8ec6a4ca5..1460320c3a853 100644 --- a/packages/gatsby-plugin-typescript/package.json +++ b/packages/gatsby-plugin-typescript/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-plugin-typescript", "description": "Adds TypeScript support to Gatsby", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -10,18 +10,18 @@ "Noah Lange " ], "dependencies": { - "@babel/core": "^7.12.3", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.1", - "@babel/plugin-proposal-numeric-separator": "^7.12.5", - "@babel/plugin-proposal-optional-chaining": "^7.12.1", - "@babel/preset-typescript": "^7.12.1", - "@babel/runtime": "^7.12.5", - "babel-plugin-remove-graphql-queries": "^3.7.0-next.0" + "@babel/core": "^7.14.3", + "@babel/plugin-proposal-nullish-coalescing-operator": "^7.14.2", + "@babel/plugin-proposal-numeric-separator": "^7.14.2", + "@babel/plugin-proposal-optional-chaining": "^7.14.2", + "@babel/preset-typescript": "^7.13.0", + "@babel/runtime": "^7.14.0", + "babel-plugin-remove-graphql-queries": "^3.7.0-next.1" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "peerDependencies": { diff --git a/packages/gatsby-plugin-typography/CHANGELOG.md b/packages/gatsby-plugin-typography/CHANGELOG.md index e557d8ea5efbb..16cb944714a90 100644 --- a/packages/gatsby-plugin-typography/CHANGELOG.md +++ b/packages/gatsby-plugin-typography/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-typography@3.7.0-next.0...gatsby-plugin-typography@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-typography + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-typography@3.6.0-next.0...gatsby-plugin-typography@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-typography diff --git a/packages/gatsby-plugin-typography/package.json b/packages/gatsby-plugin-typography/package.json index f85eb30dd879a..1ccc59641ab92 100644 --- a/packages/gatsby-plugin-typography/package.json +++ b/packages/gatsby-plugin-typography/package.json @@ -1,18 +1,18 @@ { "name": "gatsby-plugin-typography", "description": "Gatsby plugin to setup server rendering of Typography.js' CSS", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5" + "@babel/runtime": "^7.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "react": "^16.12.0", "react-dom": "^16.12.0", diff --git a/packages/gatsby-plugin-utils/CHANGELOG.md b/packages/gatsby-plugin-utils/CHANGELOG.md index 36d5ce9e795c8..17a3986ecf5a3 100644 --- a/packages/gatsby-plugin-utils/CHANGELOG.md +++ b/packages/gatsby-plugin-utils/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [1.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-utils@1.7.0-next.0...gatsby-plugin-utils@1.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-plugin-utils + # [1.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-plugin-utils@1.6.0-next.0...gatsby-plugin-utils@1.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-plugin-utils diff --git a/packages/gatsby-plugin-utils/package.json b/packages/gatsby-plugin-utils/package.json index 581644cf3a9ac..732c0d7088e04 100644 --- a/packages/gatsby-plugin-utils/package.json +++ b/packages/gatsby-plugin-utils/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-plugin-utils", - "version": "1.7.0-next.0", + "version": "1.7.0-next.1", "description": "Gatsby utils that help creating plugins", "main": "dist/index.js", "scripts": { @@ -24,9 +24,9 @@ "joi": "^17.2.1" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "rimraf": "^3.0.2", "typescript": "^4.1.5" diff --git a/packages/gatsby-react-router-scroll/CHANGELOG.md b/packages/gatsby-react-router-scroll/CHANGELOG.md index 3e0ad2785de7f..294d0c2915c47 100644 --- a/packages/gatsby-react-router-scroll/CHANGELOG.md +++ b/packages/gatsby-react-router-scroll/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-react-router-scroll@4.7.0-next.0...gatsby-react-router-scroll@4.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-react-router-scroll + # [4.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-react-router-scroll@4.6.0-next.0...gatsby-react-router-scroll@4.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-react-router-scroll diff --git a/packages/gatsby-react-router-scroll/package.json b/packages/gatsby-react-router-scroll/package.json index 7403502612c3a..8eacd887afb43 100644 --- a/packages/gatsby-react-router-scroll/package.json +++ b/packages/gatsby-react-router-scroll/package.json @@ -1,19 +1,19 @@ { "name": "gatsby-react-router-scroll", "description": "React Router scroll management forked from https://github.com/ytase/react-router-scroll for Gatsby", - "version": "4.7.0-next.0", + "version": "4.7.0-next.1", "author": "Jimmy Jia", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5" + "@babel/runtime": "^7.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", "babel-plugin-dev-expression": "^0.2.2", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "history": "^4.10.1" }, diff --git a/packages/gatsby-recipes/CHANGELOG.md b/packages/gatsby-recipes/CHANGELOG.md index 6981d346266b9..c9563c3f46a27 100644 --- a/packages/gatsby-recipes/CHANGELOG.md +++ b/packages/gatsby-recipes/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [0.18.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-recipes@0.18.0-next.0...gatsby-recipes@0.18.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-recipes + # [0.18.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-recipes@0.17.0-next.0...gatsby-recipes@0.18.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-recipes diff --git a/packages/gatsby-recipes/package.json b/packages/gatsby-recipes/package.json index 62c730b58d2ac..c55eef6af56e8 100644 --- a/packages/gatsby-recipes/package.json +++ b/packages/gatsby-recipes/package.json @@ -1,20 +1,20 @@ { "name": "gatsby-recipes", "description": "Core functionality for Gatsby Recipes", - "version": "0.18.0-next.0", + "version": "0.18.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/core": "^7.12.3", - "@babel/generator": "^7.12.5", - "@babel/helper-plugin-utils": "^7.10.4", - "@babel/plugin-proposal-optional-chaining": "^7.12.1", - "@babel/plugin-transform-react-jsx": "^7.12.5", - "@babel/standalone": "^7.12.6", - "@babel/template": "^7.10.4", - "@babel/types": "^7.12.6", + "@babel/core": "^7.14.3", + "@babel/generator": "^7.14.3", + "@babel/helper-plugin-utils": "^7.13.0", + "@babel/plugin-proposal-optional-chaining": "^7.14.2", + "@babel/plugin-transform-react-jsx": "^7.14.3", + "@babel/standalone": "^7.14.4", + "@babel/template": "^7.12.13", + "@babel/types": "^7.14.4", "@graphql-tools/schema": "^7.0.0", "@graphql-tools/utils": "^7.0.2", "@hapi/hoek": "8.x.x", @@ -30,8 +30,8 @@ "express": "^4.17.1", "express-graphql": "^0.9.0", "fs-extra": "^8.1.0", - "gatsby-core-utils": "^2.7.0-next.0", - "gatsby-telemetry": "^2.7.0-next.0", + "gatsby-core-utils": "^2.7.0-next.1", + "gatsby-telemetry": "^2.7.0-next.1", "glob": "^7.1.6", "graphql": "^15.4.0", "graphql-compose": "~7.25.0", @@ -67,8 +67,8 @@ "yoga-layout-prebuilt": "^1.9.6" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/plugin-transform-runtime": "^7.12.1", + "@babel/cli": "^7.14.3", + "@babel/plugin-transform-runtime": "^7.14.3", "@mdx-js/mdx": "^2.0.0-next.4", "@mdx-js/react": "^2.0.0-next.4", "@mdx-js/runtime": "^2.0.0-next.4", diff --git a/packages/gatsby-remark-autolink-headers/CHANGELOG.md b/packages/gatsby-remark-autolink-headers/CHANGELOG.md index 3117dd9775bbe..f2c5c41a417f0 100644 --- a/packages/gatsby-remark-autolink-headers/CHANGELOG.md +++ b/packages/gatsby-remark-autolink-headers/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.4.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-autolink-headers@4.4.0-next.0...gatsby-remark-autolink-headers@4.4.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-remark-autolink-headers + # [4.4.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-autolink-headers@4.3.0-next.0...gatsby-remark-autolink-headers@4.4.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-remark-autolink-headers diff --git a/packages/gatsby-remark-autolink-headers/package.json b/packages/gatsby-remark-autolink-headers/package.json index 2464bb4cf3a3a..65530919f64df 100644 --- a/packages/gatsby-remark-autolink-headers/package.json +++ b/packages/gatsby-remark-autolink-headers/package.json @@ -1,24 +1,24 @@ { "name": "gatsby-remark-autolink-headers", "description": "Gatsby plugin to autolink headers in markdown processed by Remark", - "version": "4.4.0-next.0", + "version": "4.4.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "github-slugger": "^1.3.0", "lodash": "^4.17.21", "mdast-util-to-string": "^2.0.0", "unist-util-visit": "^2.0.3" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^1.7.0-next.0" + "gatsby-plugin-utils": "^1.7.0-next.1" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-autolink-headers#readme", "keywords": [ diff --git a/packages/gatsby-remark-code-repls/CHANGELOG.md b/packages/gatsby-remark-code-repls/CHANGELOG.md index 2f8ca613bd525..76064a4ad0ff6 100644 --- a/packages/gatsby-remark-code-repls/CHANGELOG.md +++ b/packages/gatsby-remark-code-repls/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.4.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-code-repls@5.4.0-next.0...gatsby-remark-code-repls@5.4.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-remark-code-repls + # [5.4.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-code-repls@5.3.0-next.0...gatsby-remark-code-repls@5.4.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-remark-code-repls diff --git a/packages/gatsby-remark-code-repls/package.json b/packages/gatsby-remark-code-repls/package.json index 3fe030d17d9cb..96c6303a7608b 100644 --- a/packages/gatsby-remark-code-repls/package.json +++ b/packages/gatsby-remark-code-repls/package.json @@ -1,13 +1,13 @@ { "name": "gatsby-remark-code-repls", "description": "Gatsby plugin to auto-generate links to popular REPLs like Babel and Codepen", - "version": "5.4.0-next.0", + "version": "5.4.0-next.1", "author": "Brian Vaughn ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "lz-string": "^1.4.4", "normalize-path": "^3.0.0", "npm-package-arg": "^8.1.1", @@ -16,9 +16,9 @@ "urijs": "^1.19.2" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-code-repls#readme", diff --git a/packages/gatsby-remark-copy-linked-files/CHANGELOG.md b/packages/gatsby-remark-copy-linked-files/CHANGELOG.md index 954a26b9981c9..3cf1f742c8f04 100644 --- a/packages/gatsby-remark-copy-linked-files/CHANGELOG.md +++ b/packages/gatsby-remark-copy-linked-files/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.4.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-copy-linked-files@4.4.0-next.0...gatsby-remark-copy-linked-files@4.4.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-remark-copy-linked-files + # [4.4.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-copy-linked-files@4.3.0-next.1...gatsby-remark-copy-linked-files@4.4.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-remark-copy-linked-files diff --git a/packages/gatsby-remark-copy-linked-files/package.json b/packages/gatsby-remark-copy-linked-files/package.json index bfbf32d155c9e..c99aea6fbe825 100644 --- a/packages/gatsby-remark-copy-linked-files/package.json +++ b/packages/gatsby-remark-copy-linked-files/package.json @@ -1,13 +1,13 @@ { "name": "gatsby-remark-copy-linked-files", "description": "Find files which are linked to from markdown and copy them to the public directory", - "version": "4.4.0-next.0", + "version": "4.4.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "cheerio": "^1.0.0-rc.9", "fs-extra": "^8.1.0", "is-relative-url": "^3.0.0", @@ -17,9 +17,9 @@ "unist-util-visit": "^2.0.3" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "remark": "^13.0.0", "remark-mdx": "^1.6.22" diff --git a/packages/gatsby-remark-custom-blocks/CHANGELOG.md b/packages/gatsby-remark-custom-blocks/CHANGELOG.md index 16d3d0602c19b..daba9839b9e78 100644 --- a/packages/gatsby-remark-custom-blocks/CHANGELOG.md +++ b/packages/gatsby-remark-custom-blocks/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-custom-blocks@3.7.0-next.0...gatsby-remark-custom-blocks@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-remark-custom-blocks + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-custom-blocks@3.6.0-next.0...gatsby-remark-custom-blocks@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-remark-custom-blocks diff --git a/packages/gatsby-remark-custom-blocks/package.json b/packages/gatsby-remark-custom-blocks/package.json index cedc09046776a..30726fbb9a9a0 100644 --- a/packages/gatsby-remark-custom-blocks/package.json +++ b/packages/gatsby-remark-custom-blocks/package.json @@ -1,19 +1,19 @@ { "name": "gatsby-remark-custom-blocks", "description": "Gatsby remark plugin for adding custom blocks in markdown", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Mohammad Asad Mohammad ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "remark-custom-blocks": "^2.5.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "rimraf": "^3.0.2", "unist-util-find": "^1.0.2" diff --git a/packages/gatsby-remark-embed-snippet/CHANGELOG.md b/packages/gatsby-remark-embed-snippet/CHANGELOG.md index cb2005826cbb2..210874a392293 100644 --- a/packages/gatsby-remark-embed-snippet/CHANGELOG.md +++ b/packages/gatsby-remark-embed-snippet/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.4.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-embed-snippet@6.4.0-next.0...gatsby-remark-embed-snippet@6.4.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-remark-embed-snippet + # [6.4.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-embed-snippet@6.3.0-next.0...gatsby-remark-embed-snippet@6.4.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-remark-embed-snippet diff --git a/packages/gatsby-remark-embed-snippet/package.json b/packages/gatsby-remark-embed-snippet/package.json index a8b8d1d030c61..0afa880ce213c 100644 --- a/packages/gatsby-remark-embed-snippet/package.json +++ b/packages/gatsby-remark-embed-snippet/package.json @@ -1,21 +1,21 @@ { "name": "gatsby-remark-embed-snippet", "description": "Gatsby plugin to embed formatted code snippets within markdown", - "version": "6.4.0-next.0", + "version": "6.4.0-next.1", "author": "Brian Vaughn ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "normalize-path": "^3.0.0", "parse-numeric-range": "^1.2.0", "unist-util-map": "^2.0.1" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-embed-snippet#readme", diff --git a/packages/gatsby-remark-graphviz/CHANGELOG.md b/packages/gatsby-remark-graphviz/CHANGELOG.md index ab2d60c012d8c..97813d8aa1833 100644 --- a/packages/gatsby-remark-graphviz/CHANGELOG.md +++ b/packages/gatsby-remark-graphviz/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.4.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-graphviz@3.4.0-next.0...gatsby-remark-graphviz@3.4.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-remark-graphviz + # [3.4.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-graphviz@3.3.0-next.1...gatsby-remark-graphviz@3.4.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-remark-graphviz diff --git a/packages/gatsby-remark-graphviz/package.json b/packages/gatsby-remark-graphviz/package.json index d90d66ba4dbc1..c75526b29da14 100644 --- a/packages/gatsby-remark-graphviz/package.json +++ b/packages/gatsby-remark-graphviz/package.json @@ -1,21 +1,21 @@ { "name": "gatsby-remark-graphviz", "description": "Processes graphviz code blocks and renders to SVG using viz.js", - "version": "3.4.0-next.0", + "version": "3.4.0-next.1", "author": "Anthony Marcar ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "cheerio": "^1.0.0-rc.9", "unist-util-visit": "^2.0.3", "viz.js": "^2.1.2" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "hast-util-to-html": "^7.1.2", "mdast-util-to-hast": "^10.2.0", diff --git a/packages/gatsby-remark-images-contentful/CHANGELOG.md b/packages/gatsby-remark-images-contentful/CHANGELOG.md index aa02d5fb59a6d..cfee4379ea654 100644 --- a/packages/gatsby-remark-images-contentful/CHANGELOG.md +++ b/packages/gatsby-remark-images-contentful/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.4.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-images-contentful@4.4.0-next.0...gatsby-remark-images-contentful@4.4.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-remark-images-contentful + # [4.4.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-images-contentful@4.3.0-next.1...gatsby-remark-images-contentful@4.4.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-remark-images-contentful diff --git a/packages/gatsby-remark-images-contentful/package.json b/packages/gatsby-remark-images-contentful/package.json index 930efc428f7a8..bcd73fbf726fd 100644 --- a/packages/gatsby-remark-images-contentful/package.json +++ b/packages/gatsby-remark-images-contentful/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-remark-images-contentful", - "version": "4.4.0-next.0", + "version": "4.4.0-next.1", "description": "Process Images in Contentful markdown so they can use the images API.", "main": "index.js", "scripts": { @@ -15,7 +15,7 @@ }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-images-contentful#readme", "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "axios": "^0.21.1", "chalk": "^4.1.0", "cheerio": "^1.0.0-rc.9", @@ -26,9 +26,9 @@ "unist-util-select": "^3.0.4" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "keywords": [ diff --git a/packages/gatsby-remark-images/CHANGELOG.md b/packages/gatsby-remark-images/CHANGELOG.md index 116a54416e0f1..a4d126f398f3f 100644 --- a/packages/gatsby-remark-images/CHANGELOG.md +++ b/packages/gatsby-remark-images/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.4.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-images@5.4.0-next.0...gatsby-remark-images@5.4.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-remark-images + # [5.4.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-images@5.3.0-next.1...gatsby-remark-images@5.4.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-remark-images diff --git a/packages/gatsby-remark-images/package.json b/packages/gatsby-remark-images/package.json index bb4927bb9010c..0329ee06c2ece 100644 --- a/packages/gatsby-remark-images/package.json +++ b/packages/gatsby-remark-images/package.json @@ -1,16 +1,16 @@ { "name": "gatsby-remark-images", "description": "Processes images in markdown so they can be used in the production build.", - "version": "5.4.0-next.0", + "version": "5.4.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "chalk": "^4.1.0", "cheerio": "^1.0.0-rc.9", - "gatsby-core-utils": "^2.7.0-next.0", + "gatsby-core-utils": "^2.7.0-next.1", "is-relative-url": "^3.0.0", "lodash": "^4.17.21", "mdast-util-definitions": "^4.0.0", @@ -20,11 +20,11 @@ "unist-util-visit-parents": "^3.1.1" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^1.7.0-next.0", + "gatsby-plugin-utils": "^1.7.0-next.1", "hast-util-to-html": "^7.1.2", "mdast-util-to-hast": "^10.2.0" }, diff --git a/packages/gatsby-remark-katex/CHANGELOG.md b/packages/gatsby-remark-katex/CHANGELOG.md index c23272088a5b9..51a38f992e650 100644 --- a/packages/gatsby-remark-katex/CHANGELOG.md +++ b/packages/gatsby-remark-katex/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.4.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-katex@5.4.0-next.0...gatsby-remark-katex@5.4.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-remark-katex + # [5.4.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-katex@5.3.0-next.0...gatsby-remark-katex@5.4.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-remark-katex diff --git a/packages/gatsby-remark-katex/package.json b/packages/gatsby-remark-katex/package.json index 302d2604d1c56..1682439d2fad9 100644 --- a/packages/gatsby-remark-katex/package.json +++ b/packages/gatsby-remark-katex/package.json @@ -1,20 +1,20 @@ { "name": "gatsby-remark-katex", "description": "Transform math nodes to html markup", - "version": "5.4.0-next.0", + "version": "5.4.0-next.1", "author": "Jeffrey Xiao ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "remark-math": "^4.0.0", "unist-util-visit": "^2.0.3" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "katex": "^0.13.0" }, diff --git a/packages/gatsby-remark-prismjs/CHANGELOG.md b/packages/gatsby-remark-prismjs/CHANGELOG.md index 7b2086f8892fe..7b1b3ae8343c7 100644 --- a/packages/gatsby-remark-prismjs/CHANGELOG.md +++ b/packages/gatsby-remark-prismjs/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.4.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-prismjs@5.4.0-next.0...gatsby-remark-prismjs@5.4.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-remark-prismjs + # [5.4.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-prismjs@5.3.0-next.1...gatsby-remark-prismjs@5.4.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-remark-prismjs diff --git a/packages/gatsby-remark-prismjs/package.json b/packages/gatsby-remark-prismjs/package.json index bce0673f51d53..13187cf484810 100644 --- a/packages/gatsby-remark-prismjs/package.json +++ b/packages/gatsby-remark-prismjs/package.json @@ -1,20 +1,20 @@ { "name": "gatsby-remark-prismjs", "description": "Adds syntax highlighting to code blocks at build time using PrismJS", - "version": "5.4.0-next.0", + "version": "5.4.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "parse-numeric-range": "^1.2.0", "unist-util-visit": "^2.0.3" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cheerio": "^1.0.0-rc.9", "cross-env": "^7.0.3", "prismjs": "^1.21.0", diff --git a/packages/gatsby-remark-responsive-iframe/CHANGELOG.md b/packages/gatsby-remark-responsive-iframe/CHANGELOG.md index b568f988ce7d0..e4a6c7afacf18 100644 --- a/packages/gatsby-remark-responsive-iframe/CHANGELOG.md +++ b/packages/gatsby-remark-responsive-iframe/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.4.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-responsive-iframe@4.4.0-next.0...gatsby-remark-responsive-iframe@4.4.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-remark-responsive-iframe + # [4.4.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-responsive-iframe@4.3.0-next.1...gatsby-remark-responsive-iframe@4.4.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-remark-responsive-iframe diff --git a/packages/gatsby-remark-responsive-iframe/package.json b/packages/gatsby-remark-responsive-iframe/package.json index dc2825edd72e6..5a6e5f5be2ba6 100644 --- a/packages/gatsby-remark-responsive-iframe/package.json +++ b/packages/gatsby-remark-responsive-iframe/package.json @@ -1,22 +1,22 @@ { "name": "gatsby-remark-responsive-iframe", "description": "Make iframes in Markdown processed by Remark responsive", - "version": "4.4.0-next.0", + "version": "4.4.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "cheerio": "^1.0.0-rc.9", "common-tags": "^1.8.0", "lodash": "^4.17.21", "unist-util-visit": "^2.0.3" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "remark": "^13.0.0", "remark-mdx": "^1.6.21", diff --git a/packages/gatsby-remark-smartypants/CHANGELOG.md b/packages/gatsby-remark-smartypants/CHANGELOG.md index 4543f666737ca..a34388e01c052 100644 --- a/packages/gatsby-remark-smartypants/CHANGELOG.md +++ b/packages/gatsby-remark-smartypants/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.4.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-smartypants@4.4.0-next.0...gatsby-remark-smartypants@4.4.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-remark-smartypants + # [4.4.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-remark-smartypants@4.3.0-next.0...gatsby-remark-smartypants@4.4.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-remark-smartypants diff --git a/packages/gatsby-remark-smartypants/package.json b/packages/gatsby-remark-smartypants/package.json index e433ff48140ec..a7c77fe74b9bc 100644 --- a/packages/gatsby-remark-smartypants/package.json +++ b/packages/gatsby-remark-smartypants/package.json @@ -1,21 +1,21 @@ { "name": "gatsby-remark-smartypants", "description": "Use retext-smartypants to auto-enhance typography of markdown", - "version": "4.4.0-next.0", + "version": "4.4.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "retext": "^7.0.1", "retext-smartypants": "^4.0.0", "unist-util-visit": "^2.0.3" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-smartypants#readme", diff --git a/packages/gatsby-source-contentful/CHANGELOG.md b/packages/gatsby-source-contentful/CHANGELOG.md index bdad47e30017c..35b1e590f388a 100644 --- a/packages/gatsby-source-contentful/CHANGELOG.md +++ b/packages/gatsby-source-contentful/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-contentful@5.7.0-next.0...gatsby-source-contentful@5.7.0-next.1) (2021-05-31) + +### Bug Fixes + +- **contentful:** pass reporter to retry function ([#31608](https://github.com/gatsbyjs/gatsby/issues/31608)) ([26dbe09](https://github.com/gatsbyjs/gatsby/commit/26dbe0913e19db50c8371a1c0b1277b09759f224)) +- **gatsby-source-contentful:** fix progress bar ([#31467](https://github.com/gatsbyjs/gatsby/issues/31467)) ([2e1f7e3](https://github.com/gatsbyjs/gatsby/commit/2e1f7e325adfe055f828336c247d71404f461be5)) + # [5.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-contentful@5.6.0-next.0...gatsby-source-contentful@5.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-source-contentful diff --git a/packages/gatsby-source-contentful/package.json b/packages/gatsby-source-contentful/package.json index ffa6ecbe13a7e..86485e5c2969f 100644 --- a/packages/gatsby-source-contentful/package.json +++ b/packages/gatsby-source-contentful/package.json @@ -1,13 +1,13 @@ { "name": "gatsby-source-contentful", "description": "Gatsby source plugin for building websites using the Contentful CMS as a data source", - "version": "5.7.0-next.0", + "version": "5.7.0-next.1", "author": "Marcus Ericsson (mericsson.com)", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "@contentful/rich-text-react-renderer": "^14.1.2", "@contentful/rich-text-types": "^14.1.2", "@hapi/joi": "^15.1.1", @@ -17,9 +17,9 @@ "common-tags": "^1.8.0", "contentful": "^8.1.7", "fs-extra": "^9.1.0", - "gatsby-core-utils": "^2.7.0-next.0", - "gatsby-plugin-utils": "^1.7.0-next.0", - "gatsby-source-filesystem": "^3.7.0-next.0", + "gatsby-core-utils": "^2.7.0-next.1", + "gatsby-plugin-utils": "^1.7.0-next.1", + "gatsby-source-filesystem": "^3.7.0-next.1", "is-online": "^8.5.1", "json-stringify-safe": "^5.0.1", "lodash": "^4.17.21", @@ -29,9 +29,9 @@ "retry-axios": "^2.4.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "nock": "^13.0.6" }, diff --git a/packages/gatsby-source-contentful/src/cache-image.js b/packages/gatsby-source-contentful/src/cache-image.js index fbd40f6c3fb97..3386eedb65be6 100644 --- a/packages/gatsby-source-contentful/src/cache-image.js +++ b/packages/gatsby-source-contentful/src/cache-image.js @@ -7,7 +7,7 @@ const downloadWithRetry = require(`./download-with-retry`).default const inFlightImageCache = new Map() -module.exports = async function cacheImage(store, image, options) { +module.exports = async function cacheImage(store, image, options, reporter) { const program = store.getState().program const CACHE_DIR = resolve(`${program.directory}/.cache/contentful/assets/`) const { @@ -59,10 +59,13 @@ module.exports = async function cacheImage(store, image, options) { const downloadPromise = new Promise((resolve, reject) => { const previewUrl = `http:${url}?${params.join(`&`)}` - downloadWithRetry({ - url: previewUrl, - responseType: `stream`, - }) + downloadWithRetry( + { + url: previewUrl, + responseType: `stream`, + }, + reporter + ) .then(response => { const file = createWriteStream(absolutePath) response.data.pipe(file) diff --git a/packages/gatsby-source-contentful/src/extend-node-type.js b/packages/gatsby-source-contentful/src/extend-node-type.js index 1366b83e951e6..26b896dedf0a8 100644 --- a/packages/gatsby-source-contentful/src/extend-node-type.js +++ b/packages/gatsby-source-contentful/src/extend-node-type.js @@ -65,7 +65,7 @@ const isImage = image => ) // Note: this may return a Promise, body (sync), or null -const getBase64Image = imageProps => { +const getBase64Image = (imageProps, reporter) => { if (!imageProps) { return null } @@ -111,10 +111,13 @@ const getBase64Image = imageProps => { } const loadImage = async () => { - const imageResponse = await downloadWithRetry({ - url: requestUrl, - responseType: `arraybuffer`, - }) + const imageResponse = await downloadWithRetry( + { + url: requestUrl, + responseType: `arraybuffer`, + }, + reporter + ) const base64 = Buffer.from(imageResponse.data, `binary`).toString(`base64`) @@ -470,14 +473,14 @@ const resolveResize = (image, options) => { exports.resolveResize = resolveResize -const fixedNodeType = ({ name, getTracedSVG }) => { +const fixedNodeType = ({ name, getTracedSVG, reporter }) => { return { type: new GraphQLObjectType({ name: name, fields: { base64: { type: GraphQLString, - resolve: getBase64Image, + resolve: imageProps => getBase64Image(imageProps, reporter), }, tracedSVG: { type: GraphQLString, @@ -565,14 +568,14 @@ const fixedNodeType = ({ name, getTracedSVG }) => { } } -const fluidNodeType = ({ name, getTracedSVG }) => { +const fluidNodeType = ({ name, getTracedSVG, reporter }) => { return { type: new GraphQLObjectType({ name: name, fields: { base64: { type: GraphQLString, - resolve: getBase64Image, + resolve: imageProps => getBase64Image(imageProps, reporter), }, tracedSVG: { type: GraphQLString, @@ -662,7 +665,7 @@ const fluidNodeType = ({ name, getTracedSVG }) => { } } -exports.extendNodeType = ({ type, store }) => { +exports.extendNodeType = ({ type, store, reporter }) => { if (type.name !== `ContentfulAsset`) { return {} } @@ -679,7 +682,7 @@ exports.extendNodeType = ({ type, store }) => { return null } - const absolutePath = await cacheImage(store, image, options) + const absolutePath = await cacheImage(store, image, options, reporter) const extension = path.extname(absolutePath) return traceSVG({ @@ -696,7 +699,7 @@ exports.extendNodeType = ({ type, store }) => { const getDominantColor = async ({ image, options }) => { try { - const absolutePath = await cacheImage(store, image, options) + const absolutePath = await cacheImage(store, image, options, reporter) const pluginSharp = require(`gatsby-plugin-sharp`) if (!(`getDominantColor` in pluginSharp)) { @@ -748,9 +751,12 @@ exports.extendNodeType = ({ type, store }) => { } if (options.placeholder === `blurred`) { - placeholderDataURI = await getBase64Image({ - baseUrl, - }) + placeholderDataURI = await getBase64Image( + { + baseUrl, + }, + reporter + ) } if (options.placeholder === `tracedSVG`) { @@ -767,9 +773,17 @@ exports.extendNodeType = ({ type, store }) => { return imageProps } - const fixedNode = fixedNodeType({ name: `ContentfulFixed`, getTracedSVG }) + const fixedNode = fixedNodeType({ + name: `ContentfulFixed`, + getTracedSVG, + reporter, + }) - const fluidNode = fluidNodeType({ name: `ContentfulFluid`, getTracedSVG }) + const fluidNode = fluidNodeType({ + name: `ContentfulFluid`, + getTracedSVG, + reporter, + }) // gatsby-plugin-image const getGatsbyImageData = () => { @@ -841,7 +855,7 @@ exports.extendNodeType = ({ type, store }) => { fields: { base64: { type: GraphQLString, - resolve: getBase64Image, + resolve: imageProps => getBase64Image(imageProps, reporter), }, tracedSVG: { type: GraphQLString, diff --git a/packages/gatsby-source-contentful/src/fetch.js b/packages/gatsby-source-contentful/src/fetch.js index 9668b218b2aa2..7bfa57f54a773 100644 --- a/packages/gatsby-source-contentful/src/fetch.js +++ b/packages/gatsby-source-contentful/src/fetch.js @@ -79,6 +79,7 @@ module.exports = async function contentfulFetch({ }) { // Fetch articles. let syncProgress + let syncItemCount = 0 const pageLimit = pluginConfig.get(`pageLimit`) const contentfulClientOptions = { space: pluginConfig.get(`spaceId`), @@ -110,6 +111,8 @@ module.exports = async function contentfulFetch({ !response.isAxiosError && response?.data.items ) { + syncItemCount += response.data.items.length + syncProgress.total = syncItemCount syncProgress.tick(response.data.items.length) } diff --git a/packages/gatsby-source-drupal/CHANGELOG.md b/packages/gatsby-source-drupal/CHANGELOG.md index 05c456354920b..70ff575911730 100644 --- a/packages/gatsby-source-drupal/CHANGELOG.md +++ b/packages/gatsby-source-drupal/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-drupal@4.7.0-next.0...gatsby-source-drupal@4.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-source-drupal + # [4.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-drupal@4.6.0-next.3...gatsby-source-drupal@4.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-source-drupal diff --git a/packages/gatsby-source-drupal/package.json b/packages/gatsby-source-drupal/package.json index 3bbd216a294d1..a82808cd47ebc 100644 --- a/packages/gatsby-source-drupal/package.json +++ b/packages/gatsby-source-drupal/package.json @@ -1,25 +1,25 @@ { "name": "gatsby-source-drupal", "description": "Gatsby source plugin for building websites using the Drupal CMS as a data source", - "version": "4.7.0-next.0", + "version": "4.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "axios": "^0.21.1", "bluebird": "^3.7.2", "body-parser": "^1.19.0", - "gatsby-source-filesystem": "^3.7.0-next.0", + "gatsby-source-filesystem": "^3.7.0-next.1", "lodash": "^4.17.21", "tiny-async-pool": "^1.2.0", "url-join": "^4.0.1" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-drupal#readme", diff --git a/packages/gatsby-source-faker/CHANGELOG.md b/packages/gatsby-source-faker/CHANGELOG.md index 3a577532e1195..f17913c9ad4e2 100644 --- a/packages/gatsby-source-faker/CHANGELOG.md +++ b/packages/gatsby-source-faker/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-faker@3.7.0-next.0...gatsby-source-faker@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-source-faker + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-faker@3.6.0-next.0...gatsby-source-faker@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-source-faker diff --git a/packages/gatsby-source-faker/package.json b/packages/gatsby-source-faker/package.json index 2a21543a3f3d6..dd86ca18edae9 100644 --- a/packages/gatsby-source-faker/package.json +++ b/packages/gatsby-source-faker/package.json @@ -1,19 +1,19 @@ { "name": "gatsby-source-faker", "description": "A gatsby plugin to get fake data for testing", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Pavithra Kodmad", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "faker": "^4.1.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-faker#readme", diff --git a/packages/gatsby-source-filesystem/CHANGELOG.md b/packages/gatsby-source-filesystem/CHANGELOG.md index 7c98acf34a2a8..2d824ae84aec1 100644 --- a/packages/gatsby-source-filesystem/CHANGELOG.md +++ b/packages/gatsby-source-filesystem/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-filesystem@3.7.0-next.0...gatsby-source-filesystem@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-source-filesystem + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-filesystem@3.6.0-next.0...gatsby-source-filesystem@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-source-filesystem diff --git a/packages/gatsby-source-filesystem/package.json b/packages/gatsby-source-filesystem/package.json index b44800e9a6ba0..cab7d4684ee11 100644 --- a/packages/gatsby-source-filesystem/package.json +++ b/packages/gatsby-source-filesystem/package.json @@ -1,18 +1,18 @@ { "name": "gatsby-source-filesystem", "description": "Gatsby source plugin for building websites from local data. Markdown, JSON, images, YAML, CSV, and dozens of other data types supported.", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "better-queue": "^3.8.10", "chokidar": "^3.4.3", "file-type": "^16.0.0", "fs-extra": "^8.1.0", - "gatsby-core-utils": "^2.7.0-next.0", + "gatsby-core-utils": "^2.7.0-next.1", "got": "^9.6.0", "md5-file": "^5.0.0", "mime": "^2.4.6", @@ -22,9 +22,9 @@ "xstate": "^4.14.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "msw": "^0.25.0" }, diff --git a/packages/gatsby-source-graphql/CHANGELOG.md b/packages/gatsby-source-graphql/CHANGELOG.md index ff90171220ac9..64d2e5e000fe8 100644 --- a/packages/gatsby-source-graphql/CHANGELOG.md +++ b/packages/gatsby-source-graphql/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-graphql@3.7.0-next.0...gatsby-source-graphql@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-source-graphql + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-graphql@3.6.0-next.0...gatsby-source-graphql@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-source-graphql diff --git a/packages/gatsby-source-graphql/package.json b/packages/gatsby-source-graphql/package.json index 46d5d0a25cc30..4c02fb7702b99 100644 --- a/packages/gatsby-source-graphql/package.json +++ b/packages/gatsby-source-graphql/package.json @@ -1,13 +1,13 @@ { "name": "gatsby-source-graphql", "description": "Gatsby plugin which adds a third-party GraphQL API to Gatsby GraphQL", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Mikhail Novikov ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "@graphql-tools/links": "^7.1.0", "@graphql-tools/utils": "^7.7.3", "@graphql-tools/wrap": "^7.0.5", @@ -19,9 +19,9 @@ "uuid": "3.4.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-graphql#readme", diff --git a/packages/gatsby-source-hacker-news/CHANGELOG.md b/packages/gatsby-source-hacker-news/CHANGELOG.md index 239740a9287f1..bdb86e77bc2b1 100644 --- a/packages/gatsby-source-hacker-news/CHANGELOG.md +++ b/packages/gatsby-source-hacker-news/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-hacker-news@3.7.0-next.0...gatsby-source-hacker-news@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-source-hacker-news + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-hacker-news@3.6.0-next.0...gatsby-source-hacker-news@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-source-hacker-news diff --git a/packages/gatsby-source-hacker-news/package.json b/packages/gatsby-source-hacker-news/package.json index 13b70cf3616d6..adf6373508cf4 100644 --- a/packages/gatsby-source-hacker-news/package.json +++ b/packages/gatsby-source-hacker-news/package.json @@ -1,20 +1,20 @@ { "name": "gatsby-source-hacker-news", "description": "Gatsby source plugin for building websites using Hacker News as a data source", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "axios": "^0.21.1", "lodash": "^4.17.21" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-hacker-news#readme", diff --git a/packages/gatsby-source-lever/CHANGELOG.md b/packages/gatsby-source-lever/CHANGELOG.md index 5099938c1d7af..4e7e1f2e6f207 100644 --- a/packages/gatsby-source-lever/CHANGELOG.md +++ b/packages/gatsby-source-lever/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-lever@3.7.0-next.0...gatsby-source-lever@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-source-lever + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-lever@3.6.0-next.0...gatsby-source-lever@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-source-lever diff --git a/packages/gatsby-source-lever/package.json b/packages/gatsby-source-lever/package.json index 35bed27624b2d..8cbf80e99a6a2 100644 --- a/packages/gatsby-source-lever/package.json +++ b/packages/gatsby-source-lever/package.json @@ -1,14 +1,14 @@ { "name": "gatsby-source-lever", "description": "Gatsby source plugin for building websites using the Lever.co Recruitment Software as a data source.", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Sebastien Fichot ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "bundledDependencies": [], "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "axios": "^0.21.1", "bluebird": "^3.7.2", "deep-map": "^1.5.0", @@ -18,9 +18,9 @@ }, "deprecated": false, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-lever#readme", diff --git a/packages/gatsby-source-medium/CHANGELOG.md b/packages/gatsby-source-medium/CHANGELOG.md index a8a8c2c09128a..27158873f2668 100644 --- a/packages/gatsby-source-medium/CHANGELOG.md +++ b/packages/gatsby-source-medium/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-medium@3.7.0-next.0...gatsby-source-medium@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-source-medium + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-medium@3.6.0-next.0...gatsby-source-medium@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-source-medium diff --git a/packages/gatsby-source-medium/package.json b/packages/gatsby-source-medium/package.json index fa02108a882cd..453c2859eeb22 100644 --- a/packages/gatsby-source-medium/package.json +++ b/packages/gatsby-source-medium/package.json @@ -1,19 +1,19 @@ { "name": "gatsby-source-medium", "description": "Gatsby source plugin for building websites using Medium as a data source", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Robert Vogt ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "axios": "^0.21.1" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-medium#readme", diff --git a/packages/gatsby-source-mongodb/CHANGELOG.md b/packages/gatsby-source-mongodb/CHANGELOG.md index 4423dfb421fcf..0743a15f06a01 100644 --- a/packages/gatsby-source-mongodb/CHANGELOG.md +++ b/packages/gatsby-source-mongodb/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-mongodb@3.7.0-next.0...gatsby-source-mongodb@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-source-mongodb + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-mongodb@3.6.0-next.0...gatsby-source-mongodb@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-source-mongodb diff --git a/packages/gatsby-source-mongodb/package.json b/packages/gatsby-source-mongodb/package.json index 311b672dcb4e7..15cd545b23246 100644 --- a/packages/gatsby-source-mongodb/package.json +++ b/packages/gatsby-source-mongodb/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-mongodb", "description": "Source plugin for pulling data into Gatsby from MongoDB collections", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "authors": [ "jhermans85@hotmail.com", "hi@elmar.codes" @@ -10,16 +10,16 @@ "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "lodash.camelcase": "^4.3.0", "lodash.isstring": "^4.0.1", "mongodb": "^3.6.3", "query-string": "^6.13.7" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-mongodb#readme", diff --git a/packages/gatsby-source-npm-package-search/CHANGELOG.md b/packages/gatsby-source-npm-package-search/CHANGELOG.md index edc6c02dd4205..df782689f3df3 100644 --- a/packages/gatsby-source-npm-package-search/CHANGELOG.md +++ b/packages/gatsby-source-npm-package-search/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-npm-package-search@3.7.0-next.0...gatsby-source-npm-package-search@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-source-npm-package-search + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-npm-package-search@3.6.0-next.0...gatsby-source-npm-package-search@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-source-npm-package-search diff --git a/packages/gatsby-source-npm-package-search/package.json b/packages/gatsby-source-npm-package-search/package.json index e548134e5cf9b..899ab7f4b5a84 100644 --- a/packages/gatsby-source-npm-package-search/package.json +++ b/packages/gatsby-source-npm-package-search/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-source-npm-package-search", "description": "Search NPM packages and pull NPM & GitHub metadata from Algolia's NPM index", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "james.a.stack@gmail.com", "repository": { "type": "git", @@ -10,14 +10,14 @@ }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-source-npm-package-search#readme", "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "algoliasearch": "^4.8.4", "got": "^8.3.2" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "keywords": [ diff --git a/packages/gatsby-source-shopify/CHANGELOG.md b/packages/gatsby-source-shopify/CHANGELOG.md index aab2171249415..f8b47c3670613 100644 --- a/packages/gatsby-source-shopify/CHANGELOG.md +++ b/packages/gatsby-source-shopify/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-shopify@4.7.0-next.0...gatsby-source-shopify@4.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-source-shopify + # [4.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-shopify@4.6.0-next.0...gatsby-source-shopify@4.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-source-shopify diff --git a/packages/gatsby-source-shopify/package.json b/packages/gatsby-source-shopify/package.json index 1baf246020ba5..5668c0231f308 100644 --- a/packages/gatsby-source-shopify/package.json +++ b/packages/gatsby-source-shopify/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-source-shopify", - "version": "4.7.0-next.0", + "version": "4.7.0-next.1", "description": "Gatsby source plugin for building websites using Shopify as a data source.", "scripts": { "build": "babel src --out-dir . --ignore \"**/__tests__\"", @@ -28,15 +28,15 @@ "gatsby": "^3.0.0-next.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", "cross-env": "^7.0.3" }, "dependencies": { - "babel-preset-gatsby-package": "^1.7.0-next.0", + "babel-preset-gatsby-package": "^1.7.0-next.1", "chalk": "^4.1.0", "gatsby-node-helpers": "^0.3.0", - "gatsby-source-filesystem": "^3.7.0-next.0", + "gatsby-source-filesystem": "^3.7.0-next.1", "graphql-request": "^1.8.2", "lodash": "^4.17.21", "p-iteration": "^1.1.8", diff --git a/packages/gatsby-source-wikipedia/CHANGELOG.md b/packages/gatsby-source-wikipedia/CHANGELOG.md index c332bd9bbe7c8..7fe339aa02362 100644 --- a/packages/gatsby-source-wikipedia/CHANGELOG.md +++ b/packages/gatsby-source-wikipedia/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-wikipedia@3.7.0-next.0...gatsby-source-wikipedia@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-source-wikipedia + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-wikipedia@3.6.0-next.0...gatsby-source-wikipedia@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-source-wikipedia diff --git a/packages/gatsby-source-wikipedia/package.json b/packages/gatsby-source-wikipedia/package.json index 4317ec4dffe4e..c095b33314067 100644 --- a/packages/gatsby-source-wikipedia/package.json +++ b/packages/gatsby-source-wikipedia/package.json @@ -1,6 +1,6 @@ { "name": "gatsby-source-wikipedia", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "description": "Gatsby source plugin for pulling articles from Wikipedia", "main": "index.js", "scripts": { @@ -34,9 +34,9 @@ "query-string": "^6.13.3" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "engines": { diff --git a/packages/gatsby-source-wordpress/ARCHITECTURE.md b/packages/gatsby-source-wordpress/ARCHITECTURE.md new file mode 100644 index 0000000000000..373e08c63bbab --- /dev/null +++ b/packages/gatsby-source-wordpress/ARCHITECTURE.md @@ -0,0 +1,191 @@ +This doc goes over the high level areas of this plugin, roughly what they do, how they're related, and where to find the corresponding code. + +- [Historical Info](#historical-info) +- [`gatsby-node.ts` Steps](#gatsby-nodets-steps) +- [Query Generation / Remote Schema Ingestion](#query-generation--remote-schema-ingestion) + - [Good to know](#good-to-know) +- [Schema Customization](#schema-customization) +- [Interactions between Schema Customization and Query Generation](#interactions-between-schema-customization-and-query-generation) + - [Fetched Types are Queryable Types](#fetched-types-are-queryable-types) + - [Automatic Field Prefixing](#automatic-field-prefixing) + - [Schema Caching](#schema-caching) +- [Sourcing nodes](#sourcing-nodes) +- [Compatibility api (DX and security-ish feature)](#compatibility-api-dx-and-security-ish-feature) +- [We're using rematch which is a redux wrapper](#were-using-rematch-which-is-a-redux-wrapper) + - [Gatsby node api helpers/actions are stored in local redux (not gatsby redux)](#gatsby-node-api-helpersactions-are-stored-in-local-redux-not-gatsby-redux) +- [Caching](#caching) + - [Remote schema changes (schema MD5 diffing)](#remote-schema-changes-schema-md5-diffing) + - [ActionMonitor (WPGatsby change events)](#actionmonitor-wpgatsby-change-events) + - [Hard caching files and data (for improved local dev DX)](#hard-caching-files-and-data-for-improved-local-dev-dx) +- [Basic Auth](#basic-auth) +- [Debugging options](#debugging-options) +- [Plugin options schema and documentation generation](#plugin-options-schema-and-documentation-generation) +- [`gatsby develop` DX features](#gatsby-develop-dx-features) +- [WPGatsby](#wpgatsby) +- [Preview](#preview) +- [File processing](#file-processing) +- [HTML processing](#html-processing) +- [Non-node root fields](#non-node-root-fields) + +## Historical Info + +This plugin was a ground-up rewrite of `gatsby-source-wordpress@^3.0.0` which used the WordPress REST API to source data. `gatsby-source-wordpress@^4.0.0` uses WPGraphQL to source data and is an entirely different plugin with no shared code. Work for `^4.0.0` was initially done in the [`gatsby-source-wordpress-experimental` repo](https://github.com/gatsbyjs/gatsby-source-wordpress-experimental) before being moved to the Gatsby monorepo. + +Inspired by this plugin, the [Gatsby GraphQL Toolkit](https://github.com/gatsbyjs/gatsby-graphql-toolkit) was written to make creating source plugins for GraphQL API's easier. Ideally this plugin would use the toolkit but since it didn't exist when this plugin was created that wasn't possible. There are also features this plugin has which the toolkit doesn't (yet) have, so we would need to update the toolkit before making this plugin use it. This would be a large amount of effort for a small amount of returned value. In the best case scenario the plugin would work exactly the same as it does now but we would need to do likely months of work to get to that point. + +I initially wrote this plugin in JS and later it was partially ported to TS. As a result there are a mix of JS and TS files. When I was initially planning this plugin, the Gatsby core team collectively made a decision that Gatsby core should be written in TS and any plugins should be written in JS to keep community contributions from requiring the knowledge of TS. This plugin turned out to be one of the largest Gatsby plugin codebases and I later decided it 100% needs TS. If you want to convert some JS files to TS please feel welcome to do so! We will accept TS conversion PR's. + +The file you're reading was created many months after the first stable version of this plugin was released - so this is a non-exhaustive explanation of the architecture. This doc is most likely incomplete. If you notice something is missing, please take a crack at adding it here, or if you don't know much about the part you're documenting open a Github discussion so we can hash it out together. + +— @TylerBarnes + +## `gatsby-node.ts` Steps + +In `src/gatsby-node.ts` a helper (`runApisInSteps`) is being used to run different "steps" of the codebase one after another for each Gatsby Node API. Many parts of the codebase count on something else happening at an earlier point, so `runApisInSteps` is an easy way to visualize that. + +`src/gatsby-node.ts` is the entry point for 99.999% of the plugin (`src/gatsby-browser.ts` only imports 1 css file) so it's a good jumping off point for looking at different areas of the plugin. + +Each "step" is in it's own file in `src/steps`. + +## Query Generation / Remote Schema Ingestion + +Before we can source data from WPGraphQL we need to generate GraphQL queries to source that data. We do that by making an introspection query to WPGraphQL and then using the response to generate queries using a custom query builder (`src/steps/ingest-remote-schema/build-queries-from-introspection`). + +This logic runs during the Gatsby Node API `createSchemaCustomization`. + +See `src/steps/ingest-remote-schema`. + +### Good to know + +- As we're aware of what will be a future Gatsby node, the queries can be generated to only fetch data we wont already have. Connections from one node to other nodes only fetch the id(s). +- When a field with a selection set is queried more than 1 time, a fragment is automatically generated for it to keep query size smaller. +- Currently we fetch connection id's on both sides (for example `User.posts[].id` as well as `Post.author.id`) which can result in some amount of overfetching. +- In the future we should add an API to mark some field as being able to be resolved entirely via Gatsby without fetching any data. Since we have `Post.author.id` we don't need to fetch `User.posts[].id` since we can query for all posts that have the current user node id as the author. +- Unnecessary overfetching also occurs as the plugin doesn't know which fields are being used in the Gatsby site, so we fetch all WPGQL data that's available. In `gatsby develop` this is necessary as we don't know what data the developer will want, but in `gatsby build` we know exactly what queries are being made. +- We should automatically fetch only the fields that are queried for in cold builds and data updates outside of `gatsby develop`. +- We should have some basic algorithm to determine query complexity (or use WPGraphQL's once it's available) and automatically split up queries into multiple queries when they're too large. Internally we can already store multiple queries. + +## Schema Customization + +Using the same introspection query we used in query generation, we use the remote schema to generate the WP/Gatsby schema to work with the Gatsby node model and within the parameters of any related plugin options. For many different types of fields, we have a field transformer (`src/steps/create-schema-customization/transform-fields`) which transforms the remote schema introspection for those fields into type/field definitions that Gatsby's schema customization layer understands. All resolvers happen on the Gatsby side as an automatic replication of what the resolvers in WPGraphQL are doing. This is only for fields with no input arguments. We currently don't (and probably always wont) have a way to automatically carry over input arguments from WPGraphQL. + +This logic runs during the Gatsby Node API `createSchemaCustomization`. + +See `src/steps/create-schema-customization`. + +## Interactions between Schema Customization and Query Generation + +Plugin options that impact both of these areas are under the [`schema`](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-wordpress/docs/plugin-options.md#schema) section. + +### Fetched Types are Queryable Types + +As queries are generated we store up a list of which types and fields have been queried. This list is used when customizing the Gatsby schema to omit any fields or types which weren't queried due to plugin options or internal logic. + +### Automatic Field Prefixing + +In the case that a Union or Interface type has multiple different types that contain the same fields, fields are auto-prefixed with the typename + fieldname during query generation. Later during schema customization, there is resolver logic to account for this situation. Without this, many interface and union types would be unqueryable as the fields are conflicting and GQL can't differentiate between them. `[Typename].[fieldName]` must always resolve to a single type (considering a union or interface as a single type). + +### Schema Caching + +Remote schema ingestion caches itself, diffing an md5 of the last remote schema it saw vs the current remote schema on each update (`src/steps/ingest-remote-schema/diff-schemas.js`). Anytime these are different it will re-generate all queries. When this happens, we will also re-run schema customization. In production this will cause the plugin to re-source all nodes, in development it will only update the schema and log out a warning to run `gatsby clean` if the schema update included a data change. Without this each production data update would be 10 - 30 seconds slower and development schema changes could cause the plugin to constantly re-source all data resulting in 5min+ wait times each time you modified your WPGraphQL schema. + +## Sourcing nodes + +Using the queries we generated earlier, nodes are fetched via WPGraphQL using cursor pagination (`src/steps/source-nodes/fetch-nodes/fetch-nodes.js`). Some plugin options affect how this logic behaves, mainly the `Type.limit`, `schema.requestConcurrency`, and `schema.perPage` options. There isn't currently any request retry logic built into node sourcing. This is because cursor pagination is somewhat fragile in the context of Gatsby needing to source every node that exists. Cursor pagination is a long chain of requests and any request within that chain which fails prevents anything further down the chain from being requested. This severely limits the request concurrency within a single node type (to 1 concurrent request) and it also means we can't retry a more resource intensive query later while still processing more queries. In the future we should re-architect this so that WPGatsby will let us fetch lists of node id's 10k at a time (these requests will still be cursor paginated). Once we have all the id's for every node in WPGrapHQL we can construct queries that ask for a certain list of node's by ID. This will let us ratchet up the request concurrency and more cleanly retry failed requests without blocking anything. Requests that continually fail can be automatically retried on the end of the queue after moving on to other requests or adapted to use less resources (by splitting the list of nodes for 1 request into 2 requests). + +As nodes are fetched they're analyzed via regexp to find connection ID's to MediaItem nodes (which are WPGraphQL File nodes). See `src/steps/source-nodes/fetch-nodes/fetch-referenced-media-items.js`. After all other node types are sourced, we use these MediaItem ID's to fetch lists of them at a time. This allows us to only fetch MediaItems that are actually in use on the site (many WP admins will upload 5-10x more files than they need to). Since we have all the ID's upfront we don't need to use cursor pagination for these requests which allows us to run much more crafty retry logic. We can retry failed requests on the end of the queue, which some servers seem to like better than retrying the same thing after a small delay. In my (admittedly rudimentary) experiments with retrying MediaItem requests on the end of the request queue instead of immediately it significantly improved the reliability of sourcing very large WP sites with 20k+ nodes, and significantly sped up sourcing times for smaller sites since I could increase the request concurrency. We should investigate this more in the future and abstract this logic to be used with any request, not just MediaItem requests, since this could speed up node sourcing too. + +See `src/steps/source-nodes`. + +## Compatibility api (DX and security-ish feature) + +Since this plugin relies on the PHP WP plugins WPGatsby and WPGraphQL being installed and activated in the WordPress site, we can't immediately assume that the code for the source plugin will have the right versions of these plugins in the future as more features are added and as they've been added in the past. +To solve this problem a remote compatibility API was added. See `src/supported-remote-plugin-versions.ts` for the version ranges of each WP plugin the current version of the source plugin supports. + +See `areRemotePluginVersionsSatisfied` in `src/steps/check-plugin-requirements.ts` for where this logic runs. WPGatsby exposes an endpoint allowing us to send version ranges for WPGraphQL and WPGatsby to ask if the remote plugin versions are within this range. The reason we don't just expose the versions of WPGraphQL and WPGatsby directly is that hackers could scan the internet for sites with vulnerable versions of these plugins. Since we can only send a version range (which doesn't include specific patch versions), hackers can't be sure wether or not a vulnerable version has been patched, making it harder to target sites with vulnerable plugin versions installed. + +## We're using rematch which is a redux wrapper + +Rematch makes using redux a bit cleaner. If I was to do it again I would use a state machine library instead, but this is how things are. +Rematch has multiple stores which are called models and live in `src/models/index.ts`. We're currently using an old version of rematch as they changed their API fairly significantly and we don't have a compelling reason to upgrade. + +### Gatsby node api helpers/actions are stored in local redux (not gatsby redux) + +At the beginning of each Node API `setGatsbyApiToState` (see [above](#gatsby-nodets-steps)) is called to store the Gatsby Node API helpers in our Rematch model. This makes it easier to use Gatsby actions and helpers in deeply nested functions without passing them all the way down through each level. + +## Caching + +All caching in the plugin is in 3 parts: + +- Remote schema changes (schema MD5 diffing) +- ActionMonitor (WPGatsby change events) +- Hard caching files and data (for improved local dev DX) + +### Remote schema changes (schema MD5 diffing) + +This happens in `src/steps/ingest-remote-schema/diff-schemas.js`. +If the schema MD5 changes in production we refetch all data from WordPress as we can't be sure wether the new schema includes new or changed data. +In development this isn't as critical and refetching everything can be really annoying so we only update the schema and log out a warning about running `gatsby clean` if data changed during the schema update. + +### ActionMonitor (WPGatsby change events) + +After an initial cold build, the current timestamp is stored in cache. On any subsequent build this timestamp is sent via a gql query to WPGraphQL/WPGatsby/WordPress to ask what's changed since the last time data was fetched. See `src/steps/source-nodes/update-nodes/fetch-node-updates.js` and `src/steps/source-nodes/index.ts`. A list of change events is fetched and the source plugin loops through them and processes CREATE/UPDATE and DELETE events (see `src/steps/source-nodes/update-nodes/wp-actions`). WordPress itself doesn't store these events so there is a lot of custom code/logic in WPGatsby that hooks into various WordPress events and stores data in the WP db. See https://github.com/gatsbyjs/wp-gatsby/tree/master/src/ActionMonitor. After each update, a new timestamp is stored to later get change events since that time. + +### Hard caching files and data (for improved local dev DX) + +As Gatsby eagerly clears the cache (being that it doesn't have as much context on individual sources as source plugins do) "hard" caching options have been added to this plugin. There is an option for hard caching files and another for hard caching data. These options cache data outside of the Gatsby cache and they are considered experimental API's. There's no garuntee of data validity with them. Their main purpose is to improve local development DX so that installing an NPM package or updating gatsby-config.js or gatsby-node.js doesn't cause the source plugin to refetch hundreds or thousands of images or nodes. +Searching the project for `hardCacheMediaFiles` and `hardCacheData` will lead you to areas where this caching logic is implemented. + +## Basic Auth + +Basic Auth options are added in `src/steps/source-nodes/create-nodes/create-remote-media-item-node.js` and `src/steps/source-nodes/create-nodes/create-remote-file-node/index.js`. This option is intended for use with server-level authentication, not WP level authentication. The reason for this is Gatsby data should be considered public data. Anything not public should not be exposed to Gatsby as it could be accidentally leaked via GraphQL queries or the `/__graphql` endpoint of a running Preview instance. This option is intended to allow you to lock down your `/graphql` WPGraphQL endpoint so it can only be requested with some credentials. See https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-wordpress/docs/features/security.md for more info. + +## Debugging options + +There are a lot of debugging options to print out different info about the process. Check the debugging section in plugin options docs https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-wordpress/docs/plugin-options.md#debug. These are scattered throughout the codebase. + +## Plugin options schema and documentation generation + +The plugin options schema is defined in `src/steps/declare-plugin-options-schema.ts`. On each `yarn build`, `yarn generate-plugin-options-docs` is also run. This npm script runs `generate-plugin-options-docs.js` which uses the plugin options schema to generate the plugin options docs (in `docs/plugin-options.md`). + +## `gatsby develop` DX features + +When developing a site locally, this plugin periodically checks for data or schema events in WP and reacts to them automatically, updating data/schema on the fly while you're working. See `src/steps/source-nodes/update-nodes/content-update-interval.js`. + +## WPGatsby + +The WPGatsby plugin stores and exposes WP change events for Gatsby to query and then update data/schema with. +It also adds some additional fields to the WPGraphQL schema (like `schemaMd5` and [compatibility api](#compatibility-api-dx-and-security-ish-feature) fields) which the source plugin requires to function. See https://github.com/gatsbyjs/wp-gatsby for more info. + +## Preview + +The code for Preview lives partially in WPGatsby (see above) and partially in this plugin. There is a lot that goes into previews functioning since WPGatsby has it's own preview loader logic which talks back and forth with the Gatsby process from WP. See `src/steps/preview/preview.md` for a more detailed explanation. All preview logic in this plugin lives in `src/steps/preview` and `src/steps/source-nodes/index.ts`. + +## File processing + +In this plugin we have 2 related node types for files, the `MediaItem` node type which contains meta information about the media item file, and `File` which is Gatsby's file node type (it lives on `MediaItem.localFile`). See `src/steps/source-nodes/create-nodes/create-remote-media-item-node.js`. + +`MediaItem` nodes are only fetched if they're referenced via a GraphQL connection on another node. This is done so that we only fetch files we might need since admins often upload many more images than they use as they're editing content. See `src/steps/source-nodes/fetch-nodes/fetch-referenced-media-items.js`. + +Local `File` nodes are fetched as a side effect of fetching `MediaItem` nodes via the `beforeChangeNode` plugin option. See the `WpMediaItem` default option in `src/models/gatsby-api.ts` (currently on line 218). + +Since we have a list of all media item's that are in use by WPGraphQL ID's, we don't need to paginate through media items to fetch them. This allows us to retry failed requests on the end of the request queue (which increases the success rate during failures vs retrying in place) and it also allows us to parellelize data and file requests at any concurrency level we want. See `src/steps/source-nodes/fetch-nodes/fetch-referenced-media-items.js`. + +In some cases it's not desireable to fetch all local `File` nodes on `MediaItem` nodes. A user might only want to fetch some or none of them so there is a `lazyNodes` option which causes `File` nodes to be fetched in GraphQL resolvers instead of during the source nodes api. See `src/models/gatsby-api.ts` (currently on line 226) and `src/steps/create-schema-customization/transform-fields/transform-object.js` (currently on line 73). + +## HTML processing + +HTML is processed in node data via regexp find/replaces on the stringified JSON of each node. This is done for performance since very complex data structures will mean a lot of looping and recursively running checks and regexp replaces on each individual field at any arbitrary depth. See `src/steps/source-nodes/create-nodes/process-node.js`. + +The following are processed: + +- anchor links that point at WP are made into relative links +- file links (css background-image, anchor links to files, etc) are converted to static Gatsby files +- image tags are converted to Gatsby images with static files +- custom regexp find/replaces can replace any arbitrary strings + +During the above processes the plugin will fetch MediaItem nodes (if it can find them by url) and/or File nodes (either by the MediaItem.sourceUrl field or by the url in html). + +## Non-node root fields + +In addition to sourcing nodes this plugin sources any root fields (acf options for example) that it reasonably can. Any fields which require input args are automatically skipped. These fields are re-fetched on every data update since we can't store WPGatsby events about data that isn't attached to a node. See `src/steps/source-nodes/create-nodes/fetch-and-create-non-node-root-fields.js`. diff --git a/packages/gatsby-source-wordpress/CHANGELOG.md b/packages/gatsby-source-wordpress/CHANGELOG.md index 5f18aee5a3b15..f388be1a1c356 100644 --- a/packages/gatsby-source-wordpress/CHANGELOG.md +++ b/packages/gatsby-source-wordpress/CHANGELOG.md @@ -3,6 +3,13 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-wordpress@5.7.0-next.0...gatsby-source-wordpress@5.7.0-next.1) (2021-05-31) + +### Features + +- **gatsby-source-wordpress:** auto-alias any field named `fields` to prevent conflicts with Gatsby core ([#31526](https://github.com/gatsbyjs/gatsby/issues/31526)) ([8bdb7f5](https://github.com/gatsbyjs/gatsby/commit/8bdb7f56a69ca7480a8887a650d7d5f7254dbbc1)) +- **gatsby-source-wordpress:** Fix false positive error if the URL and the responsePath are the same ([#31612](https://github.com/gatsbyjs/gatsby/issues/31612)) ([cca71cf](https://github.com/gatsbyjs/gatsby/commit/cca71cfb32b295e6feeed19a4103f27e3aeed2c0)) + # [5.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-source-wordpress@5.6.0-next.2...gatsby-source-wordpress@5.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-source-wordpress diff --git a/packages/gatsby-source-wordpress/docs/contributing.md b/packages/gatsby-source-wordpress/docs/contributing.md index f45e6ff77498d..706c305750e7a 100644 --- a/packages/gatsby-source-wordpress/docs/contributing.md +++ b/packages/gatsby-source-wordpress/docs/contributing.md @@ -4,6 +4,10 @@ Refer to the [main Gatsby docs on code contributions](https://www.gatsbyjs.com/contributing/setting-up-your-local-dev-environment/) to get started. The gist of it is that you'll run `gatsby-dev-cli` in one terminal window, which will copy changed files into your development Gatsby site, and in another terminal window you'll run `gatsby develop` to see your changes in action. Make sure you run `yarn bootstrap` in the root of this repo first, though. +## Plugin Architecture + +To gain additional context on how this plugin is architected and where different areas of the codebase live, refer to the [`ARCHITECTURE.md` file](https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-source-wordpress/ARCHITECTURE.md). + ### Writing and Running Tests Refer to the docs on [how tests are run](./tests.md). Unit tests should be added to a `__tests__` directory in the directory of the file they're testing. Integration and e2e tests should be added to the `integration-tests` directory at the root of this repo. diff --git a/packages/gatsby-source-wordpress/docs/features/compatibility-api.md b/packages/gatsby-source-wordpress/docs/features/compatibility-api.md index ade79cb200182..a151ed77593d2 100644 --- a/packages/gatsby-source-wordpress/docs/features/compatibility-api.md +++ b/packages/gatsby-source-wordpress/docs/features/compatibility-api.md @@ -1,8 +1,8 @@ # Compatibility API -Because we have so many remote depencies (WordPress, WPGraphQL, and WPGatsby), we've baked a remote compatibility API into this plugin. +Because we have so many remote dependencies (WordPress, WPGraphQL, and WPGatsby), we've baked a remote compatibility API into this plugin. -Anytime the build or develop process starts, the source plugin will send the WPGatsby and WPGraphQL semver version ranges it supports to WPGatsby. WPGatsby will return wether or not the currently installed plugins are within the supported range. +Anytime the build or develop process starts, the source plugin will send the WPGatsby and WPGraphQL semver version ranges it supports to WPGatsby. WPGatsby will return whether or not the currently installed plugins are within the supported range. If your dependencies are out of the supported range, the build process will exit and provide a link to download the correct dependency versions. diff --git a/packages/gatsby-source-wordpress/package.json b/packages/gatsby-source-wordpress/package.json index ace03fbc802b8..7224cfd48382c 100644 --- a/packages/gatsby-source-wordpress/package.json +++ b/packages/gatsby-source-wordpress/package.json @@ -2,12 +2,12 @@ "name": "gatsby-source-wordpress", "description": "Source data from WordPress in an efficient and scalable way.", "author": "Tyler Barnes ", - "version": "5.7.0-next.0", + "version": "5.7.0-next.1", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.6.3", + "@babel/runtime": "^7.14.0", "@rematch/core": "^1.3.0", "@rematch/immer": "^1.2.0", "async-retry": "^1.3.1", @@ -28,10 +28,10 @@ "file-type": "^15.0.1", "filesize": "^6.1.0", "fs-extra": "^9.0.1", - "gatsby-core-utils": "^2.7.0-next.0", - "gatsby-image": "^3.7.0-next.0", - "gatsby-plugin-catch-links": "^3.7.0-next.0", - "gatsby-source-filesystem": "^3.7.0-next.0", + "gatsby-core-utils": "^2.7.0-next.1", + "gatsby-image": "^3.7.0-next.1", + "gatsby-plugin-catch-links": "^3.7.0-next.1", + "gatsby-source-filesystem": "^3.7.0-next.1", "glob": "^7.1.6", "got": "^11.7.0", "graphql-query-compress": "^1.2.2", @@ -44,17 +44,17 @@ "valid-url": "^1.0.9" }, "devDependencies": { - "@babel/cli": "^7.6.4", - "@babel/core": "^7.6.4", - "@babel/plugin-proposal-class-properties": "^7.10.1", - "@babel/plugin-proposal-private-methods": "^7.10.1", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "@babel/plugin-proposal-class-properties": "^7.13.0", + "@babel/plugin-proposal-private-methods": "^7.13.0", "@types/cache-manager": "^2.10.3", "@types/ink": "^2.0.3", "@types/semver": "^7.3.4", "babel-plugin-import-globals": "^2.0.0", "babel-plugin-module-resolver": "4.0.0", - "babel-preset-gatsby": "^1.7.0-next.0", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "babel-preset-gatsby": "^1.7.0-next.1", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "identity-obj-proxy": "^3.0.0", "react-test-renderer": "^16.12.0", diff --git a/packages/gatsby-source-wordpress/src/steps/source-nodes/update-nodes/content-update-interval.js b/packages/gatsby-source-wordpress/src/steps/source-nodes/update-nodes/content-update-interval.js index d9d1cdd1d4f5b..6df215be51576 100644 --- a/packages/gatsby-source-wordpress/src/steps/source-nodes/update-nodes/content-update-interval.js +++ b/packages/gatsby-source-wordpress/src/steps/source-nodes/update-nodes/content-update-interval.js @@ -10,6 +10,11 @@ import { LAST_COMPLETED_SOURCE_TIME } from "../../../constants" * If there is, it calls the refresh webhook so that schema customization and source nodes run again. */ const checkForNodeUpdates = async ({ cache, emitter }) => { + // pause polling until we know wether or not there are new actions + // if there aren't any we will unpause below, if there are some we will unpause + // at the end of sourceNodes (triggered by WEBHOOK_RECEIVED below) + store.dispatch.develop.pauseRefreshPolling() + // get the last sourced time const lastCompletedSourceTime = await cache.get(LAST_COMPLETED_SOURCE_TIME) const since = lastCompletedSourceTime - 500 @@ -30,19 +35,17 @@ const checkForNodeUpdates = async ({ cache, emitter }) => { }) if (newActions.length) { - // if there's atleast 1 new action, pause polling, - // refresh Gatsby schema+nodes and continue on - store.dispatch.develop.pauseRefreshPolling() - emitter.emit(`WEBHOOK_RECEIVED`, { webhookBody: { since, refreshing: true, }, + pluginName: `gatsby-source-wordpress`, }) } else { // set new last completed source time and move on await cache.set(LAST_COMPLETED_SOURCE_TIME, Date.now()) + store.dispatch.develop.resumeRefreshPolling() } } @@ -108,28 +111,51 @@ const refetcher = async ( ) } +let startedPolling = false +let firstCompilationDone = false + /** * Starts constantly refetching the latest WordPress changes * so we can update Gatsby nodes when data changes */ const startPollingForContentUpdates = helpers => { if ( + startedPolling || process.env.WP_DISABLE_POLLING || process.env.ENABLE_GATSBY_REFRESH_ENDPOINT ) { return } + startedPolling = true + const { verbose, develop } = store.getState().gatsbyApi.pluginOptions const msRefetchInterval = develop.nodeUpdateInterval - if (verbose) { - helpers.reporter.log(``) - helpers.reporter.info(formatLogMessage`Watching for WordPress changes`) - } - - refetcher(msRefetchInterval, helpers) + helpers.emitter.on(`COMPILATION_DONE`, () => { + /** + * we only want to start our refetcher helper 1 time after the first COMPILATION_DONE event. + * This event happens when the dev server is ready. It also happens after saving a code change. We only want to run our code 1 time. + * onCreateDevServer (the node API we're hooking into) is called before the dev server is ready. + * Running our logic at that point is problematic because we could end up triggering the WEBHOOK_RECEIVED event before the dev server is ready and this can cause Gatsby to throw errors. So we're hooking into COMPILATION_DONE to avoid that problem. + */ + if (!firstCompilationDone) { + firstCompilationDone = true + + // wait a second so that terminal output is more smooth + setTimeout(() => { + if (verbose) { + helpers.reporter.log(``) + helpers.reporter.info( + formatLogMessage`Watching for WordPress changes` + ) + } + + refetcher(msRefetchInterval, helpers) + }, 1000) + } + }) } export { startPollingForContentUpdates } diff --git a/packages/gatsby-source-wordpress/src/utils/fetch-graphql.ts b/packages/gatsby-source-wordpress/src/utils/fetch-graphql.ts index a33d696b5f851..272dc4f71a335 100644 --- a/packages/gatsby-source-wordpress/src/utils/fetch-graphql.ts +++ b/packages/gatsby-source-wordpress/src/utils/fetch-graphql.ts @@ -745,7 +745,11 @@ const fetchGraphql = async ({ const responsePath = response.request.path - if (path !== responsePath && responsePath !== undefined) { + if ( + path !== responsePath && + responsePath !== undefined && + responsePath !== url + ) { throw new Error(`GraphQL request was redirected to ${responsePath}`) } diff --git a/packages/gatsby-telemetry/CHANGELOG.md b/packages/gatsby-telemetry/CHANGELOG.md index f3feb19d9861a..b9a0ffdc440ac 100644 --- a/packages/gatsby-telemetry/CHANGELOG.md +++ b/packages/gatsby-telemetry/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-telemetry@2.7.0-next.0...gatsby-telemetry@2.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-telemetry + # [2.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-telemetry@2.6.0-next.0...gatsby-telemetry@2.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-telemetry diff --git a/packages/gatsby-telemetry/package.json b/packages/gatsby-telemetry/package.json index 491c72cb3473c..e650a8571ba8f 100644 --- a/packages/gatsby-telemetry/package.json +++ b/packages/gatsby-telemetry/package.json @@ -1,21 +1,21 @@ { "name": "gatsby-telemetry", "description": "Gatsby Telemetry", - "version": "2.7.0-next.0", + "version": "2.7.0-next.1", "author": "Jarmo Isotalo ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/code-frame": "^7.10.4", - "@babel/runtime": "^7.12.5", + "@babel/code-frame": "^7.12.13", + "@babel/runtime": "^7.14.0", "@turist/fetch": "^7.1.7", "@turist/time": "^0.0.1", "async-retry-ng": "^2.0.1", "boxen": "^4.2.0", "configstore": "^5.0.1", "fs-extra": "^8.1.0", - "gatsby-core-utils": "^2.7.0-next.0", + "gatsby-core-utils": "^2.7.0-next.1", "git-up": "^4.0.2", "is-docker": "^2.1.1", "lodash": "^4.17.21", @@ -23,10 +23,10 @@ "uuid": "3.4.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", "babel-jest": "^24.9.0", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "jest": "^24.9.0", "jest-cli": "^24.9.0", diff --git a/packages/gatsby-transformer-asciidoc/CHANGELOG.md b/packages/gatsby-transformer-asciidoc/CHANGELOG.md index 595ae4959b260..99310fdf91bcb 100644 --- a/packages/gatsby-transformer-asciidoc/CHANGELOG.md +++ b/packages/gatsby-transformer-asciidoc/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-asciidoc@2.7.0-next.0...gatsby-transformer-asciidoc@2.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-transformer-asciidoc + # [2.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-asciidoc@2.6.0-next.0...gatsby-transformer-asciidoc@2.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-transformer-asciidoc diff --git a/packages/gatsby-transformer-asciidoc/package.json b/packages/gatsby-transformer-asciidoc/package.json index c9948df0e337f..1ff961bd1f34c 100644 --- a/packages/gatsby-transformer-asciidoc/package.json +++ b/packages/gatsby-transformer-asciidoc/package.json @@ -1,19 +1,19 @@ { "name": "gatsby-transformer-asciidoc", "description": "Gatsby transformer plugin for Asciidocs using the Asciidoctor.js library", - "version": "2.7.0-next.0", + "version": "2.7.0-next.1", "author": "Daniel Oliver ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "asciidoctor": "^2.2.1" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "lodash": "^4.17.21" }, diff --git a/packages/gatsby-transformer-csv/CHANGELOG.md b/packages/gatsby-transformer-csv/CHANGELOG.md index bc57db7c97f5c..ad3d9572e06b7 100644 --- a/packages/gatsby-transformer-csv/CHANGELOG.md +++ b/packages/gatsby-transformer-csv/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-csv@3.7.0-next.0...gatsby-transformer-csv@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-transformer-csv + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-csv@3.6.0-next.0...gatsby-transformer-csv@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-transformer-csv diff --git a/packages/gatsby-transformer-csv/package.json b/packages/gatsby-transformer-csv/package.json index 914b83aea4cc0..3de98bcaa54df 100644 --- a/packages/gatsby-transformer-csv/package.json +++ b/packages/gatsby-transformer-csv/package.json @@ -1,19 +1,19 @@ { "name": "gatsby-transformer-csv", "description": "Gatsby transformer plugin for CSV files", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Sonal Saldanha ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "csvtojson": "^2.0.10" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "json2csv": "^5.0.6" }, diff --git a/packages/gatsby-transformer-documentationjs/CHANGELOG.md b/packages/gatsby-transformer-documentationjs/CHANGELOG.md index e47da085b3cd2..a75303c4fef37 100644 --- a/packages/gatsby-transformer-documentationjs/CHANGELOG.md +++ b/packages/gatsby-transformer-documentationjs/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [5.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-documentationjs@5.7.0-next.0...gatsby-transformer-documentationjs@5.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-transformer-documentationjs + # [5.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-documentationjs@5.6.0-next.0...gatsby-transformer-documentationjs@5.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-transformer-documentationjs diff --git a/packages/gatsby-transformer-documentationjs/package.json b/packages/gatsby-transformer-documentationjs/package.json index 508bcc78e8d40..5244e52d02a40 100644 --- a/packages/gatsby-transformer-documentationjs/package.json +++ b/packages/gatsby-transformer-documentationjs/package.json @@ -1,20 +1,20 @@ { "name": "gatsby-transformer-documentationjs", "description": "Gatsby transformer plugin which uses Documentation.js to extract JavaScript documentation", - "version": "5.7.0-next.0", + "version": "5.7.0-next.1", "author": "Kyle Mathews", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "documentation": "^13.1.0", "prismjs": "^1.23.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-documentationjs#readme", diff --git a/packages/gatsby-transformer-excel/CHANGELOG.md b/packages/gatsby-transformer-excel/CHANGELOG.md index a5580bf228f3c..591e7063d995c 100644 --- a/packages/gatsby-transformer-excel/CHANGELOG.md +++ b/packages/gatsby-transformer-excel/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-excel@3.7.0-next.0...gatsby-transformer-excel@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-transformer-excel + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-excel@3.6.0-next.0...gatsby-transformer-excel@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-transformer-excel diff --git a/packages/gatsby-transformer-excel/package.json b/packages/gatsby-transformer-excel/package.json index ea28b1d7b7632..ab12df6813e46 100644 --- a/packages/gatsby-transformer-excel/package.json +++ b/packages/gatsby-transformer-excel/package.json @@ -1,19 +1,19 @@ { "name": "gatsby-transformer-excel", "description": "Gatsby transformer plugin for Excel spreadsheets", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "SheetJS ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "xlsx": "^0.16.9" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-excel#readme", diff --git a/packages/gatsby-transformer-hjson/CHANGELOG.md b/packages/gatsby-transformer-hjson/CHANGELOG.md index 2c56a419369c4..0c425d802eaf9 100644 --- a/packages/gatsby-transformer-hjson/CHANGELOG.md +++ b/packages/gatsby-transformer-hjson/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-hjson@3.7.0-next.0...gatsby-transformer-hjson@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-transformer-hjson + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-hjson@3.6.0-next.0...gatsby-transformer-hjson@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-transformer-hjson diff --git a/packages/gatsby-transformer-hjson/package.json b/packages/gatsby-transformer-hjson/package.json index 59f8d9c06e0a0..e61e68f7b2bf0 100644 --- a/packages/gatsby-transformer-hjson/package.json +++ b/packages/gatsby-transformer-hjson/package.json @@ -1,20 +1,20 @@ { "name": "gatsby-transformer-hjson", "description": "Gatsby transformer plugin for HJSON files", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Remi Barraquand ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "bluebird": "^3.7.2", "hjson": "^3.2.2" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-hjson#readme", diff --git a/packages/gatsby-transformer-javascript-frontmatter/CHANGELOG.md b/packages/gatsby-transformer-javascript-frontmatter/CHANGELOG.md index 956b7e3fb97f5..8fb9a332710ac 100644 --- a/packages/gatsby-transformer-javascript-frontmatter/CHANGELOG.md +++ b/packages/gatsby-transformer-javascript-frontmatter/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-javascript-frontmatter@3.7.0-next.0...gatsby-transformer-javascript-frontmatter@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-transformer-javascript-frontmatter + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-javascript-frontmatter@3.6.0-next.0...gatsby-transformer-javascript-frontmatter@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-transformer-javascript-frontmatter diff --git a/packages/gatsby-transformer-javascript-frontmatter/package.json b/packages/gatsby-transformer-javascript-frontmatter/package.json index 9c0af7ca70db6..4b09ca0e824e6 100644 --- a/packages/gatsby-transformer-javascript-frontmatter/package.json +++ b/packages/gatsby-transformer-javascript-frontmatter/package.json @@ -1,19 +1,19 @@ { "name": "gatsby-transformer-javascript-frontmatter", "description": "Gatsby transformer plugin for JavaScript to extract exports.frontmatter statically.", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Jacob Bolda ", "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-javascript-frontmatter#readme", "dependencies": { - "@babel/parser": "^7.12.5", - "@babel/runtime": "^7.12.5", - "@babel/traverse": "^7.12.5", + "@babel/parser": "^7.14.4", + "@babel/runtime": "^7.14.0", + "@babel/traverse": "^7.14.2", "bluebird": "^3.7.2" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "keywords": [ diff --git a/packages/gatsby-transformer-javascript-static-exports/CHANGELOG.md b/packages/gatsby-transformer-javascript-static-exports/CHANGELOG.md index e1d76a47a31b9..60513d2e28d0b 100644 --- a/packages/gatsby-transformer-javascript-static-exports/CHANGELOG.md +++ b/packages/gatsby-transformer-javascript-static-exports/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-javascript-static-exports@3.7.0-next.0...gatsby-transformer-javascript-static-exports@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-transformer-javascript-static-exports + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-javascript-static-exports@3.6.0-next.0...gatsby-transformer-javascript-static-exports@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-transformer-javascript-static-exports diff --git a/packages/gatsby-transformer-javascript-static-exports/package.json b/packages/gatsby-transformer-javascript-static-exports/package.json index 970e1042fe6e7..9e3f5a87da23d 100644 --- a/packages/gatsby-transformer-javascript-static-exports/package.json +++ b/packages/gatsby-transformer-javascript-static-exports/package.json @@ -1,21 +1,21 @@ { "name": "gatsby-transformer-javascript-static-exports", "description": "Gatsby transformer plugin for JavaScript to extract exports.data statically.", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Jacob Bolda ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/parser": "^7.12.5", - "@babel/runtime": "^7.12.5", - "@babel/traverse": "^7.12.5", + "@babel/parser": "^7.14.4", + "@babel/runtime": "^7.14.0", + "@babel/traverse": "^7.14.2", "bluebird": "^3.7.2" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-javascript-static-exports#readme", diff --git a/packages/gatsby-transformer-json/CHANGELOG.md b/packages/gatsby-transformer-json/CHANGELOG.md index 1fcc3aa4ab39e..2ea582c462a09 100644 --- a/packages/gatsby-transformer-json/CHANGELOG.md +++ b/packages/gatsby-transformer-json/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-json@3.7.0-next.0...gatsby-transformer-json@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-transformer-json + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-json@3.6.0-next.0...gatsby-transformer-json@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-transformer-json diff --git a/packages/gatsby-transformer-json/package.json b/packages/gatsby-transformer-json/package.json index c8a1fa0b27886..5688b8cdc85be 100644 --- a/packages/gatsby-transformer-json/package.json +++ b/packages/gatsby-transformer-json/package.json @@ -1,19 +1,19 @@ { "name": "gatsby-transformer-json", "description": "Gatsby transformer plugin for JSON files", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "bluebird": "^3.7.2" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-json#readme", diff --git a/packages/gatsby-transformer-pdf/CHANGELOG.md b/packages/gatsby-transformer-pdf/CHANGELOG.md index be450333d908a..0690040c1b2e2 100644 --- a/packages/gatsby-transformer-pdf/CHANGELOG.md +++ b/packages/gatsby-transformer-pdf/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [2.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-pdf@2.7.0-next.0...gatsby-transformer-pdf@2.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-transformer-pdf + # [2.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-pdf@2.6.0-next.0...gatsby-transformer-pdf@2.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-transformer-pdf diff --git a/packages/gatsby-transformer-pdf/package.json b/packages/gatsby-transformer-pdf/package.json index 4eb697d2f47f8..67eed7a69e3a5 100644 --- a/packages/gatsby-transformer-pdf/package.json +++ b/packages/gatsby-transformer-pdf/package.json @@ -1,20 +1,20 @@ { "name": "gatsby-transformer-pdf", "description": "Gatsby transformer plugin for pdf files", - "version": "2.7.0-next.0", + "version": "2.7.0-next.1", "author": "Alex Munoz ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "bluebird": "^3.7.2", "pdf2json": "^1.2.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-pdf#readme", diff --git a/packages/gatsby-transformer-react-docgen/CHANGELOG.md b/packages/gatsby-transformer-react-docgen/CHANGELOG.md index a9176bc17afd4..4837d20d59e8f 100644 --- a/packages/gatsby-transformer-react-docgen/CHANGELOG.md +++ b/packages/gatsby-transformer-react-docgen/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [6.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-react-docgen@6.7.0-next.0...gatsby-transformer-react-docgen@6.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-transformer-react-docgen + # [6.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-react-docgen@6.6.0-next.0...gatsby-transformer-react-docgen@6.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-transformer-react-docgen diff --git a/packages/gatsby-transformer-react-docgen/package.json b/packages/gatsby-transformer-react-docgen/package.json index 41259dc53136e..e7a32f8c150c3 100644 --- a/packages/gatsby-transformer-react-docgen/package.json +++ b/packages/gatsby-transformer-react-docgen/package.json @@ -1,23 +1,23 @@ { "name": "gatsby-transformer-react-docgen", "description": "Expose React component metadata and prop information as GraphQL types", - "version": "6.7.0-next.0", + "version": "6.7.0-next.1", "author": "Jason Quense ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/code-frame": "^7.10.4", - "@babel/runtime": "^7.12.5", - "@babel/types": "^7.12.6", + "@babel/code-frame": "^7.12.13", + "@babel/runtime": "^7.14.0", + "@babel/types": "^7.14.4", "ast-types": "^0.14.2", "common-tags": "^1.8.0", "react-docgen": "^5.3.1" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "lodash": "^4.17.21" }, diff --git a/packages/gatsby-transformer-remark/CHANGELOG.md b/packages/gatsby-transformer-remark/CHANGELOG.md index 5f8411a766a72..82aa9bf2ec58a 100644 --- a/packages/gatsby-transformer-remark/CHANGELOG.md +++ b/packages/gatsby-transformer-remark/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [4.4.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-remark@4.4.0-next.0...gatsby-transformer-remark@4.4.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-transformer-remark + # [4.4.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-remark@4.3.0-next.0...gatsby-transformer-remark@4.4.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-transformer-remark diff --git a/packages/gatsby-transformer-remark/package.json b/packages/gatsby-transformer-remark/package.json index e487b4f28f5a5..0da300d41d9b0 100644 --- a/packages/gatsby-transformer-remark/package.json +++ b/packages/gatsby-transformer-remark/package.json @@ -1,14 +1,14 @@ { "name": "gatsby-transformer-remark", "description": "Gatsby transformer plugin for Markdown using the Remark library and ecosystem", - "version": "4.4.0-next.0", + "version": "4.4.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", - "gatsby-core-utils": "^2.7.0-next.0", + "@babel/runtime": "^7.14.0", + "gatsby-core-utils": "^2.7.0-next.1", "gray-matter": "^4.0.2", "hast-util-raw": "^6.0.2", "hast-util-to-html": "^7.1.2", @@ -31,11 +31,11 @@ "unist-util-visit": "^2.0.3" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", - "gatsby-plugin-utils": "^1.7.0-next.0" + "gatsby-plugin-utils": "^1.7.0-next.1" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-remark#readme", "keywords": [ diff --git a/packages/gatsby-transformer-screenshot/CHANGELOG.md b/packages/gatsby-transformer-screenshot/CHANGELOG.md index 8d4f5a22ddd3d..3861d5b18eb8c 100644 --- a/packages/gatsby-transformer-screenshot/CHANGELOG.md +++ b/packages/gatsby-transformer-screenshot/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-screenshot@3.7.0-next.0...gatsby-transformer-screenshot@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-transformer-screenshot + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-screenshot@3.6.0-next.0...gatsby-transformer-screenshot@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-transformer-screenshot diff --git a/packages/gatsby-transformer-screenshot/package.json b/packages/gatsby-transformer-screenshot/package.json index 6635b5964f7c2..e9368d9fa2bac 100644 --- a/packages/gatsby-transformer-screenshot/package.json +++ b/packages/gatsby-transformer-screenshot/package.json @@ -1,7 +1,7 @@ { "name": "gatsby-transformer-screenshot", "description": "Gatsby transformer plugin that uses AWS Lambda to take screenshots of websites", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "David Beckley ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" @@ -11,9 +11,9 @@ "better-queue": "^3.8.10" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-screenshot#readme", diff --git a/packages/gatsby-transformer-sharp/CHANGELOG.md b/packages/gatsby-transformer-sharp/CHANGELOG.md index 2ed8924650a58..100947f61b023 100644 --- a/packages/gatsby-transformer-sharp/CHANGELOG.md +++ b/packages/gatsby-transformer-sharp/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-sharp@3.7.0-next.0...gatsby-transformer-sharp@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-transformer-sharp + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-sharp@3.6.0-next.0...gatsby-transformer-sharp@3.7.0-next.0) (2021-05-21) ### Bug Fixes diff --git a/packages/gatsby-transformer-sharp/package.json b/packages/gatsby-transformer-sharp/package.json index f2084b01ce58f..6e3cd34d8c03d 100644 --- a/packages/gatsby-transformer-sharp/package.json +++ b/packages/gatsby-transformer-sharp/package.json @@ -1,13 +1,13 @@ { "name": "gatsby-transformer-sharp", "description": "Gatsby transformer plugin for images using Sharp", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "bluebird": "^3.7.2", "common-tags": "^1.8.0", "fs-extra": "^9.1.0", @@ -17,10 +17,10 @@ "sharp": "^0.28.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", "@types/sharp": "^0.27.1", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-sharp#readme", diff --git a/packages/gatsby-transformer-sqip/CHANGELOG.md b/packages/gatsby-transformer-sqip/CHANGELOG.md index b0e8e6baa7bcb..d6b1551a40d56 100644 --- a/packages/gatsby-transformer-sqip/CHANGELOG.md +++ b/packages/gatsby-transformer-sqip/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-sqip@3.7.0-next.0...gatsby-transformer-sqip@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-transformer-sqip + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-sqip@3.6.0-next.1...gatsby-transformer-sqip@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-transformer-sqip diff --git a/packages/gatsby-transformer-sqip/package.json b/packages/gatsby-transformer-sqip/package.json index da4088429f173..e979b0105a69f 100644 --- a/packages/gatsby-transformer-sqip/package.json +++ b/packages/gatsby-transformer-sqip/package.json @@ -1,24 +1,24 @@ { "name": "gatsby-transformer-sqip", "description": "Generates geometric primitive version of images", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Benedikt Rötsch ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "fs-extra": "^8.1.0", - "gatsby-plugin-sharp": "^3.7.0-next.0", + "gatsby-plugin-sharp": "^3.7.0-next.1", "md5-file": "^5.0.0", "mini-svg-data-uri": "^1.2.3", "p-queue": "^6.6.2", "sqip": "^0.3.3" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "debug": "^3.2.7" }, diff --git a/packages/gatsby-transformer-toml/CHANGELOG.md b/packages/gatsby-transformer-toml/CHANGELOG.md index 2069d999f74a6..e6bd5fbcf0979 100644 --- a/packages/gatsby-transformer-toml/CHANGELOG.md +++ b/packages/gatsby-transformer-toml/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-toml@3.7.0-next.0...gatsby-transformer-toml@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-transformer-toml + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-toml@3.6.0-next.0...gatsby-transformer-toml@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-transformer-toml diff --git a/packages/gatsby-transformer-toml/package.json b/packages/gatsby-transformer-toml/package.json index 1ccc8cc85f715..4e4170eef1ce7 100644 --- a/packages/gatsby-transformer-toml/package.json +++ b/packages/gatsby-transformer-toml/package.json @@ -1,20 +1,20 @@ { "name": "gatsby-transformer-toml", "description": "Gatsby transformer plugin for toml", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Ruben Harutyunyan ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "lodash": "^4.17.21", "toml": "^2.3.6" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-toml#readme", diff --git a/packages/gatsby-transformer-xml/CHANGELOG.md b/packages/gatsby-transformer-xml/CHANGELOG.md index f3edc74dccc4a..1b16a945e37df 100644 --- a/packages/gatsby-transformer-xml/CHANGELOG.md +++ b/packages/gatsby-transformer-xml/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-xml@3.7.0-next.0...gatsby-transformer-xml@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-transformer-xml + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-xml@3.6.0-next.0...gatsby-transformer-xml@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-transformer-xml diff --git a/packages/gatsby-transformer-xml/package.json b/packages/gatsby-transformer-xml/package.json index 089764dabb4c7..d327ded9fdf01 100644 --- a/packages/gatsby-transformer-xml/package.json +++ b/packages/gatsby-transformer-xml/package.json @@ -1,21 +1,21 @@ { "name": "gatsby-transformer-xml", "description": "Gatsby plugin for parsing XML files. It supports also attributes", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "bluebird": "^3.7.2", "lodash": "^4.17.21", "xml-parser": "^1.2.1" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-xml#readme", diff --git a/packages/gatsby-transformer-yaml/CHANGELOG.md b/packages/gatsby-transformer-yaml/CHANGELOG.md index ff2efac192dd1..bf319c63371cb 100644 --- a/packages/gatsby-transformer-yaml/CHANGELOG.md +++ b/packages/gatsby-transformer-yaml/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-yaml@3.7.0-next.0...gatsby-transformer-yaml@3.7.0-next.1) (2021-05-31) + +**Note:** Version bump only for package gatsby-transformer-yaml + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby-transformer-yaml@3.6.0-next.0...gatsby-transformer-yaml@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby-transformer-yaml diff --git a/packages/gatsby-transformer-yaml/package.json b/packages/gatsby-transformer-yaml/package.json index ef991f0e6093a..538acfc5fdb1b 100644 --- a/packages/gatsby-transformer-yaml/package.json +++ b/packages/gatsby-transformer-yaml/package.json @@ -1,21 +1,21 @@ { "name": "gatsby-transformer-yaml", "description": "Gatsby transformer plugin for yaml", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bugs": { "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/runtime": "^7.12.5", + "@babel/runtime": "^7.14.0", "js-yaml": "^3.14.1", "lodash": "^4.17.21", "unist-util-select": "^1.5.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/core": "^7.12.3", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "@babel/cli": "^7.14.3", + "@babel/core": "^7.14.3", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3" }, "homepage": "https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-transformer-yaml#readme", diff --git a/packages/gatsby/CHANGELOG.md b/packages/gatsby/CHANGELOG.md index 473b8f1007134..1a90c77dcb17f 100644 --- a/packages/gatsby/CHANGELOG.md +++ b/packages/gatsby/CHANGELOG.md @@ -3,6 +3,20 @@ All notable changes to this project will be documented in this file. See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. +# [3.7.0-next.1](https://github.com/gatsbyjs/gatsby/compare/gatsby@3.7.0-next.0...gatsby@3.7.0-next.1) (2021-05-31) + +### Bug Fixes + +- **gatsby:** add componentChunkName to components list so don't need to loop over pages ([#31547](https://github.com/gatsbyjs/gatsby/issues/31547)) ([783b937](https://github.com/gatsbyjs/gatsby/commit/783b937c8f70478796bce37808bf8bf967bb4252)) +- **gatsby:** better detection of Babel rules for HMR when customizing the Webpack config ([#31477](https://github.com/gatsbyjs/gatsby/issues/31477)) ([42951f0](https://github.com/gatsbyjs/gatsby/commit/42951f0f459a15cb7a8923f97c52cc131ba6714d)) +- **gatsby:** Correct config for svgo plugins whitelist ([7e787bd](https://github.com/gatsbyjs/gatsby/commit/7e787bd020788cb6bc9f72d88c7878bbb34d46c9)) +- **gatsby:** prevent infinite loop in fast-refresh-overlay ([#31594](https://github.com/gatsbyjs/gatsby/issues/31594)) ([3368884](https://github.com/gatsbyjs/gatsby/commit/3368884db230b0ccbcd1c357273516859e9f0556)) + +### Features + +- **gatsby:** enable concurrent features ([#31394](https://github.com/gatsbyjs/gatsby/issues/31394)) ([3457163](https://github.com/gatsbyjs/gatsby/commit/34571630f9b7e5de360cbf91c1e53aa655e86633)) +- **gatsby:** lazily compile functions in development ([#31508](https://github.com/gatsbyjs/gatsby/issues/31508)) ([d38f4d9](https://github.com/gatsbyjs/gatsby/commit/d38f4d97256fe4654a68177bc81cdea6277267d5)) + # [3.7.0-next.0](https://github.com/gatsbyjs/gatsby/compare/gatsby@3.6.0-next.6...gatsby@3.7.0-next.0) (2021-05-21) **Note:** Version bump only for package gatsby diff --git a/packages/gatsby/cache-dir/fast-refresh-overlay/components/hooks.js b/packages/gatsby/cache-dir/fast-refresh-overlay/components/hooks.js index db8507a2e65eb..b8b2a5b869891 100644 --- a/packages/gatsby/cache-dir/fast-refresh-overlay/components/hooks.js +++ b/packages/gatsby/cache-dir/fast-refresh-overlay/components/hooks.js @@ -1,6 +1,15 @@ import * as React from "react" import { prettifyStack } from "../utils" +const initialResponse = { + decoded: null, + sourcePosition: { + line: null, + number: null, + }, + sourceContent: null, +} + export function useStackFrame({ moduleId, lineNumber, columnNumber }) { const url = `/__original-stack-frame?moduleId=` + @@ -10,26 +19,26 @@ export function useStackFrame({ moduleId, lineNumber, columnNumber }) { `&columnNumber=` + window.encodeURIComponent(columnNumber) - const [response, setResponse] = React.useState({ - decoded: null, - sourcePosition: { - line: null, - number: null, - }, - sourceContent: null, - }) + const [response, setResponse] = React.useState(initialResponse) React.useEffect(() => { async function fetchData() { - const res = await fetch(url) - const json = await res.json() - const decoded = prettifyStack(json.codeFrame) - const { sourcePosition, sourceContent } = json - setResponse({ - decoded, - sourceContent, - sourcePosition, - }) + try { + const res = await fetch(url) + const json = await res.json() + const decoded = prettifyStack(json.codeFrame) + const { sourcePosition, sourceContent } = json + setResponse({ + decoded, + sourceContent, + sourcePosition, + }) + } catch (err) { + setResponse({ + ...initialResponse, + decoded: prettifyStack(err.message), + }) + } } fetchData() }, []) diff --git a/packages/gatsby/package.json b/packages/gatsby/package.json index 56c7281f0b24d..eb083c1fce006 100644 --- a/packages/gatsby/package.json +++ b/packages/gatsby/package.json @@ -1,7 +1,7 @@ { "name": "gatsby", "description": "Blazing fast modern site generator for React", - "version": "3.7.0-next.0", + "version": "3.7.0-next.1", "author": "Kyle Mathews ", "bin": { "gatsby": "./cli.js" @@ -10,13 +10,13 @@ "url": "https://github.com/gatsbyjs/gatsby/issues" }, "dependencies": { - "@babel/code-frame": "^7.10.4", - "@babel/core": "^7.12.3", - "@babel/eslint-parser": "^7.13.4", - "@babel/parser": "^7.12.5", - "@babel/runtime": "^7.12.5", - "@babel/traverse": "^7.12.5", - "@babel/types": "^7.12.6", + "@babel/code-frame": "^7.12.13", + "@babel/core": "^7.14.3", + "@babel/eslint-parser": "^7.14.4", + "@babel/parser": "^7.14.4", + "@babel/runtime": "^7.14.0", + "@babel/traverse": "^7.14.2", + "@babel/types": "^7.14.4", "@gatsbyjs/reach-router": "^1.3.6", "@gatsbyjs/webpack-hot-middleware": "^2.25.2", "@mikaelkristiansson/domready": "^1.0.10", @@ -33,8 +33,8 @@ "babel-plugin-add-module-exports": "^1.0.4", "babel-plugin-dynamic-import-node": "^2.3.3", "babel-plugin-lodash": "^3.3.4", - "babel-plugin-remove-graphql-queries": "^3.7.0-next.0", - "babel-preset-gatsby": "^1.7.0-next.0", + "babel-plugin-remove-graphql-queries": "^3.7.0-next.1", + "babel-preset-gatsby": "^1.7.0-next.1", "better-opn": "^2.0.0", "bluebird": "^3.7.2", "body-parser": "^1.19.0", @@ -76,16 +76,16 @@ "find-cache-dir": "^3.3.1", "fs-exists-cached": "1.0.0", "fs-extra": "^8.1.0", - "gatsby-cli": "^3.7.0-next.0", - "gatsby-core-utils": "^2.7.0-next.0", - "gatsby-graphiql-explorer": "^1.7.0-next.0", + "gatsby-cli": "^3.7.0-next.1", + "gatsby-core-utils": "^2.7.0-next.1", + "gatsby-graphiql-explorer": "^1.7.0-next.1", "gatsby-legacy-polyfills": "^1.7.0-next.0", - "gatsby-link": "^3.7.0-next.0", - "gatsby-plugin-page-creator": "^3.7.0-next.0", - "gatsby-plugin-typescript": "^3.7.0-next.0", - "gatsby-plugin-utils": "^1.7.0-next.0", - "gatsby-react-router-scroll": "^4.7.0-next.0", - "gatsby-telemetry": "^2.7.0-next.0", + "gatsby-link": "^3.7.0-next.1", + "gatsby-plugin-page-creator": "^3.7.0-next.1", + "gatsby-plugin-typescript": "^3.7.0-next.1", + "gatsby-plugin-utils": "^1.7.0-next.1", + "gatsby-react-router-scroll": "^4.7.0-next.1", + "gatsby-telemetry": "^2.7.0-next.1", "glob": "^7.1.6", "got": "8.3.2", "graphql": "^15.4.0", @@ -166,8 +166,8 @@ "yaml-loader": "^0.6.0" }, "devDependencies": { - "@babel/cli": "^7.12.1", - "@babel/runtime": "^7.12.5", + "@babel/cli": "^7.14.3", + "@babel/runtime": "^7.14.0", "@types/eslint": "^7.2.6", "@types/micromatch": "^4.0.1", "@types/normalize-path": "^3.0.0", @@ -177,7 +177,7 @@ "@types/string-similarity": "^3.0.0", "@types/tmp": "^0.2.0", "@types/webpack-virtual-modules": "^0.1.1", - "babel-preset-gatsby-package": "^1.7.0-next.0", + "babel-preset-gatsby-package": "^1.7.0-next.1", "cross-env": "^7.0.3", "documentation": "^13.1.0", "enhanced-resolve": "^4.2.0", diff --git a/packages/gatsby/src/bootstrap/schema-hot-reloader.ts b/packages/gatsby/src/bootstrap/schema-hot-reloader.ts index 2cdd1efcaeab1..3fc37dc809309 100644 --- a/packages/gatsby/src/bootstrap/schema-hot-reloader.ts +++ b/packages/gatsby/src/bootstrap/schema-hot-reloader.ts @@ -32,7 +32,7 @@ const maybeRebuildSchema = debounce(async (): Promise => { const activity = report.activityTimer(`rebuild schema`) activity.start() await rebuild({ parentSpan: activity }) - await updateStateAndRunQueries(false, { parentSpan: activity }) + await updateStateAndRunQueries(false, { parentSpan: activity.span }) activity.end() }, 1000) diff --git a/packages/gatsby/src/cache/cache-fs.ts b/packages/gatsby/src/cache/cache-fs.ts index b45b93edfc951..e7ea2ab869bf1 100644 --- a/packages/gatsby/src/cache/cache-fs.ts +++ b/packages/gatsby/src/cache/cache-fs.ts @@ -54,7 +54,7 @@ exports.create = function (args): typeof DiskStore { return new DiskStore(args && args.options ? args.options : args) } -function DiskStore(options): void { +function DiskStore(this: any, options): void { options = options || {} this.options = { @@ -91,7 +91,12 @@ function DiskStore(options): void { * @param {function} [cb] * @returns {Promise} */ -DiskStore.prototype.set = wrapCallback(async function (key, val, options) { +DiskStore.prototype.set = wrapCallback(async function ( + this: any, + key, + val, + options +) { key = key + `` const filePath = this._getFilePathByKey(key) @@ -128,7 +133,7 @@ DiskStore.prototype.set = wrapCallback(async function (key, val, options) { * @param {function} [cb] * @returns {Promise} */ -DiskStore.prototype.get = wrapCallback(async function (key) { +DiskStore.prototype.get = wrapCallback(async function (this: any, key) { key = key + `` const filePath = this._getFilePathByKey(key) @@ -172,7 +177,7 @@ DiskStore.prototype.get = wrapCallback(async function (key) { /** * delete entry from cache */ -DiskStore.prototype.del = wrapCallback(async function (key) { +DiskStore.prototype.del = wrapCallback(async function (this: any, key) { const filePath = this._getFilePathByKey(key) try { if (this.options.subdirs) { @@ -196,7 +201,9 @@ DiskStore.prototype.del = wrapCallback(async function (key) { /** * cleanup cache on disk -> delete all files from the cache */ -DiskStore.prototype.reset = wrapCallback(async function (): Promise { +DiskStore.prototype.reset = wrapCallback(async function ( + this: any +): Promise { const readdir = promisify(fs.readdir) const stat = promisify(fs.stat) const unlink = promisify(fs.unlink) @@ -265,10 +272,10 @@ function innerLock(resolve, reject, filePath): void { * unlocks a file path * @type {Function} * @param {string} filePath - * @returns {Promise} + * @returns {void} * @private */ -DiskStore.prototype._unlock = function _unlock(filePath): Promise { +DiskStore.prototype._unlock = function _unlock(filePath): void { globalGatsbyCacheLock.delete(filePath) } diff --git a/packages/gatsby/src/cache/json-file-store.ts b/packages/gatsby/src/cache/json-file-store.ts index dbbf026f12b10..4c6d8e8b67112 100644 --- a/packages/gatsby/src/cache/json-file-store.ts +++ b/packages/gatsby/src/cache/json-file-store.ts @@ -27,9 +27,14 @@ const promisify = require(`util`).promisify const fs = require(`fs`) const zlib = require(`zlib`) +interface IExternalBuffer { + index: number + buffer: Buffer +} + exports.write = async function (path, data, options): Promise { - const externalBuffers = [] - let dataString = JSON.stringify(data, function replacerFunction(k, value) { + const externalBuffers: Array = [] + let dataString = JSON.stringify(data, function replacerFunction(_k, value) { // Buffers searilize to {data: [...], type: "Buffer"} if ( value && @@ -103,10 +108,10 @@ exports.read = async function (path, options): Promise { ) } - const externalBuffers = [] + const externalBuffers: Array = [] let data try { - data = JSON.parse(dataString, function bufferReceiver(k, value) { + data = JSON.parse(dataString, function bufferReceiver(_k, value) { if (value && value.type === `Buffer` && value.data) { return Buffer.from(value.data) } else if ( diff --git a/packages/gatsby/src/cache/wrap-callback.ts b/packages/gatsby/src/cache/wrap-callback.ts index d3c892420728b..489e4956a87a2 100644 --- a/packages/gatsby/src/cache/wrap-callback.ts +++ b/packages/gatsby/src/cache/wrap-callback.ts @@ -37,8 +37,8 @@ module.exports = function wrapCallback( cb = args.pop() } - // eslint-disable-next-line @babel/no-invalid-this - const promise = fn.apply(this, args) + // @ts-ignore - unsure if fixing this introduces problems + const promise = fn.apply(this, args) // eslint-disable-line @babel/no-invalid-this if (typeof cb === `function`) { promise.then( diff --git a/packages/gatsby/src/commands/build.ts b/packages/gatsby/src/commands/build.ts index d36bec437d4e0..a8a19e5093af6 100644 --- a/packages/gatsby/src/commands/build.ts +++ b/packages/gatsby/src/commands/build.ts @@ -73,7 +73,9 @@ module.exports = async function build(program: IBuildArgs): Promise { telemetry.trackCli(`BUILD_START`) signalExit(exitCode => { - telemetry.trackCli(`BUILD_END`, { exitCode }) + telemetry.trackCli(`BUILD_END`, { + exitCode: exitCode as number | undefined, + }) }) const buildSpan = buildActivity.span @@ -196,7 +198,7 @@ module.exports = async function build(program: IBuildArgs): Promise { { parentSpan: buildSpan } ) buildSSRBundleActivityProgress.start() - let pageRenderer: string + let pageRenderer = `` let waitForCompilerCloseBuildHtml try { const result = await buildRenderer(program, Stage.BuildHTML, buildSpan) diff --git a/packages/gatsby/src/commands/develop.ts b/packages/gatsby/src/commands/develop.ts index 3cfdb7b630dbf..46a2ec8b30834 100644 --- a/packages/gatsby/src/commands/develop.ts +++ b/packages/gatsby/src/commands/develop.ts @@ -21,7 +21,7 @@ import { } from "gatsby-core-utils" import reporter from "gatsby-cli/lib/reporter" import { getSslCert } from "../utils/get-ssl-cert" -import { startDevelopProxy } from "../utils/develop-proxy" +import { IProxyControls, startDevelopProxy } from "../utils/develop-proxy" import { IProgram, IDebugInfo } from "./types" // Adapted from https://stackoverflow.com/a/16060619 @@ -295,7 +295,7 @@ module.exports = async (program: IProgram): Promise => { null ) - let unlocks: Array = [] + let unlocks: Array = [] if (!isCI()) { const statusUnlock = await createServiceLock( program.directory, @@ -416,7 +416,7 @@ module.exports = async (program: IProgram): Promise => { ) const files = [rootFile(`gatsby-config.js`), rootFile(`gatsby-node.js`)] - let watcher: chokidar.FSWatcher = null + let watcher: chokidar.FSWatcher if (!isCI()) { watcher = chokidar.watch(files).on(`change`, filePath => { @@ -498,6 +498,16 @@ module.exports = async (program: IProgram): Promise => { ) }) } + +interface IShutdownServicesOptions { + statusServer: https.Server | http.Server + developProcess: ControllableScript + proxy: IProxyControls + unlocks: Array + watcher: chokidar.FSWatcher + telemetryServerProcess: ControllableScript +} + function shutdownServices( { statusServer, @@ -506,7 +516,7 @@ function shutdownServices( unlocks, watcher, telemetryServerProcess, - }, + }: IShutdownServicesOptions, signal: NodeJS.Signals ): Promise { const services = [ @@ -518,7 +528,9 @@ function shutdownServices( ] unlocks.forEach(unlock => { - services.push(unlock()) + if (unlock) { + services.push(unlock()) + } }) return Promise.all(services) diff --git a/packages/gatsby/src/commands/serve.ts b/packages/gatsby/src/commands/serve.ts index f32f9f457900b..720608fcb0742 100644 --- a/packages/gatsby/src/commands/serve.ts +++ b/packages/gatsby/src/commands/serve.ts @@ -11,7 +11,6 @@ import multer from "multer" import pathToRegexp from "path-to-regexp" import cookie from "cookie" import minimatch from "minimatch" - import telemetry from "gatsby-telemetry" import { detectPortInUseAndPrompt } from "../utils/detect-port-in-use-and-prompt" @@ -19,12 +18,21 @@ import { getConfigFile } from "../bootstrap/get-config-file" import { preferDefault } from "../bootstrap/prefer-default" import { IProgram } from "./types" import { IPreparedUrls, prepareUrls } from "../utils/prepare-urls" +import { IGatsbyFunction } from "../redux/types" interface IMatchPath { path: string matchPath: string } +interface IPathToRegexpKey { + name: string | number + prefix: string + suffix: string + pattern: string + modifier: string +} + interface IServeProgram extends IProgram { prefixPaths: boolean } @@ -152,10 +160,10 @@ module.exports = async (program: IServeProgram): Promise => { `functions` ) - let functions + let functions: Array = [] try { functions = JSON.parse( - fs.readFileSync(path.join(compiledFunctionsDir, `manifest.json`)) + fs.readFileSync(path.join(compiledFunctionsDir, `manifest.json`), `utf-8`) ) } catch (e) { // ignore @@ -166,7 +174,7 @@ module.exports = async (program: IServeProgram): Promise => { `/api/*`, multer().any(), express.urlencoded({ extended: true }), - (req, res, next) => { + (req, _, next) => { const cookies = req.headers.cookie if (!cookies) { @@ -193,12 +201,13 @@ module.exports = async (program: IServeProgram): Promise => { // We loop until we find the first match. functions.some(f => { let exp - const keys = [] + const keys: Array = [] if (f.matchPath) { exp = pathToRegexp(f.matchPath, keys) } if (exp && exp.exec(pathFragment) !== null) { functionObj = f + // @ts-ignore - TS bug? https://stackoverflow.com/questions/50234481/typescript-2-8-3-type-must-have-a-symbol-iterator-method-that-returns-an-iterato const matches = [...pathFragment.match(exp)].slice(1) const newParams = {} matches.forEach( diff --git a/packages/gatsby/src/internal-plugins/functions/gatsby-node.ts b/packages/gatsby/src/internal-plugins/functions/gatsby-node.ts index 104f14f5d0c6d..9a3b84a3ccb8c 100644 --- a/packages/gatsby/src/internal-plugins/functions/gatsby-node.ts +++ b/packages/gatsby/src/internal-plugins/functions/gatsby-node.ts @@ -5,35 +5,21 @@ import webpack from "webpack" import _ from "lodash" import multer from "multer" import * as express from "express" -import { urlResolve, getMatchPath } from "gatsby-core-utils" -import { ParentSpanPluginArgs, CreateDevServerArgs } from "gatsby" -import { internalActions } from "../../redux/actions" -import { reportWebpackWarnings } from "../../utils/webpack-error-utils" +import { getMatchPath, urlResolve } from "gatsby-core-utils" +import { CreateDevServerArgs, ParentSpanPluginArgs } from "gatsby" import formatWebpackMessages from "react-dev-utils/formatWebpackMessages" import dotenv from "dotenv" import chokidar from "chokidar" +// We use an ancient version of path-to-regexp as it has breaking changes to express v4 +// see: https://github.com/pillarjs/path-to-regexp/tree/77df63869075cfa5feda1988642080162c584427#compatibility-with-express--4x import pathToRegexp from "path-to-regexp" import cookie from "cookie" +import { reportWebpackWarnings } from "../../utils/webpack-error-utils" +import { internalActions } from "../../redux/actions" +import { IGatsbyFunction } from "../../redux/types" const isProductionEnv = process.env.gatsby_executing_command !== `develop` -interface IFunctionData { - /** The route in the browser to access the function **/ - functionRoute: string - /** The absolute path to the original function **/ - originalAbsoluteFilePath: string - /** The relative path to the original function **/ - originalRelativeFilePath: string - /** The relative path to the compiled function (always ends with .js) **/ - relativeCompiledFilePath: string - /** The absolute path to the compiled function (doesn't transfer across machines) **/ - absoluteCompiledFilePath: string - /** The matchPath regex created by path-to-regexp. Only created if the function is dynamic. **/ - matchPath: string - /** The plugin that owns this function route **/ - pluginName: string -} - interface IGlobPattern { /** The plugin that owns this namespace **/ pluginName: string @@ -43,15 +29,23 @@ interface IGlobPattern { globPattern: string } +interface IPathToRegexpKey { + name: string | number + prefix: string + suffix: string + pattern: string + modifier: string +} + // During development, we lazily compile functions only when they're requested. // Here we keep track of which functions have been requested so are "active" -const activeDevelopmentFunctions = new Set() +const activeDevelopmentFunctions = new Set() let activeEntries = {} async function ensureFunctionIsCompiled( - functionObj: IFunctionData, + functionObj: IGatsbyFunction, compiledFunctionsDir: string -): any { +): Promise { // stat the compiled function. If it's there, then return. let compiledFileExists = false try { @@ -125,7 +119,10 @@ const createGlobArray = (siteDirectoryPath, plugins): Array => { return _.union(globs) } -async function globAsync(pattern, options): Promise> { +async function globAsync( + pattern: string, + options: glob.IOptions = {} +): Promise> { return await new Promise((resolve, reject) => { glob(pattern, options, (err, files) => { if (err) { @@ -139,7 +136,6 @@ async function globAsync(pattern, options): Promise> { const createWebpackConfig = async ({ siteDirectoryPath, - functionsDirectory, store, reporter, }): Promise => { @@ -157,43 +153,43 @@ const createWebpackConfig = async ({ // Glob and return object with relative/absolute paths + which plugin // they belong to. const allFunctions = await Promise.all( - globs.map(async glob => { - const knownFunctions: Array = [] - const files = await globAsync(glob.globPattern) - files.map(file => { - const originalAbsoluteFilePath = file - const originalRelativeFilePath = path.relative(glob.rootPath, file) - - const { dir, name } = path.parse(originalRelativeFilePath) - // Ignore the original extension as all compiled functions now end with js. - const compiledFunctionName = path.join(dir, name + `.js`) - const compiledPath = path.join( - compiledFunctionsDir, - compiledFunctionName - ) - const finalName = urlResolve(dir, name === `index` ? `` : name) - - knownFunctions.push({ - functionRoute: finalName, - pluginName: glob.pluginName, - originalAbsoluteFilePath, - originalRelativeFilePath, - relativeCompiledFilePath: compiledFunctionName, - absoluteCompiledFilePath: compiledPath, - matchPath: getMatchPath(finalName), + globs.map( + async (glob): Promise> => { + const knownFunctions: Array = [] + const files = await globAsync(glob.globPattern) + files.map(file => { + const originalAbsoluteFilePath = file + const originalRelativeFilePath = path.relative(glob.rootPath, file) + + const { dir, name } = path.parse(originalRelativeFilePath) + // Ignore the original extension as all compiled functions now end with js. + const compiledFunctionName = path.join(dir, name + `.js`) + const compiledPath = path.join( + compiledFunctionsDir, + compiledFunctionName + ) + const finalName = urlResolve(dir, name === `index` ? `` : name) + + knownFunctions.push({ + functionRoute: finalName, + pluginName: glob.pluginName, + originalAbsoluteFilePath, + originalRelativeFilePath, + relativeCompiledFilePath: compiledFunctionName, + absoluteCompiledFilePath: compiledPath, + matchPath: getMatchPath(finalName), + }) }) - }) - return knownFunctions - }) + return knownFunctions + } + ) ) // Combine functions by the route name so that functions in the default // functions directory can override the plugin's implementations. - const knownFunctions = _.unionBy( - ...allFunctions, - func => func.functionRoute - ) as Array + // @ts-ignore - Seems like a TS bug: https://github.com/microsoft/TypeScript/issues/28010#issuecomment-713484584 + const knownFunctions = _.unionBy(...allFunctions, func => func.functionRoute) store.dispatch(internalActions.setFunctions(knownFunctions)) @@ -207,7 +203,7 @@ const createWebpackConfig = async ({ // Logic is shared with webpack.config.js // node env should be DEVELOPMENT | PRODUCTION as these are commonly used in node land - const nodeEnv = process.env.NODE_ENV || `${defaultNodeEnv}` + const nodeEnv = process.env.NODE_ENV || `development` // config env is dependent on the env that it's run, this can be anything from staging-production // this allows you to set use different .env environments or conditions in gatsby files const configEnv = process.env.GATSBY_ACTIVE_ENV || nodeEnv @@ -217,7 +213,7 @@ const createWebpackConfig = async ({ parsed = dotenv.parse(fs.readFileSync(envFile, { encoding: `utf8` })) } catch (err) { if (err.code !== `ENOENT`) { - report.error( + reporter.error( `There was a problem processing the .env file (${envFile})`, err ) @@ -227,12 +223,12 @@ const createWebpackConfig = async ({ const envObject = Object.keys(parsed).reduce((acc, key) => { acc[key] = JSON.stringify(parsed[key]) return acc - }, {}) + }, {} as Record) const varsFromProcessEnv = Object.keys(process.env).reduce((acc, key) => { acc[key] = JSON.stringify(process.env[key]) return acc - }, {}) + }, {} as Record) // Don't allow overwriting of NODE_ENV, PUBLIC_DIR as to not break gatsby things envObject.NODE_ENV = JSON.stringify(nodeEnv) @@ -271,7 +267,7 @@ const createWebpackConfig = async ({ ? `functions-production` : `functions-development` - const config = { + return { entry: entries, output: { path: compiledFunctionsDir, @@ -320,8 +316,6 @@ const createWebpackConfig = async ({ }, plugins: [new webpack.DefinePlugin(processEnvVars)], } - - return config } let isFirstBuild = true @@ -336,13 +330,6 @@ export async function onPreBootstrap({ program: { directory: siteDirectoryPath }, } = store.getState() - const functionsDirectoryPath = path.join(siteDirectoryPath, `src/api`) - - const functionsDirectory = path.resolve( - siteDirectoryPath, - functionsDirectoryPath as string - ) - reporter.verbose(`Attaching functions to development server`) const compiledFunctionsDir = path.join( siteDirectoryPath, @@ -357,10 +344,9 @@ export async function onPreBootstrap({ // We do this ungainly thing as we need to make accessible // the resolve/reject functions to our shared callback function // eslint-disable-next-line - await new Promise(async (resolve, reject) => { + await new Promise(async (resolve, reject) => { const config = await createWebpackConfig({ siteDirectoryPath, - functionsDirectory, store, reporter, }) @@ -379,11 +365,11 @@ export async function onPreBootstrap({ if (isProductionEnv) { if (errors.length > 0) return reject(stats.compilation.errors) } else { - const formated = formatWebpackMessages({ + const formatted = formatWebpackMessages({ errors: rawMessages.errors.map(e => e.message), warnings: [], }) - reporter.error(formated.errors) + reporter.error(formatted.errors) } // Log success in dev @@ -437,7 +423,6 @@ export async function onPreBootstrap({ compiler.close(async () => { const config = await createWebpackConfig({ siteDirectoryPath, - functionsDirectory, store, reporter, }) @@ -474,7 +459,7 @@ export async function onCreateDevServer({ `/api/*`, multer().any(), express.urlencoded({ extended: true }), - (req, res, next) => { + (req, _, next) => { const cookies = req.headers.cookie if (!cookies) { @@ -493,7 +478,7 @@ export async function onCreateDevServer({ const { functions, - }: { functions: Array } = store.getState() + }: { functions: Array } = store.getState() // Check first for exact matches. let functionObj = functions.find( @@ -505,7 +490,7 @@ export async function onCreateDevServer({ // We loop until we find the first match. functions.some(f => { let exp - const keys = [] + const keys: Array = [] if (f.matchPath) { exp = pathToRegexp(f.matchPath, keys) } diff --git a/packages/gatsby/src/redux/reducers/functions.ts b/packages/gatsby/src/redux/reducers/functions.ts index 0f0117903a690..93c396bce09ee 100644 --- a/packages/gatsby/src/redux/reducers/functions.ts +++ b/packages/gatsby/src/redux/reducers/functions.ts @@ -1,7 +1,7 @@ import { IGatsbyState, ISetSiteFunctions } from "../types" export const functionsReducer = ( - state: IGatsbyState["functions"] = new Map(), + state: IGatsbyState["functions"] = [], action: ISetSiteFunctions ): IGatsbyState["functions"] => { switch (action.type) { diff --git a/packages/gatsby/src/redux/types.ts b/packages/gatsby/src/redux/types.ts index ce4c28846f295..6ba336fc23989 100644 --- a/packages/gatsby/src/redux/types.ts +++ b/packages/gatsby/src/redux/types.ts @@ -40,7 +40,20 @@ export interface IGatsbyPage { } export interface IGatsbyFunction { - path: string + /** The route in the browser to access the function **/ + functionRoute: string + /** The absolute path to the original function **/ + originalAbsoluteFilePath: string + /** The relative path to the original function **/ + originalRelativeFilePath: string + /** The relative path to the compiled function (always ends with .js) **/ + relativeCompiledFilePath: string + /** The absolute path to the compiled function (doesn't transfer across machines) **/ + absoluteCompiledFilePath: string + /** The matchPath regex created by path-to-regexp. Only created if the function is dynamic. **/ + matchPath: string | undefined + /** The plugin that owns this function route **/ + pluginName: string } export interface IGatsbyConfig { @@ -228,7 +241,7 @@ export interface IGatsbyState { pluginFilepath: SystemPath }> config: IGatsbyConfig - functions: Map + functions: Array pages: Map schema: GraphQLSchema definitions: Map diff --git a/packages/gatsby/src/schema/__tests__/build-schema.js b/packages/gatsby/src/schema/__tests__/build-schema.js index 59b814134b2ce..c3e07d91da678 100644 --- a/packages/gatsby/src/schema/__tests__/build-schema.js +++ b/packages/gatsby/src/schema/__tests__/build-schema.js @@ -979,6 +979,70 @@ describe(`Build schema`, () => { expect(interfaces).toEqual([`Foo`, `Bar`]) }) + it(`merges resolveType for abstract types (Type Builder)`, async () => { + createTypes( + [ + `interface Foo { foo: String }`, + ` + type Fizz { id: ID! } + type Buzz { id: ID! } + union FizzBuzz = Fizz | Buzz + `, + buildInterfaceType({ + name: `Foo`, + fields: { id: `ID!` }, + resolveType: source => source.expectedType, + }), + buildUnionType({ + name: `FizzBuzz`, + resolveType: source => (source.isFizz ? `Fizz` : `Buzz`), + }), + ], + { + name: `default-site-plugin`, + } + ) + const schema = await buildSchema() + const Foo = schema.getType(`Foo`) + expect(Foo.resolveType({ expectedType: `Bar` })).toEqual(`Bar`) + + const FizzBuzz = schema.getType(`FizzBuzz`) + expect(FizzBuzz.resolveType({ isFizz: true })).toEqual(`Fizz`) + expect(FizzBuzz.resolveType({ isFizz: false })).toEqual(`Buzz`) + }) + + it(`merges resolveType for abstract types (graphql-js)`, async () => { + createTypes( + [ + `interface Foo { foo: String }`, + ` + type Fizz { id: ID! } + type Buzz { id: ID! } + union FizzBuzz = Fizz | Buzz + `, + new GraphQLInterfaceType({ + name: `Foo`, + fields: { foo: { type: GraphQLString } }, + resolveType: source => source.expectedType, + }), + new GraphQLUnionType({ + name: `FizzBuzz`, + resolveType: source => (source.isFizz ? `Fizz` : `Buzz`), + }), + ], + { + name: `default-site-plugin`, + } + ) + const schema = await buildSchema() + const Foo = schema.getType(`Foo`) + expect(Foo.resolveType({ expectedType: `Bar` })).toEqual(`Bar`) + + const FizzBuzz = schema.getType(`FizzBuzz`) + expect(FizzBuzz.resolveType({ isFizz: true })).toEqual(`Fizz`) + expect(FizzBuzz.resolveType({ isFizz: false })).toEqual(`Buzz`) + }) + it(`merges plugin-defined type (Type Builder) with overridable built-in type without warning`, async () => { createTypes( [ diff --git a/packages/gatsby/src/schema/schema.js b/packages/gatsby/src/schema/schema.js index e97f33be09409..df9ecd00be4bd 100644 --- a/packages/gatsby/src/schema/schema.js +++ b/packages/gatsby/src/schema/schema.js @@ -8,6 +8,7 @@ const { GraphQLList, GraphQLObjectType, GraphQLInterfaceType, + GraphQLUnionType, } = require(`graphql`) const { ObjectTypeComposer, @@ -406,6 +407,15 @@ const mergeTypes = ({ type.getInterfaces().forEach(iface => typeComposer.addInterface(iface)) } + if ( + type instanceof GraphQLInterfaceType || + type instanceof InterfaceTypeComposer || + type instanceof GraphQLUnionType || + type instanceof UnionTypeComposer + ) { + mergeResolveType({ typeComposer, type }) + } + if (isNamedTypeComposer(type)) { typeComposer.extendExtensions(type.getExtensions()) } @@ -1387,3 +1397,20 @@ const mergeFields = ({ typeComposer, fields }) => typeComposer.setField(fieldName, fieldConfig) } }) + +const mergeResolveType = ({ typeComposer, type }) => { + if ( + (type instanceof GraphQLInterfaceType || + type instanceof GraphQLUnionType) && + type.resolveType + ) { + typeComposer.setResolveType(type.resolveType) + } + if ( + (type instanceof InterfaceTypeComposer || + type instanceof UnionTypeComposer) && + type.getResolveType() + ) { + typeComposer.setResolveType(type.getResolveType()) + } +} diff --git a/packages/gatsby/src/schema/types/pagination.ts b/packages/gatsby/src/schema/types/pagination.ts index 3c4cca5ec2fd8..9d30d4ff17b30 100644 --- a/packages/gatsby/src/schema/types/pagination.ts +++ b/packages/gatsby/src/schema/types/pagination.ts @@ -3,7 +3,7 @@ import { ObjectTypeComposer, InputTypeComposer, InterfaceTypeComposer, - ComposeFieldConfigMap, + ObjectTypeComposerFieldConfigMapDefinition, } from "graphql-compose" import { getFieldsEnum } from "./sort" import { addDerivedType } from "./derived-types" @@ -52,7 +52,7 @@ const createPagination = ({ }: { schemaComposer: SchemaComposer typeComposer: ObjectTypeComposer | InterfaceTypeComposer - fields: ComposeFieldConfigMap + fields: ObjectTypeComposerFieldConfigMapDefinition typeName: string }): ObjectTypeComposer => { const paginationTypeComposer: ObjectTypeComposer = schemaComposer.getOrCreateOTC( diff --git a/packages/gatsby/src/utils/cache.ts b/packages/gatsby/src/utils/cache.ts index 207d32b8f2c97..2fc59f13f7e8b 100644 --- a/packages/gatsby/src/utils/cache.ts +++ b/packages/gatsby/src/utils/cache.ts @@ -5,7 +5,7 @@ import manager, { MultiCache, } from "cache-manager" import fs from "fs-extra" -import fsStore from "../cache/cache-fs" +import * as fsStore from "../cache/cache-fs" import path from "path" const MAX_CACHE_SIZE = 250 @@ -22,6 +22,7 @@ export default class GatsbyCache { public directory: string public cache?: MultiCache + // @ts-ignore - set & get types are missing from fsStore? constructor({ name = `db`, store = fsStore }: ICacheProperties = {}) { this.name = name this.store = store diff --git a/packages/gatsby/src/utils/develop-proxy.ts b/packages/gatsby/src/utils/develop-proxy.ts index 9f46bf8fe78c4..9a1c4e986bceb 100644 --- a/packages/gatsby/src/utils/develop-proxy.ts +++ b/packages/gatsby/src/utils/develop-proxy.ts @@ -8,10 +8,10 @@ import st from "st" import restartingScreen from "./restarting-screen" import { IProgram } from "../commands/types" -interface IProxyControls { +export interface IProxyControls { serveRestartingScreen: () => void serveSite: () => void - server: any + server: https.Server | http.Server } const noop = (): void => {} diff --git a/packages/gatsby/src/utils/eslint-rules/limited-exports-page-templates.ts b/packages/gatsby/src/utils/eslint-rules/limited-exports-page-templates.ts index 9284bb7645e07..6bfd10af28346 100644 --- a/packages/gatsby/src/utils/eslint-rules/limited-exports-page-templates.ts +++ b/packages/gatsby/src/utils/eslint-rules/limited-exports-page-templates.ts @@ -10,6 +10,7 @@ import { TemplateLiteral, VariableDeclarator, ObjectPattern, + AssignmentProperty, } from "estree" import { store } from "../../redux" import { isPageTemplate } from "../eslint-rules-helpers" @@ -127,11 +128,14 @@ const limitedExports: Rule.RuleModule = { // Search for "graphql" in a const { graphql, Link } = require('gatsby') const graphqlTagSpecifier = ((requiredFromGatsby as VariableDeclarator) .id as ObjectPattern)?.properties.find( - el => (el.key as Identifier).name === DEFAULT_GRAPHQL_TAG_NAME + el => + ((el as AssignmentProperty).key as Identifier).name === + DEFAULT_GRAPHQL_TAG_NAME ) if (graphqlTagSpecifier) { - graphqlTagName = (graphqlTagSpecifier.value as Identifier).name + graphqlTagName = ((graphqlTagSpecifier as AssignmentProperty) + .value as Identifier).name } } diff --git a/packages/gatsby/src/utils/gatsby-webpack-stats-extractor.ts b/packages/gatsby/src/utils/gatsby-webpack-stats-extractor.ts index 038d2566a2db4..0c950066a16db 100644 --- a/packages/gatsby/src/utils/gatsby-webpack-stats-extractor.ts +++ b/packages/gatsby/src/utils/gatsby-webpack-stats-extractor.ts @@ -23,7 +23,7 @@ export class GatsbyWebpackStatsExtractor { .filter( f => f.slice(-4) !== `.map` && - f.slice(0, chunkGroup.name.length) === chunkGroup.name + f.slice(0, chunkGroup.name?.length) === chunkGroup.name ) .map(filename => `/${filename}`) @@ -37,7 +37,7 @@ export class GatsbyWebpackStatsExtractor { childAssets[chunkGroup.name] = {} } - const childFiles = [] + const childFiles: Array = [] for (const childChunkGroup of childChunkGroups) { for (const chunk of childChunkGroup.chunks) { childFiles.push(...chunk.files) diff --git a/packages/gatsby/src/utils/telemetry-server.ts b/packages/gatsby/src/utils/telemetry-server.ts index f5aab4baa2d11..65bdda74dcead 100644 --- a/packages/gatsby/src/utils/telemetry-server.ts +++ b/packages/gatsby/src/utils/telemetry-server.ts @@ -29,7 +29,7 @@ const app = express() app.use(cors()) // Overview over all possible routes at / -app.get(`/`, (req, res) => { +app.get(`/`, (_, res) => { res.set(`Content-Type`, `text/html`) res.send( `
    diff --git a/packages/gatsby/src/utils/webpack-plugins.ts b/packages/gatsby/src/utils/webpack-plugins.ts index add1ea7725ad0..c62f06530ac4b 100644 --- a/packages/gatsby/src/utils/webpack-plugins.ts +++ b/packages/gatsby/src/utils/webpack-plugins.ts @@ -1,10 +1,12 @@ -import webpack, { Plugin } from "webpack" +import webpack, { WebpackPluginInstance } from "webpack" const plugin = ( name: string, optimize?: boolean, deprecationReason?: string -): ((...args: any) => Plugin) => (...args: any): Plugin => { +): ((...args: any) => WebpackPluginInstance) => ( + ...args: any +): WebpackPluginInstance => { if (deprecationReason) { // TODO add proper deprecation function to reporter console.warn(`[deprecated]: ${deprecationReason}`) diff --git a/packages/gatsby/src/utils/webpack-utils.ts b/packages/gatsby/src/utils/webpack-utils.ts index 921b7c93dcd0c..433a7a41b8430 100644 --- a/packages/gatsby/src/utils/webpack-utils.ts +++ b/packages/gatsby/src/utils/webpack-utils.ts @@ -1,6 +1,7 @@ import * as path from "path" -import { Loader, RuleSetRule, Plugin } from "webpack" +import { RuleSetRule, WebpackPluginInstance } from "webpack" import { GraphQLSchema } from "graphql" +import { Plugin as PostCSSPlugin } from "postcss" import autoprefixer from "autoprefixer" import flexbugs from "postcss-flexbugs-fixes" import TerserPlugin from "terser-webpack-plugin" @@ -21,6 +22,7 @@ import { builtinPlugins } from "./webpack-plugins" import { IProgram, Stage } from "../commands/types" import { eslintConfig, eslintRequiredConfig } from "./eslint-config" +type Loader = string | { loader: string; options?: { [name: string]: any } } type LoaderResolver> = (options?: T) => Loader type LoaderOptions = Record @@ -33,7 +35,7 @@ type ContextualRuleFactory> = RuleFactory & { external?: RuleFactory } -type PluginFactory = (...args: any) => Plugin +type PluginFactory = (...args: any) => WebpackPluginInstance type BuiltinPlugins = typeof builtinPlugins @@ -86,9 +88,7 @@ interface ILoaderUtils { postcss: LoaderResolver<{ browsers?: Array overrideBrowserslist?: Array - plugins?: - | Array> - | ((loader: Loader) => Array>) + plugins?: Array | ((loader: Loader) => Array) }> file: LoaderResolver @@ -100,8 +100,8 @@ interface ILoaderUtils { dependencies: LoaderResolver miniCssExtract: LoaderResolver - imports: LoaderResolver - exports: LoaderResolver + imports?: LoaderResolver + exports?: LoaderResolver } interface IModuleThatUseGatsby { @@ -310,7 +310,7 @@ export const createWebpackUtils = ( // eslint-disable-next-line @typescript-eslint/explicit-function-return-type postcssOptions: (loaderContext: any) => { // eslint-disable-next-line @typescript-eslint/no-explicit-any - let postCSSPlugins: Array> = [] + let postCSSPlugins: Array = [] if (plugins) { postCSSPlugins = typeof plugins === `function` ? plugins(loaderContext) : plugins @@ -319,9 +319,9 @@ export const createWebpackUtils = ( const autoprefixerPlugin = autoprefixer({ overrideBrowserslist, flexbox: `no-2009`, - ...((postCSSPlugins.find( + ...(((postCSSPlugins.find( plugin => plugin.postcssPlugin === `autoprefixer` - ) as autoprefixer.Autoprefixer)?.options ?? {}), + ) as unknown) as autoprefixer.ExportedAPI)?.options ?? {}), }) postCSSPlugins.unshift(autoprefixerPlugin) @@ -587,7 +587,7 @@ export const createWebpackUtils = ( !isSSR && loaders.miniCssExtract(restOptions), loaders.css({ ...restOptions, importLoaders: 1 }), loaders.postcss({ browsers }), - ].filter(Boolean) + ].filter(Boolean) as RuleSetRule["use"] return { use, @@ -641,7 +641,9 @@ export const createWebpackUtils = ( plugins.minifyJs = ({ terserOptions, ...options - }: { terserOptions?: TerserPlugin.TerserPluginOptions } = {}): Plugin => + }: { + terserOptions?: TerserPlugin.TerserPluginOptions + } = {}): WebpackPluginInstance => new TerserPlugin({ exclude: /\.min\.js/, terserOptions: { @@ -673,56 +675,49 @@ export const createWebpackUtils = ( svgo: { full: true, plugins: [ - { - // potentially destructive plugins removed - see https://github.com/gatsbyjs/gatsby/issues/15629 - // convertShapeToPath: true, - // removeViewBox: true, - removeUselessDefs: true, - addAttributesToSVGElement: true, - addClassesToSVGElement: true, - cleanupAttrs: true, - cleanupEnableBackground: true, - cleanupIDs: true, - cleanupListOfValues: true, - cleanupNumericValues: true, - collapseGroups: true, - convertColors: true, - convertPathData: true, - convertStyleToAttrs: true, - convertTransform: true, - inlineStyles: true, - mergePaths: true, - minifyStyles: true, - moveElemsAttrsToGroup: true, - moveGroupAttrsToElems: true, - prefixIds: true, - removeAttributesBySelector: true, - removeAttrs: true, - removeComments: true, - removeDesc: true, - removeDimensions: true, - removeDoctype: true, - removeEditorsNSData: true, - removeElementsByAttr: true, - removeEmptyAttrs: true, - removeEmptyContainers: true, - removeEmptyText: true, - removeHiddenElems: true, - removeMetadata: true, - removeNonInheritableGroupAttrs: true, - removeOffCanvasPaths: true, - removeRasterImages: true, - removeScriptElement: true, - removeStyleElement: true, - removeTitle: true, - removeUnknownsAndDefaults: true, - removeUnusedNS: true, - removeUselessStrokeAndFill: true, - removeXMLNS: true, - removeXMLProcInst: true, - reusePaths: true, - sortAttrs: true, - }, + // potentially destructive plugins removed - see https://github.com/gatsbyjs/gatsby/issues/15629 + // use correct config format and remove plugins requiring specific params - see https://github.com/gatsbyjs/gatsby/issues/31619 + `removeUselessDefs`, + `cleanupAttrs`, + `cleanupEnableBackground`, + `cleanupIDs`, + `cleanupListOfValues`, + `cleanupNumericValues`, + `collapseGroups`, + `convertColors`, + `convertPathData`, + `convertStyleToAttrs`, + `convertTransform`, + `inlineStyles`, + `mergePaths`, + `minifyStyles`, + `moveElemsAttrsToGroup`, + `moveGroupAttrsToElems`, + `prefixIds`, + `removeAttrs`, + `removeComments`, + `removeDesc`, + `removeDimensions`, + `removeDoctype`, + `removeEditorsNSData`, + `removeEmptyAttrs`, + `removeEmptyContainers`, + `removeEmptyText`, + `removeHiddenElems`, + `removeMetadata`, + `removeNonInheritableGroupAttrs`, + `removeOffCanvasPaths`, + `removeRasterImages`, + `removeScriptElement`, + `removeStyleElement`, + `removeTitle`, + `removeUnknownsAndDefaults`, + `removeUnusedNS`, + `removeUselessStrokeAndFill`, + `removeXMLNS`, + `removeXMLProcInst`, + `reusePaths`, + `sortAttrs`, ], }, }, @@ -735,7 +730,7 @@ export const createWebpackUtils = ( ...options, }) - plugins.fastRefresh = ({ modulesThatUseGatsby }): Plugin => { + plugins.fastRefresh = ({ modulesThatUseGatsby }): WebpackPluginInstance => { const regExpToHack = /node_modules/ regExpToHack.test = (modulePath: string): boolean => { // when it's not coming from node_modules we treat it as a source file. @@ -762,12 +757,13 @@ export const createWebpackUtils = ( }) } - plugins.extractText = (options: any): Plugin => + plugins.extractText = (options: any): WebpackPluginInstance => new MiniCssExtractPlugin({ ...options, }) - plugins.moment = (): Plugin => plugins.ignore(/^\.\/locale$/, /moment$/) + plugins.moment = (): WebpackPluginInstance => + plugins.ignore(/^\.\/locale$/, /moment$/) plugins.extractStats = (): GatsbyWebpackStatsExtractor => new GatsbyWebpackStatsExtractor() @@ -778,7 +774,7 @@ export const createWebpackUtils = ( plugins.virtualModules = (): GatsbyWebpackVirtualModules => new GatsbyWebpackVirtualModules() - plugins.eslint = (schema: GraphQLSchema): Plugin => { + plugins.eslint = (schema: GraphQLSchema): WebpackPluginInstance => { const options = { extensions: [`js`, `jsx`], exclude: [ @@ -792,7 +788,7 @@ export const createWebpackUtils = ( return new ESLintPlugin(options) } - plugins.eslintRequired = (): Plugin => { + plugins.eslintRequired = (): WebpackPluginInstance => { const options = { extensions: [`js`, `jsx`], exclude: [ diff --git a/packages/gatsby/src/utils/webpack/force-css-hmr-for-edge-cases.ts b/packages/gatsby/src/utils/webpack/force-css-hmr-for-edge-cases.ts index 7f6b3257080c3..97ff440442499 100644 --- a/packages/gatsby/src/utils/webpack/force-css-hmr-for-edge-cases.ts +++ b/packages/gatsby/src/utils/webpack/force-css-hmr-for-edge-cases.ts @@ -14,8 +14,8 @@ import { Compiler, Module } from "webpack" */ export class ForceCssHMRForEdgeCases { private name: string - private originalBlankCssHash: string - private blankCssKey: string + private originalBlankCssHash: string | undefined + private blankCssKey: string | undefined private hackCounter = 0 private previouslySeenCss: Set = new Set() @@ -63,6 +63,7 @@ export class ForceCssHMRForEdgeCases { if ( !this.originalBlankCssHash && + // @ts-ignore - exists on NormalModule but not Module module.rawRequest === `./blank.css` ) { this.blankCssKey = key @@ -70,6 +71,7 @@ export class ForceCssHMRForEdgeCases { records.chunkModuleHashes[this.blankCssKey] } + // @ts-ignore - exists on NormalModule but not Module const isUsingMiniCssExtract = module.loaders?.find(loader => loader?.loader?.includes(`mini-css-extract-plugin`) ) diff --git a/packages/gatsby/src/utils/worker/render-html.ts b/packages/gatsby/src/utils/worker/render-html.ts index 6ceb59f0af362..fb9962c5b439c 100644 --- a/packages/gatsby/src/utils/worker/render-html.ts +++ b/packages/gatsby/src/utils/worker/render-html.ts @@ -8,10 +8,6 @@ import { IRenderHtmlResult } from "../../commands/build-html" // we want to force posix-style joins, so Windows doesn't produce backslashes for urls const { join } = path.posix -declare global { - let unsafeBuiltinUsage: Array | undefined -} - /** * Used to track if renderHTMLProd / renderHTMLDev are called within same "session" (from same renderHTMLQueue call). * As long as sessionId remains the same we can rely on memoized/cached resources for templates, css file content for inlining and static query results. @@ -45,7 +41,7 @@ function clearCaches(): void { const getStaticQueryPath = (hash: string): string => join(`page-data`, `sq`, `d`, `${hash}.json`) -const getStaticQueryResult = async (hash: string): any => { +const getStaticQueryResult = async (hash: string): Promise => { const staticQueryPath = getStaticQueryPath(hash) const absoluteStaticQueryPath = join(process.cwd(), `public`, staticQueryPath) const staticQueryRaw = await fs.readFile(absoluteStaticQueryPath) @@ -64,7 +60,7 @@ async function readPageData( return JSON.parse(rawPageData) } -async function readWebpackStats(publicDir: string): any { +async function readWebpackStats(publicDir: string): Promise { const filePath = join(publicDir, `webpack.stats.json`) const rawPageData = await fs.readFile(filePath, `utf-8`) diff --git a/packages/gatsby/src/utils/worker/worker.d.ts b/packages/gatsby/src/utils/worker/worker.d.ts new file mode 100644 index 0000000000000..3601f3cfec52f --- /dev/null +++ b/packages/gatsby/src/utils/worker/worker.d.ts @@ -0,0 +1,5 @@ +declare module NodeJS { + interface Global { + unsafeBuiltinUsage: Array | undefined + } +} diff --git a/packages/gatsby/tsconfig.json b/packages/gatsby/tsconfig.json index 3ad9a20cee4b1..a6faaa7652b8d 100644 --- a/packages/gatsby/tsconfig.json +++ b/packages/gatsby/tsconfig.json @@ -1,5 +1,6 @@ { "extends": "../../tsconfig.json", - // This is for typegen purposes only. For now index.d.ts is manually-created, but gatsby/internal is auto-generated - "include": ["./src/internal.ts"] + // For now index.d.ts is manually-created, but gatsby/internal is auto-generated + "include": ["src/**/*.ts"], + "exclude": ["**/__tests__/**/*"] } diff --git a/yarn.lock b/yarn.lock index bed068271921e..58e5a96992d9a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -152,16 +152,15 @@ resolved "https://registry.yarnpkg.com/@ascorbic/worker-threads-shim/-/worker-threads-shim-1.0.0.tgz#d003ac1f9aacc9d95d8a0e453bce256d7fa99923" integrity sha512-CEvYpC2w2t7tDWgloPA8ETra79cZzi2IdeM0bluTTkvWcnEdLWYStM12ymq2VRE3OMR8OtmKD4l026dUel1d+w== -"@babel/cli@^7.12.1", "@babel/cli@^7.12.17", "@babel/cli@^7.6.4": - version "7.12.17" - resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.12.17.tgz#2db13a0f2ba9c05bed78b8aad9669b473dd7f267" - integrity sha512-R9dQbDshWvAp3x5XjANsfthqka+ToEdDUonKgtALNgzQxgiUg2Xa4ZwKIcE84wnoiobIJFXF+TCM4ylJvUuW5w== +"@babel/cli@^7.14.3": + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/cli/-/cli-7.14.3.tgz#9f6c8aee12e8660df879610f19a8010958b26a6f" + integrity sha512-zU4JLvwk32ay1lhhyGfqiRUSPoltVDjhYkA3aQq8+Yby9z30s/EsFw1EPOHxWG9YZo2pAGfgdRNeHZQAYU5m9A== dependencies: commander "^4.0.1" convert-source-map "^1.1.0" fs-readdir-recursive "^1.1.0" glob "^7.0.0" - lodash "^4.17.19" make-dir "^2.1.0" slash "^2.0.0" source-map "^0.5.0" @@ -190,10 +189,10 @@ dependencies: "@babel/highlight" "^7.12.13" -"@babel/compat-data@^7.11.0", "@babel/compat-data@^7.13.0", "@babel/compat-data@^7.13.8": - version "7.13.8" - resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.13.8.tgz#5b783b9808f15cef71547f1b691f34f8ff6003a6" - integrity sha512-EaI33z19T4qN3xLXsGf48M2cDqa6ei9tPZlfLdb2HC+e/cFtREiRd8hdSqDbwdLB0/+gLwqJmCYASH0z2bUdog== +"@babel/compat-data@^7.13.11", "@babel/compat-data@^7.14.4": + version "7.14.4" + resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.14.4.tgz#45720fe0cecf3fd42019e1d12cc3d27fadc98d58" + integrity sha512-i2wXrWQNkH6JplJQGn3Rd2I4Pij8GdHkXwHMxm+zV5YG/Jci+bCNrWZEWC4o+umiDkRrRs4dVzH3X4GP7vyjQQ== "@babel/core@7.10.5": version "7.10.5" @@ -239,35 +238,56 @@ semver "^5.4.1" source-map "^0.5.0" -"@babel/core@^7.1.0", "@babel/core@^7.1.6", "@babel/core@^7.12.10", "@babel/core@^7.12.17", "@babel/core@^7.12.3", "@babel/core@^7.13.8", "@babel/core@^7.6.4", "@babel/core@^7.7.5": - version "7.13.8" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.13.8.tgz#c191d9c5871788a591d69ea1dc03e5843a3680fb" - integrity sha512-oYapIySGw1zGhEFRd6lzWNLWFX2s5dA/jm+Pw/+59ZdXtjyIuwlXbrId22Md0rgZVop+aVoqow2riXhBLNyuQg== +"@babel/core@7.12.9": + version "7.12.9" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.12.9.tgz#fd450c4ec10cdbb980e2928b7aa7a28484593fc8" + integrity sha512-gTXYh3M5wb7FRXQy+FErKFAv90BnlOuNn1QkCK2lREoPAjrQCO49+HVSrFoe5uakFAF5eenS75KbO2vQiLrTMQ== + dependencies: + "@babel/code-frame" "^7.10.4" + "@babel/generator" "^7.12.5" + "@babel/helper-module-transforms" "^7.12.1" + "@babel/helpers" "^7.12.5" + "@babel/parser" "^7.12.7" + "@babel/template" "^7.12.7" + "@babel/traverse" "^7.12.9" + "@babel/types" "^7.12.7" + convert-source-map "^1.7.0" + debug "^4.1.0" + gensync "^1.0.0-beta.1" + json5 "^2.1.2" + lodash "^4.17.19" + resolve "^1.3.2" + semver "^5.4.1" + source-map "^0.5.0" + +"@babel/core@^7.1.0", "@babel/core@^7.1.6", "@babel/core@^7.12.10", "@babel/core@^7.13.8", "@babel/core@^7.14.3", "@babel/core@^7.7.5": + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.14.3.tgz#5395e30405f0776067fbd9cf0884f15bfb770a38" + integrity sha512-jB5AmTKOCSJIZ72sd78ECEhuPiDMKlQdDI/4QRI6lzYATx5SSogS1oQA2AoPecRCknm30gHi2l+QVvNUu3wZAg== dependencies: "@babel/code-frame" "^7.12.13" - "@babel/generator" "^7.13.0" - "@babel/helper-compilation-targets" "^7.13.8" - "@babel/helper-module-transforms" "^7.13.0" - "@babel/helpers" "^7.13.0" - "@babel/parser" "^7.13.4" + "@babel/generator" "^7.14.3" + "@babel/helper-compilation-targets" "^7.13.16" + "@babel/helper-module-transforms" "^7.14.2" + "@babel/helpers" "^7.14.0" + "@babel/parser" "^7.14.3" "@babel/template" "^7.12.13" - "@babel/traverse" "^7.13.0" - "@babel/types" "^7.13.0" + "@babel/traverse" "^7.14.2" + "@babel/types" "^7.14.2" convert-source-map "^1.7.0" debug "^4.1.0" gensync "^1.0.0-beta.2" json5 "^2.1.2" - lodash "^4.17.19" semver "^6.3.0" source-map "^0.5.0" -"@babel/eslint-parser@^7.13.4", "@babel/eslint-parser@^7.13.8": - version "7.13.8" - resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.13.8.tgz#6f2bde6b0690fcc0598b4869fc7c8e8b55b17687" - integrity sha512-XewKkiyukrGzMeqToXJQk6hjg2veI9SNQElGzAoAjKxYCLbgcVX4KA2WhoyqMon9N4RMdCZhNTJNOBcp9spsiw== +"@babel/eslint-parser@^7.13.8", "@babel/eslint-parser@^7.14.4": + version "7.14.4" + resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.14.4.tgz#73e6996163a2ad48f315a8466b55f57c330cd15c" + integrity sha512-7CTckFLPBGEfCKqlrnJq2PIId3UmJ5hW+D4dsv/VvuA5DapgqyZFCttq+8oeRIJMZQizFIe5gel3xm2SbrqlYA== dependencies: - eslint-scope "5.1.0" - eslint-visitor-keys "^1.3.0" + eslint-scope "^5.1.0" + eslint-visitor-keys "^2.1.0" semver "^6.3.0" "@babel/eslint-plugin@^7.13.0": @@ -286,12 +306,12 @@ jsesc "^2.5.1" source-map "^0.5.0" -"@babel/generator@^7.0.0", "@babel/generator@^7.10.5", "@babel/generator@^7.12.1", "@babel/generator@^7.12.5", "@babel/generator@^7.13.0", "@babel/generator@^7.14.0": - version "7.14.1" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.14.1.tgz#1f99331babd65700183628da186f36f63d615c93" - integrity sha512-TMGhsXMXCP/O1WtQmZjpEYDhCYC9vFhayWZPJSZCGkPJgUqX0rF0wwtrYvnzVxIjcF80tkUertXVk5cwqi5cAQ== +"@babel/generator@^7.0.0", "@babel/generator@^7.10.5", "@babel/generator@^7.12.1", "@babel/generator@^7.12.5", "@babel/generator@^7.14.2", "@babel/generator@^7.14.3": + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.14.3.tgz#0c2652d91f7bddab7cccc6ba8157e4f40dcedb91" + integrity sha512-bn0S6flG/j0xtQdz3hsjJ624h3W0r3llttBMfyHX3YrZ/KtLYr15bjA0FXkgW7FpvrDuTuElXeVjiKlYRpnOFA== dependencies: - "@babel/types" "^7.14.1" + "@babel/types" "^7.14.2" jsesc "^2.5.1" source-map "^0.5.0" @@ -310,25 +330,26 @@ "@babel/helper-explode-assignable-expression" "^7.12.13" "@babel/types" "^7.12.13" -"@babel/helper-compilation-targets@^7.10.4", "@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.13.8": - version "7.13.8" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.8.tgz#02bdb22783439afb11b2f009814bdd88384bd468" - integrity sha512-pBljUGC1y3xKLn1nrx2eAhurLMA8OqBtBP/JwG4U8skN7kf8/aqwwxpV1N6T0e7r6+7uNitIa/fUxPFagSXp3A== +"@babel/helper-compilation-targets@^7.13.0", "@babel/helper-compilation-targets@^7.13.16", "@babel/helper-compilation-targets@^7.14.4": + version "7.14.4" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.14.4.tgz#33ebd0ffc34248051ee2089350a929ab02f2a516" + integrity sha512-JgdzOYZ/qGaKTVkn5qEDV/SXAh8KcyUVkCoSWGN8T3bwrgd6m+/dJa2kVGi6RJYJgEYPBdZ84BZp9dUjNWkBaA== dependencies: - "@babel/compat-data" "^7.13.8" + "@babel/compat-data" "^7.14.4" "@babel/helper-validator-option" "^7.12.17" - browserslist "^4.14.5" + browserslist "^4.16.6" semver "^6.3.0" -"@babel/helper-create-class-features-plugin@^7.12.1", "@babel/helper-create-class-features-plugin@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.13.0.tgz#28d04ad9cfbd1ed1d8b988c9ea7b945263365846" - integrity sha512-twwzhthM4/+6o9766AW2ZBHpIHPSGrPGk1+WfHiu13u/lBnggXGNYCpeAyVfNwGDKfkhEDp+WOD/xafoJ2iLjA== +"@babel/helper-create-class-features-plugin@^7.12.1", "@babel/helper-create-class-features-plugin@^7.13.0", "@babel/helper-create-class-features-plugin@^7.14.0", "@babel/helper-create-class-features-plugin@^7.14.3", "@babel/helper-create-class-features-plugin@^7.14.4": + version "7.14.4" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.14.4.tgz#abf888d836a441abee783c75229279748705dc42" + integrity sha512-idr3pthFlDCpV+p/rMgGLGYIVtazeatrSOQk8YzO2pAepIjQhCN3myeihVg58ax2bbbGK9PUE1reFi7axOYIOw== dependencies: - "@babel/helper-function-name" "^7.12.13" - "@babel/helper-member-expression-to-functions" "^7.13.0" + "@babel/helper-annotate-as-pure" "^7.12.13" + "@babel/helper-function-name" "^7.14.2" + "@babel/helper-member-expression-to-functions" "^7.13.12" "@babel/helper-optimise-call-expression" "^7.12.13" - "@babel/helper-replace-supers" "^7.13.0" + "@babel/helper-replace-supers" "^7.14.4" "@babel/helper-split-export-declaration" "^7.12.13" "@babel/helper-create-regexp-features-plugin@^7.12.13": @@ -339,15 +360,15 @@ "@babel/helper-annotate-as-pure" "^7.12.13" regexpu-core "^4.7.1" -"@babel/helper-define-polyfill-provider@^0.1.0": - version "0.1.0" - resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.1.0.tgz#a9e8a161bb594a6a26ba93f68efd475c935a1727" - integrity sha512-/nX4CQRve5OZsc0FsvkuefeIQFG7GQo2X5GbD/seME7Tu4s2gHuQfXTIKup++/W9K1SWi2dTe7H9zhgJxhn/pA== +"@babel/helper-define-polyfill-provider@^0.2.2": + version "0.2.3" + resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.2.3.tgz#0525edec5094653a282688d34d846e4c75e9c0b6" + integrity sha512-RH3QDAfRMzj7+0Nqu5oqgO5q9mFtQEVvCRsi8qCEfzLR9p2BHfn5FzhSB2oj1fF7I2+DcTORkYaQ6aTR9Cofew== dependencies: - "@babel/helper-compilation-targets" "^7.10.4" - "@babel/helper-module-imports" "^7.10.4" - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/traverse" "^7.11.5" + "@babel/helper-compilation-targets" "^7.13.0" + "@babel/helper-module-imports" "^7.12.13" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/traverse" "^7.13.0" debug "^4.1.1" lodash.debounce "^4.0.8" resolve "^1.14.2" @@ -360,14 +381,14 @@ dependencies: "@babel/types" "^7.13.0" -"@babel/helper-function-name@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.12.13.tgz#93ad656db3c3c2232559fd7b2c3dbdcbe0eb377a" - integrity sha512-TZvmPn0UOqmvi5G4vvw0qZTpVptGkB1GL61R6lKvrSdIxGm5Pky7Q3fpKiIkQCAtRCBUwB0PaThlx9vebCDSwA== +"@babel/helper-function-name@^7.12.13", "@babel/helper-function-name@^7.14.2": + version "7.14.2" + resolved "https://registry.yarnpkg.com/@babel/helper-function-name/-/helper-function-name-7.14.2.tgz#397688b590760b6ef7725b5f0860c82427ebaac2" + integrity sha512-NYZlkZRydxw+YT56IlhIcS8PAhb+FEUiOzuhFTfqDyPmzAhRge6ua0dQYT/Uh0t/EDHq05/i+e5M2d4XvjgarQ== dependencies: "@babel/helper-get-function-arity" "^7.12.13" "@babel/template" "^7.12.13" - "@babel/types" "^7.12.13" + "@babel/types" "^7.14.2" "@babel/helper-get-function-arity@^7.12.13": version "7.12.13" @@ -376,42 +397,41 @@ dependencies: "@babel/types" "^7.12.13" -"@babel/helper-hoist-variables@^7.12.13": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.13.0.tgz#5d5882e855b5c5eda91e0cadc26c6e7a2c8593d8" - integrity sha512-0kBzvXiIKfsCA0y6cFEIJf4OdzfpRuNk4+YTeHZpGGc666SATFKTz6sRncwFnQk7/ugJ4dSrCj6iJuvW4Qwr2g== +"@babel/helper-hoist-variables@^7.13.0": + version "7.13.16" + resolved "https://registry.yarnpkg.com/@babel/helper-hoist-variables/-/helper-hoist-variables-7.13.16.tgz#1b1651249e94b51f8f0d33439843e33e39775b30" + integrity sha512-1eMtTrXtrwscjcAeO4BVK+vvkxaLJSPFz1w1KLawz6HLNi9bPFGBNwwDyVfiu1Tv/vRRFYfoGaKhmAQPGPn5Wg== dependencies: - "@babel/traverse" "^7.13.0" - "@babel/types" "^7.13.0" + "@babel/traverse" "^7.13.15" + "@babel/types" "^7.13.16" -"@babel/helper-member-expression-to-functions@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.13.0.tgz#6aa4bb678e0f8c22f58cdb79451d30494461b091" - integrity sha512-yvRf8Ivk62JwisqV1rFRMxiSMDGnN6KH1/mDMmIrij4jztpQNRoHqqMG3U6apYbGRPJpgPalhva9Yd06HlUxJQ== +"@babel/helper-member-expression-to-functions@^7.13.12": + version "7.13.12" + resolved "https://registry.yarnpkg.com/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.13.12.tgz#dfe368f26d426a07299d8d6513821768216e6d72" + integrity sha512-48ql1CLL59aKbU94Y88Xgb2VFy7a95ykGRbJJaaVv+LX5U8wFpLfiGXJJGUozsmA1oEh/o5Bp60Voq7ACyA/Sw== dependencies: - "@babel/types" "^7.13.0" + "@babel/types" "^7.13.12" -"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.0.0-beta.49", "@babel/helper-module-imports@^7.10.4", "@babel/helper-module-imports@^7.12.1", "@babel/helper-module-imports@^7.12.13", "@babel/helper-module-imports@^7.7.0": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.12.13.tgz#ec67e4404f41750463e455cc3203f6a32e93fcb0" - integrity sha512-NGmfvRp9Rqxy0uHSSVP+SRIW1q31a7Ji10cLBcqSDUngGentY4FRiHOFZFE1CLU5eiL0oE8reH7Tg1y99TDM/g== +"@babel/helper-module-imports@^7.0.0", "@babel/helper-module-imports@^7.0.0-beta.49", "@babel/helper-module-imports@^7.10.4", "@babel/helper-module-imports@^7.12.1", "@babel/helper-module-imports@^7.12.13", "@babel/helper-module-imports@^7.13.12", "@babel/helper-module-imports@^7.7.0": + version "7.13.12" + resolved "https://registry.yarnpkg.com/@babel/helper-module-imports/-/helper-module-imports-7.13.12.tgz#c6a369a6f3621cb25da014078684da9196b61977" + integrity sha512-4cVvR2/1B693IuOvSI20xqqa/+bl7lqAMR59R4iu39R9aOX8/JoYY1sFaNvUMyMBGnHdwvJgUrzNLoUZxXypxA== dependencies: - "@babel/types" "^7.12.13" + "@babel/types" "^7.13.12" -"@babel/helper-module-transforms@^7.10.5", "@babel/helper-module-transforms@^7.12.1", "@babel/helper-module-transforms@^7.12.13", "@babel/helper-module-transforms@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.13.0.tgz#42eb4bd8eea68bab46751212c357bfed8b40f6f1" - integrity sha512-Ls8/VBwH577+pw7Ku1QkUWIyRRNHpYlts7+qSqBBFCW3I8QteB9DxfcZ5YJpOwH6Ihe/wn8ch7fMGOP1OhEIvw== +"@babel/helper-module-transforms@^7.10.5", "@babel/helper-module-transforms@^7.12.1", "@babel/helper-module-transforms@^7.13.0", "@babel/helper-module-transforms@^7.14.0", "@babel/helper-module-transforms@^7.14.2": + version "7.14.2" + resolved "https://registry.yarnpkg.com/@babel/helper-module-transforms/-/helper-module-transforms-7.14.2.tgz#ac1cc30ee47b945e3e0c4db12fa0c5389509dfe5" + integrity sha512-OznJUda/soKXv0XhpvzGWDnml4Qnwp16GN+D/kZIdLsWoHj05kyu8Rm5kXmMef+rVJZ0+4pSGLkeixdqNUATDA== dependencies: - "@babel/helper-module-imports" "^7.12.13" - "@babel/helper-replace-supers" "^7.13.0" - "@babel/helper-simple-access" "^7.12.13" + "@babel/helper-module-imports" "^7.13.12" + "@babel/helper-replace-supers" "^7.13.12" + "@babel/helper-simple-access" "^7.13.12" "@babel/helper-split-export-declaration" "^7.12.13" - "@babel/helper-validator-identifier" "^7.12.11" + "@babel/helper-validator-identifier" "^7.14.0" "@babel/template" "^7.12.13" - "@babel/traverse" "^7.13.0" - "@babel/types" "^7.13.0" - lodash "^4.17.19" + "@babel/traverse" "^7.14.2" + "@babel/types" "^7.14.2" "@babel/helper-optimise-call-expression@^7.12.13": version "7.12.13" @@ -439,22 +459,22 @@ "@babel/helper-wrap-function" "^7.13.0" "@babel/types" "^7.13.0" -"@babel/helper-replace-supers@^7.12.13", "@babel/helper-replace-supers@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.13.0.tgz#6034b7b51943094cb41627848cb219cb02be1d24" - integrity sha512-Segd5me1+Pz+rmN/NFBOplMbZG3SqRJOBlY+mA0SxAv6rjj7zJqr1AVr3SfzUVTLCv7ZLU5FycOM/SBGuLPbZw== +"@babel/helper-replace-supers@^7.12.13", "@babel/helper-replace-supers@^7.13.12", "@babel/helper-replace-supers@^7.14.4": + version "7.14.4" + resolved "https://registry.yarnpkg.com/@babel/helper-replace-supers/-/helper-replace-supers-7.14.4.tgz#b2ab16875deecfff3ddfcd539bc315f72998d836" + integrity sha512-zZ7uHCWlxfEAAOVDYQpEf/uyi1dmeC7fX4nCf2iz9drnCwi1zvwXL3HwWWNXUQEJ1k23yVn3VbddiI9iJEXaTQ== dependencies: - "@babel/helper-member-expression-to-functions" "^7.13.0" + "@babel/helper-member-expression-to-functions" "^7.13.12" "@babel/helper-optimise-call-expression" "^7.12.13" - "@babel/traverse" "^7.13.0" - "@babel/types" "^7.13.0" + "@babel/traverse" "^7.14.2" + "@babel/types" "^7.14.4" -"@babel/helper-simple-access@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.12.13.tgz#8478bcc5cacf6aa1672b251c1d2dde5ccd61a6c4" - integrity sha512-0ski5dyYIHEfwpWGx5GPWhH35j342JaflmCeQmsPWcrOQDtCN6C1zKAVRFVbK53lPW2c9TsuLLSUDf0tIGJ5hA== +"@babel/helper-simple-access@^7.13.12": + version "7.13.12" + resolved "https://registry.yarnpkg.com/@babel/helper-simple-access/-/helper-simple-access-7.13.12.tgz#dd6c538afb61819d205a012c31792a39c7a5eaf6" + integrity sha512-7FEjbrx5SL9cWvXioDbnlYTppcZGuCY6ow3/D5vMggb2Ywgu4dMrpTJX0JdQAIcRRUElOIxF3yEooa9gUb9ZbA== dependencies: - "@babel/types" "^7.12.13" + "@babel/types" "^7.13.12" "@babel/helper-skip-transparent-expression-wrappers@^7.12.1": version "7.12.1" @@ -490,7 +510,7 @@ "@babel/traverse" "^7.13.0" "@babel/types" "^7.13.0" -"@babel/helpers@^7.10.4", "@babel/helpers@^7.12.1", "@babel/helpers@^7.13.0": +"@babel/helpers@^7.10.4", "@babel/helpers@^7.12.1", "@babel/helpers@^7.12.5", "@babel/helpers@^7.14.0": version "7.14.0" resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.14.0.tgz#ea9b6be9478a13d6f961dbb5f36bf75e2f3b8f62" integrity sha512-+ufuXprtQ1D1iZTO/K9+EBRn+qPWMJjZSw/S0KlFrxCw4tkrzv9grgpDHkY9MeQTjTY8i2sp7Jep8DfU6tN9Mg== @@ -508,15 +528,14 @@ chalk "^2.0.0" js-tokens "^4.0.0" -"@babel/node@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/node/-/node-7.13.0.tgz#300ea0f4d516a7586c76797404b951c709bfa821" - integrity sha512-WJcD7YMnTs7qFo45lstvAOR7Sa370sydddnF8JNpD5xen3BwMlhHd0XVVDIB0crYIlSav/W/+dVw+D1wJQUZBQ== +"@babel/node@^7.14.2": + version "7.14.2" + resolved "https://registry.yarnpkg.com/@babel/node/-/node-7.14.2.tgz#d860c10306020d18e3fd0327c63bfaf2dbfc7470" + integrity sha512-QB/C+Kl6gIYpTjZ/hcZj+chkiAVGcgSHuR849cdNvNJBz4VztO2775/o2ge8imB94EAsLcgkrdWH/3+UIVv1TA== dependencies: - "@babel/register" "^7.13.0" + "@babel/register" "^7.13.16" commander "^4.0.1" core-js "^3.2.1" - lodash "^4.17.19" node-environment-flags "^1.0.5" regenerator-runtime "^0.13.4" v8flags "^3.1.1" @@ -526,19 +545,28 @@ resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.12.3.tgz#a305415ebe7a6c7023b40b5122a0662d928334cd" integrity sha512-kFsOS0IbsuhO5ojF8Hc8z/8vEIOkylVBrjiZUbLTE3XFe0Qi+uu6HjzQixkFaqr0ZPAMZcBVxEwmsnsLPZ2Xsw== -"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.1.6", "@babel/parser@^7.10.5", "@babel/parser@^7.12.13", "@babel/parser@^7.12.3", "@babel/parser@^7.12.5", "@babel/parser@^7.13.4", "@babel/parser@^7.14.0", "@babel/parser@^7.3.3": - version "7.14.1" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.1.tgz#1bd644b5db3f5797c4479d89ec1817fe02b84c47" - integrity sha512-muUGEKu8E/ftMTPlNp+mc6zL3E9zKWmF5sDHZ5MSsoTP9Wyz64AhEf9kD08xYJ7w6Hdcu8H550ircnPyWSIF0Q== +"@babel/parser@^7.0.0", "@babel/parser@^7.1.0", "@babel/parser@^7.1.6", "@babel/parser@^7.10.5", "@babel/parser@^7.12.13", "@babel/parser@^7.12.3", "@babel/parser@^7.12.7", "@babel/parser@^7.14.2", "@babel/parser@^7.14.3", "@babel/parser@^7.14.4", "@babel/parser@^7.3.3": + version "7.14.4" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.14.4.tgz#a5c560d6db6cd8e6ed342368dea8039232cbab18" + integrity sha512-ArliyUsWDUqEGfWcmzpGUzNfLxTdTp6WU4IuP6QFSp9gGfWS6boxFCkJSJ/L4+RG8z/FnIU3WxCk6hPL9SSWeA== -"@babel/plugin-proposal-async-generator-functions@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.13.0.tgz#42f4a4922c973ceb70bfd4708daf55601fe25434" - integrity sha512-3Loqr0+jE2/yqp29VnW1YqcWjGnIQwICotlrMfn6+1Ih2MBIbaaIFpJ5fnmYmGSUa9vwMhHOh2rMAqUH7NMWmQ== +"@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@^7.13.12": + version "7.13.12" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining/-/plugin-bugfix-v8-spread-parameters-in-optional-chaining-7.13.12.tgz#a3484d84d0b549f3fc916b99ee4783f26fabad2a" + integrity sha512-d0u3zWKcoZf379fOeJdr1a5WPDny4aOFZ6hlfKivgK0LY7ZxNfoaHL2fWwdGtHyVvra38FC+HVYkO+byfSA8AQ== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-skip-transparent-expression-wrappers" "^7.12.1" + "@babel/plugin-proposal-optional-chaining" "^7.13.12" + +"@babel/plugin-proposal-async-generator-functions@^7.14.2": + version "7.14.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.14.2.tgz#3a2085abbf5d5f962d480dbc81347385ed62eb1e" + integrity sha512-b1AM4F6fwck4N8ItZ/AtC4FP/cqZqmKRQ4FaTDutwSYyjuhtvsGEMLK4N/ztV/ImP40BjIDyMgBQAeAMsQYVFQ== dependencies: "@babel/helper-plugin-utils" "^7.13.0" "@babel/helper-remap-async-to-generator" "^7.13.0" - "@babel/plugin-syntax-async-generators" "^7.8.0" + "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-proposal-class-properties@7.12.1": version "7.12.1" @@ -548,7 +576,7 @@ "@babel/helper-create-class-features-plugin" "^7.12.1" "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-proposal-class-properties@^7.1.0", "@babel/plugin-proposal-class-properties@^7.10.1", "@babel/plugin-proposal-class-properties@^7.12.1", "@babel/plugin-proposal-class-properties@^7.13.0": +"@babel/plugin-proposal-class-properties@^7.1.0", "@babel/plugin-proposal-class-properties@^7.12.1", "@babel/plugin-proposal-class-properties@^7.13.0": version "7.13.0" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.13.0.tgz#146376000b94efd001e57a40a88a525afaab9f37" integrity sha512-KnTDjFNC1g+45ka0myZNvSBFLhNCLN+GeGYLDEA8Oq7MZ6yMgfLoIRh86GRT0FjtJhZw8JyUskP9uvj5pHM9Zg== @@ -556,6 +584,15 @@ "@babel/helper-create-class-features-plugin" "^7.13.0" "@babel/helper-plugin-utils" "^7.13.0" +"@babel/plugin-proposal-class-static-block@^7.14.3": + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-class-static-block/-/plugin-proposal-class-static-block-7.14.3.tgz#5a527e2cae4a4753119c3a3e7f64ecae8ccf1360" + integrity sha512-HEjzp5q+lWSjAgJtSluFDrGGosmwTgKwCXdDQZvhKsRlwv3YdkUEqxNrrjesJd+B9E9zvr1PVPVBvhYZ9msjvQ== + dependencies: + "@babel/helper-create-class-features-plugin" "^7.14.3" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-syntax-class-static-block" "^7.12.13" + "@babel/plugin-proposal-decorators@^7.12.1": version "7.12.12" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.12.12.tgz#067a6d3d6ca86d54cf56bb183239199c20daeafe" @@ -573,13 +610,13 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-do-expressions" "^7.12.1" -"@babel/plugin-proposal-dynamic-import@^7.12.17": - version "7.12.17" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.12.17.tgz#e0ebd8db65acc37eac518fa17bead2174e224512" - integrity sha512-ZNGoFZqrnuy9H2izB2jLlnNDAfVPlGl5NhFEiFe4D84ix9GQGygF+CWMGHKuE+bpyS/AOuDQCnkiRNqW2IzS1Q== +"@babel/plugin-proposal-dynamic-import@^7.14.2": + version "7.14.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.14.2.tgz#01ebabd7c381cff231fa43e302939a9de5be9d9f" + integrity sha512-oxVQZIWFh91vuNEMKltqNsKLFWkOIyJc95k2Gv9lWVyDfPUQGSSlbDEgWuJUU1afGE9WwlzpucMZ3yDRHIItkA== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" - "@babel/plugin-syntax-dynamic-import" "^7.8.0" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" "@babel/plugin-proposal-export-default-from@^7.12.1": version "7.12.1" @@ -589,12 +626,12 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-export-default-from" "^7.12.1" -"@babel/plugin-proposal-export-namespace-from@^7.12.1", "@babel/plugin-proposal-export-namespace-from@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.12.13.tgz#393be47a4acd03fa2af6e3cde9b06e33de1b446d" - integrity sha512-INAgtFo4OnLN3Y/j0VwAgw3HDXcDtX+C/erMvWzuV9v71r7urb6iyMXu7eM9IgLr1ElLlOkaHjJ0SbCmdOQ3Iw== +"@babel/plugin-proposal-export-namespace-from@^7.12.1", "@babel/plugin-proposal-export-namespace-from@^7.14.2": + version "7.14.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.14.2.tgz#62542f94aa9ce8f6dba79eec698af22112253791" + integrity sha512-sRxW3z3Zp3pFfLAgVEvzTFutTXax837oOatUIvSG9o5gRj9mKwm3br1Se5f4QalTQs9x4AzlA/HrCWbQIHASUQ== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-plugin-utils" "^7.13.0" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" "@babel/plugin-proposal-function-bind@^7.12.1": @@ -614,36 +651,36 @@ "@babel/helper-wrap-function" "^7.10.4" "@babel/plugin-syntax-function-sent" "^7.12.1" -"@babel/plugin-proposal-json-strings@^7.12.1", "@babel/plugin-proposal-json-strings@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.12.13.tgz#ced7888a2db92a3d520a2e35eb421fdb7fcc9b5d" - integrity sha512-v9eEi4GiORDg8x+Dmi5r8ibOe0VXoKDeNPYcTTxdGN4eOWikrJfDJCJrr1l5gKGvsNyGJbrfMftC2dTL6oz7pg== +"@babel/plugin-proposal-json-strings@^7.12.1", "@babel/plugin-proposal-json-strings@^7.14.2": + version "7.14.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.14.2.tgz#830b4e2426a782e8b2878fbfe2cba85b70cbf98c" + integrity sha512-w2DtsfXBBJddJacXMBhElGEYqCZQqN99Se1qeYn8DVLB33owlrlLftIbMzn5nz1OITfDVknXF433tBrLEAOEjA== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" - "@babel/plugin-syntax-json-strings" "^7.8.0" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-syntax-json-strings" "^7.8.3" -"@babel/plugin-proposal-logical-assignment-operators@^7.12.1", "@babel/plugin-proposal-logical-assignment-operators@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.12.13.tgz#575b5d9a08d8299eeb4db6430da6e16e5cf14350" - integrity sha512-fqmiD3Lz7jVdK6kabeSr1PZlWSUVqSitmHEe3Z00dtGTKieWnX9beafvavc32kjORa5Bai4QNHgFDwWJP+WtSQ== +"@babel/plugin-proposal-logical-assignment-operators@^7.12.1", "@babel/plugin-proposal-logical-assignment-operators@^7.14.2": + version "7.14.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.14.2.tgz#222348c080a1678e0e74ea63fe76f275882d1fd7" + integrity sha512-1JAZtUrqYyGsS7IDmFeaem+/LJqujfLZ2weLR9ugB0ufUPjzf8cguyVT1g5im7f7RXxuLq1xUxEzvm68uYRtGg== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-plugin-utils" "^7.13.0" "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" -"@babel/plugin-proposal-nullish-coalescing-operator@^7.1.0", "@babel/plugin-proposal-nullish-coalescing-operator@^7.12.1", "@babel/plugin-proposal-nullish-coalescing-operator@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.13.0.tgz#1a96fdf2c43109cfe5568513c5379015a23f5380" - integrity sha512-UkAvFA/9+lBBL015gjA68NvKiCReNxqFLm3SdNKaM3XXoDisA7tMAIX4PmIwatFoFqMxxT3WyG9sK3MO0Kting== +"@babel/plugin-proposal-nullish-coalescing-operator@^7.1.0", "@babel/plugin-proposal-nullish-coalescing-operator@^7.12.1", "@babel/plugin-proposal-nullish-coalescing-operator@^7.14.2": + version "7.14.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.14.2.tgz#425b11dc62fc26939a2ab42cbba680bdf5734546" + integrity sha512-ebR0zU9OvI2N4qiAC38KIAK75KItpIPTpAtd2r4OZmMFeKbKJpUFLYP2EuDut82+BmYi8sz42B+TfTptJ9iG5Q== dependencies: "@babel/helper-plugin-utils" "^7.13.0" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" -"@babel/plugin-proposal-numeric-separator@^7.12.1", "@babel/plugin-proposal-numeric-separator@^7.12.13", "@babel/plugin-proposal-numeric-separator@^7.12.5": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.12.13.tgz#bd9da3188e787b5120b4f9d465a8261ce67ed1db" - integrity sha512-O1jFia9R8BUCl3ZGB7eitaAPu62TXJRHn7rh+ojNERCFyqRwJMTmhz+tJ+k0CwI6CLjX/ee4qW74FSqlq9I35w== +"@babel/plugin-proposal-numeric-separator@^7.12.1", "@babel/plugin-proposal-numeric-separator@^7.14.2": + version "7.14.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.14.2.tgz#82b4cc06571143faf50626104b335dd71baa4f9e" + integrity sha512-DcTQY9syxu9BpU3Uo94fjCB3LN9/hgPS8oUL7KrSW3bA2ePrKZZPJcc5y0hoJAM9dft3pGfErtEUvxXQcfLxUg== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-plugin-utils" "^7.13.0" "@babel/plugin-syntax-numeric-separator" "^7.10.4" "@babel/plugin-proposal-object-rest-spread@7.10.4": @@ -655,31 +692,42 @@ "@babel/plugin-syntax-object-rest-spread" "^7.8.0" "@babel/plugin-transform-parameters" "^7.10.4" -"@babel/plugin-proposal-object-rest-spread@^7.12.1", "@babel/plugin-proposal-object-rest-spread@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.13.0.tgz#8f19ad247bb96bd5ad2d4107e6eddfe0a789937b" - integrity sha512-B4qphdSTp0nLsWcuei07JPKeZej4+Hd22MdnulJXQa1nCcGSBlk8FiqenGERaPZ+PuYhz4Li2Wjc8yfJvHgUMw== +"@babel/plugin-proposal-object-rest-spread@7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.12.1.tgz#def9bd03cea0f9b72283dac0ec22d289c7691069" + integrity sha512-s6SowJIjzlhx8o7lsFx5zmY4At6CTtDvgNQDdPzkBQucle58A6b/TTeEBYtyDgmcXjUTM+vE8YOGHZzzbc/ioA== dependencies: - "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-object-rest-spread" "^7.8.0" - "@babel/plugin-transform-parameters" "^7.13.0" + "@babel/plugin-transform-parameters" "^7.12.1" -"@babel/plugin-proposal-optional-catch-binding@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.12.13.tgz#4640520afe57728af14b4d1574ba844f263bcae5" - integrity sha512-9+MIm6msl9sHWg58NvqpNpLtuFbmpFYk37x8kgnGzAHvX35E1FyAwSUt5hIkSoWJFSAH+iwU8bJ4fcD1zKXOzg== +"@babel/plugin-proposal-object-rest-spread@^7.14.4": + version "7.14.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.14.4.tgz#0e2b4de419915dc0b409378e829412e2031777c4" + integrity sha512-AYosOWBlyyXEagrPRfLJ1enStufsr7D1+ddpj8OLi9k7B6+NdZ0t/9V7Fh+wJ4g2Jol8z2JkgczYqtWrZd4vbA== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" + "@babel/compat-data" "^7.14.4" + "@babel/helper-compilation-targets" "^7.14.4" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-transform-parameters" "^7.14.2" -"@babel/plugin-proposal-optional-chaining@^7.1.0", "@babel/plugin-proposal-optional-chaining@^7.12.1", "@babel/plugin-proposal-optional-chaining@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.13.0.tgz#75b41ce0d883d19e8fe635fc3f846be3b1664f4d" - integrity sha512-OVRQOZEBP2luZrvEbNSX5FfWDousthhdEoAOpej+Tpe58HFLvqRClT89RauIvBuCDFEip7GW1eT86/5lMy2RNA== +"@babel/plugin-proposal-optional-catch-binding@^7.14.2": + version "7.14.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.14.2.tgz#150d4e58e525b16a9a1431bd5326c4eed870d717" + integrity sha512-XtkJsmJtBaUbOxZsNk0Fvrv8eiqgneug0A6aqLFZ4TSkar2L5dSXWcnUKHgmjJt49pyB/6ZHvkr3dPgl9MOWRQ== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + +"@babel/plugin-proposal-optional-chaining@^7.1.0", "@babel/plugin-proposal-optional-chaining@^7.12.1", "@babel/plugin-proposal-optional-chaining@^7.13.12", "@babel/plugin-proposal-optional-chaining@^7.14.2": + version "7.14.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.14.2.tgz#df8171a8b9c43ebf4c1dabe6311b432d83e1b34e" + integrity sha512-qQByMRPwMZJainfig10BoaDldx/+VDtNcrA7qdNaEOAj6VXud+gfrkA8j4CRAU5HjnWREXqIpSpH30qZX1xivA== dependencies: "@babel/helper-plugin-utils" "^7.13.0" "@babel/helper-skip-transparent-expression-wrappers" "^7.12.1" - "@babel/plugin-syntax-optional-chaining" "^7.8.0" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" "@babel/plugin-proposal-pipeline-operator@^7.12.1": version "7.12.1" @@ -689,7 +737,7 @@ "@babel/helper-plugin-utils" "^7.10.4" "@babel/plugin-syntax-pipeline-operator" "^7.12.1" -"@babel/plugin-proposal-private-methods@^7.10.1", "@babel/plugin-proposal-private-methods@^7.12.1", "@babel/plugin-proposal-private-methods@^7.13.0": +"@babel/plugin-proposal-private-methods@^7.12.1", "@babel/plugin-proposal-private-methods@^7.13.0": version "7.13.0" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.13.0.tgz#04bd4c6d40f6e6bbfa2f57e2d8094bad900ef787" integrity sha512-MXyyKQd9inhx1kDYPkFRVOBXQ20ES8Pto3T7UZ92xj2mY0EVD8oAVzeyYuVfy/mxAdTSIayOvg+aVzcHV2bn6Q== @@ -697,6 +745,16 @@ "@babel/helper-create-class-features-plugin" "^7.13.0" "@babel/helper-plugin-utils" "^7.13.0" +"@babel/plugin-proposal-private-property-in-object@^7.14.0": + version "7.14.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-private-property-in-object/-/plugin-proposal-private-property-in-object-7.14.0.tgz#b1a1f2030586b9d3489cc26179d2eb5883277636" + integrity sha512-59ANdmEwwRUkLjB7CRtwJxxwtjESw+X2IePItA+RGQh+oy5RmpCh/EvVVvh5XQc3yxsm5gtv0+i9oBZhaDNVTg== + dependencies: + "@babel/helper-annotate-as-pure" "^7.12.13" + "@babel/helper-create-class-features-plugin" "^7.14.0" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-syntax-private-property-in-object" "^7.14.0" + "@babel/plugin-proposal-throw-expressions@^7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-throw-expressions/-/plugin-proposal-throw-expressions-7.12.1.tgz#5adf4abc7f349a2da532e663b36251f6017c4279" @@ -713,7 +771,7 @@ "@babel/helper-create-regexp-features-plugin" "^7.12.13" "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-syntax-async-generators@^7.8.0", "@babel/plugin-syntax-async-generators@^7.8.4": +"@babel/plugin-syntax-async-generators@^7.8.4": version "7.8.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz#a983fb1aeb2ec3f6ed042a210f640e90e786fe0d" integrity sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw== @@ -734,6 +792,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.12.13" +"@babel/plugin-syntax-class-static-block@^7.12.13": + version "7.12.13" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.12.13.tgz#8e3d674b0613e67975ceac2776c97b60cafc5c9c" + integrity sha512-ZmKQ0ZXR0nYpHZIIuj9zE7oIqCx2hw9TKi+lIo73NNrMPAZGHfS92/VRV0ZmPj6H2ffBgyFHXvJ5NYsNeEaP2A== + dependencies: + "@babel/helper-plugin-utils" "^7.12.13" + "@babel/plugin-syntax-decorators@^7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.12.1.tgz#81a8b535b284476c41be6de06853a8802b98c5dd" @@ -748,7 +813,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-dynamic-import@^7.8.0", "@babel/plugin-syntax-dynamic-import@^7.8.3": +"@babel/plugin-syntax-dynamic-import@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz#62bf98b2da3cd21d626154fc96ee5b3cb68eacb3" integrity sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ== @@ -797,7 +862,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-json-strings@^7.8.0", "@babel/plugin-syntax-json-strings@^7.8.3": +"@babel/plugin-syntax-json-strings@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz#01ca21b668cd8218c9e640cb6dd88c5412b2c96a" integrity sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA== @@ -811,6 +876,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" +"@babel/plugin-syntax-jsx@7.12.1": + version "7.12.1" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.12.1.tgz#9d9d357cc818aa7ae7935917c1257f67677a0926" + integrity sha512-1yRi7yAtB0ETgxdY9ti/p2TivUxJkTdhu/ZbF9MshVGqOx1TdB3b7xCXs49Fupgg50N45KcAsRP/ZqWjs9SRjg== + dependencies: + "@babel/helper-plugin-utils" "^7.10.4" + "@babel/plugin-syntax-jsx@^7.12.1", "@babel/plugin-syntax-jsx@^7.12.13", "@babel/plugin-syntax-jsx@^7.2.0": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.12.13.tgz#044fb81ebad6698fe62c478875575bcbb9b70f15" @@ -825,7 +897,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.0", "@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": +"@babel/plugin-syntax-nullish-coalescing-operator@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz#167ed70368886081f74b5c36c65a88c03b66d1a9" integrity sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ== @@ -839,21 +911,21 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-syntax-object-rest-spread@^7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.8.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3": +"@babel/plugin-syntax-object-rest-spread@7.8.3", "@babel/plugin-syntax-object-rest-spread@^7.0.0", "@babel/plugin-syntax-object-rest-spread@^7.8.0", "@babel/plugin-syntax-object-rest-spread@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz#60e225edcbd98a640332a2e72dd3e66f1af55871" integrity sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-catch-binding@^7.8.0", "@babel/plugin-syntax-optional-catch-binding@^7.8.3": +"@babel/plugin-syntax-optional-catch-binding@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz#6111a265bcfb020eb9efd0fdfd7d26402b9ed6c1" integrity sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q== dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-optional-chaining@^7.8.0", "@babel/plugin-syntax-optional-chaining@^7.8.3": +"@babel/plugin-syntax-optional-chaining@^7.8.3": version "7.8.3" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz#4f69c2ab95167e0180cd5336613f8c5788f7d48a" integrity sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg== @@ -867,6 +939,13 @@ dependencies: "@babel/helper-plugin-utils" "^7.10.4" +"@babel/plugin-syntax-private-property-in-object@^7.14.0": + version "7.14.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.0.tgz#762a4babec61176fec6c88480dec40372b140c0b" + integrity sha512-bda3xF8wGl5/5btF794utNOL0Jw+9jE5C1sLZcoK7c4uonE/y3iQiyG+KbkF3WBV/paX58VCpjhxLPkdj5Fe4w== + dependencies: + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/plugin-syntax-throw-expressions@^7.12.1": version "7.12.1" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-throw-expressions/-/plugin-syntax-throw-expressions-7.12.1.tgz#ff90a57ac599ba685a99274c86604d878c945094" @@ -881,7 +960,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-syntax-typescript@^7.12.1", "@babel/plugin-syntax-typescript@^7.12.13": +"@babel/plugin-syntax-typescript@^7.12.13": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.12.13.tgz#9dff111ca64154cef0f4dc52cf843d9f12ce4474" integrity sha512-cHP3u1JiUiG2LFDKbXnwVad81GvfyIOmCD6HIEId6ojrY0Drfy2q1jw7BwN7dE84+kTnBjLkXoL3IEy/3JPu2w== @@ -911,23 +990,23 @@ dependencies: "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-transform-block-scoping@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.12.13.tgz#f36e55076d06f41dfd78557ea039c1b581642e61" - integrity sha512-Pxwe0iqWJX4fOOM2kEZeUuAxHMWb9nK+9oh5d11bsLoB0xMg+mkDpt0eYuDZB7ETrY9bbcVlKUGTOGWy7BHsMQ== +"@babel/plugin-transform-block-scoping@^7.14.4": + version "7.14.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.14.4.tgz#caf140b0b2e2462c509553d140e6d0abefb61ed8" + integrity sha512-5KdpkGxsZlTk+fPleDtGKsA+pon28+ptYmMO8GBSa5fHERCJWAzj50uAfCKBqq42HO+Zot6JF1x37CRprwmN4g== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-plugin-utils" "^7.13.0" -"@babel/plugin-transform-classes@^7.12.1", "@babel/plugin-transform-classes@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.13.0.tgz#0265155075c42918bf4d3a4053134176ad9b533b" - integrity sha512-9BtHCPUARyVH1oXGcSJD3YpsqRLROJx5ZNP6tN5vnk17N0SVf9WCtf8Nuh1CFmgByKKAIMstitKduoCmsaDK5g== +"@babel/plugin-transform-classes@^7.14.4": + version "7.14.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.14.4.tgz#a83c15503fc71a0f99e876fdce7dadbc6575ec3a" + integrity sha512-p73t31SIj6y94RDVX57rafVjttNr8MvKEgs5YFatNB/xC68zM3pyosuOEcQmYsYlyQaGY9R7rAULVRcat5FKJQ== dependencies: "@babel/helper-annotate-as-pure" "^7.12.13" - "@babel/helper-function-name" "^7.12.13" + "@babel/helper-function-name" "^7.14.2" "@babel/helper-optimise-call-expression" "^7.12.13" "@babel/helper-plugin-utils" "^7.13.0" - "@babel/helper-replace-supers" "^7.13.0" + "@babel/helper-replace-supers" "^7.14.4" "@babel/helper-split-export-declaration" "^7.12.13" globals "^11.1.0" @@ -938,10 +1017,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.13.0" -"@babel/plugin-transform-destructuring@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.13.0.tgz#c5dce270014d4e1ebb1d806116694c12b7028963" - integrity sha512-zym5em7tePoNT9s964c0/KU3JPPnuq7VhIxPRefJ4/s82cD+q1mgKfuGRDMCPL0HTyKz4dISuQlCusfgCJ86HA== +"@babel/plugin-transform-destructuring@^7.14.4": + version "7.14.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.14.4.tgz#acbec502e9951f30f4441eaca1d2f29efade59ed" + integrity sha512-JyywKreTCGTUsL1OKu1A3ms/R1sTP0WxbpXlALeGzF53eB3bxtNkYdMj9SDgK7g6ImPy76J5oYYKoTtQImlhQA== dependencies: "@babel/helper-plugin-utils" "^7.13.0" @@ -968,7 +1047,7 @@ "@babel/helper-builder-binary-assignment-operator-visitor" "^7.12.13" "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-transform-flow-strip-types@^7.12.1", "@babel/plugin-transform-flow-strip-types@^7.12.10": +"@babel/plugin-transform-flow-strip-types@^7.12.10", "@babel/plugin-transform-flow-strip-types@^7.13.0": version "7.13.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.13.0.tgz#58177a48c209971e8234e99906cb6bd1122addd3" integrity sha512-EXAGFMJgSX8gxWD7PZtW/P6M+z74jpx3wm/+9pn+c2dOawPpBkUX7BrfyPvo6ZpXbgRIEuwgwDb/MGlKvu2pOg== @@ -1005,42 +1084,42 @@ dependencies: "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-transform-modules-amd@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.13.0.tgz#19f511d60e3d8753cc5a6d4e775d3a5184866cc3" - integrity sha512-EKy/E2NHhY/6Vw5d1k3rgoobftcNUmp9fGjb9XZwQLtTctsRBOTRO7RHHxfIky1ogMN5BxN7p9uMA3SzPfotMQ== +"@babel/plugin-transform-modules-amd@^7.14.2": + version "7.14.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.14.2.tgz#6622806fe1a7c07a1388444222ef9535f2ca17b0" + integrity sha512-hPC6XBswt8P3G2D1tSV2HzdKvkqOpmbyoy+g73JG0qlF/qx2y3KaMmXb1fLrpmWGLZYA0ojCvaHdzFWjlmV+Pw== dependencies: - "@babel/helper-module-transforms" "^7.13.0" + "@babel/helper-module-transforms" "^7.14.2" "@babel/helper-plugin-utils" "^7.13.0" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-commonjs@^7.1.0", "@babel/plugin-transform-modules-commonjs@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.13.0.tgz#276932693a20d12c9776093fdc99c0d9995e34c6" - integrity sha512-j7397PkIB4lcn25U2dClK6VLC6pr2s3q+wbE8R3vJvY6U1UTBBj0n6F+5v6+Fd/UwfDPAorMOs2TV+T4M+owpQ== +"@babel/plugin-transform-modules-commonjs@^7.1.0", "@babel/plugin-transform-modules-commonjs@^7.14.0": + version "7.14.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.14.0.tgz#52bc199cb581e0992edba0f0f80356467587f161" + integrity sha512-EX4QePlsTaRZQmw9BsoPeyh5OCtRGIhwfLquhxGp5e32w+dyL8htOcDwamlitmNFK6xBZYlygjdye9dbd9rUlQ== dependencies: - "@babel/helper-module-transforms" "^7.13.0" + "@babel/helper-module-transforms" "^7.14.0" "@babel/helper-plugin-utils" "^7.13.0" - "@babel/helper-simple-access" "^7.12.13" + "@babel/helper-simple-access" "^7.13.12" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-systemjs@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.12.13.tgz#351937f392c7f07493fc79b2118201d50404a3c5" - integrity sha512-aHfVjhZ8QekaNF/5aNdStCGzwTbU7SI5hUybBKlMzqIMC7w7Ho8hx5a4R/DkTHfRfLwHGGxSpFt9BfxKCoXKoA== +"@babel/plugin-transform-modules-systemjs@^7.13.8": + version "7.13.8" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.13.8.tgz#6d066ee2bff3c7b3d60bf28dec169ad993831ae3" + integrity sha512-hwqctPYjhM6cWvVIlOIe27jCIBgHCsdH2xCJVAYQm7V5yTMoilbVMi9f6wKg0rpQAOn6ZG4AOyvCqFF/hUh6+A== dependencies: - "@babel/helper-hoist-variables" "^7.12.13" - "@babel/helper-module-transforms" "^7.12.13" - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-hoist-variables" "^7.13.0" + "@babel/helper-module-transforms" "^7.13.0" + "@babel/helper-plugin-utils" "^7.13.0" "@babel/helper-validator-identifier" "^7.12.11" babel-plugin-dynamic-import-node "^2.3.3" -"@babel/plugin-transform-modules-umd@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.13.0.tgz#8a3d96a97d199705b9fd021580082af81c06e70b" - integrity sha512-D/ILzAh6uyvkWjKKyFE/W0FzWwasv6vPTSqPcjxFqn6QpX3u8DjRVliq4F2BamO2Wee/om06Vyy+vPkNrd4wxw== +"@babel/plugin-transform-modules-umd@^7.14.0": + version "7.14.0" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.14.0.tgz#2f8179d1bbc9263665ce4a65f305526b2ea8ac34" + integrity sha512-nPZdnWtXXeY7I87UZr9VlsWme3Y0cfFFE41Wbxz4bbaexAjNMInXPFUpRRUJ8NoMm0Cw+zxbqjdPmLhcjfazMw== dependencies: - "@babel/helper-module-transforms" "^7.13.0" + "@babel/helper-module-transforms" "^7.14.0" "@babel/helper-plugin-utils" "^7.13.0" "@babel/plugin-transform-named-capturing-groups-regex@^7.12.13": @@ -1065,10 +1144,10 @@ "@babel/helper-plugin-utils" "^7.12.13" "@babel/helper-replace-supers" "^7.12.13" -"@babel/plugin-transform-parameters@^7.10.4", "@babel/plugin-transform-parameters@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.13.0.tgz#8fa7603e3097f9c0b7ca1a4821bc2fb52e9e5007" - integrity sha512-Jt8k/h/mIwE2JFEOb3lURoY5C85ETcYPnbuAJ96zRBzh1XHtQZfs62ChZ6EP22QlC8c7Xqr9q+e1SU5qttwwjw== +"@babel/plugin-transform-parameters@^7.10.4", "@babel/plugin-transform-parameters@^7.12.1", "@babel/plugin-transform-parameters@^7.14.2": + version "7.14.2" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.14.2.tgz#e4290f72e0e9e831000d066427c4667098decc31" + integrity sha512-NxoVmA3APNCC1JdMXkdYXuQS+EMdqy0vIwyDHeKHiJKRxmp1qGSdb0JLEIoPRhkx6H/8Qi3RJ3uqOCYw8giy9A== dependencies: "@babel/helper-plugin-utils" "^7.13.0" @@ -1086,23 +1165,23 @@ dependencies: "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-transform-react-jsx-development@^7.12.12": +"@babel/plugin-transform-react-jsx-development@^7.12.17": version "7.12.17" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.12.17.tgz#f510c0fa7cd7234153539f9a362ced41a5ca1447" integrity sha512-BPjYV86SVuOaudFhsJR1zjgxxOhJDt6JHNoD48DxWEIxUCAMjV1ys6DYw4SDYZh0b1QsS2vfIA9t/ZsQGsDOUQ== dependencies: "@babel/plugin-transform-react-jsx" "^7.12.17" -"@babel/plugin-transform-react-jsx@^7.12.1", "@babel/plugin-transform-react-jsx@^7.12.11", "@babel/plugin-transform-react-jsx@^7.12.13", "@babel/plugin-transform-react-jsx@^7.12.17", "@babel/plugin-transform-react-jsx@^7.12.5": - version "7.12.17" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.12.17.tgz#dd2c1299f5e26de584939892de3cfc1807a38f24" - integrity sha512-mwaVNcXV+l6qJOuRhpdTEj8sT/Z0owAVWf9QujTZ0d2ye9X/K+MTOTSizcgKOj18PGnTc/7g1I4+cIUjsKhBcw== +"@babel/plugin-transform-react-jsx@^7.12.1", "@babel/plugin-transform-react-jsx@^7.12.11", "@babel/plugin-transform-react-jsx@^7.12.17", "@babel/plugin-transform-react-jsx@^7.13.12", "@babel/plugin-transform-react-jsx@^7.14.3": + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.14.3.tgz#0e26597805cf0862da735f264550933c38babb66" + integrity sha512-uuxuoUNVhdgYzERiHHFkE4dWoJx+UFVyuAl0aqN8P2/AKFHwqgUC5w2+4/PjpKXJsFgBlYAFXlUmDQ3k3DUkXw== dependencies: "@babel/helper-annotate-as-pure" "^7.12.13" - "@babel/helper-module-imports" "^7.12.13" - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-module-imports" "^7.13.12" + "@babel/helper-plugin-utils" "^7.13.0" "@babel/plugin-syntax-jsx" "^7.12.13" - "@babel/types" "^7.12.17" + "@babel/types" "^7.14.2" "@babel/plugin-transform-react-pure-annotations@^7.12.1": version "7.12.1" @@ -1112,10 +1191,10 @@ "@babel/helper-annotate-as-pure" "^7.10.4" "@babel/helper-plugin-utils" "^7.10.4" -"@babel/plugin-transform-regenerator@^7.12.1", "@babel/plugin-transform-regenerator@^7.12.13": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.12.13.tgz#b628bcc9c85260ac1aeb05b45bde25210194a2f5" - integrity sha512-lxb2ZAvSLyJ2PEe47hoGWPmW22v7CtSl9jW8mingV4H2sEX/JOcrAj2nPuGWi56ERUm2bUpjKzONAuT6HCn2EA== +"@babel/plugin-transform-regenerator@^7.12.1", "@babel/plugin-transform-regenerator@^7.13.15": + version "7.13.15" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.13.15.tgz#e5eb28945bf8b6563e7f818945f966a8d2997f39" + integrity sha512-Bk9cOLSz8DiurcMETZ8E2YtIVJbFCPGW28DJWUakmyVWtQSm6Wsf0p4B4BfEr/eL2Nkhe/CICiUiMOCi1TPhuQ== dependencies: regenerator-transform "^0.14.2" @@ -1126,15 +1205,17 @@ dependencies: "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-transform-runtime@^7.12.1": - version "7.12.1" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.12.1.tgz#04b792057eb460389ff6a4198e377614ea1e7ba5" - integrity sha512-Ac/H6G9FEIkS2tXsZjL4RAdS3L3WHxci0usAnz7laPWUmFiGtj7tIASChqKZMHTSQTQY6xDbOq+V1/vIq3QrWg== +"@babel/plugin-transform-runtime@^7.14.3": + version "7.14.3" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.14.3.tgz#1fd885a2d0de1d3c223795a4e9be72c2db4515cf" + integrity sha512-t960xbi8wpTFE623ef7sd+UpEC5T6EEguQlTBJDEO05+XwnIWVfuqLw/vdLWY6IdFmtZE+65CZAfByT39zRpkg== dependencies: - "@babel/helper-module-imports" "^7.12.1" - "@babel/helper-plugin-utils" "^7.10.4" - resolve "^1.8.1" - semver "^5.5.1" + "@babel/helper-module-imports" "^7.13.12" + "@babel/helper-plugin-utils" "^7.13.0" + babel-plugin-polyfill-corejs2 "^0.2.0" + babel-plugin-polyfill-corejs3 "^0.2.0" + babel-plugin-polyfill-regenerator "^0.2.0" + semver "^6.3.0" "@babel/plugin-transform-shorthand-properties@^7.12.13": version "7.12.13" @@ -1143,7 +1224,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-transform-spread@^7.12.1", "@babel/plugin-transform-spread@^7.13.0": +"@babel/plugin-transform-spread@^7.13.0": version "7.13.0" resolved "https://registry.yarnpkg.com/@babel/plugin-transform-spread/-/plugin-transform-spread-7.13.0.tgz#84887710e273c1815ace7ae459f6f42a5d31d5fd" integrity sha512-V6vkiXijjzYeFmQTr3dBxPtZYLPcUfY34DebOU27jIl2M/Y8Egm52Hw82CSjjPqd54GTlJs5x+CR7HeNr24ckg== @@ -1172,12 +1253,12 @@ dependencies: "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-transform-typescript@^7.12.1", "@babel/plugin-transform-typescript@^7.13.0": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.13.0.tgz#4a498e1f3600342d2a9e61f60131018f55774853" - integrity sha512-elQEwluzaU8R8dbVuW2Q2Y8Nznf7hnjM7+DSCd14Lo5fF63C9qNLbwZYbmZrtV9/ySpSUpkRpQXvJb6xyu4hCQ== +"@babel/plugin-transform-typescript@^7.13.0", "@babel/plugin-transform-typescript@^7.14.4": + version "7.14.4" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.14.4.tgz#1c48829fa6d5f2de646060cd08abb6cda4b521a7" + integrity sha512-WYdcGNEO7mCCZ2XzRlxwGj3PgeAr50ifkofOUC/+IN/GzKLB+biDPVBUAQN2C/dVZTvEXCp80kfQ1FFZPrwykQ== dependencies: - "@babel/helper-create-class-features-plugin" "^7.13.0" + "@babel/helper-create-class-features-plugin" "^7.14.4" "@babel/helper-plugin-utils" "^7.13.0" "@babel/plugin-syntax-typescript" "^7.12.13" @@ -1204,47 +1285,52 @@ core-js "^2.6.5" regenerator-runtime "^0.13.2" -"@babel/preset-env@^7.12.1", "@babel/preset-env@^7.12.11": - version "7.13.0" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.13.0.tgz#6ecc3daf63627792ec03d1076dbb54b4928a9e0d" - integrity sha512-UeU4bHlskjdwqNnaiBEYTXbL7dtuUDtOOkcS2c64wR2UqwUMzlRsvxoKQtsVJR579dS3Wmxnb7HRc9U5mSzQhA== +"@babel/preset-env@^7.12.1", "@babel/preset-env@^7.12.11", "@babel/preset-env@^7.14.4": + version "7.14.4" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.14.4.tgz#73fc3228c59727e5e974319156f304f0d6685a2d" + integrity sha512-GwMMsuAnDtULyOtuxHhzzuSRxFeP0aR/LNzrHRzP8y6AgDNgqnrfCCBm/1cRdTU75tRs28Eh76poHLcg9VF0LA== dependencies: - "@babel/compat-data" "^7.13.0" - "@babel/helper-compilation-targets" "^7.13.0" + "@babel/compat-data" "^7.14.4" + "@babel/helper-compilation-targets" "^7.14.4" "@babel/helper-plugin-utils" "^7.13.0" "@babel/helper-validator-option" "^7.12.17" - "@babel/plugin-proposal-async-generator-functions" "^7.13.0" + "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.13.12" + "@babel/plugin-proposal-async-generator-functions" "^7.14.2" "@babel/plugin-proposal-class-properties" "^7.13.0" - "@babel/plugin-proposal-dynamic-import" "^7.12.17" - "@babel/plugin-proposal-export-namespace-from" "^7.12.13" - "@babel/plugin-proposal-json-strings" "^7.12.13" - "@babel/plugin-proposal-logical-assignment-operators" "^7.12.13" - "@babel/plugin-proposal-nullish-coalescing-operator" "^7.13.0" - "@babel/plugin-proposal-numeric-separator" "^7.12.13" - "@babel/plugin-proposal-object-rest-spread" "^7.13.0" - "@babel/plugin-proposal-optional-catch-binding" "^7.12.13" - "@babel/plugin-proposal-optional-chaining" "^7.13.0" + "@babel/plugin-proposal-class-static-block" "^7.14.3" + "@babel/plugin-proposal-dynamic-import" "^7.14.2" + "@babel/plugin-proposal-export-namespace-from" "^7.14.2" + "@babel/plugin-proposal-json-strings" "^7.14.2" + "@babel/plugin-proposal-logical-assignment-operators" "^7.14.2" + "@babel/plugin-proposal-nullish-coalescing-operator" "^7.14.2" + "@babel/plugin-proposal-numeric-separator" "^7.14.2" + "@babel/plugin-proposal-object-rest-spread" "^7.14.4" + "@babel/plugin-proposal-optional-catch-binding" "^7.14.2" + "@babel/plugin-proposal-optional-chaining" "^7.14.2" "@babel/plugin-proposal-private-methods" "^7.13.0" + "@babel/plugin-proposal-private-property-in-object" "^7.14.0" "@babel/plugin-proposal-unicode-property-regex" "^7.12.13" - "@babel/plugin-syntax-async-generators" "^7.8.0" + "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-syntax-class-properties" "^7.12.13" - "@babel/plugin-syntax-dynamic-import" "^7.8.0" + "@babel/plugin-syntax-class-static-block" "^7.12.13" + "@babel/plugin-syntax-dynamic-import" "^7.8.3" "@babel/plugin-syntax-export-namespace-from" "^7.8.3" - "@babel/plugin-syntax-json-strings" "^7.8.0" + "@babel/plugin-syntax-json-strings" "^7.8.3" "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" - "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.0" + "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" "@babel/plugin-syntax-numeric-separator" "^7.10.4" - "@babel/plugin-syntax-object-rest-spread" "^7.8.0" - "@babel/plugin-syntax-optional-catch-binding" "^7.8.0" - "@babel/plugin-syntax-optional-chaining" "^7.8.0" + "@babel/plugin-syntax-object-rest-spread" "^7.8.3" + "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" + "@babel/plugin-syntax-optional-chaining" "^7.8.3" + "@babel/plugin-syntax-private-property-in-object" "^7.14.0" "@babel/plugin-syntax-top-level-await" "^7.12.13" "@babel/plugin-transform-arrow-functions" "^7.13.0" "@babel/plugin-transform-async-to-generator" "^7.13.0" "@babel/plugin-transform-block-scoped-functions" "^7.12.13" - "@babel/plugin-transform-block-scoping" "^7.12.13" - "@babel/plugin-transform-classes" "^7.13.0" + "@babel/plugin-transform-block-scoping" "^7.14.4" + "@babel/plugin-transform-classes" "^7.14.4" "@babel/plugin-transform-computed-properties" "^7.13.0" - "@babel/plugin-transform-destructuring" "^7.13.0" + "@babel/plugin-transform-destructuring" "^7.14.4" "@babel/plugin-transform-dotall-regex" "^7.12.13" "@babel/plugin-transform-duplicate-keys" "^7.12.13" "@babel/plugin-transform-exponentiation-operator" "^7.12.13" @@ -1252,16 +1338,16 @@ "@babel/plugin-transform-function-name" "^7.12.13" "@babel/plugin-transform-literals" "^7.12.13" "@babel/plugin-transform-member-expression-literals" "^7.12.13" - "@babel/plugin-transform-modules-amd" "^7.13.0" - "@babel/plugin-transform-modules-commonjs" "^7.13.0" - "@babel/plugin-transform-modules-systemjs" "^7.12.13" - "@babel/plugin-transform-modules-umd" "^7.13.0" + "@babel/plugin-transform-modules-amd" "^7.14.2" + "@babel/plugin-transform-modules-commonjs" "^7.14.0" + "@babel/plugin-transform-modules-systemjs" "^7.13.8" + "@babel/plugin-transform-modules-umd" "^7.14.0" "@babel/plugin-transform-named-capturing-groups-regex" "^7.12.13" "@babel/plugin-transform-new-target" "^7.12.13" "@babel/plugin-transform-object-super" "^7.12.13" - "@babel/plugin-transform-parameters" "^7.13.0" + "@babel/plugin-transform-parameters" "^7.14.2" "@babel/plugin-transform-property-literals" "^7.12.13" - "@babel/plugin-transform-regenerator" "^7.12.13" + "@babel/plugin-transform-regenerator" "^7.13.15" "@babel/plugin-transform-reserved-words" "^7.12.13" "@babel/plugin-transform-shorthand-properties" "^7.12.13" "@babel/plugin-transform-spread" "^7.13.0" @@ -1270,26 +1356,27 @@ "@babel/plugin-transform-typeof-symbol" "^7.12.13" "@babel/plugin-transform-unicode-escapes" "^7.12.13" "@babel/plugin-transform-unicode-regex" "^7.12.13" - "@babel/preset-modules" "^0.1.3" - "@babel/types" "^7.13.0" - babel-plugin-polyfill-corejs2 "^0.1.2" - babel-plugin-polyfill-corejs3 "^0.1.2" - babel-plugin-polyfill-regenerator "^0.1.1" + "@babel/preset-modules" "^0.1.4" + "@babel/types" "^7.14.4" + babel-plugin-polyfill-corejs2 "^0.2.0" + babel-plugin-polyfill-corejs3 "^0.2.0" + babel-plugin-polyfill-regenerator "^0.2.0" core-js-compat "^3.9.0" - semver "7.0.0" + semver "^6.3.0" -"@babel/preset-flow@^7.0.0", "@babel/preset-flow@^7.12.1", "@babel/preset-flow@^7.9.0": - version "7.12.1" - resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.12.1.tgz#1a81d376c5a9549e75352a3888f8c273455ae940" - integrity sha512-UAoyMdioAhM6H99qPoKvpHMzxmNVXno8GYU/7vZmGaHk6/KqfDYL1W0NxszVbJ2EP271b7e6Ox+Vk2A9QsB3Sw== +"@babel/preset-flow@^7.0.0", "@babel/preset-flow@^7.12.1", "@babel/preset-flow@^7.13.13", "@babel/preset-flow@^7.9.0": + version "7.13.13" + resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.13.13.tgz#a61a1c149b3f77589d795287744393444d5cdd9e" + integrity sha512-MDtwtamMifqq3R2mC7l3A3uFalUb3NH5TIBQWjN/epEPlZktcLq4se3J+ivckKrLMGsR7H9LW8+pYuIUN9tsKg== dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-transform-flow-strip-types" "^7.12.1" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-validator-option" "^7.12.17" + "@babel/plugin-transform-flow-strip-types" "^7.13.0" -"@babel/preset-modules@^0.1.3": - version "0.1.3" - resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.3.tgz#13242b53b5ef8c883c3cf7dddd55b36ce80fbc72" - integrity sha512-Ra3JXOHBq2xd56xSF7lMKXdjBn3T772Y1Wet3yWnkDly9zHvJki029tAFzvAAK5cf4YV3yoxuP61crYRol6SVg== +"@babel/preset-modules@^0.1.4": + version "0.1.4" + resolved "https://registry.yarnpkg.com/@babel/preset-modules/-/preset-modules-0.1.4.tgz#362f2b68c662842970fdb5e254ffc8fc1c2e415e" + integrity sha512-J36NhwnfdzpmH41M1DrnkkgAqhZaqr/NBdPfQ677mLzlaXo+oDiv1deyCDtgAhz8p328otdob0Du7+xgHGZbKg== dependencies: "@babel/helper-plugin-utils" "^7.0.0" "@babel/plugin-proposal-unicode-property-regex" "^7.4.4" @@ -1297,15 +1384,16 @@ "@babel/types" "^7.4.4" esutils "^2.0.2" -"@babel/preset-react@^7.12.10", "@babel/preset-react@^7.12.5", "@babel/preset-react@^7.9.4": - version "7.12.13" - resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.12.13.tgz#5f911b2eb24277fa686820d5bd81cad9a0602a0a" - integrity sha512-TYM0V9z6Abb6dj1K7i5NrEhA13oS5ujUYQYDfqIBXYHOc2c2VkFgc+q9kyssIyUfy4/hEwqrgSlJ/Qgv8zJLsA== +"@babel/preset-react@^7.12.10", "@babel/preset-react@^7.13.13", "@babel/preset-react@^7.9.4": + version "7.13.13" + resolved "https://registry.yarnpkg.com/@babel/preset-react/-/preset-react-7.13.13.tgz#fa6895a96c50763fe693f9148568458d5a839761" + integrity sha512-gx+tDLIE06sRjKJkVtpZ/t3mzCDOnPG+ggHZG9lffUbX8+wC739x20YQc9V35Do6ZAxaUc/HhVHIiOzz5MvDmA== dependencies: - "@babel/helper-plugin-utils" "^7.12.13" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-validator-option" "^7.12.17" "@babel/plugin-transform-react-display-name" "^7.12.13" - "@babel/plugin-transform-react-jsx" "^7.12.13" - "@babel/plugin-transform-react-jsx-development" "^7.12.12" + "@babel/plugin-transform-react-jsx" "^7.13.12" + "@babel/plugin-transform-react-jsx-development" "^7.12.17" "@babel/plugin-transform-react-pure-annotations" "^7.12.1" "@babel/preset-stage-0@^7.8.3": @@ -1313,21 +1401,22 @@ resolved "https://registry.yarnpkg.com/@babel/preset-stage-0/-/preset-stage-0-7.8.3.tgz#b6a0eca1a3b72e07f9caf58f998e97568028f6f5" integrity sha512-+l6FlG1j73t4wh78W41StbcCz0/9a1/y+vxfnjtHl060kSmcgMfGzK9MEkLvrCOXfhp9RCX+d88sm6rOqxEIEQ== -"@babel/preset-typescript@^7.1.0", "@babel/preset-typescript@^7.12.1": - version "7.12.1" - resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.12.1.tgz#86480b483bb97f75036e8864fe404cc782cc311b" - integrity sha512-hNK/DhmoJPsksdHuI/RVrcEws7GN5eamhi28JkO52MqIxU8Z0QpmiSOQxZHWOHV7I3P4UjHV97ay4TcamMA6Kw== +"@babel/preset-typescript@^7.1.0", "@babel/preset-typescript@^7.13.0": + version "7.13.0" + resolved "https://registry.yarnpkg.com/@babel/preset-typescript/-/preset-typescript-7.13.0.tgz#ab107e5f050609d806fbb039bec553b33462c60a" + integrity sha512-LXJwxrHy0N3f6gIJlYbLta1D9BDtHpQeqwzM0LIfjDlr6UE/D5Mc7W4iDiQzaE+ks0sTjT26ArcHWnJVt0QiHw== dependencies: - "@babel/helper-plugin-utils" "^7.10.4" - "@babel/plugin-transform-typescript" "^7.12.1" + "@babel/helper-plugin-utils" "^7.13.0" + "@babel/helper-validator-option" "^7.12.17" + "@babel/plugin-transform-typescript" "^7.13.0" -"@babel/register@^7.0.0", "@babel/register@^7.13.0": - version "7.13.8" - resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.13.8.tgz#d9051dc6820cb4e86375cc0e2d55a4862b31184f" - integrity sha512-yCVtABcmvQjRsX2elcZFUV5Q5kDDpHdtXKKku22hNDma60lYuhKmtp1ykZ/okRCPLT2bR5S+cA1kvtBdAFlDTQ== +"@babel/register@^7.0.0", "@babel/register@^7.13.16": + version "7.13.16" + resolved "https://registry.yarnpkg.com/@babel/register/-/register-7.13.16.tgz#ae3ab0b55c8ec28763877383c454f01521d9a53d" + integrity sha512-dh2t11ysujTwByQjXNgJ48QZ2zcXKQVdV8s0TbeMI0flmtGWCdTwK9tJiACHXPLmncm5+ktNn/diojA45JE4jg== dependencies: + clone-deep "^4.0.1" find-cache-dir "^2.0.0" - lodash "^4.17.19" make-dir "^2.1.0" pirates "^4.0.0" source-map-support "^0.5.16" @@ -1340,19 +1429,19 @@ core-js-pure "^3.0.0" regenerator-runtime "^0.13.4" -"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.10.5", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.13.9", "@babel/runtime@^7.3.4", "@babel/runtime@^7.5.5", "@babel/runtime@^7.6.3", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2": - version "7.13.9" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.13.9.tgz#97dbe2116e2630c489f22e0656decd60aaa1fcee" - integrity sha512-aY2kU+xgJ3dJ1eU6FMB9EH8dIe8dmusF1xEku52joLvw6eAFN0AI+WxCLDnpev2LEejWBAy2sBvBOBAjI3zmvA== +"@babel/runtime@^7.0.0", "@babel/runtime@^7.1.2", "@babel/runtime@^7.10.0", "@babel/runtime@^7.10.2", "@babel/runtime@^7.10.5", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.13.9", "@babel/runtime@^7.14.0", "@babel/runtime@^7.3.4", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2": + version "7.14.0" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.14.0.tgz#46794bc20b612c5f75e62dd071e24dfd95f1cbe6" + integrity sha512-JELkvo/DlpNdJ7dlyw/eY7E0suy5i5GQH+Vlxaq1nsNJ+H7f4Vtv3jMeCEgRhZZQFXTjldYfQgv2qmM6M1v5wA== dependencies: regenerator-runtime "^0.13.4" -"@babel/standalone@^7.12.6": - version "7.12.6" - resolved "https://registry.yarnpkg.com/@babel/standalone/-/standalone-7.12.6.tgz#fa59cf6f1cea940a790179f1375394ab31f025b9" - integrity sha512-yA/OV3jN1nhr0JsAdYWAqbeZ7cAOw/6Fh52rxVMzujr0HF4Z3cau0JBzJfQppFfR9IArrUtcqhBu/+Q/IevoyQ== +"@babel/standalone@^7.14.4": + version "7.14.4" + resolved "https://registry.yarnpkg.com/@babel/standalone/-/standalone-7.14.4.tgz#b50522a9119bea33f0d8e13e7f7d51274fad0530" + integrity sha512-oBvBtSdACtNeH2YAg2kyZhfbqfKQK7lgudfHo8IC03JiBrfuvvMlfkBaSrqxrpf9DmUCZJnDZH3uLNVN5QoXog== -"@babel/template@^7.0.0", "@babel/template@^7.10.4", "@babel/template@^7.12.13", "@babel/template@^7.3.3": +"@babel/template@^7.0.0", "@babel/template@^7.10.4", "@babel/template@^7.12.13", "@babel/template@^7.12.7", "@babel/template@^7.3.3": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.12.13.tgz#530265be8a2589dbb37523844c5bcb55947fb327" integrity sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA== @@ -1361,24 +1450,24 @@ "@babel/parser" "^7.12.13" "@babel/types" "^7.12.13" -"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.10.5", "@babel/traverse@^7.11.5", "@babel/traverse@^7.12.1", "@babel/traverse@^7.12.5", "@babel/traverse@^7.13.0", "@babel/traverse@^7.14.0": - version "7.14.0" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.14.0.tgz#cea0dc8ae7e2b1dec65f512f39f3483e8cc95aef" - integrity sha512-dZ/a371EE5XNhTHomvtuLTUyx6UEoJmYX+DT5zBCQN3McHemsuIaKKYqsc/fs26BEkHs/lBZy0J571LP5z9kQA== +"@babel/traverse@^7.0.0", "@babel/traverse@^7.1.0", "@babel/traverse@^7.10.5", "@babel/traverse@^7.12.1", "@babel/traverse@^7.12.9", "@babel/traverse@^7.13.0", "@babel/traverse@^7.13.15", "@babel/traverse@^7.14.0", "@babel/traverse@^7.14.2": + version "7.14.2" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.14.2.tgz#9201a8d912723a831c2679c7ebbf2fe1416d765b" + integrity sha512-TsdRgvBFHMyHOOzcP9S6QU0QQtjxlRpEYOy3mcCO5RgmC305ki42aSAmfZEMSSYBla2oZ9BMqYlncBaKmD/7iA== dependencies: "@babel/code-frame" "^7.12.13" - "@babel/generator" "^7.14.0" - "@babel/helper-function-name" "^7.12.13" + "@babel/generator" "^7.14.2" + "@babel/helper-function-name" "^7.14.2" "@babel/helper-split-export-declaration" "^7.12.13" - "@babel/parser" "^7.14.0" - "@babel/types" "^7.14.0" + "@babel/parser" "^7.14.2" + "@babel/types" "^7.14.2" debug "^4.1.0" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.0.0-beta.49", "@babel/types@^7.10.5", "@babel/types@^7.12.1", "@babel/types@^7.12.13", "@babel/types@^7.12.17", "@babel/types@^7.12.6", "@babel/types@^7.13.0", "@babel/types@^7.14.0", "@babel/types@^7.14.1", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": - version "7.14.1" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.14.1.tgz#095bd12f1c08ab63eff6e8f7745fa7c9cc15a9db" - integrity sha512-S13Qe85fzLs3gYRUnrpyeIrBJIMYv33qSTg1qoBwiG6nPKwUWAD9odSzWhEedpwOIzSEI6gbdQIWEMiCI42iBA== +"@babel/types@^7.0.0", "@babel/types@^7.0.0-beta.49", "@babel/types@^7.10.5", "@babel/types@^7.12.1", "@babel/types@^7.12.13", "@babel/types@^7.12.7", "@babel/types@^7.13.0", "@babel/types@^7.13.12", "@babel/types@^7.13.16", "@babel/types@^7.14.0", "@babel/types@^7.14.2", "@babel/types@^7.14.4", "@babel/types@^7.3.0", "@babel/types@^7.3.3", "@babel/types@^7.4.4": + version "7.14.4" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.14.4.tgz#bfd6980108168593b38b3eb48a24aa026b919bc0" + integrity sha512-lCj4aIs0xUefJFQnwwQv2Bxg7Omd6bgquZ6LGC+gGMh6/s5qDVfjuCMlDmYQ15SLsWHd9n+X3E75lKIhl5Lkiw== dependencies: "@babel/helper-validator-identifier" "^7.14.0" to-fast-properties "^2.0.0" @@ -3304,7 +3393,7 @@ npmlog "^4.1.2" write-file-atomic "^2.3.0" -"@mdx-js/mdx@2.0.0-next.9", "@mdx-js/mdx@^1.6.16", "@mdx-js/mdx@^2.0.0-next.3", "@mdx-js/mdx@^2.0.0-next.4": +"@mdx-js/mdx@2.0.0-next.9", "@mdx-js/mdx@^2.0.0-next.4": version "2.0.0-next.9" resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-2.0.0-next.9.tgz#6af5bf5d975ceccd11d31b4b7f180b2205c7bcfa" integrity sha512-6i7iLIPApiCdvp4T6n3dI5IqDOvcNx4M3DUJ+AG6xj/NTssJcf5r3Gl4i3Q2tqJp0JAj6bWQ3IOLAefF18Y48g== @@ -3323,12 +3412,42 @@ unified "^9.2.0" unist-builder "^2.0.0" -"@mdx-js/react@2.0.0-next.9", "@mdx-js/react@^1.0.0", "@mdx-js/react@^1.5.2", "@mdx-js/react@^1.6.16", "@mdx-js/react@^2.0.0-next.3", "@mdx-js/react@^2.0.0-next.4": +"@mdx-js/mdx@^1.6.16": + version "1.6.22" + resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-1.6.22.tgz#8a723157bf90e78f17dc0f27995398e6c731f1ba" + integrity sha512-AMxuLxPz2j5/6TpF/XSdKpQP1NlG0z11dFOlq+2IP/lSgl11GY8ji6S/rgsViN/L0BDvHvUMruRb7ub+24LUYA== + dependencies: + "@babel/core" "7.12.9" + "@babel/plugin-syntax-jsx" "7.12.1" + "@babel/plugin-syntax-object-rest-spread" "7.8.3" + "@mdx-js/util" "1.6.22" + babel-plugin-apply-mdx-type-prop "1.6.22" + babel-plugin-extract-import-names "1.6.22" + camelcase-css "2.0.1" + detab "2.0.4" + hast-util-raw "6.0.1" + lodash.uniq "4.5.0" + mdast-util-to-hast "10.0.1" + remark-footnotes "2.0.0" + remark-mdx "1.6.22" + remark-parse "8.0.3" + remark-squeeze-paragraphs "4.0.0" + style-to-object "0.3.0" + unified "9.2.0" + unist-builder "2.0.3" + unist-util-visit "2.0.3" + +"@mdx-js/react@2.0.0-next.9", "@mdx-js/react@^2.0.0-next.4": version "2.0.0-next.9" resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-2.0.0-next.9.tgz#a269c2e2ecd86490e664fef789ae0d795e6ee509" integrity sha512-ZHEwW79zXQrII6ZSaIDgxd80IDRB6Zg/2N1IivQ62j4qlAZd78rbbAc0BQKwADYpuFg96g0pFbuZ7/+vl1gR6A== -"@mdx-js/runtime@^2.0.0-next.3", "@mdx-js/runtime@^2.0.0-next.4": +"@mdx-js/react@^1.0.0", "@mdx-js/react@^1.5.2", "@mdx-js/react@^1.6.16": + version "1.6.22" + resolved "https://registry.yarnpkg.com/@mdx-js/react/-/react-1.6.22.tgz#ae09b4744fddc74714ee9f9d6f17a66e77c43573" + integrity sha512-TDoPum4SHdfPiGSAaRBw7ECyI8VaHpK8GJugbJIJuqyh6kzw9ZLJZW3HGL3NNrJGxcAixUvqROm+YuQOo5eXtg== + +"@mdx-js/runtime@^2.0.0-next.4": version "2.0.0-next.9" resolved "https://registry.yarnpkg.com/@mdx-js/runtime/-/runtime-2.0.0-next.9.tgz#9acea9d10f225ded9ef4175c9b9a5c6f6c48620b" integrity sha512-a4vhOaq74T0ZZyAsENj1oNAvAZr1hg11QkTogFG40H9vVvehfTDM2/zOt5/zHegP6inWIngUZbI1YWyoM07H3w== @@ -3337,6 +3456,11 @@ "@mdx-js/react" "2.0.0-next.9" buble-jsx-only "^0.19.8" +"@mdx-js/util@1.6.22": + version "1.6.22" + resolved "https://registry.yarnpkg.com/@mdx-js/util/-/util-1.6.22.tgz#219dfd89ae5b97a8801f015323ffa4b62f45718b" + integrity sha512-H1rQc1ZOHANWBvPcW+JpGwr+juXSxM8Q8YCkm3GhZd8REu1fHR3z99CErO1p9pkcfcxZnMdIZdIsXkOHY0NilA== + "@mdx-js/util@2.0.0-next.1": version "2.0.0-next.1" resolved "https://registry.yarnpkg.com/@mdx-js/util/-/util-2.0.0-next.1.tgz#b17a046ed5cb1b13e75b29740504ec53a7e0b016" @@ -3909,7 +4033,7 @@ dependencies: object-assign "^4.1.1" -"@styled-system/css@^5.0.0", "@styled-system/css@^5.0.16", "@styled-system/css@^5.1.5": +"@styled-system/css@^5.0.0", "@styled-system/css@^5.1.5": version "5.1.5" resolved "https://registry.yarnpkg.com/@styled-system/css/-/css-5.1.5.tgz#0460d5f3ff962fa649ea128ef58d9584f403bbbc" integrity sha512-XkORZdS5kypzcBotAMPBoeckDs9aSZVkvrAlq5K3xP8IMAUek+x2O4NtwoSgkYkWWzVBu6DGdFZLR790QWGG+A== @@ -4581,20 +4705,20 @@ "@types/node" "*" form-data "^3.0.0" -"@types/node@*", "@types/node@>= 8", "@types/node@^14.10.2", "@types/node@^14.14.10", "@types/node@^14.14.5": - version "14.14.31" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.31.tgz#72286bd33d137aa0d152d47ec7c1762563d34055" - integrity sha512-vFHy/ezP5qI0rFgJ7aQnjDXwAMrG0KqqIH7tQG5PPv3BWBayOPIQNBjVc/P6hhdZfMx51REc6tfDNXHUio893g== +"@types/node@*", "@types/node@>= 8", "@types/node@^15.0.1": + version "15.0.1" + resolved "https://registry.yarnpkg.com/@types/node/-/node-15.0.1.tgz#ef34dea0881028d11398be5bf4e856743e3dc35a" + integrity sha512-TMkXt0Ck1y0KKsGr9gJtWGjttxlZnnvDtphxUOSd0bfaR6Q1jle+sPvrzNR1urqYTWMinoKvjKfXUGsumaO1PA== "@types/node@^12.20.6": version "12.20.6" resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.6.tgz#7b73cce37352936e628c5ba40326193443cfba25" integrity sha512-sRVq8d+ApGslmkE9e3i+D3gFGk7aZHAT+G4cIpIEdLJYPsWiSPwcAnJEjddLQQDqV3Ra2jOclX/Sv6YrvGYiWA== -"@types/node@^15.0.1": - version "15.0.1" - resolved "https://registry.yarnpkg.com/@types/node/-/node-15.0.1.tgz#ef34dea0881028d11398be5bf4e856743e3dc35a" - integrity sha512-TMkXt0Ck1y0KKsGr9gJtWGjttxlZnnvDtphxUOSd0bfaR6Q1jle+sPvrzNR1urqYTWMinoKvjKfXUGsumaO1PA== +"@types/node@^14.10.2", "@types/node@^14.14.10", "@types/node@^14.14.5": + version "14.14.31" + resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.31.tgz#72286bd33d137aa0d152d47ec7c1762563d34055" + integrity sha512-vFHy/ezP5qI0rFgJ7aQnjDXwAMrG0KqqIH7tQG5PPv3BWBayOPIQNBjVc/P6hhdZfMx51REc6tfDNXHUio893g== "@types/node@^8.5.7": version "8.10.59" @@ -6476,6 +6600,14 @@ babel-plugin-add-module-exports@^1.0.4: resolved "https://registry.yarnpkg.com/babel-plugin-add-module-exports/-/babel-plugin-add-module-exports-1.0.4.tgz#6caa4ddbe1f578c6a5264d4d3e6c8a2720a7ca2b" integrity sha512-g+8yxHUZ60RcyaUpfNzy56OtWW+x9cyEe9j+CranqLiqbju2yf/Cy6ZtYK40EZxtrdHllzlVZgLmcOUCTlJ7Jg== +babel-plugin-apply-mdx-type-prop@1.6.22: + version "1.6.22" + resolved "https://registry.yarnpkg.com/babel-plugin-apply-mdx-type-prop/-/babel-plugin-apply-mdx-type-prop-1.6.22.tgz#d216e8fd0de91de3f1478ef3231e05446bc8705b" + integrity sha512-VefL+8o+F/DfK24lPZMtJctrCVOfgbqLAGZSkxwhazQv4VxPg3Za/i40fu22KR2m8eEda+IfSOlPLUSIiLcnCQ== + dependencies: + "@babel/helper-plugin-utils" "7.10.4" + "@mdx-js/util" "1.6.22" + babel-plugin-codegen@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/babel-plugin-codegen/-/babel-plugin-codegen-4.0.1.tgz#bf234c5fb31d8477bc1484f00d920bae163fa268" @@ -6513,6 +6645,13 @@ babel-plugin-emotion@^10.0.27: find-root "^1.1.0" source-map "^0.5.7" +babel-plugin-extract-import-names@1.6.22: + version "1.6.22" + resolved "https://registry.yarnpkg.com/babel-plugin-extract-import-names/-/babel-plugin-extract-import-names-1.6.22.tgz#de5f9a28eb12f3eb2578bf74472204e66d1a13dc" + integrity sha512-yJ9BsJaISua7d8zNT7oRG1ZLBJCIdZ4PZqmH8qa9N5AK01ifk3fnkc98AXhtzE7UkfCsEumvoQWgoYLhOnJ7jQ== + dependencies: + "@babel/helper-plugin-utils" "7.10.4" + babel-plugin-import-globals@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/babel-plugin-import-globals/-/babel-plugin-import-globals-2.0.0.tgz#fd2527fe9764abfc373ddc903bb6ab596b771cb1" @@ -6610,29 +6749,29 @@ babel-plugin-module-resolver@4.0.0: reselect "^4.0.0" resolve "^1.13.1" -babel-plugin-polyfill-corejs2@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.1.2.tgz#3e5e7ef339dd84ca34c6a20605e6d4ef62aba3b1" - integrity sha512-sSGAKN95gTnXjg3RtGI9QBW/xSqXy5fo2Bt+W5WkhconIO+QxuDZChyjZYiY90xE3MQRI1k73Dh/HAe86cWf8A== +babel-plugin-polyfill-corejs2@^0.2.0: + version "0.2.2" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.2.2.tgz#e9124785e6fd94f94b618a7954e5693053bf5327" + integrity sha512-kISrENsJ0z5dNPq5eRvcctITNHYXWOA4DUZRFYCz3jYCcvTb/A546LIddmoGNMVYg2U38OyFeNosQwI9ENTqIQ== dependencies: - "@babel/compat-data" "^7.11.0" - "@babel/helper-define-polyfill-provider" "^0.1.0" + "@babel/compat-data" "^7.13.11" + "@babel/helper-define-polyfill-provider" "^0.2.2" semver "^6.1.1" -babel-plugin-polyfill-corejs3@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.1.2.tgz#39b0d46744360738237bd54052af852c84d74ebf" - integrity sha512-7neRvPKcdvZ4X9IpYBCmT+ceVUKC1idX7DJN5sRtiPP9d0ABD6k5x/QvXTiz/9wMp86FBDX6Gz0g7WQY2lRfgw== +babel-plugin-polyfill-corejs3@^0.2.0: + version "0.2.2" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.2.2.tgz#7424a1682ee44baec817327710b1b094e5f8f7f5" + integrity sha512-l1Cf8PKk12eEk5QP/NQ6TH8A1pee6wWDJ96WjxrMXFLHLOBFzYM4moG80HFgduVhTqAFez4alnZKEhP/bYHg0A== dependencies: - "@babel/helper-define-polyfill-provider" "^0.1.0" - core-js-compat "^3.8.1" + "@babel/helper-define-polyfill-provider" "^0.2.2" + core-js-compat "^3.9.1" -babel-plugin-polyfill-regenerator@^0.1.1: - version "0.1.1" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.1.1.tgz#3b9b907d1554747ff131bd5c6da81713e342db73" - integrity sha512-QZlnPDLX2JEXP8RQGeP4owNxRKUAqHD+rdlyRHV8ENeCcI9ni2qT9IzxT9jYW1aZrxCgehD31LztlMaA68zoqQ== +babel-plugin-polyfill-regenerator@^0.2.0: + version "0.2.2" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.2.2.tgz#b310c8d642acada348c1fa3b3e6ce0e851bee077" + integrity sha512-Goy5ghsc21HgPDFtzRkSirpZVW35meGoTmTOb2bxqdl60ghub4xOidgNTHaZfQ2FaxQsKmwvXtOAkcIS4SMBWg== dependencies: - "@babel/helper-define-polyfill-provider" "^0.1.0" + "@babel/helper-define-polyfill-provider" "^0.2.2" babel-plugin-preval@^3.0.0: version "3.0.1" @@ -7215,7 +7354,7 @@ browserslist@4.14.2: escalade "^3.0.2" node-releases "^1.1.61" -browserslist@^4.0.0, browserslist@^4.12.2, browserslist@^4.13.0, browserslist@^4.14.5, browserslist@^4.16.0, browserslist@^4.16.3: +browserslist@^4.0.0, browserslist@^4.12.2, browserslist@^4.13.0, browserslist@^4.14.5, browserslist@^4.16.0, browserslist@^4.16.3, browserslist@^4.16.6: version "4.16.6" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.16.6.tgz#d7901277a5a88e554ed305b183ec9b0c08f66fa2" integrity sha512-Wspk/PqO+4W9qp5iUTJsa1B/QrYn1keNCcEP5OvP7WBwT4KaDly0uONYmC6Xa3Z5IqnUgS0KcgLYu1l74x0ZXQ== @@ -7566,7 +7705,7 @@ camel-case@4.1.2, camel-case@^4.1.1: pascal-case "^3.1.2" tslib "^2.0.3" -camelcase-css@^2.0.1: +camelcase-css@2.0.1, camelcase-css@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/camelcase-css/-/camelcase-css-2.0.1.tgz#ee978f6947914cc30c6b44741b6ed1df7f043fd5" integrity sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA== @@ -8827,7 +8966,7 @@ copyfiles@^2.3.0: through2 "^2.0.1" yargs "^15.3.1" -core-js-compat@3.9.0, core-js-compat@^3.8.1, core-js-compat@^3.9.0: +core-js-compat@3.9.0: version "3.9.0" resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.9.0.tgz#29da39385f16b71e1915565aa0385c4e0963ad56" integrity sha512-YK6fwFjCOKWwGnjFUR3c544YsnA/7DoLL0ysncuOJ4pwbriAtOpvM2bygdlcXbvQCQZ7bBU9CL4t7tGl7ETRpQ== @@ -8835,6 +8974,14 @@ core-js-compat@3.9.0, core-js-compat@^3.8.1, core-js-compat@^3.9.0: browserslist "^4.16.3" semver "7.0.0" +core-js-compat@^3.9.0, core-js-compat@^3.9.1: + version "3.13.1" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.13.1.tgz#05444caa8f153be0c67db03cf8adb8ec0964e58e" + integrity sha512-mdrcxc0WznfRd8ZicEZh1qVeJ2mu6bwQFh8YVUK48friy/FOwFV5EJj9/dlh+nMQ74YusdVfBFDuomKgUspxWQ== + dependencies: + browserslist "^4.16.6" + semver "7.0.0" + core-js-pure@^3.0.0: version "3.6.4" resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.6.4.tgz#4bf1ba866e25814f149d4e9aaa08c36173506e3a" @@ -9498,16 +9645,11 @@ cssstyle@^2.0.0, cssstyle@^2.3.0: dependencies: cssom "~0.3.6" -csstype@^2.5.7, csstype@^2.6.14, csstype@^2.6.4, csstype@^2.6.9: +csstype@2.6.17, csstype@^2.5.7, csstype@^2.6.14, csstype@^2.6.4, csstype@^2.6.9, csstype@^3.0.2: version "2.6.17" resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.17.tgz#4cf30eb87e1d1a005d8b6510f95292413f6a1c0e" integrity sha512-u1wmTI1jJGzCJzWndZo8mk4wnPTZd1eOIYTYvuEyOQGfmDl3TrabCCfKnOC86FZwW/9djqTl933UF/cS425i9A== -csstype@^3.0.2: - version "3.0.8" - resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.8.tgz#d2266a792729fb227cd216fb572f43728e1ad340" - integrity sha512-jXKhWqXPmlUeoQnF/EhTtTl4C9SnrxSH/jZUih3jmO6lBKr99rP3/+FmrMj4EFpOXzMtXHAZkd3x0E6h6Fgflw== - csvtojson@^2.0.10: version "2.0.10" resolved "https://registry.yarnpkg.com/csvtojson/-/csvtojson-2.0.10.tgz#11e7242cc630da54efce7958a45f443210357574" @@ -10009,6 +10151,13 @@ destroy@~1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" +detab@2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/detab/-/detab-2.0.4.tgz#b927892069aff405fbb9a186fe97a44a92a94b43" + integrity sha512-8zdsQA5bIkoRECvCrNKPla84lyoR7DSAyf7p0YgXzBO9PDJx8KntPUay7NS6yp+KdxdVtiE5SpHKtbp2ZQyA9g== + dependencies: + repeat-string "^1.5.4" + detab@^2.0.0: version "2.0.3" resolved "https://registry.yarnpkg.com/detab/-/detab-2.0.3.tgz#33e5dd74d230501bd69985a0d2b9a3382699a130" @@ -11148,14 +11297,6 @@ eslint-rule-composer@^0.3.0: resolved "https://registry.yarnpkg.com/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz#79320c927b0c5c0d3d3d2b76c8b4a488f25bbaf9" integrity sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg== -eslint-scope@5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.0.tgz#d0f971dfe59c69e0cada684b23d49dbf82600ce5" - integrity sha512-iiGRvtxWqgtx5m8EyQUJihBloE4EnYeGE/bz1wSPwJE6tZuJUtHlhqDM4Xj2ukE8Dyy1+HCZ4hE0fzIVMzb58w== - dependencies: - esrecurse "^4.1.0" - estraverse "^4.1.1" - eslint-scope@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-4.0.3.tgz#ca03833310f6889a3264781aa82e63eb9cfe7848" @@ -11163,7 +11304,7 @@ eslint-scope@^4.0.3: esrecurse "^4.1.0" estraverse "^4.1.1" -eslint-scope@^5.0.0, eslint-scope@^5.1.1: +eslint-scope@^5.0.0, eslint-scope@^5.1.0, eslint-scope@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-5.1.1.tgz#e786e59a66cb92b3f6c1fb0d508aab174848f48c" integrity sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw== @@ -11190,10 +11331,10 @@ eslint-visitor-keys@^1.1.0, eslint-visitor-keys@^1.3.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz#30ebd1ef7c2fdff01c3a4f151044af25fab0523e" integrity sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ== -eslint-visitor-keys@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz#21fdc8fbcd9c795cc0321f0563702095751511a8" - integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ== +eslint-visitor-keys@^2.0.0, eslint-visitor-keys@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" + integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== eslint-webpack-plugin@^2.5.3: version "2.5.3" @@ -11439,12 +11580,7 @@ events@^1.1.0, events@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/events/-/events-1.1.1.tgz#9ebdb7635ad099c70dcc4c2a1f5004288e8bd924" -events@^3.0.0, events@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/events/-/events-3.2.0.tgz#93b87c18f8efcd4202a461aec4dfc0556b639379" - integrity sha512-/46HWwbfCX2xTawVfkKLGxMifJYQBWMwY1mjywRtb4c9x8l5NP3KoJtnIOiL1hfdRkIuYhETxQlo62IF8tcnlg== - -events@^3.3.0: +events@^3.0.0, events@^3.2.0, events@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q== @@ -13392,7 +13528,7 @@ graphql-type-json@0.3.2, graphql-type-json@^0.3.2: resolved "https://registry.yarnpkg.com/graphql-type-json/-/graphql-type-json-0.3.2.tgz#f53a851dbfe07bd1c8157d24150064baab41e115" integrity sha512-J+vjof74oMlCWXSvt0DOf2APEdZOCdubEvGDUAlqH//VBYcOYsGgRW7Xzorr44LvkjiuvecWc8fChxuZZbChtg== -graphql@^15.0.0, graphql@^15.4.0, graphql@^15.5.0: +graphql@^15.4.0, graphql@^15.5.0: version "15.5.0" resolved "https://registry.yarnpkg.com/graphql/-/graphql-15.5.0.tgz#39d19494dbe69d1ea719915b578bf920344a69d5" integrity sha512-OmaM7y0kaK31NKG31q4YbD2beNYa6jBBKtMFT6gLYJljHLJr42IqJ8KX08u3Li/0ifzTU5HjmoOOrwa5BRLeDA== @@ -13668,6 +13804,22 @@ hast-util-parse-selector@^2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/hast-util-parse-selector/-/hast-util-parse-selector-2.2.0.tgz#2175f18cdd697308fc3431d5c29a9e48dfa4817a" +hast-util-raw@6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/hast-util-raw/-/hast-util-raw-6.0.1.tgz#973b15930b7529a7b66984c98148b46526885977" + integrity sha512-ZMuiYA+UF7BXBtsTBNcLBF5HzXzkyE6MLzJnL605LKE8GJylNjGc4jjxazAHUtcwT5/CEt6afRKViYB4X66dig== + dependencies: + "@types/hast" "^2.0.0" + hast-util-from-parse5 "^6.0.0" + hast-util-to-parse5 "^6.0.0" + html-void-elements "^1.0.0" + parse5 "^6.0.0" + unist-util-position "^3.0.0" + vfile "^4.0.0" + web-namespaces "^1.0.0" + xtend "^4.0.0" + zwitch "^1.0.0" + hast-util-raw@^6.0.2: version "6.0.2" resolved "https://registry.yarnpkg.com/hast-util-raw/-/hast-util-raw-6.0.2.tgz#0954c44e2e1c03dc5bb44c40ef5eee3185ebeabe" @@ -14614,26 +14766,7 @@ inquirer@^6.2.0: strip-ansi "^5.1.0" through "^2.3.6" -inquirer@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.0.0.tgz#9e2b032dde77da1db5db804758b8fea3a970519a" - integrity sha512-rSdC7zelHdRQFkWnhsMu2+2SO41mpv2oF2zy4tMhmiLWkcKbOAs87fWAJhVXttKVwhdZvymvnuM95EyEXg2/tQ== - dependencies: - ansi-escapes "^4.2.1" - chalk "^2.4.2" - cli-cursor "^3.1.0" - cli-width "^2.0.0" - external-editor "^3.0.3" - figures "^3.0.0" - lodash "^4.17.15" - mute-stream "0.0.8" - run-async "^2.2.0" - rxjs "^6.4.0" - string-width "^4.1.0" - strip-ansi "^5.1.0" - through "^2.3.6" - -inquirer@^7.3.3: +inquirer@^7.0.0, inquirer@^7.3.3: version "7.3.3" resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.3.3.tgz#04d176b2af04afc157a83fd7c100e98ee0aad003" integrity sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA== @@ -14743,7 +14876,7 @@ is-accessor-descriptor@^1.0.0: dependencies: kind-of "^6.0.0" -is-alphabetical@^1.0.0: +is-alphabetical@1.0.4, is-alphabetical@^1.0.0: version "1.0.4" resolved "https://registry.yarnpkg.com/is-alphabetical/-/is-alphabetical-1.0.4.tgz#9e7d6b94916be22153745d184c298cbf986a686d" integrity sha512-DwzsA04LQ10FHTZuL0/grVDk4rFoVH1pjAToYwBrHSxcrBIGQuXrQMtD5U1b0U2XVgKZCTLLP8u2Qxqhy3l2Vg== @@ -17664,7 +17797,7 @@ lodash.throttle@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/lodash.throttle/-/lodash.throttle-4.1.1.tgz#c23e91b710242ac70c37f1e1cda9274cc39bf2f4" -lodash.uniq@^4.5.0: +lodash.uniq@4.5.0, lodash.uniq@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" @@ -18214,6 +18347,20 @@ mdast-util-mdxjs-esm@~0.1.0: resolved "https://registry.yarnpkg.com/mdast-util-mdxjs-esm/-/mdast-util-mdxjs-esm-0.1.1.tgz#69134a0dad71a59a9e0e9cfdc0633dde31dff69a" integrity sha512-kBiYeashz+nuhfv+712nc4THQhzXIH2gBFUDbuLxuDCqU/fZeg+9FAcdRBx9E13dkpk1p2Xwufzs3wsGJ+mISQ== +mdast-util-to-hast@10.0.1: + version "10.0.1" + resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-10.0.1.tgz#0cfc82089494c52d46eb0e3edb7a4eb2aea021eb" + integrity sha512-BW3LM9SEMnjf4HXXVApZMt8gLQWVNXc3jryK0nJu/rOXPOnlkUjmdkDlmxMirpbU9ILncGFIwLH/ubnWBbcdgA== + dependencies: + "@types/mdast" "^3.0.0" + "@types/unist" "^2.0.0" + mdast-util-definitions "^4.0.0" + mdurl "^1.0.0" + unist-builder "^2.0.0" + unist-util-generated "^1.0.0" + unist-util-position "^3.0.0" + unist-util-visit "^2.0.0" + mdast-util-to-hast@^10.1.0, mdast-util-to-hast@^10.2.0: version "10.2.0" resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-10.2.0.tgz#61875526a017d8857b71abc9333942700b2d3604" @@ -19407,12 +19554,7 @@ node-libs-browser@^2.2.1: util "^0.11.0" vm-browserify "^1.0.1" -node-match-path@^0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/node-match-path/-/node-match-path-0.6.0.tgz#4674742f4e15854045198ebc40d8b9b2d64aa2f6" - integrity sha512-mld1LbiLaufULAYFPAWgNEG4P0ccL49otlL/nbF5VBQLATuzfS1BGYV1rjRMsxbc0vcnasikFqGHoKDFMQylMw== - -node-match-path@^0.6.1: +node-match-path@^0.6.0, node-match-path@^0.6.1: version "0.6.3" resolved "https://registry.yarnpkg.com/node-match-path/-/node-match-path-0.6.3.tgz#55dd8443d547f066937a0752dce462ea7dc27551" integrity sha512-fB1reOHKLRZCJMAka28hIxCwQLxGmd7WewOCBDYKpyA1KXi68A7vaGgdZAPhY2E6SXoYt3KqYCCvXLJ+O0Fu/Q== @@ -22971,6 +23113,11 @@ remark-custom-blocks@^2.5.0: dependencies: space-separated-tokens "^1.1.5" +remark-footnotes@2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/remark-footnotes/-/remark-footnotes-2.0.0.tgz#9001c4c2ffebba55695d2dd80ffb8b82f7e6303f" + integrity sha512-3Clt8ZMH75Ayjp9q4CorNeyjwIxHFcTkaektplKGl2A1jNGEUey8cKL0ZC5vJwfcD5GFGsNLImLG/NGzWIzoMQ== + remark-footnotes@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/remark-footnotes/-/remark-footnotes-3.0.0.tgz#5756b56f8464fa7ed80dbba0c966136305d8cb8d" @@ -23539,7 +23686,21 @@ remark-math@^4.0.0: mdast-util-math "^0.1.0" micromark-extension-math "^0.1.0" -remark-mdx@2.0.0-next.9, remark-mdx@^1.6.21, remark-mdx@^1.6.22, remark-mdx@^2.0.0-next.3, remark-mdx@^2.0.0-next.4: +remark-mdx@1.6.22, remark-mdx@^1.6.21, remark-mdx@^1.6.22: + version "1.6.22" + resolved "https://registry.yarnpkg.com/remark-mdx/-/remark-mdx-1.6.22.tgz#06a8dab07dcfdd57f3373af7f86bd0e992108bbd" + integrity sha512-phMHBJgeV76uyFkH4rvzCftLfKCr2RZuF+/gmVcaKrpsihyzmhXjA0BEMDaPTXG5y8qZOKPVo83NAOX01LPnOQ== + dependencies: + "@babel/core" "7.12.9" + "@babel/helper-plugin-utils" "7.10.4" + "@babel/plugin-proposal-object-rest-spread" "7.12.1" + "@babel/plugin-syntax-jsx" "7.12.1" + "@mdx-js/util" "1.6.22" + is-alphabetical "1.0.4" + remark-parse "8.0.3" + unified "9.2.0" + +remark-mdx@2.0.0-next.9, remark-mdx@^2.0.0-next.4: version "2.0.0-next.9" resolved "https://registry.yarnpkg.com/remark-mdx/-/remark-mdx-2.0.0-next.9.tgz#3e2088550ddd4264ce48bca15fb297569d369e65" integrity sha512-I5dCKP5VE18SMd5ycIeeEk8Hl6oaldUY6PIvjrfm65l7d0QRnLqknb62O2g3QEmOxCswcHTtwITtz6rfUIVs+A== @@ -23548,7 +23709,7 @@ remark-mdx@2.0.0-next.9, remark-mdx@^1.6.21, remark-mdx@^1.6.22, remark-mdx@^2.0 micromark-extension-mdx "^0.2.0" micromark-extension-mdxjs "^0.3.0" -remark-mdxjs@^2.0.0-next.3, remark-mdxjs@^2.0.0-next.4: +remark-mdxjs@^2.0.0-next.4: version "2.0.0-next.8" resolved "https://registry.yarnpkg.com/remark-mdxjs/-/remark-mdxjs-2.0.0-next.8.tgz#ff603ebfcb17f19503ee3fab78447445eaa08783" integrity sha512-Z/+0eWc7pBEABwg3a5ptL+vCTWHYMFnYzpLoJxTm2muBSk8XyB/CL+tEJ6SV3Q/fScHX2dtG4JRcGSpbZFLazQ== @@ -23567,6 +23728,28 @@ remark-message-control@^6.0.0: mdast-comment-marker "^1.0.0" unified-message-control "^3.0.0" +remark-parse@8.0.3: + version "8.0.3" + resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-8.0.3.tgz#9c62aa3b35b79a486454c690472906075f40c7e1" + integrity sha512-E1K9+QLGgggHxCQtLt++uXltxEprmWzNfg+MxpfHsZlrddKzZ/hZyWHDbK3/Ap8HJQqYJRXP+jHczdL6q6i85Q== + dependencies: + ccount "^1.0.0" + collapse-white-space "^1.0.2" + is-alphabetical "^1.0.0" + is-decimal "^1.0.0" + is-whitespace-character "^1.0.0" + is-word-character "^1.0.0" + markdown-escapes "^1.0.0" + parse-entities "^2.0.0" + repeat-string "^1.5.4" + state-toggle "^1.0.0" + trim "0.0.1" + trim-trailing-lines "^1.0.0" + unherit "^1.0.4" + unist-util-remove-position "^2.0.0" + vfile-location "^3.0.0" + xtend "^4.0.1" + remark-parse@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-5.0.0.tgz#4c077f9e499044d1d5c13f80d7a98cf7b9285d95" @@ -23716,7 +23899,7 @@ remark-slug@^5.0.0: mdast-util-to-string "^1.0.0" unist-util-visit "^1.0.0" -remark-squeeze-paragraphs@^4.0.0: +remark-squeeze-paragraphs@4.0.0, remark-squeeze-paragraphs@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/remark-squeeze-paragraphs/-/remark-squeeze-paragraphs-4.0.0.tgz#76eb0e085295131c84748c8e43810159c5653ead" integrity sha512-8qRqmL9F4nuLPIgl92XUuxI3pFxize+F1H0e/W3llTk0UsjJaj01+RrirkMw7P21RKe4X6goQhYRSvNWX+70Rw== @@ -24446,13 +24629,7 @@ rsvp@^4.8.4: resolved "https://registry.yarnpkg.com/rsvp/-/rsvp-4.8.5.tgz#c8f155311d167f68f21e168df71ec5b083113734" integrity sha512-nfMOlASu9OnRJo1mbEk2cz0D56a1MBNrJ7orjRZQG10XDyuvwksKbuXNp6qa+kbn839HwjwhBzhFmdsaEAfauA== -run-async@^2.2.0: - version "2.3.0" - resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0" - dependencies: - is-promise "^2.1.0" - -run-async@^2.4.0: +run-async@^2.2.0, run-async@^2.4.0: version "2.4.1" resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.4.1.tgz#8440eccf99ea3e70bd409d49aab88e10c189a455" integrity sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ== @@ -24482,14 +24659,7 @@ rx-lite@*, rx-lite@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444" -rxjs@^6.4.0, rxjs@^6.5.5, rxjs@^6.6.3: - version "6.6.3" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.3.tgz#8ca84635c4daa900c0d3967a6ee7ac60271ee552" - integrity sha512-trsQc+xYYXZ3urjOiJOuCOa5N3jAZ3eiSpQB5hIT8zGlL2QfnHLJ2r7GMkBGuIausdJN1OneaI6gQlsqNHHmZQ== - dependencies: - tslib "^1.9.0" - -rxjs@^6.6.0: +rxjs@^6.4.0, rxjs@^6.5.5, rxjs@^6.6.0, rxjs@^6.6.3: version "6.6.7" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== @@ -25948,7 +26118,7 @@ style-loader@^2.0.0: loader-utils "^2.0.0" schema-utils "^3.0.0" -style-to-object@^0.3.0: +style-to-object@0.3.0, style-to-object@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/style-to-object/-/style-to-object-0.3.0.tgz#b1b790d205991cc783801967214979ee19a76e46" integrity sha512-CzFnRRXhzWIdItT3OmF8SQfWyahHhjq3HwcMNCNLn+N7klOOqPjMeG/4JSu77D7ypZdGvSzvkrbyeTMizz2VrA== @@ -26471,7 +26641,7 @@ text-table@0.2.0, text-table@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" -"theme-ui@>= 0.4.0-rc.1", theme-ui@^0.4.0-rc.14: +theme-ui@0.4.0-rc.14, "theme-ui@>= 0.4.0-rc.1", theme-ui@^0.2.49, theme-ui@^0.4.0-rc.14: version "0.4.0-rc.14" resolved "https://registry.yarnpkg.com/theme-ui/-/theme-ui-0.4.0-rc.14.tgz#67856dd8302e621ad55f7687a18d483b506c0706" integrity sha512-ciaGwsv9cRskUAukHSzMHdRXhqpweV8xAsywkE61gBg9msAfeI6MyeOU7HCseK4U9/Ppu3NNJExI32CK4BMDtg== @@ -26483,15 +26653,6 @@ text-table@0.2.0, text-table@^0.2.0: "@theme-ui/mdx" "^0.4.0-rc.13" "@theme-ui/theme-provider" "^0.4.0-rc.14" -theme-ui@^0.2.49: - version "0.2.52" - resolved "https://registry.yarnpkg.com/theme-ui/-/theme-ui-0.2.52.tgz#c041a32b0b257fc8ecbae273e14e92abd48c0f2d" - integrity sha512-JFujorP5aFxIm1UyVCtefN5baXjwh5TXHKFYNWgAP+3rqVvggIr46uSMrRNvDjyhFOQiMK8YI8ctPQrrhcETpw== - dependencies: - "@emotion/is-prop-valid" "^0.8.1" - "@styled-system/css" "^5.0.16" - deepmerge "^4.0.0" - then-request@^2.0.1: version "2.2.0" resolved "https://registry.yarnpkg.com/then-request/-/then-request-2.2.0.tgz#6678b32fa0ca218fe569981bbd8871b594060d81" @@ -27282,6 +27443,18 @@ unified-message-control@^3.0.0: unist-util-visit "^2.0.0" vfile-location "^3.0.0" +unified@9.2.0: + version "9.2.0" + resolved "https://registry.yarnpkg.com/unified/-/unified-9.2.0.tgz#67a62c627c40589edebbf60f53edfd4d822027f8" + integrity sha512-vx2Z0vY+a3YoTj8+pttM3tiJHCwY5UFbYdiWrwBEbHmK8pvsPj2rtAX2BFfgXen8T39CJWblWRDT4L5WGXtDdg== + dependencies: + bail "^1.0.0" + extend "^3.0.0" + is-buffer "^2.0.0" + is-plain-obj "^2.0.0" + trough "^1.0.0" + vfile "^4.0.0" + unified@^6.0.0, unified@^6.1.5: version "6.2.0" resolved "https://registry.yarnpkg.com/unified/-/unified-6.2.0.tgz#7fbd630f719126d67d40c644b7e3f617035f6dba" @@ -27379,6 +27552,11 @@ unique-string@^2.0.0: dependencies: crypto-random-string "^2.0.0" +unist-builder@2.0.3, unist-builder@^2.0.0: + version "2.0.3" + resolved "https://registry.yarnpkg.com/unist-builder/-/unist-builder-2.0.3.tgz#77648711b5d86af0942f334397a33c5e91516436" + integrity sha512-f98yt5pnlMWlzP539tPc4grGMsFaQQlP/vM396b00jngsiINumNmsY8rkXjfoi1c6QaM8nQ3vaGDuoKWbe/1Uw== + unist-builder@^1.0.1, unist-builder@^1.0.2: version "1.0.4" resolved "https://registry.yarnpkg.com/unist-builder/-/unist-builder-1.0.4.tgz#e1808aed30bd72adc3607f25afecebef4dd59e17" @@ -27386,11 +27564,6 @@ unist-builder@^1.0.1, unist-builder@^1.0.2: dependencies: object-assign "^4.1.0" -unist-builder@^2.0.0: - version "2.0.3" - resolved "https://registry.yarnpkg.com/unist-builder/-/unist-builder-2.0.3.tgz#77648711b5d86af0942f334397a33c5e91516436" - integrity sha512-f98yt5pnlMWlzP539tPc4grGMsFaQQlP/vM396b00jngsiINumNmsY8rkXjfoi1c6QaM8nQ3vaGDuoKWbe/1Uw== - unist-util-find-after@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/unist-util-find-after/-/unist-util-find-after-3.0.0.tgz#5c65fcebf64d4f8f496db46fa8fd0fbf354b43e6" @@ -27466,6 +27639,13 @@ unist-util-remove-position@^1.0.0: dependencies: unist-util-visit "^1.1.0" +unist-util-remove-position@^2.0.0: + version "2.0.1" + resolved "https://registry.yarnpkg.com/unist-util-remove-position/-/unist-util-remove-position-2.0.1.tgz#5d19ca79fdba712301999b2b73553ca8f3b352cc" + integrity sha512-fDZsLYIe2uT+oGFnuZmy73K6ZxOPG/Qcm+w7jbEjaFcJgbQ6cqjs/eSPzXhsmGpAsWPkqZM9pYjww5QTn3LHMA== + dependencies: + unist-util-visit "^2.0.0" + unist-util-remove-position@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/unist-util-remove-position/-/unist-util-remove-position-3.0.0.tgz#4cd19e82c8e665f462b6acfcfd0a8353235a88e9" @@ -27541,14 +27721,7 @@ unist-util-visit-parents@^3.0.0, unist-util-visit-parents@^3.1.1: "@types/unist" "^2.0.0" unist-util-is "^4.0.0" -unist-util-visit@^1.0.0, unist-util-visit@^1.1.0, unist-util-visit@^1.3.0, unist-util-visit@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-1.4.1.tgz#4724aaa8486e6ee6e26d7ff3c8685960d560b1e3" - integrity sha512-AvGNk7Bb//EmJZyhtRUnNMEpId/AZ5Ph/KUpTI09WHQuDZHKovQ1oEv3mfmKpWKtoMzyMC4GLBm1Zy5k12fjIw== - dependencies: - unist-util-visit-parents "^2.0.0" - -unist-util-visit@^2.0.0, unist-util-visit@^2.0.2, unist-util-visit@^2.0.3: +unist-util-visit@2.0.3, unist-util-visit@^2.0.0, unist-util-visit@^2.0.2, unist-util-visit@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-2.0.3.tgz#c3703893146df47203bb8a9795af47d7b971208c" integrity sha512-iJ4/RczbJMkD0712mGktuGpm/U4By4FfDonL7N/9tATGIF4imikjOuagyMY53tnZq3NP6BcmlrHhEKAfGWjh7Q== @@ -27557,6 +27730,13 @@ unist-util-visit@^2.0.0, unist-util-visit@^2.0.2, unist-util-visit@^2.0.3: unist-util-is "^4.0.0" unist-util-visit-parents "^3.0.0" +unist-util-visit@^1.0.0, unist-util-visit@^1.1.0, unist-util-visit@^1.3.0, unist-util-visit@^1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-1.4.1.tgz#4724aaa8486e6ee6e26d7ff3c8685960d560b1e3" + integrity sha512-AvGNk7Bb//EmJZyhtRUnNMEpId/AZ5Ph/KUpTI09WHQuDZHKovQ1oEv3mfmKpWKtoMzyMC4GLBm1Zy5k12fjIw== + dependencies: + unist-util-visit-parents "^2.0.0" + universal-url@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/universal-url/-/universal-url-2.0.0.tgz#35e7fc2c3374804905cee67ea289ed3a47669809"