Skip to content

Commit

Permalink
build: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
KnorpelSenf committed Sep 9, 2023
1 parent 9609d5c commit 040aadd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/platform.deno.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ if (isDeno) {

// === Export system-specific operations
// Turn an AsyncIterable<Uint8Array> into a stream
export { readableStreamFromIterable as itrToStream } from "https://deno.land/[email protected]/streams/readable_stream_from_iterable.ts";
export const itrToStream = (itr: AsyncIterable<Uint8Array>) =>
ReadableStream.from(itr);

// === Base configuration for `fetch` calls
export const baseFetchConfig = (_apiRoot: string) => ({});
Expand Down
3 changes: 2 additions & 1 deletion src/platform.web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ export { d as debug };

// === Export system-specific operations
// Turn an AsyncIterable<Uint8Array> into a stream
export { readableStreamFromIterable as itrToStream } from "https://deno.land/[email protected]/streams/readable_stream_from_iterable.ts";
export const itrToStream = (itr: AsyncIterable<Uint8Array>) =>
ReadableStream.from(itr);

// === Base configuration for `fetch` calls
export const baseFetchConfig = (_apiRoot: string) => ({});
Expand Down
4 changes: 2 additions & 2 deletions src/types.deno.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// === Needed imports
import { basename } from "https://deno.land/std@0.198.0/path/basename.ts";
import { iterateReader } from "https://deno.land/std@0.198.0/streams/iterate_reader.ts";
import { basename } from "https://deno.land/std@0.201.0/path/basename.ts";
import { iterateReader } from "https://deno.land/std@0.201.0/streams/iterate_reader.ts";
import {
type ApiMethods as ApiMethodsF,
type InputMedia as InputMediaF,
Expand Down
2 changes: 1 addition & 1 deletion src/types.web.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// === Needed imports
import { basename } from "https://deno.land/std@0.198.0/path/basename.ts";
import { basename } from "https://deno.land/std@0.201.0/path/basename.ts";
import {
type ApiMethods as ApiMethodsF,
type InputMedia as InputMediaF,
Expand Down

0 comments on commit 040aadd

Please sign in to comment.