Skip to content

Commit

Permalink
dependency updates and Deno.run deprecation notice
Browse files Browse the repository at this point in the history
  • Loading branch information
j50n committed May 21, 2023
1 parent e4a233f commit b2544b4
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 10 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
> `Deno.run` has been deprecated and is scheduled to be removed in Deno version
> 2.0. I am working on a version of this library that will use `Deno.Command`,
> the successor to `Deno.run`. This is an unstable API in Deno 1.x, so I am not
> quite sure how I will roll this out yet. Stay tuned.
# proc

A high-level way to run child processes that is easy, flexible, powerful, and
Expand Down
4 changes: 2 additions & 2 deletions deps-test.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export * from "https://deno.land/std@0.177.0/testing/asserts.ts";
export * from "https://deno.land/std@0.188.0/testing/asserts.ts";
export * from "https://deno.land/x/[email protected]/mod.ts";
export * from "https://deno.land/std@0.177.0/fmt/colors.ts";
export * from "https://deno.land/std@0.188.0/fmt/colors.ts";
4 changes: 2 additions & 2 deletions deps.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from "https://deno.land/std@0.177.0/async/mod.ts";
export * from "https://deno.land/std@0.177.0/io/mod.ts";
export * from "https://deno.land/std@0.188.0/async/mod.ts";
export * from "https://deno.land/std@0.188.0/io/mod.ts";
2 changes: 1 addition & 1 deletion examples/pushiterable/example-of-pushiterable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import { Answer, Question } from "./common-json-defs.ts";
import * as proc from "../../mod.ts";
import { asynciter } from "https://deno.land/x/[email protected]/mod.ts";
import { blue, red } from "https://deno.land/std@0.177.0/fmt/colors.ts";
import { blue, red } from "https://deno.land/std@0.188.0/fmt/colors.ts";

/**
* This demonstrates sending objects to and receiving objects from a child process
Expand Down
2 changes: 1 addition & 1 deletion runners/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isWindows } from "https://deno.land/std@0.177.0/_util/os.ts";
import { isWindows } from "https://deno.land/std@0.188.0/_util/os.ts";

export const LINESEP: string = (() => {
if (isWindows) {
Expand Down
2 changes: 1 addition & 1 deletion runners/handlers/bytes.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from "https://deno.land/std@0.177.0/testing/asserts.ts";
import { assertEquals } from "https://deno.land/std@0.188.0/testing/asserts.ts";
import * as proc from "../../mod.ts";

Deno.test({
Expand Down
1 change: 1 addition & 0 deletions runners/proc-group-impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ export class GroupImpl implements Group {
input: A,
options: RunOptions,
): B | Promise<B> {
// deno-lint-ignore no-deprecated-deno-api
const process = Deno.run({
...options,
stdin: "piped",
Expand Down
2 changes: 1 addition & 1 deletion runners/utility.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { BufReader, BufWriter } from "../deps.ts";
import * as path from "https://deno.land/std@0.177.0/path/mod.ts";
import * as path from "https://deno.land/std@0.188.0/path/mod.ts";

export const DEFAULT_BUFFER_SIZE = 4096;

Expand Down
2 changes: 1 addition & 1 deletion tests/line-split.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from "https://deno.land/std@0.177.0/testing/asserts.ts";
import { assertEquals } from "https://deno.land/std@0.188.0/testing/asserts.ts";
import * as proc from "../mod.ts";

Deno.test({
Expand Down
2 changes: 1 addition & 1 deletion tests/piped.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assertEquals } from "https://deno.land/std@0.177.0/testing/asserts.ts";
import { assertEquals } from "https://deno.land/std@0.188.0/testing/asserts.ts";
import * as proc from "../mod.ts";

Deno.test({
Expand Down

0 comments on commit b2544b4

Please sign in to comment.