diff options
author | Fabian <43351274+0xk1f0@users.noreply.github.com> | 2023-09-04 12:33:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-04 12:33:15 +0200 |
commit | 2cc7c8432fc74b734e9d2b0c34c6a9ab434e5781 (patch) | |
tree | a1ada570bdc992621b01e53e4184d65dbbbe7f25 /ext/node/polyfills | |
parent | 1dc5d421149903f4e963e735755026d07022ac33 (diff) |
fix(node): Bump hardcoded version to latest (#20366)
When trying to run
```
deno run -A --unstable npm:astro dev
```
in my Astro project it fails with:
```
Node.js v18.12.1 is not supported by Astro!
Please upgrade Node.js to a supported version: ">=18.14.1"
```
My current version is:
```
~ ❯ node --version
v20.5.1
```
Bumping the version to the latest stable Release of node in
`ext/node/polyfills/_process/process.ts` fixes this.
I don't know if this causes any conflicts, so please feel free to
correct me here.
Diffstat (limited to 'ext/node/polyfills')
-rw-r--r-- | ext/node/polyfills/_process/process.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/node/polyfills/_process/process.ts b/ext/node/polyfills/_process/process.ts index ff854ea27..2b2fae9cd 100644 --- a/ext/node/polyfills/_process/process.ts +++ b/ext/node/polyfills/_process/process.ts @@ -102,7 +102,7 @@ export const env: InstanceType<ObjectConstructor> & Record<string, string> = * it pointed to Deno version, but that led to incompability * with some packages. */ -export const version = "v18.12.1"; +export const version = "v18.17.1"; /** * https://nodejs.org/api/process.html#process_process_versions @@ -113,7 +113,7 @@ export const version = "v18.12.1"; * with some packages. Value of `v8` field is still taken from `Deno.version`. */ export const versions = { - node: "18.12.1", + node: "18.17.1", uv: "1.43.0", zlib: "1.2.11", brotli: "1.0.9", |