diff --git a/.ghjk/deno.lock b/.ghjk/deno.lock index a51f9eea71..931301c619 100644 --- a/.ghjk/deno.lock +++ b/.ghjk/deno.lock @@ -6,20 +6,26 @@ "jsr:@david/which@^0.4.1": "jsr:@david/which@0.4.1", "jsr:@std/assert@^0.221.0": "jsr:@std/assert@0.221.0", "jsr:@std/bytes@^0.221.0": "jsr:@std/bytes@0.221.0", - "jsr:@std/bytes@^1.0.2-rc.3": "jsr:@std/bytes@1.0.2", - "jsr:@std/cli@^1.0.3": "jsr:@std/cli@1.0.3", + "jsr:@std/bytes@^1.0.2": "jsr:@std/bytes@1.0.2", + "jsr:@std/cli@^1.0.3": "jsr:@std/cli@1.0.5", + "jsr:@std/fmt": "jsr:@std/fmt@0.221.0", "jsr:@std/fmt@^0.221.0": "jsr:@std/fmt@0.221.0", - "jsr:@std/fmt@^1.0.0": "jsr:@std/fmt@1.0.0", + "jsr:@std/fmt@^1.0.0": "jsr:@std/fmt@1.0.2", + "jsr:@std/fs": "jsr:@std/fs@0.221.0", "jsr:@std/fs@0.221.0": "jsr:@std/fs@0.221.0", - "jsr:@std/fs@^1.0.1": "jsr:@std/fs@1.0.1", + "jsr:@std/fs@^1.0.1": "jsr:@std/fs@1.0.3", "jsr:@std/io@0.221.0": "jsr:@std/io@0.221.0", "jsr:@std/io@^0.221.0": "jsr:@std/io@0.221.0", + "jsr:@std/path": "jsr:@std/path@0.221.0", "jsr:@std/path@0.221.0": "jsr:@std/path@0.221.0", "jsr:@std/path@^0.221.0": "jsr:@std/path@0.221.0", - "jsr:@std/path@^1.0.2": "jsr:@std/path@1.0.2", - "jsr:@std/semver@^1.0.1": "jsr:@std/semver@1.0.1", + "jsr:@std/path@^1.0.2": "jsr:@std/path@1.0.4", + "jsr:@std/path@^1.0.4": "jsr:@std/path@1.0.4", + "jsr:@std/semver": "jsr:@std/semver@1.0.3", + "jsr:@std/semver@^1.0.1": "jsr:@std/semver@1.0.3", + "jsr:@std/streams": "jsr:@std/streams@0.221.0", "jsr:@std/streams@0.221.0": "jsr:@std/streams@0.221.0", - "jsr:@std/streams@1": "jsr:@std/streams@1.0.1", + "jsr:@std/streams@1": "jsr:@std/streams@1.0.4", "npm:@noble/hashes@1.4.0": "npm:@noble/hashes@1.4.0", "npm:multiformats@13.1.0": "npm:multiformats@13.1.0", "npm:zod-validation-error@3.3.0": "npm:zod-validation-error@3.3.0_zod@3.23.8", @@ -49,14 +55,14 @@ "@std/bytes@1.0.2": { "integrity": "fbdee322bbd8c599a6af186a1603b3355e59a5fb1baa139f8f4c3c9a1b3e3d57" }, - "@std/cli@1.0.3": { - "integrity": "9a0488b5d2e58d29dce106a941eecec7181fae996bf0d2225563f1ca7e4b100c" + "@std/cli@1.0.5": { + "integrity": "c93cce26ffd26f617c15a12874e1bfeabc90b1eee86017c9639093734c2bf587" }, "@std/fmt@0.221.0": { "integrity": "379fed69bdd9731110f26b9085aeb740606b20428ce6af31ef6bd45ef8efa62a" }, - "@std/fmt@1.0.0": { - "integrity": "8a95c9fdbb61559418ccbc0f536080cf43341655e1444f9d375a66886ceaaa3d" + "@std/fmt@1.0.2": { + "integrity": "87e9dfcdd3ca7c066e0c3c657c1f987c82888eb8103a3a3baa62684ffeb0f7a7" }, "@std/fs@0.221.0": { "integrity": "028044450299de8ed5a716ade4e6d524399f035513b85913794f4e81f07da286", @@ -65,10 +71,10 @@ "jsr:@std/path@^0.221.0" ] }, - "@std/fs@1.0.1": { - "integrity": "d6914ca2c21abe591f733b31dbe6331e446815e513e2451b3b9e472daddfefcb", + "@std/fs@1.0.3": { + "integrity": "3cb839b1360b0a42d8b367c3093bfe4071798e6694fa44cf1963e04a8edba4fe", "dependencies": [ - "jsr:@std/path@^1.0.2" + "jsr:@std/path@^1.0.4" ] }, "@std/io@0.221.0": { @@ -84,22 +90,23 @@ "jsr:@std/assert@^0.221.0" ] }, - "@std/path@1.0.2": { - "integrity": "a452174603f8c620bd278a380c596437a9eef50c891c64b85812f735245d9ec7" + "@std/path@1.0.4": { + "integrity": "48dd5d8389bcfcd619338a01bdf862cb7799933390146a54ae59356a0acc7105" }, - "@std/semver@1.0.1": { - "integrity": "f0c9b41b70e27e8cdfe9252b486c55a727d66ead72625e0fa1aae75f45ca15e1" + "@std/semver@1.0.3": { + "integrity": "7c139c6076a080eeaa4252c78b95ca5302818d7eafab0470d34cafd9930c13c8" }, "@std/streams@0.221.0": { "integrity": "47f2f74634b47449277c0ee79fe878da4424b66bd8975c032e3afdca88986e61", "dependencies": [ + "jsr:@std/bytes@^0.221.0", "jsr:@std/io@^0.221.0" ] }, - "@std/streams@1.0.1": { - "integrity": "b07008b83fd7ae08965920d0fd700e07caf233bdd81e0ef1c8cca6c4140da364", + "@std/streams@1.0.4": { + "integrity": "a1a5b01c74ca1d2dcaacfe1d4bbb91392e765946d82a3471bd95539adc6da83a", "dependencies": [ - "jsr:@std/bytes@^1.0.2-rc.3" + "jsr:@std/bytes@^1.0.2" ] } }, @@ -125,8 +132,7 @@ } }, "redirects": { - "https://github.com/levibostian/deno-udd/raw/ignore-prerelease/mod.ts": "https://raw.githubusercontent.com/levibostian/deno-udd/ignore-prerelease/mod.ts", - "https://raw.githubusercontent.com/metatypedev/ghjk/v0.2.1//mod.ts": "https://raw.githubusercontent.com/metatypedev/ghjk/v0.2.1/mod.ts" + "https://github.com/levibostian/deno-udd/raw/ignore-prerelease/mod.ts": "https://raw.githubusercontent.com/levibostian/deno-udd/ignore-prerelease/mod.ts" }, "remote": { "https://deno.land/std@0.116.0/_util/assert.ts": "2f868145a042a11d5ad0a3c748dcf580add8a0dbc0e876eaa0026303a5488f58", @@ -435,206 +441,6 @@ "https://deno.land/std@0.213.0/url/join.ts": "00c7e9088cafaa24963ce4081119e58b3afe2c58f033701383f359ea02620dd2", "https://deno.land/std@0.213.0/url/mod.ts": "e2621f6a0db6fdbe7fbbd240064095bb203014657e5e1ab81db1c44d80dce6c9", "https://deno.land/std@0.213.0/url/normalize.ts": "6328c75df0fab300f74bc4a1c255062a0db882240e15ab646606d0009e7e40d7", - "https://deno.land/std@0.219.0/assert/assert.ts": "bec068b2fccdd434c138a555b19a2c2393b71dfaada02b7d568a01541e67cdc5", - "https://deno.land/std@0.219.0/assert/assertion_error.ts": "9f689a101ee586c4ce92f52fa7ddd362e86434ffdf1f848e45987dc7689976b8", - "https://deno.land/std@0.219.0/bytes/concat.ts": "9cac3b4376afbef98ff03588eb3cf948e0d1eb6c27cfe81a7651ab6dd3adc54a", - "https://deno.land/std@0.219.0/bytes/copy.ts": "f29c03168853720dfe82eaa57793d0b9e3543ebfe5306684182f0f1e3bfd422a", - "https://deno.land/std@0.219.0/cli/mod.ts": "58f75df8ce43fb8266bdd26ec4465f73176b910316d72eb8e090b6a0549391da", - "https://deno.land/std@0.219.0/cli/parse_args.ts": "475b3edc8105c9acea09b83b100afc383d7bddbba9828da3f0c4adced006607a", - "https://deno.land/std@0.219.0/cli/prompt_secret.ts": "831cfb4efa83bfaf9bfd320ddbfd619e03cd87e81260909f93ca199ebe214ec2", - "https://deno.land/std@0.219.0/cli/spinner.ts": "005395c4e00b1086bfa2ae44e8c9413c1231c4741a08a55aa0d3c9ea267cecb5", - "https://deno.land/std@0.219.0/fmt/colors.ts": "d239d84620b921ea520125d778947881f62c50e78deef2657073840b8af9559a", - "https://deno.land/std@0.219.0/fmt/duration.ts": "606f8c2bbbadd7f7a122868a478c9ad31f2e66b1e19e0a9769655585414fced6", - "https://deno.land/std@0.219.0/fs/_create_walk_entry.ts": "5d9d2aaec05bcf09a06748b1684224d33eba7a4de24cf4cf5599991ca6b5b412", - "https://deno.land/std@0.219.0/fs/_get_file_info_type.ts": "da7bec18a7661dba360a1db475b826b18977582ce6fc9b25f3d4ee0403fe8cbd", - "https://deno.land/std@0.219.0/fs/_is_same_path.ts": "709c95868345fea051c58b9e96af95cff94e6ae98dfcff2b66dee0c212c4221f", - "https://deno.land/std@0.219.0/fs/_is_subdir.ts": "c68b309d46cc8568ed83c000f608a61bbdba0943b7524e7a30f9e450cf67eecd", - "https://deno.land/std@0.219.0/fs/_to_path_string.ts": "29bfc9c6c112254961d75cbf6ba814d6de5349767818eb93090cecfa9665591e", - "https://deno.land/std@0.219.0/fs/copy.ts": "dc0f68c4b6c3b090bfdb909387e309f6169b746bd713927c9507c9ef545d71f6", - "https://deno.land/std@0.219.0/fs/empty_dir.ts": "4f01e6d56e2aa8d90ad60f20bc25601f516b00f6c3044cdf6863a058791d91aa", - "https://deno.land/std@0.219.0/fs/ensure_dir.ts": "dffff68de0d10799b5aa9e39dec4e327e12bbd29e762292193684542648c4aeb", - "https://deno.land/std@0.219.0/fs/ensure_file.ts": "ac5cfde94786b0284d2c8e9f7f9425269bea1b2140612b4aea1f20b508870f59", - "https://deno.land/std@0.219.0/fs/ensure_link.ts": "d42af2edefeaa9817873ec6e46dc5d209ac4d744f8c69c5ecc2dffade78465b6", - "https://deno.land/std@0.219.0/fs/ensure_symlink.ts": "1f64d7bdd191f7d9b71264e191902fcae5cec86305d54659897944caea70f814", - "https://deno.land/std@0.219.0/fs/eol.ts": "c9807291f78361d49fd986a9be04654610c615c5e2ec63d748976197d30ff206", - "https://deno.land/std@0.219.0/fs/exists.ts": "d2757ef764eaf5c6c5af7228e8447db2de42ab084a2dae540097f905723d83f5", - "https://deno.land/std@0.219.0/fs/expand_glob.ts": "a1ce02b05ed7b96985b0665067c9f1018f3f2ade7ee0fb0d629231050260b158", - "https://deno.land/std@0.219.0/fs/mod.ts": "107f5afa4424c2d3ce2f7e9266173198da30302c69af662c720115fe504dc5ee", - "https://deno.land/std@0.219.0/fs/move.ts": "39e0d7ccb88a566d20b949712020e766b15ef1ec19159573d11f949bd677909c", - "https://deno.land/std@0.219.0/fs/walk.ts": "78e1d01a9f75715614bf8d6e58bd77d9fafb1222c41194e607cd3849d7a0e771", - "https://deno.land/std@0.219.0/io/_common.ts": "36705cdb4dfcd338d6131bca1b16e48a4d5bf0d1dada6ce397268e88c17a5835", - "https://deno.land/std@0.219.0/io/_constants.ts": "3c7ad4695832e6e4a32e35f218c70376b62bc78621ef069a4a0a3d55739f8856", - "https://deno.land/std@0.219.0/io/buffer.ts": "4d1f805f350433e418002accec798bc6c33ce18f614afa65f987c202d7b2234e", - "https://deno.land/std@0.219.0/io/iterate_reader.ts": "1e5e4fea22d8965afb7df4ee9ab9adda0a0fc581adbea31bc2f2d25453f8a6e9", - "https://deno.land/std@0.219.0/io/reader_from_stream_reader.ts": "a75bbc93f39df8b0e372cc1fbdc416a7cbf2a39fc4c09ddb057f1241100191c5", - "https://deno.land/std@0.219.0/io/to_readable_stream.ts": "ed03a44a1ec1cc55a85a857acf6cac472035298f6f3b6207ea209f93b4aefb39", - "https://deno.land/std@0.219.0/io/to_writable_stream.ts": "ef422e0425963c8a1e0481674e66c3023da50f0acbe5ef51ec9789efc3c1e2ed", - "https://deno.land/std@0.219.0/io/write_all.ts": "24aac2312bb21096ae3ae0b102b22c26164d3249dff96dbac130958aa736f038", - "https://deno.land/std@0.219.0/path/_common/assert_path.ts": "dbdd757a465b690b2cc72fc5fb7698c51507dec6bfafce4ca500c46b76ff7bd8", - "https://deno.land/std@0.219.0/path/_common/basename.ts": "569744855bc8445f3a56087fd2aed56bdad39da971a8d92b138c9913aecc5fa2", - "https://deno.land/std@0.219.0/path/_common/common.ts": "ef73c2860694775fe8ffcbcdd387f9f97c7a656febf0daa8c73b56f4d8a7bd4c", - "https://deno.land/std@0.219.0/path/_common/constants.ts": "dc5f8057159f4b48cd304eb3027e42f1148cf4df1fb4240774d3492b5d12ac0c", - "https://deno.land/std@0.219.0/path/_common/dirname.ts": "684df4aa71a04bbcc346c692c8485594fc8a90b9408dfbc26ff32cf3e0c98cc8", - "https://deno.land/std@0.219.0/path/_common/format.ts": "92500e91ea5de21c97f5fe91e178bae62af524b72d5fcd246d6d60ae4bcada8b", - "https://deno.land/std@0.219.0/path/_common/from_file_url.ts": "d672bdeebc11bf80e99bf266f886c70963107bdd31134c4e249eef51133ceccf", - "https://deno.land/std@0.219.0/path/_common/glob_to_reg_exp.ts": "6cac16d5c2dc23af7d66348a7ce430e5de4e70b0eede074bdbcf4903f4374d8d", - "https://deno.land/std@0.219.0/path/_common/normalize.ts": "684df4aa71a04bbcc346c692c8485594fc8a90b9408dfbc26ff32cf3e0c98cc8", - "https://deno.land/std@0.219.0/path/_common/normalize_string.ts": "dfdf657a1b1a7db7999f7c575ee7e6b0551d9c20f19486c6c3f5ff428384c965", - "https://deno.land/std@0.219.0/path/_common/relative.ts": "faa2753d9b32320ed4ada0733261e3357c186e5705678d9dd08b97527deae607", - "https://deno.land/std@0.219.0/path/_common/strip_trailing_separators.ts": "7024a93447efcdcfeaa9339a98fa63ef9d53de363f1fbe9858970f1bba02655a", - "https://deno.land/std@0.219.0/path/_common/to_file_url.ts": "7f76adbc83ece1bba173e6e98a27c647712cab773d3f8cbe0398b74afc817883", - "https://deno.land/std@0.219.0/path/_interface.ts": "a1419fcf45c0ceb8acdccc94394e3e94f99e18cfd32d509aab514c8841799600", - "https://deno.land/std@0.219.0/path/_os.ts": "8fb9b90fb6b753bd8c77cfd8a33c2ff6c5f5bc185f50de8ca4ac6a05710b2c15", - "https://deno.land/std@0.219.0/path/basename.ts": "5d341aadb7ada266e2280561692c165771d071c98746fcb66da928870cd47668", - "https://deno.land/std@0.219.0/path/common.ts": "03e52e22882402c986fe97ca3b5bb4263c2aa811c515ce84584b23bac4cc2643", - "https://deno.land/std@0.219.0/path/constants.ts": "0c206169ca104938ede9da48ac952de288f23343304a1c3cb6ec7625e7325f36", - "https://deno.land/std@0.219.0/path/dirname.ts": "85bd955bf31d62c9aafdd7ff561c4b5fb587d11a9a5a45e2b01aedffa4238a7c", - "https://deno.land/std@0.219.0/path/extname.ts": "593303db8ae8c865cbd9ceec6e55d4b9ac5410c1e276bfd3131916591b954441", - "https://deno.land/std@0.219.0/path/format.ts": "42a2f3201343df77061207e6aaf78c95bafce7f711dcb7fe1e5840311c505778", - "https://deno.land/std@0.219.0/path/from_file_url.ts": "911833ae4fd10a1c84f6271f36151ab785955849117dc48c6e43b929504ee069", - "https://deno.land/std@0.219.0/path/glob_to_regexp.ts": "7f30f0a21439cadfdae1be1bf370880b415e676097fda584a63ce319053b5972", - "https://deno.land/std@0.219.0/path/is_absolute.ts": "4791afc8bfd0c87f0526eaa616b0d16e7b3ab6a65b62942e50eac68de4ef67d7", - "https://deno.land/std@0.219.0/path/is_glob.ts": "a65f6195d3058c3050ab905705891b412ff942a292bcbaa1a807a74439a14141", - "https://deno.land/std@0.219.0/path/join.ts": "ae2ec5ca44c7e84a235fd532e4a0116bfb1f2368b394db1c4fb75e3c0f26a33a", - "https://deno.land/std@0.219.0/path/join_globs.ts": "5b3bf248b93247194f94fa6947b612ab9d3abd571ca8386cf7789038545e54a0", - "https://deno.land/std@0.219.0/path/mod.ts": "2821a1bb3a4148a0ffe79c92aa41aa9319fef73c6d6f5178f52b2c720d3eb02d", - "https://deno.land/std@0.219.0/path/normalize.ts": "4155743ccceeed319b350c1e62e931600272fad8ad00c417b91df093867a8352", - "https://deno.land/std@0.219.0/path/normalize_glob.ts": "cc89a77a7d3b1d01053b9dcd59462b75482b11e9068ae6c754b5cf5d794b374f", - "https://deno.land/std@0.219.0/path/parse.ts": "65e8e285f1a63b714e19ef24b68f56e76934c3df0b6e65fd440d3991f4f8aefb", - "https://deno.land/std@0.219.0/path/posix/_util.ts": "1e3937da30f080bfc99fe45d7ed23c47dd8585c5e473b2d771380d3a6937cf9d", - "https://deno.land/std@0.219.0/path/posix/basename.ts": "39ee27a29f1f35935d3603ccf01d53f3d6e0c5d4d0f84421e65bd1afeff42843", - "https://deno.land/std@0.219.0/path/posix/common.ts": "26f60ccc8b2cac3e1613000c23ac5a7d392715d479e5be413473a37903a2b5d4", - "https://deno.land/std@0.219.0/path/posix/constants.ts": "93481efb98cdffa4c719c22a0182b994e5a6aed3047e1962f6c2c75b7592bef1", - "https://deno.land/std@0.219.0/path/posix/dirname.ts": "6535d2bdd566118963537b9dda8867ba9e2a361015540dc91f5afbb65c0cce8b", - "https://deno.land/std@0.219.0/path/posix/extname.ts": "8d36ae0082063c5e1191639699e6f77d3acf501600a3d87b74943f0ae5327427", - "https://deno.land/std@0.219.0/path/posix/format.ts": "185e9ee2091a42dd39e2a3b8e4925370ee8407572cee1ae52838aed96310c5c1", - "https://deno.land/std@0.219.0/path/posix/from_file_url.ts": "951aee3a2c46fd0ed488899d024c6352b59154c70552e90885ed0c2ab699bc40", - "https://deno.land/std@0.219.0/path/posix/glob_to_regexp.ts": "76f012fcdb22c04b633f536c0b9644d100861bea36e9da56a94b9c589a742e8f", - "https://deno.land/std@0.219.0/path/posix/is_absolute.ts": "cebe561ad0ae294f0ce0365a1879dcfca8abd872821519b4fcc8d8967f888ede", - "https://deno.land/std@0.219.0/path/posix/is_glob.ts": "8a8b08c08bf731acf2c1232218f1f45a11131bc01de81e5f803450a5914434b9", - "https://deno.land/std@0.219.0/path/posix/join.ts": "744fadcbee7047688696455c7cbb368a9625ffde67fc3058a61c98948fcd04de", - "https://deno.land/std@0.219.0/path/posix/join_globs.ts": "a9475b44645feddceb484ee0498e456f4add112e181cb94042cdc6d47d1cdd25", - "https://deno.land/std@0.219.0/path/posix/mod.ts": "2301fc1c54a28b349e20656f68a85f75befa0ee9b6cd75bfac3da5aca9c3f604", - "https://deno.land/std@0.219.0/path/posix/normalize.ts": "baeb49816a8299f90a0237d214cef46f00ba3e95c0d2ceb74205a6a584b58a91", - "https://deno.land/std@0.219.0/path/posix/normalize_glob.ts": "9c87a829b6c0f445d03b3ecadc14492e2864c3ebb966f4cea41e98326e4435c6", - "https://deno.land/std@0.219.0/path/posix/parse.ts": "0b1fc4cb890dbb699ec1d2c232d274843b4a7142e1ad976b69fe51c954eb6080", - "https://deno.land/std@0.219.0/path/posix/relative.ts": "3907d6eda41f0ff723d336125a1ad4349112cd4d48f693859980314d5b9da31c", - "https://deno.land/std@0.219.0/path/posix/resolve.ts": "08b699cfeee10cb6857ccab38fa4b2ec703b0ea33e8e69964f29d02a2d5257cf", - "https://deno.land/std@0.219.0/path/posix/to_file_url.ts": "7aa752ba66a35049e0e4a4be5a0a31ac6b645257d2e031142abb1854de250aaf", - "https://deno.land/std@0.219.0/path/posix/to_namespaced_path.ts": "28b216b3c76f892a4dca9734ff1cc0045d135532bfd9c435ae4858bfa5a2ebf0", - "https://deno.land/std@0.219.0/path/relative.ts": "ab739d727180ed8727e34ed71d976912461d98e2b76de3d3de834c1066667add", - "https://deno.land/std@0.219.0/path/resolve.ts": "a6f977bdb4272e79d8d0ed4333e3d71367cc3926acf15ac271f1d059c8494d8d", - "https://deno.land/std@0.219.0/path/to_file_url.ts": "88f049b769bce411e2d2db5bd9e6fd9a185a5fbd6b9f5ad8f52bef517c4ece1b", - "https://deno.land/std@0.219.0/path/to_namespaced_path.ts": "b706a4103b104cfadc09600a5f838c2ba94dbcdb642344557122dda444526e40", - "https://deno.land/std@0.219.0/path/windows/_util.ts": "d5f47363e5293fced22c984550d5e70e98e266cc3f31769e1710511803d04808", - "https://deno.land/std@0.219.0/path/windows/basename.ts": "e2dbf31d1d6385bfab1ce38c333aa290b6d7ae9e0ecb8234a654e583cf22f8fe", - "https://deno.land/std@0.219.0/path/windows/common.ts": "26f60ccc8b2cac3e1613000c23ac5a7d392715d479e5be413473a37903a2b5d4", - "https://deno.land/std@0.219.0/path/windows/constants.ts": "5afaac0a1f67b68b0a380a4ef391bf59feb55856aa8c60dfc01bd3b6abb813f5", - "https://deno.land/std@0.219.0/path/windows/dirname.ts": "33e421be5a5558a1346a48e74c330b8e560be7424ed7684ea03c12c21b627bc9", - "https://deno.land/std@0.219.0/path/windows/extname.ts": "165a61b00d781257fda1e9606a48c78b06815385e7d703232548dbfc95346bef", - "https://deno.land/std@0.219.0/path/windows/format.ts": "bbb5ecf379305b472b1082cd2fdc010e44a0020030414974d6029be9ad52aeb6", - "https://deno.land/std@0.219.0/path/windows/from_file_url.ts": "ced2d587b6dff18f963f269d745c4a599cf82b0c4007356bd957cb4cb52efc01", - "https://deno.land/std@0.219.0/path/windows/glob_to_regexp.ts": "e45f1f89bf3fc36f94ab7b3b9d0026729829fabc486c77f414caebef3b7304f8", - "https://deno.land/std@0.219.0/path/windows/is_absolute.ts": "4a8f6853f8598cf91a835f41abed42112cebab09478b072e4beb00ec81f8ca8a", - "https://deno.land/std@0.219.0/path/windows/is_glob.ts": "8a8b08c08bf731acf2c1232218f1f45a11131bc01de81e5f803450a5914434b9", - "https://deno.land/std@0.219.0/path/windows/join.ts": "8d03530ab89195185103b7da9dfc6327af13eabdcd44c7c63e42e27808f50ecf", - "https://deno.land/std@0.219.0/path/windows/join_globs.ts": "a9475b44645feddceb484ee0498e456f4add112e181cb94042cdc6d47d1cdd25", - "https://deno.land/std@0.219.0/path/windows/mod.ts": "2301fc1c54a28b349e20656f68a85f75befa0ee9b6cd75bfac3da5aca9c3f604", - "https://deno.land/std@0.219.0/path/windows/normalize.ts": "78126170ab917f0ca355a9af9e65ad6bfa5be14d574c5fb09bb1920f52577780", - "https://deno.land/std@0.219.0/path/windows/normalize_glob.ts": "9c87a829b6c0f445d03b3ecadc14492e2864c3ebb966f4cea41e98326e4435c6", - "https://deno.land/std@0.219.0/path/windows/parse.ts": "dbdfe2bc6db482d755b5f63f7207cd019240fcac02ad2efa582adf67ff10553a", - "https://deno.land/std@0.219.0/path/windows/relative.ts": "3e1abc7977ee6cc0db2730d1f9cb38be87b0ce4806759d271a70e4997fc638d7", - "https://deno.land/std@0.219.0/path/windows/resolve.ts": "8dae1dadfed9d46ff46cc337c9525c0c7d959fb400a6308f34595c45bdca1972", - "https://deno.land/std@0.219.0/path/windows/to_file_url.ts": "40e560ee4854fe5a3d4d12976cef2f4e8914125c81b11f1108e127934ced502e", - "https://deno.land/std@0.219.0/path/windows/to_namespaced_path.ts": "4ffa4fb6fae321448d5fe810b3ca741d84df4d7897e61ee29be961a6aac89a4c", - "https://deno.land/std@0.219.0/semver/_constants.ts": "5ef89c5f33e6095546ae3e57920592feefcb8372d4cc05542f6bf15a1977e3c9", - "https://deno.land/std@0.219.0/semver/_shared.ts": "5c53a675225cba9ad74ae2e17c124e333728fc2b551a13e8a32b99433b90c1c2", - "https://deno.land/std@0.219.0/semver/can_parse.ts": "d4a26f74be078f3ab10293b07bf022021a2f362b3e21b58422c214e7268110b2", - "https://deno.land/std@0.219.0/semver/compare.ts": "e8871844a35cc8fe16e883c16e5237e06a93aa4830ae10d06501abe63586fc57", - "https://deno.land/std@0.219.0/semver/constants.ts": "a0daa58502949654af044928f86288d8b27bd1880218e9faba7733ec0bde63ab", - "https://deno.land/std@0.219.0/semver/difference.ts": "be4f01b7745406408a16b708185a48c1c652cc87e0244b12a5ca75c5585db668", - "https://deno.land/std@0.219.0/semver/equals.ts": "8b9b18260c9a55feee9d3f9250fba345be922380f2e8f8009e455c394ce5e81d", - "https://deno.land/std@0.219.0/semver/format.ts": "26d3a357ac5abd73dee0fe7dbbac6107fbdce0a844370c7b1bcb673c92e46bf6", - "https://deno.land/std@0.219.0/semver/format_range.ts": "6ad2d0c27aac63dfb7efca6286a6ab7742accfb986cc53662047740f17dacfe5", - "https://deno.land/std@0.219.0/semver/greater_or_equal.ts": "89c26f68070896944676eb9704cbb617febc6ed693720282741d6859c3d1fe80", - "https://deno.land/std@0.219.0/semver/greater_than.ts": "d8c4a227cd28ea80a1de9c80215d7f3f95786fe1b196f0cb5ec91d6567adad27", - "https://deno.land/std@0.219.0/semver/increment.ts": "427a043be71d6481e45c1a3939b955e800924d70779cb297b872d9cbf9f0e46d", - "https://deno.land/std@0.219.0/semver/is_range.ts": "15dd9a8d6a8dee56dea6799d8c8210e06c0a38cc1a9aa6152aeea39ce45e2111", - "https://deno.land/std@0.219.0/semver/is_semver.ts": "57914027d6141e593eb04418aaabbfd6f4562a1c53c6c33a1743fa50ada8d849", - "https://deno.land/std@0.219.0/semver/less_or_equal.ts": "7dbf8190f37f3281048c30cf11e072a7af18685534ae88d295baa170b485bd90", - "https://deno.land/std@0.219.0/semver/less_than.ts": "b0c7902c54cecadcc7c1c80afc2f6a0f1bf0b3f53c8d2bfd11f01a3a414cccfe", - "https://deno.land/std@0.219.0/semver/max_satisfying.ts": "03e5182a7424c308ddbb410e4b927da0dabc4e07d4b5a72f7e9b26fb18a02152", - "https://deno.land/std@0.219.0/semver/min_satisfying.ts": "b6fadc9af17278289481c416e1eb135614f88063f4fc2b7b72b43eb3baa2f08f", - "https://deno.land/std@0.219.0/semver/mod.ts": "6e1f8854cec50c027037a597d3dd54af72e063f763ec0cbc4ea1e534a627ffae", - "https://deno.land/std@0.219.0/semver/not_equals.ts": "17147a6f68b9d14f4643c1e2150378ccf6954710309f9618f75b411752a8e13d", - "https://deno.land/std@0.219.0/semver/parse.ts": "b64052ff8ce0b0bba9ed97b835a224c828fc7ad227585c3e8c2bac72a07bf572", - "https://deno.land/std@0.219.0/semver/parse_range.ts": "5190afffc90cc14410ce2478fb81ed83b55d7e96b6fbbd69fc715c457082ec94", - "https://deno.land/std@0.219.0/semver/range_intersects.ts": "2c358f7c27b51960a9889be5462ec1cac44feeb5e40041a5c5a03700c0ddc017", - "https://deno.land/std@0.219.0/semver/range_max.ts": "4c43d018841ba67d018e515f0aef32658dab611a39fdc74e31b1e48709be281c", - "https://deno.land/std@0.219.0/semver/range_min.ts": "37c5e3dac7bd63812ae249add9ea815a351826f510d2baf391c225d1d8272d17", - "https://deno.land/std@0.219.0/semver/test_range.ts": "72ba2af827e4ad94db9a29e22e86cbec9b3f8519fc36fd6ce0d4308717536c70", - "https://deno.land/std@0.219.0/semver/try_parse.ts": "7e2a3594212445d9d6f6154f02288d66a0c0b79ce3e859c41f3d47e29dfa439a", - "https://deno.land/std@0.219.0/semver/try_parse_range.ts": "4f211f0ff4f5fdaa85622ab96c360123bbcf0e5a91a57eb7a8258af6b7a3c704", - "https://deno.land/std@0.219.0/semver/types.ts": "13e1e0c64a4ac76f0add74afee6240c92a7dba184e63e0bd4cb456afed8c7291", - "https://deno.land/std@0.219.0/streams/_common.ts": "948735ef6d140cd6916dca861197b88fc57db52c2f923c392b7a14033d8fed4b", - "https://deno.land/std@0.219.0/streams/buffer.ts": "e012de72a53ad17c56512488e9afb6f4b6ed046b32fc1415ae7a4e6fc0efce38", - "https://deno.land/std@0.219.0/streams/byte_slice_stream.ts": "5bbdcadb118390affa9b3d0a0f73ef8e83754f59bb89df349add669dd9369713", - "https://deno.land/std@0.219.0/streams/delimiter_stream.ts": "4e4050740ff27a8824defa6c96126229ef9d794c4ace4ef9cabb10b5ad4a5d14", - "https://deno.land/std@0.219.0/streams/early_zip_readable_streams.ts": "21f5cf6dd36381c6a50c31a7727b5bd219f6382bbb7a413418595c3e466c4d14", - "https://deno.land/std@0.219.0/streams/iterate_reader.ts": "a50bed95514736c3c554e4c69ea2d8d2699252e4e74507769999d22c3886c777", - "https://deno.land/std@0.219.0/streams/limited_bytes_transform_stream.ts": "b22a45a337374e863c4eb1867ec6b8ad3e68620a6c52fe837746060ea610e6f1", - "https://deno.land/std@0.219.0/streams/limited_transform_stream.ts": "4c47da5ca38a30fa9f33b0f1a61d4548e7f52a9a58c294b0f430f680e44cc543", - "https://deno.land/std@0.219.0/streams/merge_readable_streams.ts": "73eed8ff54c9111b8b974b11a5a11c1ed0b7800e0157c39277ccac3ed14721e2", - "https://deno.land/std@0.219.0/streams/mod.ts": "d56624832b9649b680c74ab9c77e746e8be81ae1a24756cc04623e25a0d43ce9", - "https://deno.land/std@0.219.0/streams/readable_stream_from_reader.ts": "4289a63836f73901441c1879f2be76eea2a983920f4b10a4a9b8a6d8c29ece56", - "https://deno.land/std@0.219.0/streams/reader_from_iterable.ts": "82f1ecef32ec70c7841ca2a54b09c73167d940f0578bec91e874bb8cd42ba8f3", - "https://deno.land/std@0.219.0/streams/reader_from_stream_reader.ts": "dda702bd365a133be8bdbc5a1ba96c67b350c3504410632f3a833895bfc7bae3", - "https://deno.land/std@0.219.0/streams/text_delimiter_stream.ts": "94dfc900204e306496c1b58c80473db57b6097afdcb8ea9eaff453a193a659f1", - "https://deno.land/std@0.219.0/streams/text_line_stream.ts": "21f33d3922e019ec1a1676474beb543929cb564ec99b69cd2654e029e0f45bd5", - "https://deno.land/std@0.219.0/streams/to_array_buffer.ts": "1a9c07c4a396ce557ab205c44415815ab13b614fed94a12f62b80f8e650c726d", - "https://deno.land/std@0.219.0/streams/to_blob.ts": "bf5daaae50fa8f57e0c8bfd7474ebac16ac09e130e3d01ef2947ae5153912b4a", - "https://deno.land/std@0.219.0/streams/to_json.ts": "b6a908d0da7cd30956e5fbbfa7460747e50b8f307d1041282ed6fe9070d579ee", - "https://deno.land/std@0.219.0/streams/to_text.ts": "6f93593bdfc2cea5cca39755ea5caf0d4092580c0a713dfe04a1e85c60df331f", - "https://deno.land/std@0.219.0/streams/to_transform_stream.ts": "4c4836455ef89bab9ece55975ee3a819f07d3d8b0e43101ec7f4ed033c8a2b61", - "https://deno.land/std@0.219.0/streams/writable_stream_from_writer.ts": "62f2712d3a7bebd981fca8bd5140192c37450f9c4aa94283f7ca833e46bc7485", - "https://deno.land/std@0.219.0/streams/writer_from_stream_writer.ts": "b0e39ef607dfdc5abdfb627edf61a9672809463e2bb022afcbaf0cd006c40feb", - "https://deno.land/std@0.219.0/streams/zip_readable_streams.ts": "53eb10d7557539b489bd858907aab6dd28247f074b3446573801de3150cb932e", - "https://deno.land/std@0.219.0/yaml/_dumper/dumper.ts": "5a7b9b18e5b3f5e88b84d040c530b1f8e814c3565dfff7b7a5d16279bdf15ca4", - "https://deno.land/std@0.219.0/yaml/_dumper/dumper_state.ts": "ea262b459dc891c4828a0f814841abfe12d160d319c4b57eb11ed0c768cfcb6b", - "https://deno.land/std@0.219.0/yaml/_error.ts": "f38cdebdb69cde16903d9aa2f3b8a3dd9d13e5f7f3570bf662bfaca69fef669e", - "https://deno.land/std@0.219.0/yaml/_loader/loader.ts": "959c2ab7bbf5fb565bc3f3344f5e92b2712d39ea77a1e57039591696335c6d29", - "https://deno.land/std@0.219.0/yaml/_loader/loader_state.ts": "ee216de6040551940b85473c3185fdb7a6f3030b77153f87a6b7f63f82e489ea", - "https://deno.land/std@0.219.0/yaml/_mark.ts": "1d9d071f8c62d19f284ca4a5aae41680e67653a06a2a4b0eccf931fc5719afa1", - "https://deno.land/std@0.219.0/yaml/_state.ts": "f3b1c1fd11860302f1f33e35e9ce089bf069d4943e8d67516cd6bedbba058c13", - "https://deno.land/std@0.219.0/yaml/_type/binary.ts": "26216e8f306e62401ba00e306e93cdd5fb88da361cdaa567e63ee216dc3ebf93", - "https://deno.land/std@0.219.0/yaml/_type/bool.ts": "121743b23ba82a27ad6a3ec6298c7f5b0908f90e52707f8644a91f7ad51ed2ef", - "https://deno.land/std@0.219.0/yaml/_type/float.ts": "73295b7d8cc24edadfea5041e2255a6332e3491715e884e3bb7d03b563a90a81", - "https://deno.land/std@0.219.0/yaml/_type/function.ts": "bbf705058942bf3370604b37eb77a10aadd72f986c237c9f69b43378a42202c1", - "https://deno.land/std@0.219.0/yaml/_type/int.ts": "c2dc88438a60fccc8d2226042bd18b9967753adaf6bd145feb8b99d567e432ce", - "https://deno.land/std@0.219.0/yaml/_type/map.ts": "ae2acb1cb837fb8e96c75c98611cfd45af847d0114ab5336333c318e7d4b12f4", - "https://deno.land/std@0.219.0/yaml/_type/merge.ts": "ad0d971f91d2fb9f4ab3eba0c837eae357b1804d6b798adc99dc917bc5306b11", - "https://deno.land/std@0.219.0/yaml/_type/mod.ts": "e8929d7b1c969a74f76338d4eb380ef8c4a26cd6441117d521f076b766e9c265", - "https://deno.land/std@0.219.0/yaml/_type/nil.ts": "cbe4387d02d5933322c21b25d8955c5e6228c492e391a6fb82dcf4f498cc421c", - "https://deno.land/std@0.219.0/yaml/_type/omap.ts": "cda915105ab22ba9e1d6317adacee8eec2d8ddaf864cc2f814e3e476946e72c6", - "https://deno.land/std@0.219.0/yaml/_type/pairs.ts": "f97d7dc2b3fa18e246763f44147f6df0d6036c7e122af3e7b6692e4a6b0e289f", - "https://deno.land/std@0.219.0/yaml/_type/regexp.ts": "e49eb9e1c9356fd142bc15f7f323820d411fcc537b5ba3896df9a8b812d270a4", - "https://deno.land/std@0.219.0/yaml/_type/seq.ts": "2deffc7f970869bc01a1541b4961d076329a1c2b30b95e07918f3132db7c3fe2", - "https://deno.land/std@0.219.0/yaml/_type/set.ts": "be8a9e7237a7ffc92dfbe7f5e552d84b7eeba60f3f73cc77fc3c59d3506c74ea", - "https://deno.land/std@0.219.0/yaml/_type/str.ts": "88f0a1ba12295520cd57e96cd78d53aa0787d53c7a1c506155f418c496c2f550", - "https://deno.land/std@0.219.0/yaml/_type/timestamp.ts": "57a6bb4a0f0bd5eab85a1f0ee5ac8820fd3125ea939dc8a037de997a2b6ad05d", - "https://deno.land/std@0.219.0/yaml/_type/undefined.ts": "9d215953c65740f1764e0bdca021007573473f0c49e087f00d9ff02817ecfc97", - "https://deno.land/std@0.219.0/yaml/_utils.ts": "91bbe28b5e7000b9594e40ff5353f8fe7a7ba914eec917e1202cbaf5ac931c58", - "https://deno.land/std@0.219.0/yaml/mod.ts": "54e9bfad77c8cd58f49b65f4d568045ff08989ed36318a2ca733a43cb6f1bc00", - "https://deno.land/std@0.219.0/yaml/parse.ts": "f45278d9ebccb789af4eceeffa5c291e194bcf1fa9aab1b34ff52c2bd4a9d886", - "https://deno.land/std@0.219.0/yaml/schema.ts": "dae089ffa1ac4a2b031176aa019e126be6f7230a3011de38463ead8639b14739", - "https://deno.land/std@0.219.0/yaml/schema/core.ts": "1222f9401e2a0c1d38e63d753da98be333e61a6032335e9c46a68bd45ecce85a", - "https://deno.land/std@0.219.0/yaml/schema/default.ts": "b77c71cfd453951dd828e5f2f02f9f37335c9c0a49c8051d1a9653fa82357740", - "https://deno.land/std@0.219.0/yaml/schema/extended.ts": "996da59626409047b5c1a2d68bdbeead43914cedede47c5923e80ae4febe7d24", - "https://deno.land/std@0.219.0/yaml/schema/failsafe.ts": "24b2b630cef6fcce7de6d29db651523b0f49e5691d690931c42ecf4823837fdb", - "https://deno.land/std@0.219.0/yaml/schema/json.ts": "0fb9268282d266c24d963e75ef77f51accbbb74f40713a99e83ad621a81bc9ae", - "https://deno.land/std@0.219.0/yaml/schema/mod.ts": "9bf7ff80c2a246f781bdcab979211d0389760831a974cf5883bf2016567e3507", - "https://deno.land/std@0.219.0/yaml/stringify.ts": "580f8b2fa56e3233424520d8242f4fc0edf41ac54a6a6d2f6f8e0b6e99cd63c0", - "https://deno.land/std@0.219.0/yaml/type.ts": "708dde5f20b01cc1096489b7155b6af79a217d585afb841128e78c3c2391eb5c", "https://deno.land/std@0.221.0/assert/assert.ts": "bec068b2fccdd434c138a555b19a2c2393b71dfaada02b7d568a01541e67cdc5", "https://deno.land/std@0.221.0/assert/assertion_error.ts": "9f689a101ee586c4ce92f52fa7ddd362e86434ffdf1f848e45987dc7689976b8", "https://deno.land/std@0.221.0/console/_data.json": "cf2cc9d039a192b3adbfe64627167c7e6212704c888c25c769fc8f1709e1e1b8", diff --git a/.ghjk/lock.json b/.ghjk/lock.json index 2955c03219..0330891d4d 100644 --- a/.ghjk/lock.json +++ b/.ghjk/lock.json @@ -5,134 +5,23 @@ "ports": { "version": "0", "configResolutions": { - "bciqf3eso3sdsxu4og5w6igw3mphr3ipbntahdnhe2kwlgci6osntcfq": { - "version": "v1.45.2", - "buildDepConfigs": {}, - "portRef": "deno_ghrel@0.1.0", - "specifiedVersion": true - }, - "bciqfcvnsjinhk2s3seiixi2brdmlyt25m5cpllbjivcfbvrhkzr57bq": { - "version": "v24.1", - "buildDepConfigs": {}, - "portRef": "protoc_ghrel@0.1.0", - "specifiedVersion": true - }, - "bciqmpujkkyxmzdz7sxpvi2pmajzfmg6gofplyqn43av2styxu2ng7sy": { - "version": "8.9.0", - "buildDepConfigs": {}, - "portRef": "curl_aa@0.1.0", - "specifiedVersion": false - }, - "bciqngfjdds2gmnwhriiif3fjgqw2hhpm3ssqxlnq4kiwyk53uesmzgy": { - "version": "3.30.2", - "buildDepConfigs": { - "curl_aa": { - "version": "8.9.0", - "buildDepConfigs": {}, - "portRef": "curl_aa@0.1.0", - "specifiedVersion": false - }, - "git_aa": { - "version": "2.46.0", - "buildDepConfigs": {}, - "portRef": "git_aa@0.1.0", - "specifiedVersion": false - }, - "asdf_plugin_git": { - "version": "d631481e96", - "buildDepConfigs": { - "git_aa": { - "version": "2.46.0", - "buildDepConfigs": {}, - "portRef": "git_aa@0.1.0", - "specifiedVersion": false - } - }, - "portRef": "asdf_plugin_git@0.1.0", - "pluginRepo": "https://github.com/asdf-community/asdf-cmake", - "specifiedVersion": false - } - }, - "resolutionDepConfigs": { - "asdf_plugin_git": { - "pluginRepo": "https://github.com/asdf-community/asdf-cmake", - "portRef": "asdf_plugin_git@0.1.0" - } - }, - "portRef": "asdf@0.1.0", - "pluginRepo": "https://github.com/asdf-community/asdf-cmake", - "installType": "version", - "specifiedVersion": false - }, - "bciqay4m4kmzfduj5t2clgejxgpe5zwper6lyyaxt7rhbjalaqd32nhq": { - "version": "2.46.0", - "buildDepConfigs": {}, - "portRef": "git_aa@0.1.0", - "specifiedVersion": false - }, - "bciqj77qfidghicv6joxixetnt5j3pdpo4j42exeghzsotetd5yhmpui": { - "version": "d631481e96", - "buildDepConfigs": { - "git_aa": { - "version": "2.46.0", - "buildDepConfigs": {}, - "portRef": "git_aa@0.1.0", - "specifiedVersion": false - } - }, - "portRef": "asdf_plugin_git@0.1.0", - "pluginRepo": "https://github.com/asdf-community/asdf-cmake", - "specifiedVersion": false - }, - "bciqdryp66ydidszpw3nbjwf7d5lnyvw7xujujby4bnx5mdgdjabxcvi": { - "version": "2.46.0", - "buildDepConfigs": {}, - "portRef": "git_aa@0.1.0", - "specifiedVersion": true - }, - "bciqkv7foyoio4wpti4yf2qrw5nphkgk2din6ba7mjv2w7hmgrv725ja": { - "version": "v2.4.0", - "buildDepConfigs": { - "tar_aa": { - "version": "1.35", - "buildDepConfigs": {}, - "portRef": "tar_aa@0.1.0", - "specifiedVersion": false - } - }, - "portRef": "mold_ghrel@0.1.0", - "replaceLd": true, - "specifiedVersion": true - }, - "bciqj4p5hoqweghbuvz52rupja7sqze34z63dd62nz632c5zxikv6ezy": { - "version": "1.35", - "buildDepConfigs": {}, - "portRef": "tar_aa@0.1.0", - "specifiedVersion": false - }, - "bciqjlw6cxddajjmznoemlmnu7mgbbm7a3hfmnd2x5oivwajmiqui5ey": { - "version": "v0.2.65", - "buildDepConfigs": {}, - "portRef": "act_ghrel@0.1.0", - "specifiedVersion": false - }, - "bciqkdikxlnvysolt3rirxozdyaovts5jo7e6zdhto7pjgxss4rkjeui": { - "version": "0.5.0", + "bciqow7vi5yxnhumjr3am67ct5pnavar2e55wp2vlddesl43oyppw5kq": { + "version": "0.116.1", "buildDepConfigs": { "cargo_binstall_ghrel": { - "version": "v1.10.2", + "version": "v1.10.3", "buildDepConfigs": {}, "portRef": "cargo_binstall_ghrel@0.1.0", "specifiedVersion": false }, "rust_rustup": { - "version": "1.79.0", + "version": "1.80.1", "buildDepConfigs": { "rustup_rustlang": { "version": "1.27.1", "buildDepConfigs": { "git_aa": { - "version": "2.46.0", + "version": "2.43.0", "buildDepConfigs": {}, "portRef": "git_aa@0.1.0", "specifiedVersion": false @@ -148,24 +37,24 @@ } }, "portRef": "cargobi_cratesio@0.1.0", - "crateName": "whiz", + "crateName": "wasm-opt", "locked": true, - "specifiedVersion": false + "specifiedVersion": true }, "bciqeal5okt5zj763vhgsmf3afr5thrkqaitv6pb3wwegcwyb74gdyjq": { - "version": "v1.10.2", + "version": "v1.10.3", "buildDepConfigs": {}, "portRef": "cargo_binstall_ghrel@0.1.0", "specifiedVersion": false }, - "bciqdm4ezstna7wryjatl75thl72622466u4ht2y25dkhvgu76kcnemi": { - "version": "1.79.0", + "bciqdxxrdxv7gdhguk43f7tqbzpamv3evrwffw2c6wujly5ijvanb24q": { + "version": "1.80.1", "buildDepConfigs": { "rustup_rustlang": { "version": "1.27.1", "buildDepConfigs": { "git_aa": { - "version": "2.46.0", + "version": "2.43.0", "buildDepConfigs": {}, "portRef": "git_aa@0.1.0", "specifiedVersion": false @@ -179,11 +68,17 @@ "profile": "minimal", "specifiedVersion": true }, + "bciqay4m4kmzfduj5t2clgejxgpe5zwper6lyyaxt7rhbjalaqd32nhq": { + "version": "2.43.0", + "buildDepConfigs": {}, + "portRef": "git_aa@0.1.0", + "specifiedVersion": false + }, "bciqewpyjyfnnk4rbd6bbu5who2w6ve7dyt3inal72zg23cs4qnln32q": { "version": "1.27.1", "buildDepConfigs": { "git_aa": { - "version": "2.46.0", + "version": "2.43.0", "buildDepConfigs": {}, "portRef": "git_aa@0.1.0", "specifiedVersion": false @@ -192,59 +87,23 @@ "portRef": "rustup_rustlang@0.1.0", "specifiedVersion": false }, - "bciqg6addm4t4fpqgkcpukqvbdrkscd56popl3at6aljs4tfnsfl3iki": { - "version": "0.3.4", - "buildDepConfigs": { - "cargo_binstall_ghrel": { - "version": "v1.10.2", - "buildDepConfigs": {}, - "portRef": "cargo_binstall_ghrel@0.1.0", - "specifiedVersion": false - }, - "rust_rustup": { - "version": "1.79.0", - "buildDepConfigs": { - "rustup_rustlang": { - "version": "1.27.1", - "buildDepConfigs": { - "git_aa": { - "version": "2.46.0", - "buildDepConfigs": {}, - "portRef": "git_aa@0.1.0", - "specifiedVersion": false - } - }, - "portRef": "rustup_rustlang@0.1.0", - "specifiedVersion": false - } - }, - "portRef": "rust_rustup@0.1.0", - "profile": "minimal", - "specifiedVersion": true - } - }, - "portRef": "cargobi_cratesio@0.1.0", - "crateName": "wit-deps-cli", - "locked": true, - "specifiedVersion": false - }, - "bciqjt35de5uwbp3qv3idkj7or2pu2gcun5jjkdttfupyuseslmjny5i": { - "version": "2.4.0", + "bciqgrinxolr2jfyj4smh3w5vwz6n4aacistocxbat5pz2fwf23glslq": { + "version": "1.208.1", "buildDepConfigs": { "cargo_binstall_ghrel": { - "version": "v1.10.2", + "version": "v1.10.3", "buildDepConfigs": {}, "portRef": "cargo_binstall_ghrel@0.1.0", "specifiedVersion": false }, "rust_rustup": { - "version": "1.79.0", + "version": "1.80.1", "buildDepConfigs": { "rustup_rustlang": { "version": "1.27.1", "buildDepConfigs": { "git_aa": { - "version": "2.46.0", + "version": "2.43.0", "buildDepConfigs": {}, "portRef": "git_aa@0.1.0", "specifiedVersion": false @@ -260,12 +119,12 @@ } }, "portRef": "cargobi_cratesio@0.1.0", - "crateName": "git-cliff", + "crateName": "wasm-tools", "locked": true, - "specifiedVersion": false + "specifiedVersion": true }, - "bciqaptuytx6h5lrjrb4xyeg2b5wjh5d3kawubwf6mssdgpntoqtxeha": { - "version": "3.7.1", + "bciqghgb2rje3epckvbdexyfqud7yw6wbu32vt3h6iglfsytgvyqiosy": { + "version": "0.13.4", "buildDepConfigs": { "cpy_bs_ghrel": { "version": "3.12.2", @@ -289,7 +148,7 @@ } }, "portRef": "pipi_pypi@0.1.0", - "packageName": "pre-commit", + "packageName": "componentize-py", "specifiedVersion": true }, "bciqfoek3nbk2jfcgfx5323wcco2bmml75tgrsjgxbdhxe5dn3isgjgi": { @@ -312,88 +171,150 @@ "releaseTag": "20240224", "specifiedVersion": true }, + "bciqj4p5hoqweghbuvz52rupja7sqze34z63dd62nz632c5zxikv6ezy": { + "version": "1.35", + "buildDepConfigs": {}, + "portRef": "tar_aa@0.1.0", + "specifiedVersion": false + }, "bciqe6fwheayositrdk7rkr2ngdr4wizldakex23tgivss7w6z7g3q3y": { "version": "v1.5.6,", "buildDepConfigs": {}, "portRef": "zstd_aa@0.1.0", "specifiedVersion": false }, - "bciqbbuzvdy4qweoxykn6kcqp3xyoi2ehdbdv3xbir4inj6i3m72wcsa": { - "version": "v0.13.1", + "bciqb6acvw45s2pagycoulvy6e5n5ukmbi6j4lrwe2nr5vu5txe333mi": { + "version": "1.3.0", + "buildDepConfigs": { + "node_org": { + "version": "v20.8.0", + "buildDepConfigs": { + "tar_aa": { + "version": "1.35", + "buildDepConfigs": {}, + "portRef": "tar_aa@0.1.0", + "specifiedVersion": false + } + }, + "portRef": "node_org@0.1.0", + "specifiedVersion": true + } + }, + "portRef": "npmi_npm@0.1.0", + "packageName": "@bytecodealliance/jco", + "specifiedVersion": true + }, + "bciqigrb324p62juzwmsfnb5oz3ffwa4dj4i3cjqn2vegarnxv427i4i": { + "version": "v20.8.0", + "buildDepConfigs": { + "tar_aa": { + "version": "1.35", + "buildDepConfigs": {}, + "portRef": "tar_aa@0.1.0", + "specifiedVersion": false + } + }, + "portRef": "node_org@0.1.0", + "specifiedVersion": true + }, + "bciqogkh34iffsgpjzg5m2tuyvt5e2phqsbbo6wh6nckxaojckmmasga": { + "version": "v1.46.1", "buildDepConfigs": {}, - "portRef": "temporal_cli_ghrel@0.1.0", + "portRef": "deno_ghrel@0.1.0", "specifiedVersion": true }, - "bciqnvknjnd6ivod4sz4usxxbxmhhyp4kiahvyy4yn6erblbzfu2s7na": { - "version": "1.33.0", + "bciqfcvnsjinhk2s3seiixi2brdmlyt25m5cpllbjivcfbvrhkzr57bq": { + "version": "v24.1", + "buildDepConfigs": {}, + "portRef": "protoc_ghrel@0.1.0", + "specifiedVersion": true + }, + "bciqmpujkkyxmzdz7sxpvi2pmajzfmg6gofplyqn43av2styxu2ng7sy": { + "version": "8.8.0", + "buildDepConfigs": {}, + "portRef": "curl_aa@0.1.0", + "specifiedVersion": false + }, + "bciqngfjdds2gmnwhriiif3fjgqw2hhpm3ssqxlnq4kiwyk53uesmzgy": { + "version": "3.30.3", "buildDepConfigs": { - "cargo_binstall_ghrel": { - "version": "v1.10.2", + "curl_aa": { + "version": "8.8.0", "buildDepConfigs": {}, - "portRef": "cargo_binstall_ghrel@0.1.0", + "portRef": "curl_aa@0.1.0", "specifiedVersion": false }, - "rust_rustup": { - "version": "1.79.0", + "git_aa": { + "version": "2.43.0", + "buildDepConfigs": {}, + "portRef": "git_aa@0.1.0", + "specifiedVersion": false + }, + "asdf_plugin_git": { + "version": "d631481e96", "buildDepConfigs": { - "rustup_rustlang": { - "version": "1.27.1", - "buildDepConfigs": { - "git_aa": { - "version": "2.46.0", - "buildDepConfigs": {}, - "portRef": "git_aa@0.1.0", - "specifiedVersion": false - } - }, - "portRef": "rustup_rustlang@0.1.0", + "git_aa": { + "version": "2.43.0", + "buildDepConfigs": {}, + "portRef": "git_aa@0.1.0", "specifiedVersion": false } }, - "portRef": "rust_rustup@0.1.0", - "profile": "minimal", - "specifiedVersion": true + "portRef": "asdf_plugin_git@0.1.0", + "pluginRepo": "https://github.com/asdf-community/asdf-cmake", + "specifiedVersion": false } }, - "portRef": "cargobi_cratesio@0.1.0", - "crateName": "cargo-insta", - "locked": true, - "specifiedVersion": true + "resolutionDepConfigs": { + "asdf_plugin_git": { + "pluginRepo": "https://github.com/asdf-community/asdf-cmake", + "portRef": "asdf_plugin_git@0.1.0" + } + }, + "portRef": "asdf@0.1.0", + "pluginRepo": "https://github.com/asdf-community/asdf-cmake", + "installType": "version", + "specifiedVersion": false }, - "bciqgustga36b3bmjpi76xcde43z3efxo2czwmvotcxlktxkhcizywiq": { - "version": "0.2.5", + "bciqj77qfidghicv6joxixetnt5j3pdpo4j42exeghzsotetd5yhmpui": { + "version": "d631481e96", "buildDepConfigs": { - "cargo_binstall_ghrel": { - "version": "v1.10.2", + "git_aa": { + "version": "2.43.0", "buildDepConfigs": {}, - "portRef": "cargo_binstall_ghrel@0.1.0", + "portRef": "git_aa@0.1.0", "specifiedVersion": false - }, - "rust_rustup": { - "version": "1.79.0", + } + }, + "portRef": "asdf_plugin_git@0.1.0", + "pluginRepo": "https://github.com/asdf-community/asdf-cmake", + "specifiedVersion": false + }, + "bciqcph72sicdlw4p47fufwrlg32rgxrnkunrofr3eyql5zmnsjguk4q": { + "version": "v9.4.0", + "buildDepConfigs": {}, + "portRef": "pnpm_ghrel@0.1.0", + "specifiedVersion": true + }, + "bciqchyssdrikfkpksvaf332htzx3ztqnu2a7nolskedqc6ggzw6lg6a": { + "version": "10.0.1", + "buildDepConfigs": { + "node_org": { + "version": "v20.8.0", "buildDepConfigs": { - "rustup_rustlang": { - "version": "1.27.1", - "buildDepConfigs": { - "git_aa": { - "version": "2.46.0", - "buildDepConfigs": {}, - "portRef": "git_aa@0.1.0", - "specifiedVersion": false - } - }, - "portRef": "rustup_rustlang@0.1.0", + "tar_aa": { + "version": "1.35", + "buildDepConfigs": {}, + "portRef": "tar_aa@0.1.0", "specifiedVersion": false } }, - "portRef": "rust_rustup@0.1.0", - "profile": "minimal", + "portRef": "node_org@0.1.0", "specifiedVersion": true } }, - "portRef": "cargobi_cratesio@0.1.0", - "crateName": "cross", - "locked": true, + "portRef": "npmi_npm@0.1.0", + "packageName": "node-gyp", "specifiedVersion": true }, "bciqen7oo7yiny6lbip32ieyt5e2z6gum6ytzdx5krgkoe3zbvwyvdsq": { @@ -444,8 +365,8 @@ "packageName": "ruff", "specifiedVersion": true }, - "bciqotghtiwpobhzxxovjztcffrnlwxrfkluqe57tdwk2qyit67ayyni": { - "version": "1.7.0", + "bciqjrdkuk366snl5rgzvkskacsphzernzelmhhu3sgkbpst6yptbpnq": { + "version": "1.8.3", "buildDepConfigs": { "cpy_bs_ghrel": { "version": "3.12.2", @@ -472,8 +393,8 @@ "packageName": "poetry", "specifiedVersion": true }, - "bciqigrb324p62juzwmsfnb5oz3ffwa4dj4i3cjqn2vegarnxv427i4i": { - "version": "v20.8.0", + "bciqkv7foyoio4wpti4yf2qrw5nphkgk2din6ba7mjv2w7hmgrv725ja": { + "version": "v2.4.0", "buildDepConfigs": { "tar_aa": { "version": "1.35", @@ -482,53 +403,69 @@ "specifiedVersion": false } }, - "portRef": "node_org@0.1.0", + "portRef": "mold_ghrel@0.1.0", + "replaceLd": true, "specifiedVersion": true }, - "bciqcph72sicdlw4p47fufwrlg32rgxrnkunrofr3eyql5zmnsjguk4q": { - "version": "v9.4.0", + "bciqjlw6cxddajjmznoemlmnu7mgbbm7a3hfmnd2x5oivwajmiqui5ey": { + "version": "v0.2.66", "buildDepConfigs": {}, - "portRef": "pnpm_ghrel@0.1.0", - "specifiedVersion": true + "portRef": "act_ghrel@0.1.0", + "specifiedVersion": false }, - "bciqchyssdrikfkpksvaf332htzx3ztqnu2a7nolskedqc6ggzw6lg6a": { - "version": "10.0.1", + "bciqkdikxlnvysolt3rirxozdyaovts5jo7e6zdhto7pjgxss4rkjeui": { + "version": "0.5.0", "buildDepConfigs": { - "node_org": { - "version": "v20.8.0", + "cargo_binstall_ghrel": { + "version": "v1.10.3", + "buildDepConfigs": {}, + "portRef": "cargo_binstall_ghrel@0.1.0", + "specifiedVersion": false + }, + "rust_rustup": { + "version": "1.80.1", "buildDepConfigs": { - "tar_aa": { - "version": "1.35", - "buildDepConfigs": {}, - "portRef": "tar_aa@0.1.0", + "rustup_rustlang": { + "version": "1.27.1", + "buildDepConfigs": { + "git_aa": { + "version": "2.43.0", + "buildDepConfigs": {}, + "portRef": "git_aa@0.1.0", + "specifiedVersion": false + } + }, + "portRef": "rustup_rustlang@0.1.0", "specifiedVersion": false } }, - "portRef": "node_org@0.1.0", + "portRef": "rust_rustup@0.1.0", + "profile": "minimal", "specifiedVersion": true } }, - "portRef": "npmi_npm@0.1.0", - "packageName": "node-gyp", - "specifiedVersion": true + "portRef": "cargobi_cratesio@0.1.0", + "crateName": "whiz", + "locked": true, + "specifiedVersion": false }, - "bciqow7vi5yxnhumjr3am67ct5pnavar2e55wp2vlddesl43oyppw5kq": { - "version": "0.116.1", + "bciqg6addm4t4fpqgkcpukqvbdrkscd56popl3at6aljs4tfnsfl3iki": { + "version": "0.3.4", "buildDepConfigs": { "cargo_binstall_ghrel": { - "version": "v1.10.2", + "version": "v1.10.3", "buildDepConfigs": {}, "portRef": "cargo_binstall_ghrel@0.1.0", "specifiedVersion": false }, "rust_rustup": { - "version": "1.79.0", + "version": "1.80.1", "buildDepConfigs": { "rustup_rustlang": { "version": "1.27.1", "buildDepConfigs": { "git_aa": { - "version": "2.46.0", + "version": "2.43.0", "buildDepConfigs": {}, "portRef": "git_aa@0.1.0", "specifiedVersion": false @@ -544,27 +481,27 @@ } }, "portRef": "cargobi_cratesio@0.1.0", - "crateName": "wasm-opt", + "crateName": "wit-deps-cli", "locked": true, - "specifiedVersion": true + "specifiedVersion": false }, - "bciqgrinxolr2jfyj4smh3w5vwz6n4aacistocxbat5pz2fwf23glslq": { - "version": "1.208.1", + "bciqjt35de5uwbp3qv3idkj7or2pu2gcun5jjkdttfupyuseslmjny5i": { + "version": "2.5.0", "buildDepConfigs": { "cargo_binstall_ghrel": { - "version": "v1.10.2", + "version": "v1.10.3", "buildDepConfigs": {}, "portRef": "cargo_binstall_ghrel@0.1.0", "specifiedVersion": false }, "rust_rustup": { - "version": "1.79.0", + "version": "1.80.1", "buildDepConfigs": { "rustup_rustlang": { "version": "1.27.1", "buildDepConfigs": { "git_aa": { - "version": "2.46.0", + "version": "2.43.0", "buildDepConfigs": {}, "portRef": "git_aa@0.1.0", "specifiedVersion": false @@ -580,12 +517,12 @@ } }, "portRef": "cargobi_cratesio@0.1.0", - "crateName": "wasm-tools", + "crateName": "git-cliff", "locked": true, - "specifiedVersion": true + "specifiedVersion": false }, - "bciqghgb2rje3epckvbdexyfqud7yw6wbu32vt3h6iglfsytgvyqiosy": { - "version": "0.13.4", + "bciqaptuytx6h5lrjrb4xyeg2b5wjh5d3kawubwf6mssdgpntoqtxeha": { + "version": "3.7.1", "buildDepConfigs": { "cpy_bs_ghrel": { "version": "3.12.2", @@ -609,28 +546,85 @@ } }, "portRef": "pipi_pypi@0.1.0", - "packageName": "componentize-py", + "packageName": "pre-commit", "specifiedVersion": true }, - "bciqb6acvw45s2pagycoulvy6e5n5ukmbi6j4lrwe2nr5vu5txe333mi": { - "version": "1.3.0", + "bciqbbuzvdy4qweoxykn6kcqp3xyoi2ehdbdv3xbir4inj6i3m72wcsa": { + "version": "v0.13.1", + "buildDepConfigs": {}, + "portRef": "temporal_cli_ghrel@0.1.0", + "specifiedVersion": true + }, + "bciqnvknjnd6ivod4sz4usxxbxmhhyp4kiahvyy4yn6erblbzfu2s7na": { + "version": "1.33.0", "buildDepConfigs": { - "node_org": { - "version": "v20.8.0", + "cargo_binstall_ghrel": { + "version": "v1.10.3", + "buildDepConfigs": {}, + "portRef": "cargo_binstall_ghrel@0.1.0", + "specifiedVersion": false + }, + "rust_rustup": { + "version": "1.80.1", "buildDepConfigs": { - "tar_aa": { - "version": "1.35", - "buildDepConfigs": {}, - "portRef": "tar_aa@0.1.0", + "rustup_rustlang": { + "version": "1.27.1", + "buildDepConfigs": { + "git_aa": { + "version": "2.43.0", + "buildDepConfigs": {}, + "portRef": "git_aa@0.1.0", + "specifiedVersion": false + } + }, + "portRef": "rustup_rustlang@0.1.0", "specifiedVersion": false } }, - "portRef": "node_org@0.1.0", + "portRef": "rust_rustup@0.1.0", + "profile": "minimal", "specifiedVersion": true } }, - "portRef": "npmi_npm@0.1.0", - "packageName": "@bytecodealliance/jco", + "portRef": "cargobi_cratesio@0.1.0", + "crateName": "cargo-insta", + "locked": true, + "specifiedVersion": true + }, + "bciqgustga36b3bmjpi76xcde43z3efxo2czwmvotcxlktxkhcizywiq": { + "version": "0.2.5", + "buildDepConfigs": { + "cargo_binstall_ghrel": { + "version": "v1.10.3", + "buildDepConfigs": {}, + "portRef": "cargo_binstall_ghrel@0.1.0", + "specifiedVersion": false + }, + "rust_rustup": { + "version": "1.80.1", + "buildDepConfigs": { + "rustup_rustlang": { + "version": "1.27.1", + "buildDepConfigs": { + "git_aa": { + "version": "2.43.0", + "buildDepConfigs": {}, + "portRef": "git_aa@0.1.0", + "specifiedVersion": false + } + }, + "portRef": "rustup_rustlang@0.1.0", + "specifiedVersion": false + } + }, + "portRef": "rust_rustup@0.1.0", + "profile": "minimal", + "specifiedVersion": true + } + }, + "portRef": "cargobi_cratesio@0.1.0", + "crateName": "cross", + "locked": true, "specifiedVersion": true }, "bciqe6sahnduk5kofaohmecai2ip7ipjakg7rn32ezstllzr5nixmhyi": { @@ -640,7 +634,7 @@ "version": "1.27.1", "buildDepConfigs": { "git_aa": { - "version": "2.46.0", + "version": "2.43.0", "buildDepConfigs": {}, "portRef": "git_aa@0.1.0", "specifiedVersion": false @@ -658,19 +652,19 @@ "version": "0.1.47", "buildDepConfigs": { "cargo_binstall_ghrel": { - "version": "v1.10.2", + "version": "v1.10.3", "buildDepConfigs": {}, "portRef": "cargo_binstall_ghrel@0.1.0", "specifiedVersion": false }, "rust_rustup": { - "version": "1.79.0", + "version": "1.80.1", "buildDepConfigs": { "rustup_rustlang": { "version": "1.27.1", "buildDepConfigs": { "git_aa": { - "version": "2.46.0", + "version": "2.43.0", "buildDepConfigs": {}, "portRef": "git_aa@0.1.0", "specifiedVersion": false @@ -689,40 +683,6 @@ "crateName": "cargo-udeps", "locked": true, "specifiedVersion": true - }, - "bciqogkh34iffsgpjzg5m2tuyvt5e2phqsbbo6wh6nckxaojckmmasga": { - "version": "v1.46.1", - "buildDepConfigs": {}, - "portRef": "deno_ghrel@0.1.0", - "specifiedVersion": true - }, - "bciqjrdkuk366snl5rgzvkskacsphzernzelmhhu3sgkbpst6yptbpnq": { - "version": "1.8.3", - "buildDepConfigs": { - "cpy_bs_ghrel": { - "version": "3.12.2", - "buildDepConfigs": { - "tar_aa": { - "version": "1.35", - "buildDepConfigs": {}, - "portRef": "tar_aa@0.1.0", - "specifiedVersion": false - }, - "zstd_aa": { - "version": "v1.5.6,", - "buildDepConfigs": {}, - "portRef": "zstd_aa@0.1.0", - "specifiedVersion": false - } - }, - "portRef": "cpy_bs_ghrel@0.1.0", - "releaseTag": "20240224", - "specifiedVersion": true - } - }, - "portRef": "pipi_pypi@0.1.0", - "packageName": "poetry", - "specifiedVersion": true } } }, @@ -1067,7 +1027,7 @@ "ty": "denoFile@v1", "key": "dev-gate2", "desc": "Launch the typegate in sync mode.", - "envKey": "bciqk6b2h5s7wljd5gjygkc6wpoqvmt77xkgwfnnx7um2rhid5xb3tci" + "envKey": "bciqbyzm7ds7raflxunnt4jwajjwvghuccfzxsf3fzkjkjf22py6rghq" }, "dev-gate1": { "ty": "denoFile@v1", @@ -1568,7 +1528,7 @@ } ] }, - "bciqk6b2h5s7wljd5gjygkc6wpoqvmt77xkgwfnnx7um2rhid5xb3tci": { + "bciqbyzm7ds7raflxunnt4jwajjwvghuccfzxsf3fzkjkjf22py6rghq": { "provides": [ { "ty": "posix.envVar", @@ -1638,7 +1598,7 @@ { "ty": "posix.envVar", "key": "SYNC_REDIS_URL", - "val": "redis://:password@localhost:6379/123" + "val": "redis://:password@localhost:6379/0" }, { "ty": "posix.envVar", diff --git a/src/typegate/src/engine/planner/mod.ts b/src/typegate/src/engine/planner/mod.ts index 952215f9be..eb743813cc 100644 --- a/src/typegate/src/engine/planner/mod.ts +++ b/src/typegate/src/engine/planner/mod.ts @@ -178,7 +178,6 @@ export class Planner { }), ); const unselectedVariants = new Set(selectableVariants.keys()); - if (unselectedVariants.size === 0 && selectionSet.selections.length > 0) { const path = this.formatPath(node.path); throw new Error(`at ${path}: Unexpected selections`); @@ -238,6 +237,7 @@ export class Planner { ...node, path: parentPath, typeIdx: idx, + parentStage: stage, }, outputType.properties, stage, diff --git a/src/typegate/src/engine/planner/parameter_transformer.ts b/src/typegate/src/engine/planner/parameter_transformer.ts index bd80c8ebfe..80e66e815f 100644 --- a/src/typegate/src/engine/planner/parameter_transformer.ts +++ b/src/typegate/src/engine/planner/parameter_transformer.ts @@ -5,7 +5,10 @@ import { type QueryFn, QueryFunction } from "../../libs/jsonpath.ts"; import type { TypeGraph } from "../../typegraph/mod.ts"; import { Type } from "../../typegraph/type_node.ts"; import type { ParameterTransformNode } from "../../typegraph/types.ts"; -import { type ValidationContext, validationContext } from "../typecheck/common.ts"; +import { + type ValidationContext, + validationContext, +} from "../typecheck/common.ts"; import { generateListValidator } from "../typecheck/inline_validators/list.ts"; import { generateNumberValidator } from "../typecheck/inline_validators/number.ts"; import { @@ -174,9 +177,11 @@ class TransformerCompilationContext { return this.#compileSecretsInjection(typeIdx, nodeData.key); case "parent": return this.#compileParentInjection(typeIdx, nodeData.parentIdx); + case "static": + return this.#compileStaticInjection(typeIdx, nodeData.valueJson); default: throw new Error( - `Unknown source: ${nodeData.source} at ${this.#path}`, + `Unknown source: ${(nodeData as any).source} at ${this.#path}`, ); } } @@ -347,6 +352,15 @@ class TransformerCompilationContext { return varName; } + #compileStaticInjection(_typeIdx: number, valueJson: string) { + // VALIDATION + // - the value is validated AOT with the typegraph + + const varName = this.#createVarName(); + this.#collector.push(`const ${varName} = ${valueJson};`); + return varName; + } + #createVarName() { return `_var${++this.#latestVarIndex}`; } diff --git a/src/typegate/src/runtimes/deno/deno.ts b/src/typegate/src/runtimes/deno/deno.ts index 05b0f6e97f..c094ba3922 100644 --- a/src/typegate/src/runtimes/deno/deno.ts +++ b/src/typegate/src/runtimes/deno/deno.ts @@ -166,12 +166,9 @@ export class DenoRuntime extends Runtime { verbose: boolean, ): ComputeStage[] { if (stage.props.node === "__typename") { - return [ - stage.withResolver(() => { - const { parent: parentStage } = stage.props; - if (parentStage != null) { - return parentStage.props.outType.title; - } + const getTypename = () => { + const parentStage = stage.props.parent; + if (parentStage == null) { switch (stage.props.operationType) { case ast.OperationTypeNode.QUERY: return "Query"; @@ -182,7 +179,19 @@ export class DenoRuntime extends Runtime { `Unsupported operation type '${stage.props.operationType}'`, ); } - }), + } + + const idSlice = stage.id().slice(parentStage.id().length); + if (idSlice.startsWith("$")) { + return idSlice.split(".")[0].slice(1); + } + return parentStage.props.outType.title; + }; + + const typename = getTypename(); + + return [ + stage.withResolver(() => typename), ]; } diff --git a/src/typegraph/python/typegraph/t.py b/src/typegraph/python/typegraph/t.py index 51441fab6b..845612bd5e 100644 --- a/src/typegraph/python/typegraph/t.py +++ b/src/typegraph/python/typegraph/t.py @@ -624,7 +624,7 @@ def serialize_apply_param_node(node: ApplyParamNode) -> Any: if isinstance(node, ApplyFromArg): return {"source": "arg", "name": node.name} if isinstance(node, ApplyFromStatic): - return {"source": "static", "value": JsonLib.dumps(node.value)} + return {"source": "static", "value_json": JsonLib.dumps(node.value)} if isinstance(node, ApplyFromContext): return {"source": "context", "key": node.key} if isinstance(node, ApplyFromSecret): diff --git a/tests/typename/typename.py b/tests/typename/typename.py index abd4171762..a867717f17 100644 --- a/tests/typename/typename.py +++ b/tests/typename/typename.py @@ -22,6 +22,16 @@ def typename(g: Graph): code="() => ({ id: 12 })", ).with_policy(public) + u8 = t.integer(min=0, max=255, name="U8") + + color = t.either( + [ + t.enum(["red", "green", "blue"]).rename("NamedColor"), + t.string(pattern=r"^#[0-9a-f]{6}$").rename("HexColor"), + t.struct({"r": u8, "g": u8, "b": u8}).rename("RgbColor"), + ] + ) + g.expose( denoUser=deno_user, randomUser=randomUser, @@ -31,4 +41,17 @@ def typename(g: Graph): effect=effects.delete(), ).with_policy(public), createUser=prisma.create(prisma_user).with_policy(public), + getRgbColor=deno.identity(t.struct({"color": color})) + .apply( + { + "color": g.set( + { + "r": 255, + "g": 0, + "b": 0, + } + ) + } + ) + .with_policy(public), ) diff --git a/tests/typename/typename_test.ts b/tests/typename/typename_test.ts index 5bd6503264..5d55c70171 100644 --- a/tests/typename/typename_test.ts +++ b/tests/typename/typename_test.ts @@ -4,13 +4,12 @@ import { recreateMigrations } from "../utils/migrations.ts"; import { gql, Meta } from "../utils/mod.ts"; +const secrets = { + POSTGRES: "postgresql://postgres:password@localhost:5432/db?schema=typename", +}; + Meta.test("Typename", async (t) => { - const e = await t.engine("typename/typename.py", { - secrets: { - POSTGRES: - "postgresql://postgres:password@localhost:5432/db?schema=typename", - }, - }); + const e = await t.engine("typename/typename.py", { secrets }); await t.should("allow querying typename at root level", async () => { await gql` @@ -26,12 +25,7 @@ Meta.test("Typename", async (t) => { }); Meta.test("Typename in deno runtime", async (t) => { - const e = await t.engine("typename/typename.py", { - secrets: { - POSTGRES: - "postgresql://postgres:password@localhost:5432/db?schema=typename", - }, - }); + const e = await t.engine("typename/typename.py", { secrets }); await t.should("allow querying typename in an object", async () => { await gql` @@ -51,12 +45,7 @@ Meta.test("Typename in deno runtime", async (t) => { }); Meta.test("Typename in random runtime", async (t) => { - const e = await t.engine("typename/typename.py", { - secrets: { - POSTGRES: - "postgresql://postgres:password@localhost:5432/db?schema=typename", - }, - }); + const e = await t.engine("typename/typename.py", { secrets }); await t.should("allow querying typename in an object", async () => { await gql` @@ -76,12 +65,7 @@ Meta.test("Typename in random runtime", async (t) => { }); Meta.test("Typename in prisma runtime", async (t) => { - const e = await t.engine("typename/typename.py", { - secrets: { - POSTGRES: - "postgresql://postgres:password@localhost:5432/db?schema=typename", - }, - }); + const e = await t.engine("typename/typename.py", { secrets }); await gql` mutation a { @@ -112,3 +96,27 @@ Meta.test("Typename in prisma runtime", async (t) => { .on(e); }); }); + +Meta.test("Typename on union", async (t) => { + const e = await t.engine("typename/typename.py", { secrets }); + + await t.should("get variant type name", async () => { + await gql` + query { + getRgbColor { + color { + ... on RgbColor { + r g b __typename + } + } + } + } + ` + .expectData({ + getRgbColor: { + color: { r: 255, g: 0, b: 0, __typename: "RgbColor" }, + }, + }) + .on(e); + }); +});