Comparing version 0.5.0 to 0.5.1
@@ -27,5 +27,5 @@ export type RequestRelease = () => Promise<void> | void; | ||
export interface Lock { | ||
lock(cancelReq: RequestRelease): Promise<void>; | ||
lock(signal: AbortSignal, cancelReq: RequestRelease): Promise<void>; | ||
unlock(): Promise<void>; | ||
} | ||
//# sourceMappingURL=Locker.d.ts.map |
{ | ||
"$schema": "https://json.schemastore.org/package.json", | ||
"name": "@tus/utils", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Internal utils for tus Node.js server and stores", | ||
@@ -24,5 +24,5 @@ "main": "dist/index.js", | ||
"@types/mocha": "^10.0.6", | ||
"@types/node": "^20.11.5", | ||
"@types/node": "^22.10.1", | ||
"ioredis": "^5.4.1", | ||
"mocha": "^10.4.0", | ||
"mocha": "^11.0.1", | ||
"should": "^13.2.3", | ||
@@ -29,0 +29,0 @@ "ts-node": "^10.9.2" |
@@ -29,4 +29,4 @@ export type RequestRelease = () => Promise<void> | void | ||
export interface Lock { | ||
lock(cancelReq: RequestRelease): Promise<void> | ||
lock(signal: AbortSignal, cancelReq: RequestRelease): Promise<void> | ||
unlock(): Promise<void> | ||
} |
Sorry, the diff of this file is not supported yet
87145