You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@tus/server should require node >= 20.3 or stop using this function.
Actual behavior
Server silently (no error messages on server side) fails on every request and returns status code 500.
TypeError: AbortSignal.any is not a function
at MemoryLock.lock (.../tus-node-server/packages/server/dist/lockers/MemoryLocker.js:23:41)
at PostHandler.acquireLock (.../tus-node-server/packages/server/dist/handlers/BaseHandler.js:93:20)
The text was updated successfully, but these errors were encountered:
Initial checklist
Steps to reproduce
Current implementation of MemoryLock uses
AbortSignal.any
which was added to versionv20.3.0
,v18.17.0
.This was added in this commit 42c6267.
In
package.json
it is defined that this package requiresnode >= 16
which is not correct.tus-node-server/packages/server/package.json
Line 45 in cb52d7f
Expected behavior
@tus/server
should requirenode >= 20.3
or stop using this function.Actual behavior
Server silently (no error messages on server side) fails on every request and returns status code 500.
The text was updated successfully, but these errors were encountered: