Skip to content

Commit 653cd58

Browse files
committed
standardize on deno/std 0.196
cliff.io uses this. So we’ll standardize there despite age for sanity and final binary size
1 parent 59b93ea commit 653cd58

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/deno-to-node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env -S pkgx +npm deno run --allow-env --allow-read --allow-write --allow-net --allow-run
22

3-
import { build, emptyDir } from "https://deno.land/x/dnt@0.38.1/mod.ts";
3+
import { build, emptyDir } from "https://deno.land/x/dnt@0.39.0/mod.ts";
44
import SemVer from "../src/utils/semver.ts";
55

66
await emptyDir("./dist");

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"imports": {
2828
"is-what": "https://deno.land/x/is_what@v4.1.15/src/index.ts",
29-
"deno/": "https://deno.land/std@0.204.0/",
29+
"deno/": "https://deno.land/std@0.196.0/",
3030
"outdent": "https://deno.land/x/outdent@v0.8.0/mod.ts"
3131
}
3232
}

src/deps.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ import * as outdent from "https://deno.land/x/outdent@v0.8.0/mod.ts"
88
export { outdent }
99

1010
// importing super specifically to reduce final npm bundle size
11-
import * as crypto from "https://deno.land/std@0.204.0/crypto/mod.ts"
12-
import { moveSync } from "https://deno.land/std@0.204.0/fs/move.ts"
13-
import { readLines } from "https://deno.land/std@0.204.0/io/read_lines.ts"
14-
import { writeAll } from "https://deno.land/std@0.204.0/streams/write_all.ts"
15-
import { parse as parseYaml } from "https://deno.land/std@0.204.0/yaml/parse.ts"
16-
import { SEP } from "https://deno.land/std@0.204.0/path/mod.ts"
17-
import { fromFileUrl } from "https://deno.land/std@0.204.0/path/from_file_url.ts"
11+
import * as crypto from "https://deno.land/std@0.196.0/crypto/mod.ts"
12+
import { moveSync } from "https://deno.land/std@0.196.0/fs/move.ts"
13+
import { readLines } from "https://deno.land/std@0.196.0/io/read_lines.ts"
14+
import { writeAll } from "https://deno.land/std@0.196.0/streams/write_all.ts"
15+
import { parse as parseYaml } from "https://deno.land/std@0.196.0/yaml/parse.ts"
16+
import { SEP } from "https://deno.land/std@0.196.0/path/mod.ts"
17+
import { fromFileUrl } from "https://deno.land/std@0.196.0/path/mod.ts"
1818

1919
const streams = { writeAll }
2020
const io = { readLines }

src/hooks/useTestConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import useConfig, { ConfigDefault } from "./useConfig.ts"
2-
import { fromFileUrl } from "deno/path/from_file_url.ts"
2+
import { fromFileUrl } from "deno/path/mod.ts"
33
import Path from "../utils/Path.ts"
44

55
export function useBaseTestConfig(env?: Record<string, string>) {

0 commit comments

Comments
 (0)