Skip to content

Commit 06b500d

Browse files
committed
jsr support
1 parent a25f270 commit 06b500d

File tree

3 files changed

+9
-16
lines changed

3 files changed

+9
-16
lines changed

deno.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
2-
"name": "skia_canvas",
2+
"name": "@gfx/canvas",
33
"github": "https://github.com/DjDeveloperr/skia_canvas",
4-
"verision": "0.5.5",
4+
"verision": "0.5.6",
55

66
"tasks": {
77
"build": "cd native/build && CC=clang CXX=clang++ cmake .. && cmake --build . --config Release",

deps.ts

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
1-
export { dlopen } from "https://deno.land/x/plug@1.0.0-rc.3/mod.ts";
1+
export { dlopen } from "jsr:@denosaurs/plug@1.0.5";
22
export {
33
createDownloadURL,
44
ensureCacheLocation,
5-
} from "https://deno.land/x/plug@1.0.0-rc.3/download.ts";
6-
export {
7-
isFile,
8-
urlToFilename,
9-
} from "https://deno.land/x/plug@1.0.0-rc.3/util.ts";
10-
export type { FetchOptions } from "https://deno.land/x/plug@1.0.0-rc.3/mod.ts";
11-
export {
12-
dirname,
13-
extname,
14-
join,
15-
} from "https://deno.land/std@0.159.0/path/mod.ts";
16-
export { ensureDir } from "https://deno.land/std@0.159.0/fs/mod.ts";
5+
} from "jsr:@denosaurs/plug@1.0.5/download";
6+
export { isFile, urlToFilename } from "jsr:@denosaurs/plug@1.0.5/util";
7+
export type { FetchOptions } from "jsr:@denosaurs/plug@1";
8+
export { dirname, extname, join } from "jsr:@std/path@0.217.0";
9+
export { ensureDir } from "jsr:@std/fs@0.217.0";

src/ffi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
join,
1111
urlToFilename,
1212
} from "../deps.ts";
13-
import meta from "../deno.json" assert { type: "json" };
13+
import meta from "../deno.json" with { type: "json" };
1414

1515
const SYMBOLS = {
1616
sk_canvas_create: {

0 commit comments

Comments
 (0)