diff --git a/.vscode/launch.json b/.vscode/launch.json index a1f2b2e..269d8ed 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,24 +1,24 @@ { - // Utilisez IntelliSense pour en savoir plus sur les attributs possibles. - // Pointez pour afficher la description des attributs existants. - // Pour plus d'informations, visitez : https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "request": "launch", - "name": "Launch Program", - "type": "node", - "program": "${workspaceFolder}/mod.ts", - "cwd": "${workspaceFolder}", - "env": {}, - "runtimeExecutable": "/usr/local/bin/deno", - "runtimeArgs": [ - "run", - "--unstable", - "--inspect-wait", - "--allow-all" - ], - "attachSimplePort": 9229 - } - ] -} \ No newline at end of file + // Utilisez IntelliSense pour en savoir plus sur les attributs possibles. + // Pointez pour afficher la description des attributs existants. + // Pour plus d'informations, visitez : https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "request": "launch", + "name": "Launch Program", + "type": "node", + "program": "${workspaceFolder}/mod.ts", + "cwd": "${workspaceFolder}", + "env": {}, + "runtimeExecutable": "/usr/local/bin/deno", + "runtimeArgs": [ + "run", + "--unstable", + "--inspect-wait", + "--allow-all" + ], + "attachSimplePort": 9229 + } + ] +} diff --git a/deno.json b/deno.json index 161cff0..c5cf8cc 100644 --- a/deno.json +++ b/deno.json @@ -8,6 +8,7 @@ "fmt:check": "deno fmt --check", "fmt": "deno fmt", "lint": "deno lint --unstable", - "fileserver": "deno run --allow-read --allow-net https://deno.land/std@0.136.0/http/file_server.ts ." - } + "fileserver": "deno run --allow-read --allow-net jsr:@std/http/file-server ." + }, + "unstable": ["cron", "kv"] } diff --git a/deno.lock b/deno.lock index f01cac0..d1d3377 100644 --- a/deno.lock +++ b/deno.lock @@ -1,8 +1,18 @@ { - "version": "2", - "remote": { - "https://deno.land/std@0.123.0/fmt/colors.ts": "8368ddf2d48dfe413ffd04cdbb7ae6a1009cf0dccc9c7ff1d76259d9c61a0621", - "https://deno.land/std@0.123.0/testing/_diff.ts": "e6a10d2aca8d6c27a9c5b8a2dbbf64353874730af539707b5b39d4128140642d", - "https://deno.land/std@0.123.0/testing/asserts.ts": "437505f8490a4d261836d822d3418bdd2b152007bdc9b01bdc339bf4b88983a2" + "version": "4", + "specifiers": { + "jsr:@std/assert@*": "1.0.6", + "jsr:@std/internal@^1.0.4": "1.0.4" + }, + "jsr": { + "@std/assert@1.0.6": { + "integrity": "1904c05806a25d94fe791d6d883b685c9e2dcd60e4f9fc30f4fc5cf010c72207", + "dependencies": [ + "jsr:@std/internal" + ] + }, + "@std/internal@1.0.4": { + "integrity": "62e8e4911527e5e4f307741a795c0b0a9e6958d0b3790716ae71ce085f755422" + } } } diff --git a/mod.test.ts b/mod.test.ts index d8b2c14..230dd41 100644 --- a/mod.test.ts +++ b/mod.test.ts @@ -1,4 +1,4 @@ -import { assertEquals } from "https://deno.land/std@0.123.0/testing/asserts.ts"; +import { assertEquals } from "jsr:@std/assert"; import { upperString } from "./mod.ts"; // Compact form: name and function