From 8629a5e28d6668a22cb39460d73eb18f249df9f5 Mon Sep 17 00:00:00 2001 From: Charles Lowell Date: Mon, 16 Dec 2024 21:18:20 -0600 Subject: [PATCH] upgrade deno --- .github/workflows/cli-release.yml | 5 +- .github/workflows/npm-release.yml | 5 +- .github/workflows/verify.yml | 8 +-- deno.lock | 95 +------------------------------ 4 files changed, 9 insertions(+), 104 deletions(-) diff --git a/.github/workflows/cli-release.yml b/.github/workflows/cli-release.yml index e80e9fb..2c6f940 100644 --- a/.github/workflows/cli-release.yml +++ b/.github/workflows/cli-release.yml @@ -20,15 +20,14 @@ jobs: uses: actions/checkout@v3 - name: setup deno - uses: denoland/setup-deno@v1 + uses: denoland/setup-deno@v2 with: - deno-version: v1.x + deno-version: v2.x - name: Get Version id: vars run: echo ::set-output name=version::$(echo ${{github.ref_name}} | sed 's/^v//') - - name: Setup Node uses: actions/setup-node@v2 with: diff --git a/.github/workflows/npm-release.yml b/.github/workflows/npm-release.yml index d099cf5..39981a8 100644 --- a/.github/workflows/npm-release.yml +++ b/.github/workflows/npm-release.yml @@ -20,15 +20,14 @@ jobs: uses: actions/checkout@v3 - name: setup deno - uses: denoland/setup-deno@v1 + uses: denoland/setup-deno@v2 with: - deno-version: v1.x + deno-version: v2.x - name: Get Version id: vars run: echo ::set-output name=version::$(echo ${{github.ref_name}} | sed 's/^v//') - - name: Setup Node uses: actions/setup-node@v2 with: diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 9b82e41..b9c336c 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -26,9 +26,9 @@ jobs: uses: actions/checkout@v3 - name: setup deno - uses: denoland/setup-deno@v1 + uses: denoland/setup-deno@v2 with: - deno-version: v1.x + deno-version: v2.x - name: format run: deno fmt --check @@ -37,6 +37,4 @@ jobs: run: deno lint - name: test - run: | - deno task test - cd www && deno task test + run: deno task test diff --git a/deno.lock b/deno.lock index 23f6a31..75e2a4c 100644 --- a/deno.lock +++ b/deno.lock @@ -1,63 +1,13 @@ { - "version": "3", + "version": "4", "redirects": { - "https://esm.sh/v132/@types/glob-to-regexp@~0.4/index.d.ts": "https://esm.sh/v132/@types/glob-to-regexp@0.4.3/index.d.ts" + "https://esm.sh/v132/@types/glob-to-regexp@~0.4/index.d.ts": "https://esm.sh/v132/@types/glob-to-regexp@0.4.4/index.d.ts" }, "remote": { - "https://deno.land/std@0.111.0/_util/assert.ts": "2f868145a042a11d5ad0a3c748dcf580add8a0dbc0e876eaa0026303a5488f58", - "https://deno.land/std@0.111.0/_util/os.ts": "dfb186cc4e968c770ab6cc3288bd65f4871be03b93beecae57d657232ecffcac", - "https://deno.land/std@0.111.0/bytes/bytes_list.ts": "3bff6a09c72b2e0b1e92e29bd3b135053894196cca07a2bba842901073efe5cb", - "https://deno.land/std@0.111.0/bytes/equals.ts": "69f55fdbd45c71f920c1a621e6c0865dc780cd8ae34e0f5e55a9497b70c31c1b", - "https://deno.land/std@0.111.0/bytes/mod.ts": "fedb80b8da2e7ad8dd251148e65f92a04c73d6c5a430b7d197dc39588c8dda6f", - "https://deno.land/std@0.111.0/fmt/colors.ts": "8368ddf2d48dfe413ffd04cdbb7ae6a1009cf0dccc9c7ff1d76259d9c61a0621", - "https://deno.land/std@0.111.0/fs/_util.ts": "f2ce811350236ea8c28450ed822a5f42a0892316515b1cd61321dec13569c56b", - "https://deno.land/std@0.111.0/fs/ensure_dir.ts": "b7c103dc41a3d1dbbb522bf183c519c37065fdc234831a4a0f7d671b1ed5fea7", - "https://deno.land/std@0.111.0/hash/sha256.ts": "bd85257c68d1fdd9da8457284c4fbb04efa9f4f2229b5f41a638d5b71a3a8d5c", - "https://deno.land/std@0.111.0/io/buffer.ts": "fdf93ba9e5d20ff3369e2c42443efd89131f8a73066f7f59c033cc588a0e2cfe", - "https://deno.land/std@0.111.0/path/_constants.ts": "1247fee4a79b70c89f23499691ef169b41b6ccf01887a0abd131009c5581b853", - "https://deno.land/std@0.111.0/path/_interface.ts": "1fa73b02aaa24867e481a48492b44f2598cd9dfa513c7b34001437007d3642e4", - "https://deno.land/std@0.111.0/path/_util.ts": "2e06a3b9e79beaf62687196bd4b60a4c391d862cfa007a20fc3a39f778ba073b", - "https://deno.land/std@0.111.0/path/common.ts": "f41a38a0719a1e85aa11c6ba3bea5e37c15dd009d705bd8873f94c833568cbc4", - "https://deno.land/std@0.111.0/path/glob.ts": "ea87985765b977cc284b92771003b2070c440e0807c90e1eb0ff3e095911a820", - "https://deno.land/std@0.111.0/path/mod.ts": "4465dc494f271b02569edbb4a18d727063b5dbd6ed84283ff906260970a15d12", - "https://deno.land/std@0.111.0/path/posix.ts": "34349174b9cd121625a2810837a82dd8b986bbaaad5ade690d1de75bbb4555b2", - "https://deno.land/std@0.111.0/path/separator.ts": "8fdcf289b1b76fd726a508f57d3370ca029ae6976fcde5044007f062e643ff1c", - "https://deno.land/std@0.111.0/path/win32.ts": "11549e8c6df8307a8efcfa47ad7b2a75da743eac7d4c89c9723a944661c8bd2e", - "https://deno.land/std@0.111.0/streams/conversion.ts": "fe0059ed9d3c53eda4ba44eb71a6a9acb98c5fdb5ba1b6c6ab28004724c7641b", - "https://deno.land/std@0.140.0/_util/assert.ts": "e94f2eb37cebd7f199952e242c77654e43333c1ac4c5c700e929ea3aa5489f74", - "https://deno.land/std@0.140.0/_util/os.ts": "3b4c6e27febd119d36a416d7a97bd3b0251b77c88942c8f16ee5953ea13e2e49", "https://deno.land/std@0.140.0/fmt/colors.ts": "30455035d6d728394781c10755351742dd731e3db6771b1843f9b9e490104d37", - "https://deno.land/std@0.140.0/fs/_util.ts": "0fb24eb4bfebc2c194fb1afdb42b9c3dda12e368f43e8f2321f84fc77d42cb0f", - "https://deno.land/std@0.140.0/fs/ensure_dir.ts": "9dc109c27df4098b9fc12d949612ae5c9c7169507660dcf9ad90631833209d9d", - "https://deno.land/std@0.140.0/fs/expand_glob.ts": "0c10130d67c9b02164b03df8e43c6d6defbf8e395cb69d09e84a8586e6d72ac3", - "https://deno.land/std@0.140.0/fs/walk.ts": "117403ccd21fd322febe56ba06053b1ad5064c802170f19b1ea43214088fe95f", - "https://deno.land/std@0.140.0/path/_constants.ts": "df1db3ffa6dd6d1252cc9617e5d72165cd2483df90e93833e13580687b6083c3", - "https://deno.land/std@0.140.0/path/_interface.ts": "ee3b431a336b80cf445441109d089b70d87d5e248f4f90ff906820889ecf8d09", - "https://deno.land/std@0.140.0/path/_util.ts": "c1e9686d0164e29f7d880b2158971d805b6e0efc3110d0b3e24e4b8af2190d2b", - "https://deno.land/std@0.140.0/path/common.ts": "bee563630abd2d97f99d83c96c2fa0cca7cee103e8cb4e7699ec4d5db7bd2633", - "https://deno.land/std@0.140.0/path/glob.ts": "cb5255638de1048973c3e69e420c77dc04f75755524cb3b2e160fe9277d939ee", - "https://deno.land/std@0.140.0/path/mod.ts": "d3e68d0abb393fb0bf94a6d07c46ec31dc755b544b13144dee931d8d5f06a52d", - "https://deno.land/std@0.140.0/path/posix.ts": "293cdaec3ecccec0a9cc2b534302dfe308adb6f10861fa183275d6695faace44", - "https://deno.land/std@0.140.0/path/separator.ts": "fe1816cb765a8068afb3e8f13ad272351c85cbc739af56dacfc7d93d710fe0f9", - "https://deno.land/std@0.140.0/path/win32.ts": "31811536855e19ba37a999cd8d1b62078235548d67902ece4aa6b814596dd757", "https://deno.land/std@0.140.0/testing/_diff.ts": "029a00560b0d534bc0046f1bce4bd36b3b41ada3f2a3178c85686eb2ff5f1413", "https://deno.land/std@0.140.0/testing/_format.ts": "0d8dc79eab15b67cdc532826213bbe05bccfd276ca473a50a3fc7bbfb7260642", "https://deno.land/std@0.140.0/testing/asserts.ts": "3eea146ece74b36d4add6243c19c302e47b2b0201fbeceeeb243b06b6b410af7", - "https://deno.land/std@0.143.0/_util/assert.ts": "e94f2eb37cebd7f199952e242c77654e43333c1ac4c5c700e929ea3aa5489f74", - "https://deno.land/std@0.143.0/_util/os.ts": "3b4c6e27febd119d36a416d7a97bd3b0251b77c88942c8f16ee5953ea13e2e49", - "https://deno.land/std@0.143.0/fmt/colors.ts": "30455035d6d728394781c10755351742dd731e3db6771b1843f9b9e490104d37", - "https://deno.land/std@0.143.0/fs/empty_dir.ts": "7274d87160de34cbed0531e284df383045cf43543bbeadeb97feac598bd8f3c5", - "https://deno.land/std@0.143.0/fs/expand_glob.ts": "0c10130d67c9b02164b03df8e43c6d6defbf8e395cb69d09e84a8586e6d72ac3", - "https://deno.land/std@0.143.0/fs/walk.ts": "117403ccd21fd322febe56ba06053b1ad5064c802170f19b1ea43214088fe95f", - "https://deno.land/std@0.143.0/path/_constants.ts": "df1db3ffa6dd6d1252cc9617e5d72165cd2483df90e93833e13580687b6083c3", - "https://deno.land/std@0.143.0/path/_interface.ts": "ee3b431a336b80cf445441109d089b70d87d5e248f4f90ff906820889ecf8d09", - "https://deno.land/std@0.143.0/path/_util.ts": "c1e9686d0164e29f7d880b2158971d805b6e0efc3110d0b3e24e4b8af2190d2b", - "https://deno.land/std@0.143.0/path/common.ts": "bee563630abd2d97f99d83c96c2fa0cca7cee103e8cb4e7699ec4d5db7bd2633", - "https://deno.land/std@0.143.0/path/glob.ts": "cb5255638de1048973c3e69e420c77dc04f75755524cb3b2e160fe9277d939ee", - "https://deno.land/std@0.143.0/path/mod.ts": "d3e68d0abb393fb0bf94a6d07c46ec31dc755b544b13144dee931d8d5f06a52d", - "https://deno.land/std@0.143.0/path/posix.ts": "293cdaec3ecccec0a9cc2b534302dfe308adb6f10861fa183275d6695faace44", - "https://deno.land/std@0.143.0/path/separator.ts": "fe1816cb765a8068afb3e8f13ad272351c85cbc739af56dacfc7d93d710fe0f9", - "https://deno.land/std@0.143.0/path/win32.ts": "31811536855e19ba37a999cd8d1b62078235548d67902ece4aa6b814596dd757", "https://deno.land/std@0.145.0/fmt/colors.ts": "6f9340b7fb8cc25a993a99e5efc56fe81bb5af284ff412129dd06df06f53c0b4", "https://deno.land/std@0.145.0/testing/_diff.ts": "029a00560b0d534bc0046f1bce4bd36b3b41ada3f2a3178c85686eb2ff5f1413", "https://deno.land/std@0.145.0/testing/_format.ts": "0d8dc79eab15b67cdc532826213bbe05bccfd276ca473a50a3fc7bbfb7260642", @@ -67,35 +17,7 @@ "https://deno.land/std@0.97.0/fmt/colors.ts": "db22b314a2ae9430ae7460ce005e0a7130e23ae1c999157e3bb77cf55800f7e4", "https://deno.land/std@0.97.0/testing/_diff.ts": "961eaf6d9f5b0a8556c9d835bbc6fa74f5addd7d3b02728ba7936ff93364f7a3", "https://deno.land/std@0.97.0/testing/asserts.ts": "341292d12eebc44be4c3c2ca101ba8b6b5859cef2fa69d50c217f9d0bfbcfd1f", - "https://deno.land/x/code_block_writer@11.0.0/comment_char.ts": "22b66890bbdf7a2d59777ffd8231710c1fda1c11fadada67632a596937a1a314", - "https://deno.land/x/code_block_writer@11.0.0/mod.ts": "dc43d56c3487bae02886a09754fb09c607da4ea866817e80f3e60632f3391d70", - "https://deno.land/x/code_block_writer@11.0.0/utils/string_utils.ts": "60cb4ec8bd335bf241ef785ccec51e809d576ff8e8d29da43d2273b69ce2a6ff", "https://deno.land/x/continuation@0.1.0/mod.ts": "e9579e5bacf37a837b67f06997ede088ac477f1b2bbbace5f7bbd5b55fef8cce", - "https://deno.land/x/deno_cache@0.2.1/auth_tokens.ts": "01b94d25abd974153a3111653998b9a43c66d84a0e4b362fc5f4bbbf40a6e0f7", - "https://deno.land/x/deno_cache@0.2.1/cache.ts": "67e301c20161546fea45405316314f4c3d85cc7a367b2fb72042903f308f55b7", - "https://deno.land/x/deno_cache@0.2.1/deno_dir.ts": "e4dc68da5641aa337bcc06fb1df28fcb086b366dcbea7d8aaed7ac7c853fedb1", - "https://deno.land/x/deno_cache@0.2.1/deps.ts": "2ebaba0ad86fff8b9027c6afd4c3909a17cd8bf8c9e263151c980c15c56a18ee", - "https://deno.land/x/deno_cache@0.2.1/dirs.ts": "e07003fabed7112375d4a50040297aae768f9d06bb6c2655ca46880653b576b4", - "https://deno.land/x/deno_cache@0.2.1/disk_cache.ts": "d7a361f0683a032bcca28513a7bbedc28c77cfcc6719e6f6cea156c0ff1108df", - "https://deno.land/x/deno_cache@0.2.1/file_fetcher.ts": "352702994c190c45215f3b8086621e117e88bc2174b020faefb5eca653d71d6a", - "https://deno.land/x/deno_cache@0.2.1/http_cache.ts": "af1500149496e2d0acadec24569e2a9c86a3f600cceef045dcf6f5ce8de72b3a", - "https://deno.land/x/deno_cache@0.2.1/mod.ts": "709ab9d1068be5fd77b020b33e7a9394f1e9b453553b1e2336b72c90283cf3c0", - "https://deno.land/x/deno_cache@0.2.1/util.ts": "652479928551259731686686ff2df6f26bc04e8e4d311137b2bf3bc10f779f48", - "https://deno.land/x/dnt@0.28.0/lib/compiler.ts": "8e57a6b48981ba1f887048923976cfa82a5f27e19814e42ef7bd674c3932a74c", - "https://deno.land/x/dnt@0.28.0/lib/compiler_transforms.ts": "316c24175fe6a5d7ac6bb1dd44d14ef8010ea5773a3ac918db4d64f986402d8b", - "https://deno.land/x/dnt@0.28.0/lib/mod.deps.ts": "ab9c978aefd41d279e7cb6b540e0d874c2f6a8a97228bbcaa8d69e2e57956ef5", - "https://deno.land/x/dnt@0.28.0/lib/npm_ignore.ts": "ec1a4ca32c5c652c931635632c8fe0e5c8d6c20ab33518a3038fde9163f6da95", - "https://deno.land/x/dnt@0.28.0/lib/package_json.ts": "78c80c50cd1e464b631b485efdee39ae348e8e7492c19b67223d0e436a6d15bb", - "https://deno.land/x/dnt@0.28.0/lib/pkg/dnt_wasm.generated.js": "fb552df272a04bd3fe30e296f1a3332fa7db1e4be6f43b7a16c0cc07b890475a", - "https://deno.land/x/dnt@0.28.0/lib/pkg/snippets/dnt-wasm-a15ef721fa5290c5/helpers.js": "2f623f83602d4fbb30caa63444b10e35b45e9c2b267e49585ec9bb790a4888d8", - "https://deno.land/x/dnt@0.28.0/lib/shims.ts": "f81c9cb8c2a97e6d5962928ccf39f2f03444981ece9a160ffd3ec235cb225c3e", - "https://deno.land/x/dnt@0.28.0/lib/test_runner/get_test_runner_code.ts": "b3682b1a34fc39840dd765e993523efdc97e004186c631de6a2d1c6cec3ebe45", - "https://deno.land/x/dnt@0.28.0/lib/test_runner/test_runner.ts": "fb89eb53964dd8b919a99536f03058778dc12aeeba3b4721e40f1eed8fc938a7", - "https://deno.land/x/dnt@0.28.0/lib/transform.deps.ts": "c0c3cb56f4dbda74aa6f58d9ae9e8d870accc8d41647396f2634b0a14027b393", - "https://deno.land/x/dnt@0.28.0/lib/types.ts": "8506b5ced3921a6ac2a1d5a2bb381bfdbf818c68207f14a1a1fffbf48ee95886", - "https://deno.land/x/dnt@0.28.0/lib/utils.ts": "d2681d634dfa6bd4ad2a32ad15bd419f6f1f895e06c0bf479455fbf1c5f49cd9", - "https://deno.land/x/dnt@0.28.0/mod.ts": "4426abe3043556b74712c32559e4a99092d20f85ca303b8774bf3d9f43700159", - "https://deno.land/x/dnt@0.28.0/transform.ts": "a5f81749ecc145af0730e348d5bb3b9b9c7b922822453561feecbdb0d5462b34", "https://deno.land/x/expect@v0.2.9/expect.ts": "128c60f94ff3f977e2a649463238e403f9bdb8e6ab77e65214c0236bd61b0111", "https://deno.land/x/expect@v0.2.9/matchers.ts": "ba7360b73c5031a22449fa98eb4d5dbe7f256a88dd4c22ccae96dc6c01f0b19c", "https://deno.land/x/expect@v0.2.9/mock.ts": "562d4b1d735d15b0b8e935f342679096b64fe452f86e96714fe8616c0c884914", @@ -106,26 +28,13 @@ "https://deno.land/x/seed@1.0.0/index.ts": "c1a656ad944010516e8b95324d93627ea1766b523ca9d4f841319b2066fa8495", "https://deno.land/x/seed@1.0.0/prngs.ts": "d999a383736eca2b7966dd245cd38b29e4440156e9e33d2248e581193dd62e42", "https://deno.land/x/seed@1.0.0/utils.ts": "0a9f0f13bfd6016cb07ac7b830d2f0550113fba8b1d07e19dced7a9250c44bd5", - "https://deno.land/x/ts_morph@15.1.0/bootstrap/mod.ts": "b53aad517f106c4079971fcd4a81ab79fadc40b50061a3ab2b741a09119d51e9", - "https://deno.land/x/ts_morph@15.1.0/bootstrap/ts_morph_bootstrap.js": "e0d65e4c209038948221437bad543df2092c93f76ab76c60eb203e9f108a793a", - "https://deno.land/x/ts_morph@15.1.0/common/DenoRuntime.ts": "669067e3f7235d554c7dcf9ec4f115b68ad8144488d99cfd04ea8c80461d9215", - "https://deno.land/x/ts_morph@15.1.0/common/mod.ts": "01985d2ee7da8d1caee318a9d07664774fbee4e31602bc2bb6bb62c3489555ed", - "https://deno.land/x/ts_morph@15.1.0/common/ts_morph_common.js": "e43476019b9c74ca9116eb82b97a14e6bc2d1bba55b0575d933d98069c0c0c37", - "https://deno.land/x/ts_morph@15.1.0/common/typescript.js": "4d7a5d2090a2ba739c02207bd8c49a60c9475dea7725a9cabfaf0f26cbf85f53", "https://esm.sh/alea@1.0.1?pin=v132": "813250725c871eb287ef992284231bfe498dc5d7cb1e13ee15950e38c3459ba0", "https://esm.sh/glob-to-regexp@0.4.1?pin=v132": "772e9fce7e1cd77a82e3d523ece9a349eb032fec17146ca3e4163a6b594106e3", "https://esm.sh/graphql@16.6.0?pin=v132": "6ab85614193688b2e2ad87f7e25760619bbda4a37ad9c2b025584214e7f7eece", "https://esm.sh/hash.js@1.1.7?pin=v132": "272d0cf50eb60257ec011125eaab6afa4fa5415590018257fc0fe102c6328b80", - "https://esm.sh/v130/alea@1.0.1": "beed2735b1d85ee5fa2eb037462ce1c82a716c73164f55e7950e2bcc4a208cff", - "https://esm.sh/v130/alea@1.0.1/denonext/alea.mjs": "90b44f81a636777cb849a749bdce783c65f645e9050cc58c5e8509b2a28ea475", - "https://esm.sh/v131/alea@1.0.1": "df84a21a8e0331b1d292ff104e728d45162de34ab5386eb55893669dc3431d2b", - "https://esm.sh/v131/alea@1.0.1/denonext/alea.mjs": "90b44f81a636777cb849a749bdce783c65f645e9050cc58c5e8509b2a28ea475", "https://esm.sh/v132/alea@1.0.1/denonext/alea.mjs": "90b44f81a636777cb849a749bdce783c65f645e9050cc58c5e8509b2a28ea475", - "https://esm.sh/v132/glob-to-regexp@0.4.1": "772e9fce7e1cd77a82e3d523ece9a349eb032fec17146ca3e4163a6b594106e3", "https://esm.sh/v132/glob-to-regexp@0.4.1/denonext/glob-to-regexp.mjs": "ac25c0581e5b203507a409913d863969c132697351c61e3a73485c319c8fd639", - "https://esm.sh/v132/graphql@16.6.0": "6ab85614193688b2e2ad87f7e25760619bbda4a37ad9c2b025584214e7f7eece", "https://esm.sh/v132/graphql@16.6.0/denonext/graphql.mjs": "799498b21523a9bfa7398e9f4c1a7adb069429874c4d59e77a121fc831571722", - "https://esm.sh/v132/hash.js@1.1.7": "272d0cf50eb60257ec011125eaab6afa4fa5415590018257fc0fe102c6328b80", "https://esm.sh/v132/hash.js@1.1.7/denonext/hash.mjs": "da540314f3db4cf88d5ed4f994f626eb9e56394a4eef9eb3359c68dd791f1959", "https://esm.sh/v132/inherits@2.0.4/denonext/inherits.mjs": "8095f3d6aea060c904fb24ae50f2882779c0acbe5d56814514c8b5153f3b4b3b", "https://esm.sh/v132/minimalistic-assert@1.0.1/denonext/minimalistic-assert.mjs": "9f5052e2c0ca7967ae65aee90db64a4f2014eebe14d6b774933e05d349c79c83"