瀏覽代碼

@uppy/companion: do not list Node.js 20.12 as compatible (#5309)

There's a bug with `styleText` util we're using.
Antoine du Hamel 9 月之前
父節點
當前提交
4feaabd79c
共有 2 個文件被更改,包括 3 次插入2 次删除
  1. 2 1
      docs/guides/migration-guides.md
  2. 1 1
      packages/@uppy/companion/package.json

+ 2 - 1
docs/guides/migration-guides.md

@@ -4,7 +4,8 @@ These cover all the major Uppy versions and how to migrate to them.
 
 ## Migrate from Companion 4.x to 5.x
 
-- Node.js `>=18.20.0` is now required.
+- End-of-Life versions of Node.js are no longer supported (use latest 18.x LTS,
+  20.x LTS, or 22.x current).
 - Setting the `oauthOrigin` option is now required. To get back to the unsafe
   behavior of the previous version, set it to `'*'`.
 - `COMPANION_REDIS_EXPRESS_SESSION_PREFIX` now defaults to `companion-session:`

+ 1 - 1
packages/@uppy/companion/package.json

@@ -107,7 +107,7 @@
     "test": "NODE_OPTIONS=--experimental-vm-modules jest --runInBand"
   },
   "engines": {
-    "node": "^18.20.0 || ^20.10.0 || >=22.0.0"
+    "node": "^18.20.0 || ^20.15.0 || >=22.0.0"
   },
   "installConfig": {
     "hoistingLimits": "workspaces"