Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 7894fa4

Browse files
Bump undici version and minimum node version (#333)
* Bump undici version and minimum node version To target security vulnerabilities in undici, we update to the latest version. From undici v5.7.0, we require a node >=16.8.0 - here we update the minimum to 16.13.0 (the first Node 16 LTS release) * Pin undici version We should pin the version of undici * Wrap `Body#formData()` `Buffer` chunks in `Uint8Array`s Workaround for nodejs/undici#1601 * Delay freed check in `HTMLRewriter` `ArrayBuffer(View)` chunk test Co-authored-by: MrBBot <[email protected]>
1 parent 5a48285 commit 7894fa4

File tree

31 files changed

+87
-85
lines changed

31 files changed

+87
-85
lines changed

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ name: Test
77

88
on:
99
push:
10-
branches: [ master ]
10+
branches: [master]
1111
pull_request:
12-
branches: [ master ]
12+
branches: [master]
1313

1414
jobs:
1515
test:
@@ -19,7 +19,7 @@ jobs:
1919
strategy:
2020
matrix:
2121
os: [ubuntu-latest, windows-latest]
22-
node: [16.7.0, 18.x]
22+
node: [16.13.0, 18.x]
2323
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2424

2525
steps:

docs/src/content/get-started/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ $ npx miniflare
3232

3333
<Aside type="warning" header="Warning">
3434

35-
Miniflare requires at least **Node.js 16.7.0**, as it makes extensive use of
35+
Miniflare requires at least **Node.js 16.13.0**, as it makes extensive use of
3636
recently added web standards. You should use the latest Node.js version if
3737
possible, as Cloudflare Workers use a very up-to-date version of V8. Consider
3838
using a Node.js version manager such as https://volta.sh/ or

docs/src/content/get-started/migrating.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ guide walks you through how to upgrade your app.
1111

1212
### Upgrade Node.js
1313

14-
**Node.js 16.7.0 is now the minimum required version**. You should use the
14+
**Node.js 16.13.0 is now the minimum required version**. You should use the
1515
latest Node.js version if possible, as Cloudflare Workers use a very up-to-date
1616
version of V8. Consider using a Node.js version manager such as
1717
<https://volta.sh/> or <https://github.com/nvm-sh/nvm>.

package-lock.json

Lines changed: 43 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)