Skip to content

Commit

Permalink
Fixed compatibiliy with Deno 1.45.5
Browse files Browse the repository at this point in the history
  • Loading branch information
seriousme committed Aug 2, 2024
1 parent afe560f commit 091b114
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@seriousme/opifex",
"version": "1.0.15",
"version": "1.0.16",
"exports": {
"./server": "./server/mod.ts",
"./client": "./client/mod.ts"
},
"imports": {
"@std/assert": "jsr:@std/assert@0.226.0"
"@std/assert": "jsr:@std/assert@1.0.2"
}
}
16 changes: 8 additions & 8 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions dev_utils/dummyConn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import { SockConn } from "../socket/socket.ts";
class Uint8Writer implements WritableStreamDefaultWriter {
private buff: Uint8Array;
private pos: number;
closed = Promise.resolve();
closed = Promise.resolve(undefined);
close = () => Promise.resolve();
abort = () => Promise.resolve();
ready = Promise.resolve();
ready = Promise.resolve(undefined);
releaseLock = () => {};
desiredSize = 20;

Expand All @@ -26,10 +26,10 @@ class Uint8Writer implements WritableStreamDefaultWriter {

class Uint8QueuedWriter implements WritableStreamDefaultWriter {
private queue: AsyncQueue<Uint8Array>;
closed = Promise.resolve();
closed = Promise.resolve(undefined);
close = () => Promise.resolve();
abort = () => Promise.resolve();
ready = Promise.resolve();
ready = Promise.resolve(undefined);
releaseLock = () => {};
desiredSize = 20;

Expand Down

0 comments on commit 091b114

Please sign in to comment.