From 7b50f2e494c0ae38ff630e91d2e43ba1d5b08068 Mon Sep 17 00:00:00 2001 From: Maciej Samoraj Date: Mon, 16 Sep 2024 22:14:03 +0200 Subject: [PATCH] [repl] initial cli Co-authored-by: elf Pavlik --- ...46b9339e-3cd6-4594-b40b-6bcc28cb881a$.json | 2 +- .../setup/current-server-version$.json | 2 +- packages/css-test-utils/src/accounts.ts | 4 +- packages/css-test-utils/src/index.ts | 5 +- .../src/readable/data-registration.ts | 2 +- packages/repl/cli.ts | 161 +++++++++ packages/repl/package.json | 9 +- packages/repl/repl.ts | 4 +- pnpm-lock.yaml | 337 ++++++++++++++++++ tsconfig.json | 4 +- 10 files changed, 519 insertions(+), 11 deletions(-) create mode 100644 packages/repl/cli.ts diff --git a/packages/css-storage-fixture/test/.internal/accounts/data/46b9339e-3cd6-4594-b40b-6bcc28cb881a$.json b/packages/css-storage-fixture/test/.internal/accounts/data/46b9339e-3cd6-4594-b40b-6bcc28cb881a$.json index 3a7d242e..625c4bde 100644 --- a/packages/css-storage-fixture/test/.internal/accounts/data/46b9339e-3cd6-4594-b40b-6bcc28cb881a$.json +++ b/packages/css-storage-fixture/test/.internal/accounts/data/46b9339e-3cd6-4594-b40b-6bcc28cb881a$.json @@ -1 +1 @@ -{"key":"accounts/data/46b9339e-3cd6-4594-b40b-6bcc28cb881a","payload":{"linkedLoginsCount":1,"id":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","**password**":{"bf3e5116-534a-41d2-8a97-8dd2f7501f4e":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","email":"luka@acme.example","password":"$2a$10$XF8teArq5siuhBr.GnJAmehhlk3S/uADDkk/G1Q96fyz0kfh/B4D6","verified":true,"id":"bf3e5116-534a-41d2-8a97-8dd2f7501f4e"}},"**clientCredentials**":{"5693817d-a0f1-4dcd-9dec-58bdfe179b08":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_2ae7724b-5d99-4a45-aa3c-c988ad7835c5","webId":"http://localhost:3711/luka/profile/card#me","secret":"59a54dc99bd3e5bf437f6868deffe3e1690529cf38064b11b303d5671592ace13ff6404789f6b6e62b5fa34d4bee9af59873d44f83b7228beb3024afcc552ff3","id":"5693817d-a0f1-4dcd-9dec-58bdfe179b08"},"5eb23684-ab15-4b08-9afb-7278a9177d70":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_db284e3a-fb79-40e5-ae24-315d3e15aff3","webId":"http://localhost:3711/luka/profile/card#me","secret":"933c9466f787acd9d1c4decc8d66144a5467d645c4c1329fefc8cce75d200955af76bf2ea825fedba6a5d3cbe8cc788a9914a5d46ca052b5a0a0d8887121d2ae","id":"5eb23684-ab15-4b08-9afb-7278a9177d70"},"2edef238-74be-49a5-b1ac-b4f6b6861eb9":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_17a7c350-1d1f-4b22-9ea2-7571ad01e45e","webId":"http://localhost:3711/luka/profile/card#me","secret":"2391a8f01cf28d8dad5169d57d9588a9d9227ef7fd9b48c4b2e644b114b37d417ee1b405cf2186e094b38a729d5ba429af7e0de17a979816535a133a97fcd140","id":"2edef238-74be-49a5-b1ac-b4f6b6861eb9"},"e1eead87-75ed-4612-92fa-daff71846fdf":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_06685edc-d501-4948-8327-d8baf17d2a3a","webId":"http://localhost:3711/luka/profile/card#me","secret":"2967690b9c17af02b464edbd1c4914fd54894e30b28017764da8f9ecf053b6cdf5b8567a2cffcab22b90f4bf7fdecf62c37e1b2261267217c13f18e00622b42b","id":"e1eead87-75ed-4612-92fa-daff71846fdf"},"ab1ad3b2-37a5-42b4-a7e4-c0fd31bdabc9":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_ca77004d-72d5-46f4-bba9-6916ffd52909","webId":"http://localhost:3711/luka/profile/card#me","secret":"7d85aeadcbee7afd48c86b7c076312206569ae793f6a01bc47717f9a8af5556eed085a88f6e30178bdfadc24039320d38ec660c9a00431dac60098292b724976","id":"ab1ad3b2-37a5-42b4-a7e4-c0fd31bdabc9"},"723d03b4-86b0-473a-a4a1-0bc83ed46c20":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_64ea1747-4d8c-4f3c-9a0f-363071d624c2","webId":"http://localhost:3711/luka/profile/card#me","secret":"38b8adad1f303ad197f103d0b589ee12b8f76dd2670d6f386c5932d1e271b09efe738369e6381231a33ec8b45f8afd1b5cb0e790f568ef541c2c2f4d707a29b5","id":"723d03b4-86b0-473a-a4a1-0bc83ed46c20"},"8f0caa65-18c9-454f-b706-052b0fb1c1c1":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_83a70397-7510-43d7-beef-ec7432ee3d4f","webId":"http://localhost:3711/luka/profile/card#me","secret":"bed22c39e221b81e99b8ea6c776091f9369df388c59cb263fc7abb87adaa3b0ed311c3011ce0c824862e0cc841e173c39248124a928df0f8a9fbae2a2705aa75","id":"8f0caa65-18c9-454f-b706-052b0fb1c1c1"},"cf529aaf-249b-4337-a379-3377c695c0b3":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_c18260d6-962f-4874-a1b2-22069e6e22b8","webId":"http://localhost:3711/luka/profile/card#me","secret":"2e904884db3a49b7f38558b9b37bfb4dc3ee0322deb9655bf9eab57b8d63640237f768753e5ee6608e554a26983101ea05a4c59b8469bd91226aabbb964608c0","id":"cf529aaf-249b-4337-a379-3377c695c0b3"},"593d7006-1315-4e48-9402-78903340ec2f":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_2c5a3a80-dafd-4067-ae99-6c3a4bd13072","webId":"http://localhost:3711/luka/profile/card#me","secret":"766051d7b320e6059bb8b7a27084e373ba68defeee06f696d5d16ff7251da424936bd18ebbd2436d5c8440256c26153e456c3ed54ef437eb38c59a49643b95c1","id":"593d7006-1315-4e48-9402-78903340ec2f"},"d6b75afd-9171-46f4-9a90-5aa0b1ce2ff4":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_148241d5-05ff-4578-be87-d3e3ffa1a31c","webId":"http://localhost:3711/luka/profile/card#me","secret":"8227269ac80ff1c50ae359ae217f576a68280569add1eec7fa68ed1689744aa2e01ba33f79424b6bec60864c52698901758f56c835281b54322ebfc9db52145c","id":"d6b75afd-9171-46f4-9a90-5aa0b1ce2ff4"},"35470f61-d714-4a69-b7ac-b38845091070":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_93cf5a0e-d0b7-4cf2-b7fc-db58163485e4","webId":"http://localhost:3711/luka/profile/card#me","secret":"6b9613de97c843c0af8acdf8bda868ab4131ba2cfa5b46ce05721de24f7782809fd7169882994fe7fa71be0662bf1ef0f1bad62503768d51461732ab080e7441","id":"35470f61-d714-4a69-b7ac-b38845091070"},"24e1504a-db4b-4fb1-b9ff-c1a93ced3408":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_8b4a9379-f967-4172-87f5-c6ba508a3bdf","webId":"http://localhost:3711/luka/profile/card#me","secret":"0f3d269d44eeca1cb138907d7ec808bef2020faa5a801776445047d996ecf0eb65fe430bd5104ac76b686f5d3f536d1a253da212e6373df84f07aabc2040e954","id":"24e1504a-db4b-4fb1-b9ff-c1a93ced3408"},"fe31c054-9201-4f80-8cb8-b466de814b6c":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_2fa31001-c4ff-4d79-8332-ae74303072cd","webId":"http://localhost:3711/luka/profile/card#me","secret":"bac9eff20b2b0b351259942fef48d52ae4bb3674abaa178250cdeb0180007a659f7d5e16baefb819c7f2547a6bba438e85ca583be375b081abab58003ed0fba3","id":"fe31c054-9201-4f80-8cb8-b466de814b6c"},"3b13a6ff-af43-4271-acd3-142daa4951cf":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_edadb354-b1da-4a7a-afc7-95e654c4fc86","webId":"http://localhost:3711/luka/profile/card#me","secret":"a312947ac13234fb0e332f13fda611e0f91bc498cc0155e34b4e5757e59cecd73d662f40a61354340884926f0eea4b4bdc187af180333575179ff197ee04b42c","id":"3b13a6ff-af43-4271-acd3-142daa4951cf"},"50f16516-f092-4afd-bc99-6b4c1e840c80":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_efffeb14-4550-410c-b253-28a271e577a1","webId":"http://localhost:3711/luka/profile/card#me","secret":"015e1dc868ddf13d101c1868c2a5d5b2426e214554e35674a58a739c32bc934ca2a5f439fab565dae4587794eb87cb46de17597d047f5ceea41a17603a1132c2","id":"50f16516-f092-4afd-bc99-6b4c1e840c80"},"b73a6620-3711-48b9-bc0c-22d8e989497d":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_9707ddb3-3958-4b91-a314-848bb3fbb3b1","webId":"http://localhost:3711/luka/profile/card#me","secret":"cf902cbfbdb6a1ddefd03d4586301ae22041f0aad897a5aa129e1970ef1b5a0ce97645da6e1f6f0057b3a6bc66d37b7c2a61b5e5fc5f0bd6cd1f3239e4e48538","id":"b73a6620-3711-48b9-bc0c-22d8e989497d"},"828ec57d-dc67-4a72-a27f-c09d438caa56":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_82fb0abc-d891-44dd-8878-d91b919f5dae","webId":"http://localhost:3711/luka/profile/card#me","secret":"4dc95bdcb367c5674477278052f9d36998091f20f64df21c7b9869ad541e9cf5c8e8edc03acdbc4148060aae38e63f8770f9851cbb9165d2e17d8d502831a55f","id":"828ec57d-dc67-4a72-a27f-c09d438caa56"},"c000adc3-1489-4cd2-bd89-1bba41dd0436":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_f70281ef-5381-45a8-bc35-edaa271cdece","webId":"http://localhost:3711/luka/profile/card#me","secret":"d8c7d5bec4c56dbd5c2348ca4715fa71f974404c2eb9efd5b70bddfe8e74233d1672cc97ec042059ae2cdb2b1e23fce2b558e5aee66b9bc27ca8a2776176f3c8","id":"c000adc3-1489-4cd2-bd89-1bba41dd0436"},"c1009ec4-732c-47c4-9a37-b0ff9e84522b":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_5aed5c8f-c283-44fd-864e-c06cfbf7392a","webId":"http://localhost:3711/luka/profile/card#me","secret":"343420cb41557beca988dc4e31be20938315c3c03741a9034002a3afb8c5173bdfc5be17042d0c95beeb23c164b5c1fbc2a5f13bc11165dd47c76e66daa94cdb","id":"c1009ec4-732c-47c4-9a37-b0ff9e84522b"},"b3ba9dbe-29a7-4de5-bf0c-d1bcd403ad53":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_cfe4e732-3164-4588-93b2-20099e1c0103","webId":"http://localhost:3711/luka/profile/card#me","secret":"2063b0a9500de343d1f8cda3d2a4de6df9d2092eb2433d0c70d88ba3ece997d72313888f18f4a760469a474632e98933584767172485d3b09e18e36b619040b6","id":"b3ba9dbe-29a7-4de5-bf0c-d1bcd403ad53"},"7e97e2bb-79e1-4881-b600-646c78f5f369":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_f5e0891a-2c36-4ef1-9a31-8b96fb605aa1","webId":"http://localhost:3711/luka/profile/card#me","secret":"414699b39f6c9d6d842a3c805c0bb49a0485ff5621de5a23da23b8d6d0fc212a2e92679eb6af077515897486d43a6f2a6eedfaf55c0a3966a60b35f9f2341418","id":"7e97e2bb-79e1-4881-b600-646c78f5f369"},"5810840b-5a9d-4817-8b0a-c9cc01597170":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_3ea523aa-823c-4009-a3a5-b0e28ba2f6f3","webId":"http://localhost:3711/luka/profile/card#me","secret":"e03620a388ef7a96a652307c1cb7d718a5485cc77144d4ad23a5438fe53c26f6f945d20076a7f8b91c57880a3b680687b6902ef70d82838170b868896b6b5453","id":"5810840b-5a9d-4817-8b0a-c9cc01597170"}},"**pod**":{"85693ab5-f062-4511-9f11-4a5189857eb0":{"baseUrl":"http://localhost:3711/luka/","accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","id":"85693ab5-f062-4511-9f11-4a5189857eb0","**owner**":{"724b4012-5fc5-4be0-a55a-cff7ac464d00":{"podId":"85693ab5-f062-4511-9f11-4a5189857eb0","webId":"http://localhost:3711/luka/profile/card#me","visible":false,"id":"724b4012-5fc5-4be0-a55a-cff7ac464d00"}}},"fe72db8c-2f5c-440b-b0dd-0377318aaf6f":{"baseUrl":"http://localhost:3711/corvax/","accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","id":"fe72db8c-2f5c-440b-b0dd-0377318aaf6f","**owner**":{"09021b06-9238-471a-acb6-79385488811e":{"podId":"fe72db8c-2f5c-440b-b0dd-0377318aaf6f","webId":"http://localhost:3711/luka/profile/card#me","visible":false,"id":"09021b06-9238-471a-acb6-79385488811e"}}},"fa8e07fc-3507-4a6a-908a-bf1144af9a62":{"baseUrl":"http://localhost:3711/zenara/","accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","id":"fa8e07fc-3507-4a6a-908a-bf1144af9a62","**owner**":{"50f50f77-43ae-4792-a377-1e903c976410":{"podId":"fa8e07fc-3507-4a6a-908a-bf1144af9a62","webId":"http://localhost:3711/luka/profile/card#me","visible":false,"id":"50f50f77-43ae-4792-a377-1e903c976410"}}}},"**webIdLink**":{"6d2b9a86-3272-47a0-b21b-1e67cfa32699":{"webId":"http://localhost:3711/luka/profile/card#me","accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","id":"6d2b9a86-3272-47a0-b21b-1e67cfa32699"}},"rememberLogin":false}} \ No newline at end of file +{"key":"accounts/data/46b9339e-3cd6-4594-b40b-6bcc28cb881a","payload":{"linkedLoginsCount":1,"id":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","**password**":{"bf3e5116-534a-41d2-8a97-8dd2f7501f4e":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","email":"luka@acme.example","password":"$2a$10$XF8teArq5siuhBr.GnJAmehhlk3S/uADDkk/G1Q96fyz0kfh/B4D6","verified":true,"id":"bf3e5116-534a-41d2-8a97-8dd2f7501f4e"}},"**clientCredentials**":{"5693817d-a0f1-4dcd-9dec-58bdfe179b08":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_2ae7724b-5d99-4a45-aa3c-c988ad7835c5","webId":"http://localhost:3711/luka/profile/card#me","secret":"59a54dc99bd3e5bf437f6868deffe3e1690529cf38064b11b303d5671592ace13ff6404789f6b6e62b5fa34d4bee9af59873d44f83b7228beb3024afcc552ff3","id":"5693817d-a0f1-4dcd-9dec-58bdfe179b08"},"5eb23684-ab15-4b08-9afb-7278a9177d70":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_db284e3a-fb79-40e5-ae24-315d3e15aff3","webId":"http://localhost:3711/luka/profile/card#me","secret":"933c9466f787acd9d1c4decc8d66144a5467d645c4c1329fefc8cce75d200955af76bf2ea825fedba6a5d3cbe8cc788a9914a5d46ca052b5a0a0d8887121d2ae","id":"5eb23684-ab15-4b08-9afb-7278a9177d70"},"2edef238-74be-49a5-b1ac-b4f6b6861eb9":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_17a7c350-1d1f-4b22-9ea2-7571ad01e45e","webId":"http://localhost:3711/luka/profile/card#me","secret":"2391a8f01cf28d8dad5169d57d9588a9d9227ef7fd9b48c4b2e644b114b37d417ee1b405cf2186e094b38a729d5ba429af7e0de17a979816535a133a97fcd140","id":"2edef238-74be-49a5-b1ac-b4f6b6861eb9"},"e1eead87-75ed-4612-92fa-daff71846fdf":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_06685edc-d501-4948-8327-d8baf17d2a3a","webId":"http://localhost:3711/luka/profile/card#me","secret":"2967690b9c17af02b464edbd1c4914fd54894e30b28017764da8f9ecf053b6cdf5b8567a2cffcab22b90f4bf7fdecf62c37e1b2261267217c13f18e00622b42b","id":"e1eead87-75ed-4612-92fa-daff71846fdf"},"ab1ad3b2-37a5-42b4-a7e4-c0fd31bdabc9":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_ca77004d-72d5-46f4-bba9-6916ffd52909","webId":"http://localhost:3711/luka/profile/card#me","secret":"7d85aeadcbee7afd48c86b7c076312206569ae793f6a01bc47717f9a8af5556eed085a88f6e30178bdfadc24039320d38ec660c9a00431dac60098292b724976","id":"ab1ad3b2-37a5-42b4-a7e4-c0fd31bdabc9"},"723d03b4-86b0-473a-a4a1-0bc83ed46c20":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_64ea1747-4d8c-4f3c-9a0f-363071d624c2","webId":"http://localhost:3711/luka/profile/card#me","secret":"38b8adad1f303ad197f103d0b589ee12b8f76dd2670d6f386c5932d1e271b09efe738369e6381231a33ec8b45f8afd1b5cb0e790f568ef541c2c2f4d707a29b5","id":"723d03b4-86b0-473a-a4a1-0bc83ed46c20"},"8f0caa65-18c9-454f-b706-052b0fb1c1c1":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_83a70397-7510-43d7-beef-ec7432ee3d4f","webId":"http://localhost:3711/luka/profile/card#me","secret":"bed22c39e221b81e99b8ea6c776091f9369df388c59cb263fc7abb87adaa3b0ed311c3011ce0c824862e0cc841e173c39248124a928df0f8a9fbae2a2705aa75","id":"8f0caa65-18c9-454f-b706-052b0fb1c1c1"},"cf529aaf-249b-4337-a379-3377c695c0b3":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_c18260d6-962f-4874-a1b2-22069e6e22b8","webId":"http://localhost:3711/luka/profile/card#me","secret":"2e904884db3a49b7f38558b9b37bfb4dc3ee0322deb9655bf9eab57b8d63640237f768753e5ee6608e554a26983101ea05a4c59b8469bd91226aabbb964608c0","id":"cf529aaf-249b-4337-a379-3377c695c0b3"},"593d7006-1315-4e48-9402-78903340ec2f":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_2c5a3a80-dafd-4067-ae99-6c3a4bd13072","webId":"http://localhost:3711/luka/profile/card#me","secret":"766051d7b320e6059bb8b7a27084e373ba68defeee06f696d5d16ff7251da424936bd18ebbd2436d5c8440256c26153e456c3ed54ef437eb38c59a49643b95c1","id":"593d7006-1315-4e48-9402-78903340ec2f"},"d6b75afd-9171-46f4-9a90-5aa0b1ce2ff4":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_148241d5-05ff-4578-be87-d3e3ffa1a31c","webId":"http://localhost:3711/luka/profile/card#me","secret":"8227269ac80ff1c50ae359ae217f576a68280569add1eec7fa68ed1689744aa2e01ba33f79424b6bec60864c52698901758f56c835281b54322ebfc9db52145c","id":"d6b75afd-9171-46f4-9a90-5aa0b1ce2ff4"},"35470f61-d714-4a69-b7ac-b38845091070":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_93cf5a0e-d0b7-4cf2-b7fc-db58163485e4","webId":"http://localhost:3711/luka/profile/card#me","secret":"6b9613de97c843c0af8acdf8bda868ab4131ba2cfa5b46ce05721de24f7782809fd7169882994fe7fa71be0662bf1ef0f1bad62503768d51461732ab080e7441","id":"35470f61-d714-4a69-b7ac-b38845091070"},"24e1504a-db4b-4fb1-b9ff-c1a93ced3408":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_8b4a9379-f967-4172-87f5-c6ba508a3bdf","webId":"http://localhost:3711/luka/profile/card#me","secret":"0f3d269d44eeca1cb138907d7ec808bef2020faa5a801776445047d996ecf0eb65fe430bd5104ac76b686f5d3f536d1a253da212e6373df84f07aabc2040e954","id":"24e1504a-db4b-4fb1-b9ff-c1a93ced3408"},"fe31c054-9201-4f80-8cb8-b466de814b6c":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_2fa31001-c4ff-4d79-8332-ae74303072cd","webId":"http://localhost:3711/luka/profile/card#me","secret":"bac9eff20b2b0b351259942fef48d52ae4bb3674abaa178250cdeb0180007a659f7d5e16baefb819c7f2547a6bba438e85ca583be375b081abab58003ed0fba3","id":"fe31c054-9201-4f80-8cb8-b466de814b6c"},"3b13a6ff-af43-4271-acd3-142daa4951cf":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_edadb354-b1da-4a7a-afc7-95e654c4fc86","webId":"http://localhost:3711/luka/profile/card#me","secret":"a312947ac13234fb0e332f13fda611e0f91bc498cc0155e34b4e5757e59cecd73d662f40a61354340884926f0eea4b4bdc187af180333575179ff197ee04b42c","id":"3b13a6ff-af43-4271-acd3-142daa4951cf"},"50f16516-f092-4afd-bc99-6b4c1e840c80":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_efffeb14-4550-410c-b253-28a271e577a1","webId":"http://localhost:3711/luka/profile/card#me","secret":"015e1dc868ddf13d101c1868c2a5d5b2426e214554e35674a58a739c32bc934ca2a5f439fab565dae4587794eb87cb46de17597d047f5ceea41a17603a1132c2","id":"50f16516-f092-4afd-bc99-6b4c1e840c80"},"b73a6620-3711-48b9-bc0c-22d8e989497d":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_9707ddb3-3958-4b91-a314-848bb3fbb3b1","webId":"http://localhost:3711/luka/profile/card#me","secret":"cf902cbfbdb6a1ddefd03d4586301ae22041f0aad897a5aa129e1970ef1b5a0ce97645da6e1f6f0057b3a6bc66d37b7c2a61b5e5fc5f0bd6cd1f3239e4e48538","id":"b73a6620-3711-48b9-bc0c-22d8e989497d"},"828ec57d-dc67-4a72-a27f-c09d438caa56":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_82fb0abc-d891-44dd-8878-d91b919f5dae","webId":"http://localhost:3711/luka/profile/card#me","secret":"4dc95bdcb367c5674477278052f9d36998091f20f64df21c7b9869ad541e9cf5c8e8edc03acdbc4148060aae38e63f8770f9851cbb9165d2e17d8d502831a55f","id":"828ec57d-dc67-4a72-a27f-c09d438caa56"},"c000adc3-1489-4cd2-bd89-1bba41dd0436":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_f70281ef-5381-45a8-bc35-edaa271cdece","webId":"http://localhost:3711/luka/profile/card#me","secret":"d8c7d5bec4c56dbd5c2348ca4715fa71f974404c2eb9efd5b70bddfe8e74233d1672cc97ec042059ae2cdb2b1e23fce2b558e5aee66b9bc27ca8a2776176f3c8","id":"c000adc3-1489-4cd2-bd89-1bba41dd0436"},"c1009ec4-732c-47c4-9a37-b0ff9e84522b":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_5aed5c8f-c283-44fd-864e-c06cfbf7392a","webId":"http://localhost:3711/luka/profile/card#me","secret":"343420cb41557beca988dc4e31be20938315c3c03741a9034002a3afb8c5173bdfc5be17042d0c95beeb23c164b5c1fbc2a5f13bc11165dd47c76e66daa94cdb","id":"c1009ec4-732c-47c4-9a37-b0ff9e84522b"},"b3ba9dbe-29a7-4de5-bf0c-d1bcd403ad53":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_cfe4e732-3164-4588-93b2-20099e1c0103","webId":"http://localhost:3711/luka/profile/card#me","secret":"2063b0a9500de343d1f8cda3d2a4de6df9d2092eb2433d0c70d88ba3ece997d72313888f18f4a760469a474632e98933584767172485d3b09e18e36b619040b6","id":"b3ba9dbe-29a7-4de5-bf0c-d1bcd403ad53"},"7e97e2bb-79e1-4881-b600-646c78f5f369":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_f5e0891a-2c36-4ef1-9a31-8b96fb605aa1","webId":"http://localhost:3711/luka/profile/card#me","secret":"414699b39f6c9d6d842a3c805c0bb49a0485ff5621de5a23da23b8d6d0fc212a2e92679eb6af077515897486d43a6f2a6eedfaf55c0a3966a60b35f9f2341418","id":"7e97e2bb-79e1-4881-b600-646c78f5f369"},"5810840b-5a9d-4817-8b0a-c9cc01597170":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_3ea523aa-823c-4009-a3a5-b0e28ba2f6f3","webId":"http://localhost:3711/luka/profile/card#me","secret":"e03620a388ef7a96a652307c1cb7d718a5485cc77144d4ad23a5438fe53c26f6f945d20076a7f8b91c57880a3b680687b6902ef70d82838170b868896b6b5453","id":"5810840b-5a9d-4817-8b0a-c9cc01597170"},"8f8a136b-dc67-44c4-8d9d-93956178a0ae":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_ee4514a4-46c2-441c-9c9a-7d0aa4b2d9b7","webId":"http://localhost:3711/luka/profile/card#me","secret":"b1363f9bd1f76fb0336dcc7c941398fe572f9b50cbbf411d4216d27965b9d38ca4a16360d5f301e171dcec53b56c018945555b431d4e5ef2626fd086e2722bdb","id":"8f8a136b-dc67-44c4-8d9d-93956178a0ae"},"f01a8b3c-e0c4-4bc5-838f-44bb2b6c9bd0":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_3067a4e8-b9cc-4faf-ac46-7820674c9b53","webId":"http://localhost:3711/luka/profile/card#me","secret":"8c94caa6492bd2bbede25a01e90997760405018dff63ec8eb6666cd0b6ab21bfeb8d3e866d7e9ea1c42b3f488f55f188639659404cb951a778784d014de7452e","id":"f01a8b3c-e0c4-4bc5-838f-44bb2b6c9bd0"},"ae3654b5-1f62-4eab-bd3b-788aa7c68979":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_0e8f23e8-e1ed-46b2-8e3b-68e2b34a4136","webId":"http://localhost:3711/luka/profile/card#me","secret":"b9a809c1f35e9dc138e501e62e1f5c3c56b49e81a5407062725e4655f5ec08604830a139cc49ae938e9098fda0e54be4eafb4d946a81563b81f79a6f7ad8e0bb","id":"ae3654b5-1f62-4eab-bd3b-788aa7c68979"},"07c060ab-fb05-48ca-a136-feea22c81efc":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_85fee027-8602-4e94-ac3c-971707d4695c","webId":"http://localhost:3711/luka/profile/card#me","secret":"ea8117586078410b5dec12eb574b5cc507986c4c6bb64eb235ce1c07701893fce65c1e52eaaeb27f42f539e248f3f7f5df885b994f31fd72e4c311934fe35343","id":"07c060ab-fb05-48ca-a136-feea22c81efc"},"df00a812-a5d7-4bc6-83c3-10bdb06d0d91":{"accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","label":"my-token_c6628f9f-3451-4e76-8742-008225736c83","webId":"http://localhost:3711/luka/profile/card#me","secret":"330d6877b750efc3f80da50a81ca4638056436bd9463bc918ce982ab25265a78fee466e68901dad1c04ea3e88d304404a433a0971e73f66afe83a074252ecb03","id":"df00a812-a5d7-4bc6-83c3-10bdb06d0d91"}},"**pod**":{"85693ab5-f062-4511-9f11-4a5189857eb0":{"baseUrl":"http://localhost:3711/luka/","accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","id":"85693ab5-f062-4511-9f11-4a5189857eb0","**owner**":{"724b4012-5fc5-4be0-a55a-cff7ac464d00":{"podId":"85693ab5-f062-4511-9f11-4a5189857eb0","webId":"http://localhost:3711/luka/profile/card#me","visible":false,"id":"724b4012-5fc5-4be0-a55a-cff7ac464d00"}}},"fe72db8c-2f5c-440b-b0dd-0377318aaf6f":{"baseUrl":"http://localhost:3711/corvax/","accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","id":"fe72db8c-2f5c-440b-b0dd-0377318aaf6f","**owner**":{"09021b06-9238-471a-acb6-79385488811e":{"podId":"fe72db8c-2f5c-440b-b0dd-0377318aaf6f","webId":"http://localhost:3711/luka/profile/card#me","visible":false,"id":"09021b06-9238-471a-acb6-79385488811e"}}},"fa8e07fc-3507-4a6a-908a-bf1144af9a62":{"baseUrl":"http://localhost:3711/zenara/","accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","id":"fa8e07fc-3507-4a6a-908a-bf1144af9a62","**owner**":{"50f50f77-43ae-4792-a377-1e903c976410":{"podId":"fa8e07fc-3507-4a6a-908a-bf1144af9a62","webId":"http://localhost:3711/luka/profile/card#me","visible":false,"id":"50f50f77-43ae-4792-a377-1e903c976410"}}}},"**webIdLink**":{"6d2b9a86-3272-47a0-b21b-1e67cfa32699":{"webId":"http://localhost:3711/luka/profile/card#me","accountId":"46b9339e-3cd6-4594-b40b-6bcc28cb881a","id":"6d2b9a86-3272-47a0-b21b-1e67cfa32699"}},"rememberLogin":false}} \ No newline at end of file diff --git a/packages/css-storage-fixture/test/.internal/setup/current-server-version$.json b/packages/css-storage-fixture/test/.internal/setup/current-server-version$.json index be982107..381953c1 100644 --- a/packages/css-storage-fixture/test/.internal/setup/current-server-version$.json +++ b/packages/css-storage-fixture/test/.internal/setup/current-server-version$.json @@ -1 +1 @@ -{"key":"setup/current-server-version","payload":"7.1.1"} \ No newline at end of file +{"key":"setup/current-server-version","payload":"7.1.2"} \ No newline at end of file diff --git a/packages/css-test-utils/src/accounts.ts b/packages/css-test-utils/src/accounts.ts index 2addc5a0..0e9ec877 100644 --- a/packages/css-test-utils/src/accounts.ts +++ b/packages/css-test-utils/src/accounts.ts @@ -20,7 +20,9 @@ const password = 'password'; export const shapeTree = { Gadget: `${host}/solid/trees/Gadget`, - Widget: `${host}/solid/trees/Widget` + Widget: `${host}/solid/trees/Widget`, + Event: `${host}/solid/trees/Event`, + Contact: `${host}/solid/trees/Contact` }; export type Application = { diff --git a/packages/css-test-utils/src/index.ts b/packages/css-test-utils/src/index.ts index 8687832e..5930b040 100644 --- a/packages/css-test-utils/src/index.ts +++ b/packages/css-test-utils/src/index.ts @@ -2,4 +2,7 @@ export * from './css-util'; export * from './solid-test-utils'; export * from './config'; export * from './types'; -export * as accounts from './accounts'; +export { shapeTree } from './accounts'; + +import { luka, vaporcg, solid } from './accounts'; +export const accounts = { luka, vaporcg, solid }; diff --git a/packages/data-model/src/readable/data-registration.ts b/packages/data-model/src/readable/data-registration.ts index 425eb2d8..aa11bd3b 100644 --- a/packages/data-model/src/readable/data-registration.ts +++ b/packages/data-model/src/readable/data-registration.ts @@ -4,7 +4,7 @@ import { InteropFactory } from '..'; import { ReadableResource, ReadableShapeTree } from '.'; export class ReadableDataRegistration extends ReadableResource { - shapeTree?: ReadableShapeTree; + shapeTree: ReadableShapeTree; private async bootstrap(): Promise { await this.fetchData(); diff --git a/packages/repl/cli.ts b/packages/repl/cli.ts new file mode 100644 index 00000000..ab0fcb15 --- /dev/null +++ b/packages/repl/cli.ts @@ -0,0 +1,161 @@ +/* +1. select account from accounts +2. create session +3. select operation for example: + - data registries + - select registry from list of registries + - list data registration from registry + - add data registration to registry + - select shape tree from list of shape trees + - go back +*/ + +import * as Command from '@effect/cli/Command'; +import * as Prompt from '@effect/cli/Prompt'; +import * as NodeContext from '@effect/platform-node/NodeContext'; +import * as Runtime from '@effect/platform-node/NodeRuntime'; +import { Context, Effect, Layer } from 'effect'; + +import { type Account, accounts, shapeTree, createApp, SolidTestUtils } from '@janeirodigital/css-test-utils'; +import { AuthorizationAgent } from '@janeirodigital/interop-authorization-agent'; +import { asyncIterableToArray } from '@janeirodigital/interop-utils'; +import { init } from '@paralleldrive/cuid2'; + +const cuid = init({ length: 6 }); + +console.log('Server starting'); +const server = await createApp(); +await server.start(); +console.log('Server started'); + +class SessionManager extends Context.Tag('SessionManager')< + SessionManager, + { readonly getSession: (account: Account) => Effect.Effect } +>() {} + +const SessionManagerLive = Layer.succeed( + SessionManager, + SessionManager.of({ + getSession: (account: Account) => Effect.promise(() => buildSession(account)) + }) +); + +const createSelectDataRegistryPrompt = (registryList: string[]) => { + return Prompt.select({ + message: 'Pick data registry', + choices: registryList.map((registry) => ({ title: registry, value: registry })) + }); +}; + +const createSelectShapeTreePrompt = (shapeTreeList: string[]) => { + return Prompt.select({ + message: 'Pick shape tree', + choices: shapeTreeList.map((st) => ({ title: st, value: st })) + }); +}; + +const accountPrompt = Prompt.select({ + message: 'Pick account', + choices: Object.keys(accounts).map((accountName: keyof typeof accounts) => ({ + title: accountName, + value: accountName + })) +}); + +enum Actions { + createDataRegistration = 'createDataRegistration', + createSocialAgentRegistration = 'createSocialAgentRegistration' +} + +const selectActionPrompt = Prompt.select({ + message: 'Select action', + choices: [ + { title: 'Create data registration', value: Actions.createDataRegistration }, + { title: 'Create social agent registration', value: Actions.createSocialAgentRegistration } + ] +}); + +const getSession = Effect.gen(function* () { + const sessionManager = yield* SessionManager; + const account = yield* accountPrompt; + return yield* sessionManager.getSession(accounts[account]); +}); + +const mainPrompt = Effect.provide( + Effect.gen(function* () { + const sessionManager = yield* SessionManager; + + const action = yield* selectActionPrompt; + + switch (action) { + case Actions.createDataRegistration: + yield* createDataRegistration.pipe(Effect.provideService(SessionManager, sessionManager)); + break; + case Actions.createSocialAgentRegistration: + yield* createSocialAgentRegistration.pipe(Effect.provideService(SessionManager, sessionManager)); + break; + } + }), + SessionManagerLive +); + +const createDataRegistration = Effect.gen(function* () { + const sessionManager = yield* SessionManager; + + const session = yield* getSession.pipe(Effect.provideService(SessionManager, sessionManager)); + + const registryId = yield* createSelectDataRegistryPrompt(session.registrySet.hasDataRegistry.map(({ iri }) => iri)); + + const registry = session.registrySet.hasDataRegistry.find(({ iri }) => iri === registryId)!; + + const registrations = yield* Effect.promise(async () => asyncIterableToArray(registry.registrations)); + + const existingShapeTrees = registrations.map((registration) => registration.shapeTree.iri); + + existingShapeTrees.forEach((iri) => console.log(iri)); + + const remainingShapeTrees = [...new Set(Object.values(shapeTree)).difference(new Set(existingShapeTrees))]; + + const shapeTreeId = yield* createSelectShapeTreePrompt(remainingShapeTrees); + + yield* Effect.promise(async () => registry.createRegistration(shapeTreeId)); +}); + +const createSocialAgentRegistration = Effect.gen(function* () { + const sessionManager = yield* SessionManager; + + const account = yield* accountPrompt; + + const session = yield* sessionManager.getSession(accounts[account]); + + const webId = yield* Prompt.text({ message: 'Enter social agent name' }); + const label = yield* Prompt.text({ message: 'Enter social agent label' }); + const note = yield* Prompt.text({ message: 'Enter social agent note (optional)' }); + + yield* Effect.promise(async () => + session.registrySet.hasAgentRegistry.addSocialAgentRegistration(webId, label, note) + ); +}); + +const command = Command.make('sai', {}, () => mainPrompt); + +const cli = Command.run(command, { + name: 'Prompt Examples', + version: '0.0.1' +}); + +Effect.suspend(() => cli(process.argv)).pipe(Effect.provide(NodeContext.layer), Runtime.runMain); + +async function buildSession(account: Account): Promise { + const stu = new SolidTestUtils(account); + await stu.auth(); + return await AuthorizationAgent.build( + account.webId, + `https://auth.example/${account.shortName}`, + { + fetch: stu.authFetch, + randomUUID: cuid + }, + account.registrySet + ); +} diff --git a/packages/repl/package.json b/packages/repl/package.json index ebdf054b..7a12b25b 100644 --- a/packages/repl/package.json +++ b/packages/repl/package.json @@ -29,13 +29,18 @@ "test": "test" }, "scripts": { - "repl": "node --import=tsx ./repl.ts" + "repl": "tsx ./repl.ts", + "cli": "NODE_OPTIONS='--no-deprecation' tsx ./cli.ts" }, "dependencies": { + "@janeirodigital/interop-utils": "^1.0.0-rc.24", + "@effect/cli": "^0.43.2", + "@effect/platform-node": "^0.59.0", + "effect": "^3.7.2" }, "devDependencies": { - "@janeirodigital/interop-authorization-agent": "workspace:^1.0.0-rc.24", "@janeirodigital/css-test-utils": "^1.0.0-rc.24", + "@janeirodigital/interop-authorization-agent": "workspace:^1.0.0-rc.24", "@janeirodigital/interop-data-model": "workspace:^1.0.0-rc.24", "@paralleldrive/cuid2": "^2.2.2", "tsx": "^4.17.0" diff --git a/packages/repl/repl.ts b/packages/repl/repl.ts index a5bf7b18..5c1d4312 100644 --- a/packages/repl/repl.ts +++ b/packages/repl/repl.ts @@ -3,9 +3,9 @@ import { init } from '@paralleldrive/cuid2'; import type { CRUDRegistrySet, CRUDRegistrySetData } from '@janeirodigital/interop-data-model'; import { AuthorizationAgent } from '@janeirodigital/interop-authorization-agent'; -import { type Account, accounts, createApp, SolidTestUtils } from '@janeirodigital/css-test-utils'; +import { type Account, accounts, shapeTree, createApp, SolidTestUtils } from '@janeirodigital/css-test-utils'; -global.shapeTrees = accounts.shapeTree; +global.shapeTrees = shapeTree; global.cuid = init({ length: 6 }); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 47a3468f..f07a6a54 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -372,6 +372,19 @@ importers: version: 3.6.6 packages/repl: + dependencies: + '@effect/cli': + specifier: ^0.43.2 + version: 0.43.2(@effect/platform@0.64.0(@effect/schema@0.72.3(effect@3.7.2))(effect@3.7.2))(@effect/printer-ansi@0.35.2(@effect/typeclass@0.26.2(effect@3.7.2))(effect@3.7.2))(@effect/printer@0.35.2(@effect/typeclass@0.26.2(effect@3.7.2))(effect@3.7.2))(@effect/schema@0.72.3(effect@3.7.2))(effect@3.7.2) + '@effect/platform-node': + specifier: ^0.59.0 + version: 0.59.0(@effect/platform@0.64.0(@effect/schema@0.72.3(effect@3.7.2))(effect@3.7.2))(effect@3.7.2) + '@janeirodigital/interop-utils': + specifier: ^1.0.0-rc.24 + version: link:../utils + effect: + specifier: ^3.7.2 + version: 3.7.2 devDependencies: '@janeirodigital/css-test-utils': specifier: ^1.0.0-rc.24 @@ -1742,6 +1755,55 @@ packages: '@digita-ai/handlersjs-storage@0.19.3': resolution: {integrity: sha512-AJEMac5/yAmFSSPNhZOIt1KBHZoW/EMaUV2hcGuZMWM0DMIdoRmme9H1jrz4YmTqBKWc/qt2OPTh9363KEoKhQ==, tarball: https://npm.pkg.github.com/download/@digita-ai/handlersjs-storage/0.19.3/6eedf52c29e9c75ca1f5bfd8205b4fefecdd260b} + '@effect/cli@0.43.2': + resolution: {integrity: sha512-lGtX3fevei7lvnPpYdCpoufuWGZIXCk7akkhwIizdU173lWlZfbs2AjHb0tM0vGEXD9b2KbZ9etur1xEL/1i1g==} + peerDependencies: + '@effect/platform': ^0.64.0 + '@effect/printer': ^0.35.2 + '@effect/printer-ansi': ^0.35.2 + '@effect/schema': ^0.72.3 + effect: ^3.7.2 + + '@effect/platform-node-shared@0.14.0': + resolution: {integrity: sha512-3g1vr7Mq/9PsM39WQsEGyY3cfGTJ8p1XtLGLv2p4S5tM3x0dPTfQa+E/bW8H33wuaNbj3smfSmVRJrmWsGwb6g==} + peerDependencies: + '@effect/platform': ^0.64.0 + effect: ^3.7.2 + + '@effect/platform-node@0.59.0': + resolution: {integrity: sha512-qTZvD3eaW2mJRYXp1LkyzmiXAgAyil1OTQsKVmZ7qdMkuD184DN8ZYnZ79X0eM3EXgLIgE8QlCmViCgJlevJDQ==} + peerDependencies: + '@effect/platform': ^0.64.0 + effect: ^3.7.2 + + '@effect/platform@0.64.0': + resolution: {integrity: sha512-Q2gwiY69ka5OF29bsc+7ENjLQa4hiedJf7mjf/JKx3fFcvq1vRkyCB5+neVDCsDrEPHYAHLZyjur0AiiML2l7A==} + peerDependencies: + '@effect/schema': ^0.72.3 + effect: ^3.7.2 + + '@effect/printer-ansi@0.35.2': + resolution: {integrity: sha512-cIOznZqnYuYrruKVDyvn5jsyjgkp2IHiy2sqS2mqQ7reaOLKofGghFJUOTgJo8fLqaBiqphqqs5HDXXlEAZl8A==} + peerDependencies: + '@effect/typeclass': ^0.26.2 + effect: ^3.7.2 + + '@effect/printer@0.35.2': + resolution: {integrity: sha512-DNnJyt8pzR7urmIuG/3Q6vLQrdGmQtezd3DqkSt1vx51/GXYlcbIllTQVUCt7A5FqRXcvWGam2ndtHBZt+iFRg==} + peerDependencies: + '@effect/typeclass': ^0.26.2 + effect: ^3.7.2 + + '@effect/schema@0.72.3': + resolution: {integrity: sha512-T1TV/8TMnEm5RSYQXOPmkqEWt8NfRd8E6FSJh9+eZ+jDc8bhAmh3K4J0BQZZcdqaftH21GdflAUbYScy8DZ71Q==} + peerDependencies: + effect: ^3.7.2 + + '@effect/typeclass@0.26.2': + resolution: {integrity: sha512-z6+0tiGdal3ee+vTr+dzF4BDpXIjaP3ben6ShN5RKFcWlUyZpiAdIWyPPUx++RqjsrUlrx1oRLlykSps3kQgUA==} + peerDependencies: + effect: ^3.7.2 + '@esbuild/aix-ppc64@0.19.12': resolution: {integrity: sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==} engines: {node: '>=12'} @@ -2401,6 +2463,82 @@ packages: '@paralleldrive/cuid2@2.2.2': resolution: {integrity: sha512-ZOBkgDwEdoYVlSeRbYYXs0S9MejQofiVYoTbKzy/6GQa39/q5tQU2IX46+shYnUkpEl3wc+J6wRlar7r2EK2xA==} + '@parcel/watcher-android-arm64@2.4.1': + resolution: {integrity: sha512-LOi/WTbbh3aTn2RYddrO8pnapixAziFl6SMxHM69r3tvdSm94JtCenaKgk1GRg5FJ5wpMCpHeW+7yqPlvZv7kg==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [android] + + '@parcel/watcher-darwin-arm64@2.4.1': + resolution: {integrity: sha512-ln41eihm5YXIY043vBrrHfn94SIBlqOWmoROhsMVTSXGh0QahKGy77tfEywQ7v3NywyxBBkGIfrWRHm0hsKtzA==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [darwin] + + '@parcel/watcher-darwin-x64@2.4.1': + resolution: {integrity: sha512-yrw81BRLjjtHyDu7J61oPuSoeYWR3lDElcPGJyOvIXmor6DEo7/G2u1o7I38cwlcoBHQFULqF6nesIX3tsEXMg==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [darwin] + + '@parcel/watcher-freebsd-x64@2.4.1': + resolution: {integrity: sha512-TJa3Pex/gX3CWIx/Co8k+ykNdDCLx+TuZj3f3h7eOjgpdKM+Mnix37RYsYU4LHhiYJz3DK5nFCCra81p6g050w==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [freebsd] + + '@parcel/watcher-linux-arm-glibc@2.4.1': + resolution: {integrity: sha512-4rVYDlsMEYfa537BRXxJ5UF4ddNwnr2/1O4MHM5PjI9cvV2qymvhwZSFgXqbS8YoTk5i/JR0L0JDs69BUn45YA==} + engines: {node: '>= 10.0.0'} + cpu: [arm] + os: [linux] + + '@parcel/watcher-linux-arm64-glibc@2.4.1': + resolution: {integrity: sha512-BJ7mH985OADVLpbrzCLgrJ3TOpiZggE9FMblfO65PlOCdG++xJpKUJ0Aol74ZUIYfb8WsRlUdgrZxKkz3zXWYA==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [linux] + + '@parcel/watcher-linux-arm64-musl@2.4.1': + resolution: {integrity: sha512-p4Xb7JGq3MLgAfYhslU2SjoV9G0kI0Xry0kuxeG/41UfpjHGOhv7UoUDAz/jb1u2elbhazy4rRBL8PegPJFBhA==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [linux] + + '@parcel/watcher-linux-x64-glibc@2.4.1': + resolution: {integrity: sha512-s9O3fByZ/2pyYDPoLM6zt92yu6P4E39a03zvO0qCHOTjxmt3GHRMLuRZEWhWLASTMSrrnVNWdVI/+pUElJBBBg==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [linux] + + '@parcel/watcher-linux-x64-musl@2.4.1': + resolution: {integrity: sha512-L2nZTYR1myLNST0O632g0Dx9LyMNHrn6TOt76sYxWLdff3cB22/GZX2UPtJnaqQPdCRoszoY5rcOj4oMTtp5fQ==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [linux] + + '@parcel/watcher-win32-arm64@2.4.1': + resolution: {integrity: sha512-Uq2BPp5GWhrq/lcuItCHoqxjULU1QYEcyjSO5jqqOK8RNFDBQnenMMx4gAl3v8GiWa59E9+uDM7yZ6LxwUIfRg==} + engines: {node: '>= 10.0.0'} + cpu: [arm64] + os: [win32] + + '@parcel/watcher-win32-ia32@2.4.1': + resolution: {integrity: sha512-maNRit5QQV2kgHFSYwftmPBxiuK5u4DXjbXx7q6eKjq5dsLXZ4FJiVvlcw35QXzk0KrUecJmuVFbj4uV9oYrcw==} + engines: {node: '>= 10.0.0'} + cpu: [ia32] + os: [win32] + + '@parcel/watcher-win32-x64@2.4.1': + resolution: {integrity: sha512-+DvS92F9ezicfswqrvIRM2njcYJbd5mb9CUgtrHCHmvn7pPPa+nMDRu1o1bYYz/l5IB2NVGNJWiH7h1E58IF2A==} + engines: {node: '>= 10.0.0'} + cpu: [x64] + os: [win32] + + '@parcel/watcher@2.4.1': + resolution: {integrity: sha512-HNjmfLQEVRZmHRET336f20H/8kOozUGwk7yajvsonjNxbj2wBTK1WsQuHkD5yYh9RxFGL2EyDHryOihOwUoKDA==} + engines: {node: '>= 10.0.0'} + '@pkgjs/parseargs@0.11.0': resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} engines: {node: '>=14'} @@ -3850,6 +3988,11 @@ packages: resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==} engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} + detect-libc@1.0.3: + resolution: {integrity: sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg==} + engines: {node: '>=0.10'} + hasBin: true + diff-sequences@29.6.3: resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} @@ -3898,6 +4041,9 @@ packages: ee-first@1.1.1: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} + effect@3.7.2: + resolution: {integrity: sha512-pV7l1+LSZFvVObj4zuy4nYiBaC7qZOfrKV6s/Ef4p3KueiQwZFgamazklwyZ+x7Nyj2etRDFvHE/xkThTfQD1w==} + ejs@3.1.9: resolution: {integrity: sha512-rC+QVNMJWv+MtPgkt0y+0rVEIdbtxVADApW9JXrUVlzHetgcyczP/E7DJmWJ4fJCZF2cPcBk0laWO9ZHMG3DmQ==} engines: {node: '>=0.10.0'} @@ -4159,6 +4305,10 @@ packages: resolution: {integrity: sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==} engines: {node: '>=16.17'} + fast-check@3.22.0: + resolution: {integrity: sha512-8HKz3qXqnHYp/VCNn2qfjHdAdcI8zcSqOyX64GOMukp7SL2bfzfeDKjSd+UyECtejccaZv3LcvZTm9YDD22iCQ==} + engines: {node: '>=8.0.0'} + fast-copy@3.0.1: resolution: {integrity: sha512-Knr7NOtK3HWRYGtHoJrjkaWepqT8thIVGAwt0p0aUs1zqkAzXZV4vo9fFNwyb5fcqK1GKYFYxldQdIDVKhUAfA==} @@ -4215,6 +4365,9 @@ packages: resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} engines: {node: '>=8'} + find-my-way-ts@0.1.5: + resolution: {integrity: sha512-4GOTMrpGQVzsCH2ruUn2vmwzV/02zF4q+ybhCIrw/Rkt3L8KWcycdC6aJMctJzwN4fXD4SD5F/4B9Sksh5rE0A==} + find-process@1.4.7: resolution: {integrity: sha512-/U4CYp1214Xrp3u3Fqr9yNynUrr5Le4y0SsJh2lMDDSbpwYSz3M2SMWQC+wqcx79cN8PQtHQIL8KnuY9M66fdg==} hasBin: true @@ -4571,6 +4724,10 @@ packages: inherits@2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + ini@4.1.3: + resolution: {integrity: sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==} + engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} + install@0.13.0: resolution: {integrity: sha512-zDml/jzr2PKU9I8J/xyZBQn8rPCAY//UOYNmR01XwNwyfhEWObo2SWfSl1+0tm1u6PhxLwDnfsT/6jB7OUxqFA==} engines: {node: '>= 0.10'} @@ -5020,6 +5177,11 @@ packages: resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} engines: {node: '>= 0.6'} + mime@3.0.0: + resolution: {integrity: sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A==} + engines: {node: '>=10.0.0'} + hasBin: true + mimic-fn@2.1.0: resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} engines: {node: '>=6'} @@ -5091,6 +5253,9 @@ packages: muggle-string@0.4.1: resolution: {integrity: sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==} + multipasta@0.2.5: + resolution: {integrity: sha512-c8eMDb1WwZcE02WVjHoOmUVk7fnKU/RmUcosHACglrWAuPQsEJv+E8430sXj6jNc1jHw0zrS16aCjQh4BcEb4A==} + n3@1.17.1: resolution: {integrity: sha512-HlanMWpvN2kcTrFuU3GPObyY7qrVQWy2Hp7l4GSXJlcQapjQMR7OM4kCr788pTQzNIpiHS3JRvyZ2YUcYJ82rA==} engines: {node: '>=12.0'} @@ -5125,6 +5290,9 @@ packages: node-abort-controller@3.1.1: resolution: {integrity: sha512-AGK2yQKIjRuqnc6VkX2Xj5d+QW8xZ87pa1UK6yA6ouUyuxfHuMP6umE5QK7UmTeOAymo+Zx1Fxiuw9rVx8taHQ==} + node-addon-api@7.1.1: + resolution: {integrity: sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==} + node-domexception@1.0.0: resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==} engines: {node: '>=10.5.0'} @@ -5436,6 +5604,9 @@ packages: resolution: {integrity: sha512-rRV+zQD8tVFys26lAGR9WUuS4iUAngJScM+ZRSKtvl5tKeZ2t5bvdNFdNHBW9FWR4guGHlgmsZ1G7BSm2wTbuA==} engines: {node: '>=6'} + pure-rand@6.1.0: + resolution: {integrity: sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==} + qs@6.12.0: resolution: {integrity: sha512-trVZiI6RMOkO476zLGaBIzszOdFPnCCXHPG9kn0yuS1uz6xdVxPfZdB3vUig9pxPFDM9BRAgz/YUIVQ1/vuiUg==} engines: {node: '>=0.6'} @@ -6024,6 +6195,9 @@ packages: resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} engines: {node: '>=0.6'} + toml@3.0.0: + resolution: {integrity: sha512-y/mWCZinnvxjTKYhJ+pYxwD0mRLVvOtdS2Awbgxln6iEnt4rk0yBxeSBHkGJcPucRiG0e55mwWp+g/05rsrd6w==} + toposort@2.0.2: resolution: {integrity: sha512-0a5EOkAUp8D4moMi2W8ZF8jcga7BgZd91O/yabJCFY8az+XSzeGyTKs0Aoo897iV1Nj6guFq8orWDS96z91oGg==} @@ -6213,6 +6387,10 @@ packages: undici-types@5.26.5: resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + undici@6.19.8: + resolution: {integrity: sha512-U8uCCl2x9TK3WANvmBavymRzxbfFYG+tAu+fgx3zxQy3qdagQqBLwJVrdyO1TBfUXvfKveMKJZhpvUYoOjM+4g==} + engines: {node: '>=18.17'} + unicode-canonical-property-names-ecmascript@2.0.0: resolution: {integrity: sha512-yY5PpDlfVIU5+y/BSCxAJRBIS1Zc2dDG3Ujq+sR0U+JjUevW2JhocOF+soROYDSaAezOzOKuyyixhD6mBknSmQ==} engines: {node: '>=4'} @@ -6647,6 +6825,7 @@ packages: workbox-google-analytics@7.0.0: resolution: {integrity: sha512-MEYM1JTn/qiC3DbpvP2BVhyIH+dV/5BjHk756u9VbwuAhu0QHyKscTnisQuz21lfRpOwiS9z4XdqeVAKol0bzg==} + deprecated: It is not compatible with newer versions of GA starting with v4, as long as you are using GAv3 it should be ok, but the package is not longer being maintained workbox-navigation-preload@7.0.0: resolution: {integrity: sha512-juWCSrxo/fiMz3RsvDspeSLGmbgC0U9tKqcUPZBCf35s64wlaLXyn2KdHHXVQrb2cqF7I0Hc9siQalainmnXJA==} @@ -6698,6 +6877,18 @@ packages: utf-8-validate: optional: true + ws@8.18.0: + resolution: {integrity: sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + xml-name-validator@4.0.0: resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} engines: {node: '>=12'} @@ -6727,6 +6918,11 @@ packages: engines: {node: '>= 14'} hasBin: true + yaml@2.5.1: + resolution: {integrity: sha512-bLQOjaX/ADgQ20isPJRvF0iRUHIxVhYvr53Of7wGcWlO2jvtUlH5m87DsmulFVxRpNLOnI4tB6p/oh8D7kpn9Q==} + engines: {node: '>= 14'} + hasBin: true + yargs-parser@21.1.1: resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} engines: {node: '>=12'} @@ -9193,6 +9389,63 @@ snapshots: clone: 2.1.2 rxjs: 7.8.1 + '@effect/cli@0.43.2(@effect/platform@0.64.0(@effect/schema@0.72.3(effect@3.7.2))(effect@3.7.2))(@effect/printer-ansi@0.35.2(@effect/typeclass@0.26.2(effect@3.7.2))(effect@3.7.2))(@effect/printer@0.35.2(@effect/typeclass@0.26.2(effect@3.7.2))(effect@3.7.2))(@effect/schema@0.72.3(effect@3.7.2))(effect@3.7.2)': + dependencies: + '@effect/platform': 0.64.0(@effect/schema@0.72.3(effect@3.7.2))(effect@3.7.2) + '@effect/printer': 0.35.2(@effect/typeclass@0.26.2(effect@3.7.2))(effect@3.7.2) + '@effect/printer-ansi': 0.35.2(@effect/typeclass@0.26.2(effect@3.7.2))(effect@3.7.2) + '@effect/schema': 0.72.3(effect@3.7.2) + effect: 3.7.2 + ini: 4.1.3 + toml: 3.0.0 + yaml: 2.5.1 + + '@effect/platform-node-shared@0.14.0(@effect/platform@0.64.0(@effect/schema@0.72.3(effect@3.7.2))(effect@3.7.2))(effect@3.7.2)': + dependencies: + '@effect/platform': 0.64.0(@effect/schema@0.72.3(effect@3.7.2))(effect@3.7.2) + '@parcel/watcher': 2.4.1 + effect: 3.7.2 + multipasta: 0.2.5 + + '@effect/platform-node@0.59.0(@effect/platform@0.64.0(@effect/schema@0.72.3(effect@3.7.2))(effect@3.7.2))(effect@3.7.2)': + dependencies: + '@effect/platform': 0.64.0(@effect/schema@0.72.3(effect@3.7.2))(effect@3.7.2) + '@effect/platform-node-shared': 0.14.0(@effect/platform@0.64.0(@effect/schema@0.72.3(effect@3.7.2))(effect@3.7.2))(effect@3.7.2) + effect: 3.7.2 + mime: 3.0.0 + undici: 6.19.8 + ws: 8.18.0 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + + '@effect/platform@0.64.0(@effect/schema@0.72.3(effect@3.7.2))(effect@3.7.2)': + dependencies: + '@effect/schema': 0.72.3(effect@3.7.2) + effect: 3.7.2 + find-my-way-ts: 0.1.5 + multipasta: 0.2.5 + + '@effect/printer-ansi@0.35.2(@effect/typeclass@0.26.2(effect@3.7.2))(effect@3.7.2)': + dependencies: + '@effect/printer': 0.35.2(@effect/typeclass@0.26.2(effect@3.7.2))(effect@3.7.2) + '@effect/typeclass': 0.26.2(effect@3.7.2) + effect: 3.7.2 + + '@effect/printer@0.35.2(@effect/typeclass@0.26.2(effect@3.7.2))(effect@3.7.2)': + dependencies: + '@effect/typeclass': 0.26.2(effect@3.7.2) + effect: 3.7.2 + + '@effect/schema@0.72.3(effect@3.7.2)': + dependencies: + effect: 3.7.2 + fast-check: 3.22.0 + + '@effect/typeclass@0.26.2(effect@3.7.2)': + dependencies: + effect: 3.7.2 + '@esbuild/aix-ppc64@0.19.12': optional: true @@ -9753,6 +10006,62 @@ snapshots: dependencies: '@noble/hashes': 1.4.0 + '@parcel/watcher-android-arm64@2.4.1': + optional: true + + '@parcel/watcher-darwin-arm64@2.4.1': + optional: true + + '@parcel/watcher-darwin-x64@2.4.1': + optional: true + + '@parcel/watcher-freebsd-x64@2.4.1': + optional: true + + '@parcel/watcher-linux-arm-glibc@2.4.1': + optional: true + + '@parcel/watcher-linux-arm64-glibc@2.4.1': + optional: true + + '@parcel/watcher-linux-arm64-musl@2.4.1': + optional: true + + '@parcel/watcher-linux-x64-glibc@2.4.1': + optional: true + + '@parcel/watcher-linux-x64-musl@2.4.1': + optional: true + + '@parcel/watcher-win32-arm64@2.4.1': + optional: true + + '@parcel/watcher-win32-ia32@2.4.1': + optional: true + + '@parcel/watcher-win32-x64@2.4.1': + optional: true + + '@parcel/watcher@2.4.1': + dependencies: + detect-libc: 1.0.3 + is-glob: 4.0.3 + micromatch: 4.0.5 + node-addon-api: 7.1.1 + optionalDependencies: + '@parcel/watcher-android-arm64': 2.4.1 + '@parcel/watcher-darwin-arm64': 2.4.1 + '@parcel/watcher-darwin-x64': 2.4.1 + '@parcel/watcher-freebsd-x64': 2.4.1 + '@parcel/watcher-linux-arm-glibc': 2.4.1 + '@parcel/watcher-linux-arm64-glibc': 2.4.1 + '@parcel/watcher-linux-arm64-musl': 2.4.1 + '@parcel/watcher-linux-x64-glibc': 2.4.1 + '@parcel/watcher-linux-x64-musl': 2.4.1 + '@parcel/watcher-win32-arm64': 2.4.1 + '@parcel/watcher-win32-ia32': 2.4.1 + '@parcel/watcher-win32-x64': 2.4.1 + '@pkgjs/parseargs@0.11.0': optional: true @@ -11531,6 +11840,8 @@ snapshots: destroy@1.2.0: {} + detect-libc@1.0.3: {} + diff-sequences@29.6.3: {} dir-glob@3.0.1: @@ -11577,6 +11888,8 @@ snapshots: ee-first@1.1.1: {} + effect@3.7.2: {} + ejs@3.1.9: dependencies: jake: 10.8.7 @@ -12037,6 +12350,10 @@ snapshots: signal-exit: 4.1.0 strip-final-newline: 3.0.0 + fast-check@3.22.0: + dependencies: + pure-rand: 6.1.0 + fast-copy@3.0.1: {} fast-deep-equal@3.1.3: {} @@ -12107,6 +12424,8 @@ snapshots: dependencies: to-regex-range: 5.0.1 + find-my-way-ts@0.1.5: {} + find-process@1.4.7: dependencies: chalk: 4.1.2 @@ -12506,6 +12825,8 @@ snapshots: inherits@2.0.4: {} + ini@4.1.3: {} + install@0.13.0: {} internal-slot@1.0.5: @@ -13022,6 +13343,8 @@ snapshots: dependencies: mime-db: 1.52.0 + mime@3.0.0: {} + mimic-fn@2.1.0: {} mimic-fn@4.0.0: {} @@ -13089,6 +13412,8 @@ snapshots: muggle-string@0.4.1: {} + multipasta@0.2.5: {} + n3@1.17.1: dependencies: queue-microtask: 1.2.3 @@ -13113,6 +13438,8 @@ snapshots: node-abort-controller@3.1.1: {} + node-addon-api@7.1.1: {} + node-domexception@1.0.0: {} node-fetch@2.7.0: @@ -13436,6 +13763,8 @@ snapshots: punycode@2.3.0: {} + pure-rand@6.1.0: {} + qs@6.12.0: dependencies: side-channel: 1.0.6 @@ -14214,6 +14543,8 @@ snapshots: toidentifier@1.0.1: {} + toml@3.0.0: {} + toposort@2.0.2: {} tr46@0.0.3: {} @@ -14397,6 +14728,8 @@ snapshots: undici-types@5.26.5: {} + undici@6.19.8: {} + unicode-canonical-property-names-ecmascript@2.0.0: {} unicode-match-property-ecmascript@2.0.0: @@ -14998,6 +15331,8 @@ snapshots: ws@8.14.2: {} + ws@8.18.0: {} + xml-name-validator@4.0.0: {} xmlchars@2.2.0: {} @@ -15014,6 +15349,8 @@ snapshots: yaml@2.4.1: {} + yaml@2.5.1: {} + yargs-parser@21.1.1: {} yargs@17.7.2: diff --git a/tsconfig.json b/tsconfig.json index 27c6c4ee..fbdd20eb 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,10 +10,10 @@ "emitDecoratorMetadata": true, "experimentalDecorators": true, "skipLibCheck": true, - "target": "ES2020", + "target": "ESNext", "sourceMap": true, "declarationMap": true, - "lib": ["ES2020", "DOM"], + "lib": ["ESNext", "DOM"], "allowJs": true, "module": "ESNext" }