Conversation
Refresh the root package and site theme dependency set to remove known advisories and keep the test suite green.
Add npm overrides to site/package.json to force patched versions of transitive dependencies with known advisories (immutable, lodash, cookie, path-to-regexp, serialize-javascript, sharp, tmp, uuid, webpack, @parcel/reporter-dev-server, file-type). npm audit --prefix site now reports 0 vulnerabilities. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…porter-dev-server file-type >=18 is ESM-only and breaks Gatsby's CJS require. @parcel/reporter-dev-server must match the Parcel core version bundled with Gatsby (2.8.x); overriding it to ^2.16.4 causes a version mismatch error at build time. Both overrides are removed so the site build succeeds. These two packages remain at their Gatsby-pinned versions (dev-only tooling, not runtime exposure). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Align site/package.json overrides with the sibling Crossroads repo pattern, adding js-yaml, picomatch, qs, ws, yaml. Exclude @parcel/core, @parcel/reporter-dev-server, @parcel/transformer-js and file-type overrides as they break the Gatsby build: upgrading Parcel packages beyond 2.8.3 causes a version mismatch in gatsby-parcel-config and @parcel/transformer-js hangs the compile step. These two advisories are Gatsby build-tooling only (not shipped to end users) and have no compatible patched version. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refresh the root package and site theme dependency set to remove known advisories and keep the test suite green.