Skip to content

Commit

Permalink
standardize on deno/std 0.196
Browse files Browse the repository at this point in the history
cliff.io uses this. So we’ll standardize there despite age for sanity and final binary size
  • Loading branch information
mxcl committed Jan 27, 2024
1 parent 59b93ea commit 653cd58
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/deno-to-node.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env -S pkgx +npm deno run --allow-env --allow-read --allow-write --allow-net --allow-run

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

await emptyDir("./dist");
Expand Down
2 changes: 1 addition & 1 deletion deno.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"imports": {
"is-what": "https://deno.land/x/[email protected]/src/index.ts",
"deno/": "https://deno.land/std@0.204.0/",
"deno/": "https://deno.land/std@0.196.0/",
"outdent": "https://deno.land/x/[email protected]/mod.ts"
}
}
14 changes: 7 additions & 7 deletions src/deps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ import * as outdent from "https://deno.land/x/[email protected]/mod.ts"
export { outdent }

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

const streams = { writeAll }
const io = { readLines }
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/useTestConfig.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import useConfig, { ConfigDefault } from "./useConfig.ts"
import { fromFileUrl } from "deno/path/from_file_url.ts"
import { fromFileUrl } from "deno/path/mod.ts"
import Path from "../utils/Path.ts"

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

0 comments on commit 653cd58

Please sign in to comment.