Unverified Commit f522d042 authored by Hong Minhee's avatar Hong Minhee
Browse files

Replace @std/encoding with byte-encodings

Also bumped the minimum supported version of Node.js
from 20 to 22.
parent a0a19612
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
set -e

export BUN_VERSION="v1.1.29"
export NODE_VERSION="20"
export NODE_VERSION="22"
export NVM_VERSION="v0.40.0"
export PNPM_VERSION="9.11.0"

+2 −0
Original line number Diff line number Diff line
@@ -34,6 +34,8 @@ To be released.
     -  Added `HttpMessageSignaturesSpecDeterminer` interface.
     -  Added `--first-knock` option to `fedify lookup` command.

 -  The minimum supported version of Node.js is now 22.0.0.

[RFC 9421]: https://www.rfc-editor.org/rfc/rfc9421
[#208]: https://github.com/fedify-dev/fedify/issues/208
[#227]: https://github.com/fedify-dev/fedify/issues/227
+1 −1
Original line number Diff line number Diff line
@@ -111,7 +111,7 @@ bun add @fedify/fedify
### Node.js

Fedify can also be used in Node.js.  As a prerequisite, you need to have Node.js
20.0.0 or later installed on your system.  Then you can install Fedify via
22.0.0 or later installed on your system.  Then you can install Fedify via
the following command:

~~~~ sh
+1 −1
Original line number Diff line number Diff line
@@ -102,7 +102,7 @@ for this tutorial.
> Node.js is widely used. Recently, cloud edge functions like
> [Cloudflare Workers] have also gained popularity as JavaScript runtimes.

To use Fedify, you need Node.js version 20.0.0 or higher. There are
To use Fedify, you need Node.js version 22.0.0 or higher. There are
[various installation methods]—choose the one that suits you best.

Once Node.js is installed, you'll have access to the `node` and `npm` commands:
+1 −1
Original line number Diff line number Diff line
import { encodeBase58 } from "@std/encoding/base58";
import { encodeBase58 } from "byte-encodings/base58";
import type { PropertySchema, TypeSchema } from "./schema.ts";
import { areAllScalarTypes, getTypeNames } from "./type.ts";

Loading