Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix(gatsby-cli): relax error location validation and ignore extra fields #34559

Merged
merged 1 commit into from Jan 21, 2022

Conversation

pieh
Copy link
Contributor

@pieh pieh commented Jan 21, 2022

Description

Seems like babel/babel#14130 introduced extra fields in location that our current validation fails on.

@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jan 21, 2022
@pieh pieh removed the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Jan 21, 2022
@pieh pieh marked this pull request as ready for review January 21, 2022 18:24
@wardpeet wardpeet merged commit 0d894f5 into master Jan 21, 2022
@wardpeet wardpeet deleted the fix/relax-error-schema branch January 21, 2022 19:16
@pieh pieh added this to To cherry-pick in Release candidate via automation Jan 25, 2022
marvinjude pushed a commit that referenced this pull request Jan 25, 2022
@marvinjude marvinjude moved this from To cherry-pick to Backport PR opened in Release candidate Jan 25, 2022
pieh added a commit that referenced this pull request Jan 25, 2022
…lds (#34559) (#34588)

Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
@LekoArts LekoArts moved this from Backport PR opened to Backported in Release candidate Jan 25, 2022
@tyhopp tyhopp removed this from Backported in Release candidate Feb 18, 2022
@tyhopp tyhopp added this to To cherry-pick in Release candidate via automation Feb 18, 2022
@tyhopp tyhopp moved this from To cherry-pick to Backported in Release candidate Feb 18, 2022
pieh added a commit that referenced this pull request Dec 6, 2022
* chore: remove tracedSVG (#37093)

* init

* gri

* update shopify snapshot

* gatsby-plugin-sharp tests

* update gatsby-remark-images/gatsby-node tests

* update gatsby-plugin-image tests

* update schema print tests

* remove traceSVG unit tests as it was removed

* legacy gatsby-image fields

* update polyfill tests

* update cypress assertion

* update contentful cypress assertions

* drop few more packages from gatsby-plugin-sharp as they are no onger used

* correct IMAGE_CDN fallback for TRACE_SVG

* update generateImageData

* update e2e-prod/assertions

* update unit test

* update snapshot

* update e2e-dev/assertions

* drop more unused

* sync yarn.lock

* a bit more prod warnings

* adjust gatsby-remark-images plugin options warning

* add link to gatsby-remark-images warning

(cherry picked from commit 94c2d73)

* gatsby recipe tests

* cli tests

* babel config tests

* update assertion

* some reverts?

* update assertion

* contentful extend node type

* fallback in test

* fix tracedSVG fields

* fix(gatsby-cli): relax error location validation and ignore extra fields (#34559)

* package.json removals

Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
pieh pushed a commit that referenced this pull request Dec 7, 2022
* chore: remove tracedSVG (#37093)

* init

* gri

* update shopify snapshot

* gatsby-plugin-sharp tests

* update gatsby-remark-images/gatsby-node tests

* update gatsby-plugin-image tests

* update schema print tests

* remove traceSVG unit tests as it was removed

* legacy gatsby-image fields

* update polyfill tests

* update cypress assertion

* update contentful cypress assertions

* drop few more packages from gatsby-plugin-sharp as they are no onger used

* correct IMAGE_CDN fallback for TRACE_SVG

* update generateImageData

* update e2e-prod/assertions

* update unit test

* update snapshot

* update e2e-dev/assertions

* drop more unused

* sync yarn.lock

* a bit more prod warnings

* adjust gatsby-remark-images plugin options warning

* add link to gatsby-remark-images warning

(cherry picked from commit 94c2d73)

* gatsby recipe tests

* cli tests

* babel config tests

* update assertion

* some reverts?

* update assertion

* contentful extend node type

* fallback in test

* fix tracedSVG fields

* fix(gatsby-cli): relax error location validation and ignore extra fields (#34559)

* package.json removals

Co-authored-by: Michal Piechowiak <misiek.piechowiak@gmail.com>
(cherry picked from commit 0c45654)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants