diff --git a/deno.json b/deno.json index dfa524a..84ec4d0 100644 --- a/deno.json +++ b/deno.json @@ -1,7 +1,7 @@ { - "name": "skia_canvas", + "name": "@gfx/canvas", "github": "https://github.com/DjDeveloperr/skia_canvas", - "verision": "0.5.5", + "verision": "0.5.6", "tasks": { "build": "cd native/build && CC=clang CXX=clang++ cmake .. && cmake --build . --config Release", diff --git a/deps.ts b/deps.ts index 52f13a7..d4b5a8b 100644 --- a/deps.ts +++ b/deps.ts @@ -1,16 +1,9 @@ -export { dlopen } from "https://deno.land/x/plug@1.0.0-rc.3/mod.ts"; +export { dlopen } from "jsr:@denosaurs/plug@1.0.5"; export { createDownloadURL, ensureCacheLocation, -} from "https://deno.land/x/plug@1.0.0-rc.3/download.ts"; -export { - isFile, - urlToFilename, -} from "https://deno.land/x/plug@1.0.0-rc.3/util.ts"; -export type { FetchOptions } from "https://deno.land/x/plug@1.0.0-rc.3/mod.ts"; -export { - dirname, - extname, - join, -} from "https://deno.land/std@0.159.0/path/mod.ts"; -export { ensureDir } from "https://deno.land/std@0.159.0/fs/mod.ts"; +} from "jsr:@denosaurs/plug@1.0.5/download"; +export { isFile, urlToFilename } from "jsr:@denosaurs/plug@1.0.5/util"; +export type { FetchOptions } from "jsr:@denosaurs/plug@1"; +export { dirname, extname, join } from "jsr:@std/path@0.217.0"; +export { ensureDir } from "jsr:@std/fs@0.217.0"; diff --git a/src/ffi.ts b/src/ffi.ts index c61f441..709f08e 100644 --- a/src/ffi.ts +++ b/src/ffi.ts @@ -10,7 +10,7 @@ import { join, urlToFilename, } from "../deps.ts"; -import meta from "../deno.json" assert { type: "json" }; +import meta from "../deno.json" with { type: "json" }; const SYMBOLS = { sk_canvas_create: {