diff --git a/dev/build_npm.ts b/dev/build_npm.ts index a718662..d4b9906 100644 --- a/dev/build_npm.ts +++ b/dev/build_npm.ts @@ -1,5 +1,5 @@ -import { fromFileUrl } from "https://deno.land/std@0.185.0/path/mod.ts"; -import { build, emptyDir } from "https://deno.land/x/dnt@0.34.0/mod.ts"; +import { fromFileUrl } from "https://deno.land/std@0.224.0/path/mod.ts"; +import { build, emptyDir } from "https://deno.land/x/dnt@0.40.0/mod.ts"; const outDir = fromFileUrl(new URL("./npm/", import.meta.url)); const projectRootDir = fromFileUrl(new URL("../", import.meta.url)); diff --git a/dev/transpile.ts b/dev/transpile.ts index 0d4a750..f100289 100644 --- a/dev/transpile.ts +++ b/dev/transpile.ts @@ -1,4 +1,4 @@ -import { fromFileUrl } from "https://deno.land/std@0.185.0/path/mod.ts"; +import { fromFileUrl } from "https://deno.land/std@0.224.0/path/mod.ts"; const input = fromFileUrl(new URL("../mod.ts", import.meta.url)); const output = fromFileUrl(new URL("../js/mod.js", import.meta.url)); diff --git a/dev/transpile_check.ts b/dev/transpile_check.ts index a81c006..3afa311 100644 --- a/dev/transpile_check.ts +++ b/dev/transpile_check.ts @@ -1,5 +1,5 @@ -import { assertEquals } from "https://deno.land/std@0.185.0/testing/asserts.ts"; -import { fromFileUrl } from "https://deno.land/std@0.185.0/path/mod.ts"; +import { assertEquals } from "https://deno.land/std@0.224.0/testing/asserts.ts"; +import { fromFileUrl } from "https://deno.land/std@0.224.0/path/mod.ts"; const input = fromFileUrl(new URL("../mod.ts", import.meta.url)); const output = fromFileUrl(new URL("../js/mod.js", import.meta.url)); diff --git a/mod_test.ts b/mod_test.ts index c3f872d..aead244 100644 --- a/mod_test.ts +++ b/mod_test.ts @@ -1,8 +1,8 @@ import { assertEquals, assertRejects, -} from "https://deno.land/std@0.185.0/testing/asserts.ts"; -import { readableStreamFromIterable } from "https://deno.land/std@0.185.0/streams/readable_stream_from_iterable.ts"; +} from "https://deno.land/std@0.224.0/testing/asserts.ts"; +import { readableStreamFromIterable } from "https://deno.land/std@0.224.0/streams/readable_stream_from_iterable.ts"; import { ConcatenatedJSONParseStream, ConcatenatedJSONStringifyStream, diff --git a/src/parser.ts b/src/parser.ts index 3bf1cc5..aab432b 100644 --- a/src/parser.ts +++ b/src/parser.ts @@ -1,4 +1,4 @@ -import { TextDelimiterStream } from "https://deno.land/std@0.185.0/streams/text_delimiter_stream.ts"; +import { TextDelimiterStream } from "https://deno.land/std@0.224.0/streams/text_delimiter_stream.ts"; import { JSONValue, transformStreamFromGeneratorFunction } from "./utils.ts"; // avoid dnt typecheck error @@ -17,7 +17,7 @@ export interface ParseStreamOptions { * stream to parse [JSON lines](https://jsonlines.org/), [NDJSON](http://ndjson.org/) and [JSON Text Sequences](https://datatracker.ietf.org/doc/html/rfc7464). * * ```ts - * import { JSONLinesParseStream } from "https://deno.land/x/jsonlines@v1.2.1/mod.ts"; + * import { JSONLinesParseStream } from "https://deno.land/x/jsonlines@v1.2.2/mod.ts"; * * const url = new URL("./testdata/json-lines.jsonl", import.meta.url); * const { body } = await fetch(`${url}`); @@ -71,7 +71,7 @@ export class JSONLinesParseStream * stream to parse [Concatenated JSON](https://en.wikipedia.org/wiki/JSON_streaming#Concatenated_JSON). * * ```ts - * import { ConcatenatedJSONParseStream } from "https://deno.land/x/jsonlines@v1.2.1/mod.ts"; + * import { ConcatenatedJSONParseStream } from "https://deno.land/x/jsonlines@v1.2.2/mod.ts"; * * const url = new URL("./testdata/concat-json.concat-json", import.meta.url); * const { body } = await fetch(`${url}`); diff --git a/src/stringify.ts b/src/stringify.ts index 0091433..35a495b 100644 --- a/src/stringify.ts +++ b/src/stringify.ts @@ -14,8 +14,8 @@ export interface StringifyStreamOptions { * stream to stringify [JSON lines](https://jsonlines.org/), [NDJSON](http://ndjson.org/) and [JSON Text Sequences](https://datatracker.ietf.org/doc/html/rfc7464). * * ```ts - * import { readableStreamFromIterable } from "https://deno.land/std@0.185.0/streams/mod.ts"; - * import { JSONLinesStringifyStream } from "https://deno.land/x/jsonlines@v1.2.1/mod.ts"; + * import { readableStreamFromIterable } from "https://deno.land/std@0.224.0/streams/mod.ts"; + * import { JSONLinesStringifyStream } from "https://deno.land/x/jsonlines@v1.2.2/mod.ts"; * * const file = await Deno.open(new URL("./tmp.concat-json", import.meta.url), { * create: true, @@ -57,8 +57,8 @@ export class JSONLinesStringifyStream extends TransformStream { * stream to stringify [Concatenated JSON](https://en.wikipedia.org/wiki/JSON_streaming#Concatenated_JSON). * * ```ts - * import { readableStreamFromIterable } from "https://deno.land/std@0.185.0/streams/mod.ts"; - * import { ConcatenatedJSONStringifyStream } from "https://deno.land/x/jsonlines@v1.2.1/mod.ts"; + * import { readableStreamFromIterable } from "https://deno.land/std@0.224.0/streams/mod.ts"; + * import { ConcatenatedJSONStringifyStream } from "https://deno.land/x/jsonlines@v1.2.2/mod.ts"; * * const file = await Deno.open(new URL("./tmp.concat-json", import.meta.url), { * create: true, diff --git a/src/utils.ts b/src/utils.ts index 9418d13..b9b2f89 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -12,8 +12,8 @@ type _QueuingStrategy = QueuingStrategy; * Convert the generator function into a TransformStream. * * ```ts - * import { readableStreamFromIterable } from "https://deno.land/std@0.185.0/streams/mod.ts"; - * import { transformStreamFromGeneratorFunction } from "https://deno.land/x/jsonlines@v1.2.1/mod.ts"; + * import { readableStreamFromIterable } from "https://deno.land/std@0.224.0/streams/mod.ts"; + * import { transformStreamFromGeneratorFunction } from "https://deno.land/x/jsonlines@v1.2.2/mod.ts"; * * const reader = readableStreamFromIterable([0, 1, 2]) * .pipeThrough(transformStreamFromGeneratorFunction(async function* (src) {