Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions examples/elm/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
before=2026-10-30T00:00:00Z

Copy link
Copy Markdown
Contributor

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 root minimumReleaseAge. Could we use that here and in Gatsby, and drop the README note about moving the date?

3 changes: 3 additions & 0 deletions examples/elm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ Install the project dependencies with `npm`:
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.

Now that everything is installed we need to configure the app to use our [Nutrient Web SDK license key](https://www.nutrient.io/guides/web/current/standalone/integration).

Edit `./config/license-key` and replace the string `YOUR_LICENSE_KEY_GOES_HERE` with the license key that you received via e-mail.
Expand Down
6 changes: 3 additions & 3 deletions examples/elm/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion examples/elm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"follow-redirects": "1.16.1",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This still pins follow-redirects to 1.16.1, the version this PR calls unsafe. The lockfile gets 1.16.2 only because http-proxy is the sole user and its nested override wins. Can we bump this to 1.16.2 too, like Gatsby?

"http-proxy": {
"follow-redirects": "^1.16.2"
}
},
"webpack-dev-middleware": "7.4.6"
}
}
1 change: 1 addition & 0 deletions examples/gatsbyjs/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
before=2026-10-30T00:00:00Z
10 changes: 10 additions & 0 deletions examples/gatsbyjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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! 🎉
Expand Down Expand Up @@ -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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small wording fix: Gatsby needs ^5.3.4, not exactly 5.3.4, and the real problem is that the whole 5.x line has no fix. Maybe: "Gatsby 5.16.1 uses webpack-dev-middleware 5.x, which has no fixed release."

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.
6 changes: 3 additions & 3 deletions examples/gatsbyjs/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/gatsbyjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"sharp": "^0.35.3",
"brace-expansion@1": "^2.1.3",
"brace-expansion@2": "^2.1.3",
"follow-redirects": "1.16.1",
"follow-redirects": "1.16.2",
"@graphql-tools/utils": "12.0.4",
"@graphql-tools/load": "8.1.6",
"@graphql-tools/code-file-loader": "8.1.23",
Expand Down
2 changes: 2 additions & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,3 +50,5 @@ minimumReleaseAgeExclude:
- proxy-addr@2.0.8
- compression@1.8.2
- shell-quote@1.11.0

minimumReleaseAge: 10080
Loading