Skip to content

Commit 3339559

Browse files
committed
use new syntax for imports
1 parent 64286aa commit 3339559

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

tools/reference.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11

2-
import { basename, dirname, join } from "https://deno.land/std/path/mod.ts";
3-
import { expandGlobSync } from "https://deno.land/std/fs/expand_glob.ts";
4-
import { parse } from "https://deno.land/std/yaml/mod.ts";
5-
import { distinct } from "https://deno.land/std/collections/distinct.ts"
2+
import { basename, dirname, join } from "stdlib/path";
3+
import { expandGlobSync } from "stdlib/fs";
4+
import { parse } from "stdlib/yaml";
5+
import { distinct } from "stdlib/collections";
66

77

88
export function asArray<T>(x?: T | Array<T>): Array<T> {

tools/snapshot-typst.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import * as path from "https://deno.land/std/path/mod.ts";
2-
import {existsSync} from "https://deno.land/std/fs/mod.ts";
1+
import * as path from "stdlib/path";
2+
import {existsSync} from "stdlib/fs";
33

44
function getModuleDir(importMeta: ImportMeta): string {
55
return path.resolve(path.dirname(path.fromFileUrl(importMeta.url)));

0 commit comments

Comments
 (0)