Repository navigation
fix(examples): patch Elm middleware and Gatsby redirects #116
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| before=2026-10-30T00:00:00Z | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -36,6 +36,7 @@ | |
| "follow-redirects": "1.16.1", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This still pins |
||
| "http-proxy": { | ||
| "follow-redirects": "^1.16.2" | ||
| } | ||
| }, | ||
| "webpack-dev-middleware": "7.4.6" | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| before=2026-10-30T00:00:00Z |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,6 +27,9 @@ Install the project dependencies: | |
| npm install | ||
| ``` | ||
|
|
||
| The project `.npmrc` limits new dependency resolution to releases published before October 30, 2026. | ||
| When updating dependencies, advance this cutoff to a date at least seven days before the update. | ||
|
|
||
| ## Running the Example | ||
|
|
||
| We are ready to launch the app! 🎉 | ||
|
|
@@ -66,3 +69,10 @@ This software is licensed under a [modified BSD license](LICENSE). | |
| Please ensure | ||
| [you have signed our CLA](https://www.nutrient.io/guides/web/current/miscellaneous/contributing/) so that we can | ||
| accept your contributions. | ||
|
|
||
| ## Development server security | ||
|
|
||
| Gatsby 5.16.1 requires `webpack-dev-middleware` 5.3.4, which has no patched release within its supported major version. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Small wording fix: Gatsby needs |
||
| The default public path `/` meets the [upstream workaround for CVE-2026-76844](https://github.com/webpack/webpack-dev-middleware/security/advisories/GHSA-g84c-rxfj-3j2c). | ||
| If you set `GATSBY_WEBPACK_PUBLICPATH`, end its value with `/`. | ||
| The dependency alert remains open until Gatsby supports a patched middleware version. | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -50,3 +50,5 @@ minimumReleaseAgeExclude: | |
| - proxy-addr@2.0.8 | ||
| - compression@1.8.2 | ||
| - shell-quote@1.11.0 | ||
|
|
||
| minimumReleaseAge: 10080 | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A fixed date never moves, so over time this stops being a seven-day buffer and just freezes new installs at October 2026. People who copy this example and add packages will get old versions without knowing why. npm 11.10+ has a rolling setting,
min-release-age=7, that matches the rootminimumReleaseAge. Could we use that here and in Gatsby, and drop the README note about moving the date?