diff --git a/.tool-versions b/.tool-versions index 8c9d43e..cc23c20 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -deno 1.46.3 +deno 2.1.4 diff --git a/Dockerfile b/Dockerfile index 1047dae..1a61ccf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM denoland/deno:alpine-1.46.3 AS base +FROM denoland/deno:alpine-2.1.4 AS base ENV DENO_ENV=production WORKDIR /app COPY deno.json ./ diff --git a/deno.lock b/deno.lock index c8067bf..28a0b3a 100644 --- a/deno.lock +++ b/deno.lock @@ -1,161 +1,205 @@ { - "version": "3", - "packages": { - "specifiers": { - "jsr:@oak/commons@0.11": "jsr:@oak/commons@0.11.0", - "jsr:@oak/commons@^1.0": "jsr:@oak/commons@1.0.0", - "jsr:@std/assert@0.223": "jsr:@std/assert@0.223.0", - "jsr:@std/assert@0.226": "jsr:@std/assert@0.226.0", - "jsr:@std/assert@^0.223.0": "jsr:@std/assert@0.223.0", - "jsr:@std/assert@^0.224.0": "jsr:@std/assert@0.224.0", - "jsr:@std/assert@^1.0": "jsr:@std/assert@1.0.7", - "jsr:@std/bytes@0.223": "jsr:@std/bytes@0.223.0", - "jsr:@std/bytes@0.224": "jsr:@std/bytes@0.224.0", - "jsr:@std/bytes@^0.223.0": "jsr:@std/bytes@0.223.0", - "jsr:@std/bytes@^1.0": "jsr:@std/bytes@1.0.3", - "jsr:@std/bytes@^1.0.2": "jsr:@std/bytes@1.0.3", - "jsr:@std/crypto@0.223": "jsr:@std/crypto@0.223.0", - "jsr:@std/crypto@0.224": "jsr:@std/crypto@0.224.0", - "jsr:@std/crypto@^1.0": "jsr:@std/crypto@1.0.3", - "jsr:@std/encoding@1.0.0-rc.2": "jsr:@std/encoding@1.0.0-rc.2", - "jsr:@std/encoding@^0.223.0": "jsr:@std/encoding@0.223.0", - "jsr:@std/encoding@^1.0": "jsr:@std/encoding@1.0.5", - "jsr:@std/encoding@^1.0.5": "jsr:@std/encoding@1.0.5", - "jsr:@std/http@0.223": "jsr:@std/http@0.223.0", - "jsr:@std/http@0.224": "jsr:@std/http@0.224.5", - "jsr:@std/http@^1.0": "jsr:@std/http@1.0.9", - "jsr:@std/io@0.223": "jsr:@std/io@0.223.0", - "jsr:@std/io@0.224": "jsr:@std/io@0.224.9", - "jsr:@std/media-types@0.223": "jsr:@std/media-types@0.223.0", - "jsr:@std/media-types@0.224": "jsr:@std/media-types@0.224.1", - "jsr:@std/media-types@^1.0": "jsr:@std/media-types@1.0.3", - "jsr:@std/path@0.223": "jsr:@std/path@0.223.0", - "jsr:@std/path@^1.0": "jsr:@std/path@1.0.8", - "npm:path-to-regexp@6.2.1": "npm:path-to-regexp@6.2.1" - }, - "jsr": { - "@oak/commons@0.11.0": { - "integrity": "07702bfe5c07cd8144c422022994da1f9fea466b185824f4be63a2b1b1a65125", - "dependencies": [ - "jsr:@std/assert@0.226", - "jsr:@std/bytes@0.224", - "jsr:@std/crypto@0.224", - "jsr:@std/http@0.224", - "jsr:@std/media-types@0.224" - ] - }, - "@oak/commons@1.0.0": { - "integrity": "49805b55603c3627a9d6235c0655aa2b6222d3036b3a13ff0380c16368f607ac", - "dependencies": [ - "jsr:@std/assert@^1.0", - "jsr:@std/bytes@^1.0", - "jsr:@std/crypto@^1.0", - "jsr:@std/encoding@^1.0", - "jsr:@std/http@^1.0", - "jsr:@std/media-types@^1.0" - ] - }, - "@std/assert@0.223.0": { - "integrity": "eb8d6d879d76e1cc431205bd346ed4d88dc051c6366365b1af47034b0670be24" - }, - "@std/assert@0.224.0": { - "integrity": "8643233ec7aec38a940a8264a6e3eed9bfa44e7a71cc6b3c8874213ff401967f" - }, - "@std/assert@0.226.0": { - "integrity": "0dfb5f7c7723c18cec118e080fec76ce15b4c31154b15ad2bd74822603ef75b3" - }, - "@std/assert@1.0.7": { - "integrity": "64ce9fac879e0b9f3042a89b3c3f8ccfc9c984391af19e2087513a79d73e28c3" - }, - "@std/bytes@0.223.0": { - "integrity": "84b75052cd8680942c397c2631318772b295019098f40aac5c36cead4cba51a8" - }, - "@std/bytes@0.224.0": { - "integrity": "a2250e1d0eb7d1c5a426f21267ab9bdeac2447fa87a3d0d1a467d3f7a6058e49" - }, - "@std/bytes@1.0.3": { - "integrity": "e5d5b9e685966314e4edb4be60dfc4bd7624a075bfd4ec8109252b4320f76452" - }, - "@std/crypto@0.223.0": { - "integrity": "1aa9555ff56b09e197ad988ea200f84bc6781fd4fd83f3a156ee44449af93000", - "dependencies": [ - "jsr:@std/assert@^0.223.0", - "jsr:@std/encoding@^0.223.0" - ] - }, - "@std/crypto@0.224.0": { - "integrity": "154ef3ff08ef535562ef1a718718c5b2c5fc3808f0f9100daad69e829bfcdf2d", - "dependencies": [ - "jsr:@std/assert@^0.224.0" - ] - }, - "@std/crypto@1.0.3": { - "integrity": "a2a32f51ddef632d299e3879cd027c630dcd4d1d9a5285d6e6788072f4e51e7f" - }, - "@std/encoding@0.223.0": { - "integrity": "2b5615a75e00337ce113f34cf2f9b8c18182c751a8dcc8b1a2c2fc0e117bef00" - }, - "@std/encoding@1.0.0-rc.2": { - "integrity": "160d7674a20ebfbccdf610b3801fee91cf6e42d1c106dd46bbaf46e395cd35ef" - }, - "@std/encoding@1.0.5": { - "integrity": "ecf363d4fc25bd85bd915ff6733a7e79b67e0e7806334af15f4645c569fefc04" - }, - "@std/http@0.223.0": { - "integrity": "15ab8a0c5a7e9d5be017a15b01600f20f66602ceec48b378939fa24fcec522aa", - "dependencies": [ - "jsr:@std/assert@^0.223.0", - "jsr:@std/encoding@^0.223.0" - ] - }, - "@std/http@0.224.5": { - "integrity": "b03b5d1529f6c423badfb82f6640f9f2557b4034cd7c30655ba5bb447ff750a4", - "dependencies": [ - "jsr:@std/encoding@1.0.0-rc.2" - ] - }, - "@std/http@1.0.9": { - "integrity": "d409fc319a5e8d4a154e576c758752e9700282d74f31357a12fec6420f9ecb6c", - "dependencies": [ - "jsr:@std/encoding@^1.0.5" - ] - }, - "@std/io@0.223.0": { - "integrity": "2d8c3c2ab3a515619b90da2c6ff5ea7b75a94383259ef4d02116b228393f84f1", - "dependencies": [ - "jsr:@std/bytes@^0.223.0" - ] - }, - "@std/io@0.224.9": { - "integrity": "4414664b6926f665102e73c969cfda06d2c4c59bd5d0c603fd4f1b1c840d6ee3", - "dependencies": [ - "jsr:@std/bytes@^1.0.2" - ] - }, - "@std/media-types@0.223.0": { - "integrity": "84684680c2eb6bc6d9369c6d6f26a49decaf2c7603ff531862dda575d9d6776e" - }, - "@std/media-types@0.224.1": { - "integrity": "9e69a5daed37c5b5c6d3ce4731dc191f80e67f79bed392b0957d1d03b87f11e1" - }, - "@std/media-types@1.0.3": { - "integrity": "b12d30a7852f7578f4d210622df713bbfd1cbdd9b4ec2eaf5c1845ab70bab159" - }, - "@std/path@0.223.0": { - "integrity": "593963402d7e6597f5a6e620931661053572c982fc014000459edc1f93cc3989", - "dependencies": [ - "jsr:@std/assert@^0.223.0" - ] - }, - "@std/path@1.0.8": { - "integrity": "548fa456bb6a04d3c1a1e7477986b6cffbce95102d0bb447c67c4ee70e0364be" - } - }, - "npm": { - "path-to-regexp@6.2.1": { - "integrity": "sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==", - "dependencies": {} - } + "version": "4", + "specifiers": { + "jsr:@b-fuze/deno-dom@*": "0.1.48", + "jsr:@oak/commons@0.11": "0.11.0", + "jsr:@oak/commons@1": "1.0.0", + "jsr:@oak/oak@*": "17.1.3", + "jsr:@std/assert@0.223": "0.223.0", + "jsr:@std/assert@0.224": "0.224.0", + "jsr:@std/assert@0.226": "0.226.0", + "jsr:@std/assert@1": "1.0.7", + "jsr:@std/bytes@0.223": "0.223.0", + "jsr:@std/bytes@0.224": "0.224.0", + "jsr:@std/bytes@1": "1.0.3", + "jsr:@std/bytes@^1.0.2": "1.0.3", + "jsr:@std/crypto@0.223": "0.223.0", + "jsr:@std/crypto@0.224": "0.224.0", + "jsr:@std/crypto@1": "1.0.3", + "jsr:@std/dotenv@*": "0.225.3", + "jsr:@std/encoding@0.223": "0.223.0", + "jsr:@std/encoding@1": "1.0.5", + "jsr:@std/encoding@1.0.0-rc.2": "1.0.0-rc.2", + "jsr:@std/encoding@^1.0.5": "1.0.5", + "jsr:@std/fmt@^1.0.3": "1.0.3", + "jsr:@std/fs@^1.0.7": "1.0.7", + "jsr:@std/http@0.223": "0.223.0", + "jsr:@std/http@0.224": "0.224.5", + "jsr:@std/http@1": "1.0.9", + "jsr:@std/io@0.223": "0.223.0", + "jsr:@std/io@0.224": "0.224.9", + "jsr:@std/io@0.225": "0.225.0", + "jsr:@std/log@*": "0.224.12", + "jsr:@std/media-types@0.223": "0.223.0", + "jsr:@std/media-types@0.224": "0.224.1", + "jsr:@std/media-types@1": "1.0.3", + "jsr:@std/path@*": "1.0.8", + "jsr:@std/path@0.223": "0.223.0", + "jsr:@std/path@1": "1.0.8", + "jsr:@viki/nanoid@*": "3.0.0", + "npm:path-to-regexp@6.2.1": "6.2.1" + }, + "jsr": { + "@b-fuze/deno-dom@0.1.48": { + "integrity": "bf5b591aef2e9e9c59adfcbb93a9ecd45bab5b7c8263625beafa5c8f1662e7da" + }, + "@oak/commons@0.11.0": { + "integrity": "07702bfe5c07cd8144c422022994da1f9fea466b185824f4be63a2b1b1a65125", + "dependencies": [ + "jsr:@std/assert@0.226", + "jsr:@std/bytes@0.224", + "jsr:@std/crypto@0.224", + "jsr:@std/http@0.224", + "jsr:@std/media-types@0.224" + ] + }, + "@oak/commons@1.0.0": { + "integrity": "49805b55603c3627a9d6235c0655aa2b6222d3036b3a13ff0380c16368f607ac", + "dependencies": [ + "jsr:@std/assert@1", + "jsr:@std/bytes@1", + "jsr:@std/crypto@1", + "jsr:@std/encoding@1", + "jsr:@std/http@1", + "jsr:@std/media-types@1" + ] + }, + "@oak/oak@17.1.3": { + "integrity": "d89296c22db91681dd3a2a1e1fd14e258d0d5a9654de55637aee5b661c159f33", + "dependencies": [ + "jsr:@oak/commons@1", + "jsr:@std/assert@1", + "jsr:@std/bytes@1", + "jsr:@std/crypto@1", + "jsr:@std/http@1", + "jsr:@std/io@0.224", + "jsr:@std/media-types@1", + "jsr:@std/path@1", + "npm:path-to-regexp" + ] + }, + "@std/assert@0.223.0": { + "integrity": "eb8d6d879d76e1cc431205bd346ed4d88dc051c6366365b1af47034b0670be24" + }, + "@std/assert@0.224.0": { + "integrity": "8643233ec7aec38a940a8264a6e3eed9bfa44e7a71cc6b3c8874213ff401967f" + }, + "@std/assert@0.226.0": { + "integrity": "0dfb5f7c7723c18cec118e080fec76ce15b4c31154b15ad2bd74822603ef75b3" + }, + "@std/assert@1.0.7": { + "integrity": "64ce9fac879e0b9f3042a89b3c3f8ccfc9c984391af19e2087513a79d73e28c3" + }, + "@std/bytes@0.223.0": { + "integrity": "84b75052cd8680942c397c2631318772b295019098f40aac5c36cead4cba51a8" + }, + "@std/bytes@0.224.0": { + "integrity": "a2250e1d0eb7d1c5a426f21267ab9bdeac2447fa87a3d0d1a467d3f7a6058e49" + }, + "@std/bytes@1.0.3": { + "integrity": "e5d5b9e685966314e4edb4be60dfc4bd7624a075bfd4ec8109252b4320f76452" + }, + "@std/crypto@0.223.0": { + "integrity": "1aa9555ff56b09e197ad988ea200f84bc6781fd4fd83f3a156ee44449af93000", + "dependencies": [ + "jsr:@std/assert@0.223", + "jsr:@std/encoding@0.223" + ] + }, + "@std/crypto@0.224.0": { + "integrity": "154ef3ff08ef535562ef1a718718c5b2c5fc3808f0f9100daad69e829bfcdf2d", + "dependencies": [ + "jsr:@std/assert@0.224" + ] + }, + "@std/crypto@1.0.3": { + "integrity": "a2a32f51ddef632d299e3879cd027c630dcd4d1d9a5285d6e6788072f4e51e7f" + }, + "@std/dotenv@0.225.3": { + "integrity": "a95e5b812c27b0854c52acbae215856d9cce9d4bbf774d938c51d212711e8d4a" + }, + "@std/encoding@0.223.0": { + "integrity": "2b5615a75e00337ce113f34cf2f9b8c18182c751a8dcc8b1a2c2fc0e117bef00" + }, + "@std/encoding@1.0.0-rc.2": { + "integrity": "160d7674a20ebfbccdf610b3801fee91cf6e42d1c106dd46bbaf46e395cd35ef" + }, + "@std/encoding@1.0.5": { + "integrity": "ecf363d4fc25bd85bd915ff6733a7e79b67e0e7806334af15f4645c569fefc04" + }, + "@std/fmt@1.0.3": { + "integrity": "97765c16aa32245ff4e2204ecf7d8562496a3cb8592340a80e7e554e0bb9149f" + }, + "@std/fs@1.0.7": { + "integrity": "95ac7326e0e59089c979706e17bb28db03b5fb41c5a37c9c556788198b0662d6" + }, + "@std/http@0.223.0": { + "integrity": "15ab8a0c5a7e9d5be017a15b01600f20f66602ceec48b378939fa24fcec522aa", + "dependencies": [ + "jsr:@std/assert@0.223", + "jsr:@std/encoding@0.223" + ] + }, + "@std/http@0.224.5": { + "integrity": "b03b5d1529f6c423badfb82f6640f9f2557b4034cd7c30655ba5bb447ff750a4", + "dependencies": [ + "jsr:@std/encoding@1.0.0-rc.2" + ] + }, + "@std/http@1.0.9": { + "integrity": "d409fc319a5e8d4a154e576c758752e9700282d74f31357a12fec6420f9ecb6c", + "dependencies": [ + "jsr:@std/encoding@^1.0.5" + ] + }, + "@std/io@0.223.0": { + "integrity": "2d8c3c2ab3a515619b90da2c6ff5ea7b75a94383259ef4d02116b228393f84f1", + "dependencies": [ + "jsr:@std/bytes@0.223" + ] + }, + "@std/io@0.224.9": { + "integrity": "4414664b6926f665102e73c969cfda06d2c4c59bd5d0c603fd4f1b1c840d6ee3", + "dependencies": [ + "jsr:@std/bytes@^1.0.2" + ] + }, + "@std/io@0.225.0": { + "integrity": "c1db7c5e5a231629b32d64b9a53139445b2ca640d828c26bf23e1c55f8c079b3" + }, + "@std/log@0.224.12": { + "integrity": "d0f002f1340a11f28d482a7a9e1c904c26b8ff2c7dd4fe32175b3ece3e0b18c5", + "dependencies": [ + "jsr:@std/fmt", + "jsr:@std/fs", + "jsr:@std/io@0.225" + ] + }, + "@std/media-types@0.223.0": { + "integrity": "84684680c2eb6bc6d9369c6d6f26a49decaf2c7603ff531862dda575d9d6776e" + }, + "@std/media-types@0.224.1": { + "integrity": "9e69a5daed37c5b5c6d3ce4731dc191f80e67f79bed392b0957d1d03b87f11e1" + }, + "@std/media-types@1.0.3": { + "integrity": "b12d30a7852f7578f4d210622df713bbfd1cbdd9b4ec2eaf5c1845ab70bab159" + }, + "@std/path@0.223.0": { + "integrity": "593963402d7e6597f5a6e620931661053572c982fc014000459edc1f93cc3989", + "dependencies": [ + "jsr:@std/assert@0.223" + ] + }, + "@std/path@1.0.8": { + "integrity": "548fa456bb6a04d3c1a1e7477986b6cffbce95102d0bb447c67c4ee70e0364be" + }, + "@viki/nanoid@3.0.0": { + "integrity": "a21e85c3a7bacce19becc4aa3ddfbbaf2a19435b2596198713c8422ec128ca34" + } + }, + "npm": { + "path-to-regexp@6.2.1": { + "integrity": "sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==" } }, "remote": { diff --git a/deps.ts b/deps.ts index f6ea5e3..14e5105 100644 --- a/deps.ts +++ b/deps.ts @@ -1,8 +1,9 @@ -export * as path from "https://deno.land/std@0.224.0/path/mod.ts" -export * as log from "https://deno.land/std@0.224.0/log/mod.ts" -export * as dotEnv from "https://deno.land/std@0.224.0/dotenv/mod.ts" -export * as oak from "https://deno.land/x/oak@v17.1.3/mod.ts" +export * as path from "jsr:@std/path" +export * as log from "jsr:@std/log" +export * as dotEnv from "jsr:@std/dotenv" +export * as oak from "jsr:@oak/oak" +export * as denoDom from "jsr:@b-fuze/deno-dom" +export { nanoid } from "jsr:@viki/nanoid" + export * as dejs from "https://deno.land/x/dejs@0.10.3/mod.ts" -export * as denoDom from "https://deno.land/x/deno_dom@v0.1.48/deno-dom-wasm.ts" export { mime } from "https://deno.land/x/mimetypes@v1.0.0/mod.ts" -export { nanoid } from "https://deno.land/x/nanoid@v3.0.0/mod.ts"