DIAMOND
12 months ago
62 changed files with 1566 additions and 987 deletions
@ -1,77 +1,77 @@ |
|||||
{ |
{ |
||||
"chromedriver-v27.0.2-darwin-arm64.zip": "325d3628d40b8994d50abc1797fff60668537cb2e9956ec86a7ac54ef2c9af9b", |
"chromedriver-v27.2.1-darwin-arm64.zip": "fa257474711c65fe0f929299fc21a7171a548ef655e393246a48319ee53f702e", |
||||
"chromedriver-v27.0.2-darwin-x64.zip": "e57be9b672c7f669159037f3dc8dfe84d5c769d04b4d234c14726ff1554d76e7", |
"chromedriver-v27.2.1-darwin-x64.zip": "d3f279d281221ca87510716afda22be95f8ad66641b3d46943885de0ae94b046", |
||||
"chromedriver-v27.0.2-linux-arm64.zip": "73e10b2aedef082661a740a5729983a08fdb66f713ca802e68077e735d5b119c", |
"chromedriver-v27.2.1-linux-arm64.zip": "fc0c512cb87c82b1d5327bb04ef7dfb2046ea884d00896bab89652d607ce1c97", |
||||
"chromedriver-v27.0.2-linux-armv7l.zip": "404cb84d7ca98ea2f78a9aae03854a16fd9cc4ec6f377c6ab6b9c66a437d845d", |
"chromedriver-v27.2.1-linux-armv7l.zip": "4c33d1a323bc59d776a14b2ebb40229dbf1b8de30d51e5643e6584bd63cd7593", |
||||
"chromedriver-v27.0.2-linux-x64.zip": "dcf55cdb29214d77411f3d3f8c390a322aa95a5fc694b1b12f3fad0b95385d6d", |
"chromedriver-v27.2.1-linux-x64.zip": "a60c7fc2f278b7a177eb1ec3dccff6fc9c1c8d120596deb595b544a2b8018a79", |
||||
"chromedriver-v27.0.2-mas-arm64.zip": "0c6f032ba5409de273ef6316d1cc15d02a269ffba7553718604e3a263df734c0", |
"chromedriver-v27.2.1-mas-arm64.zip": "80bc0e0ce66028436853bb5a625f8a1c6c8456c1a8435070a6e30d0e06b9312b", |
||||
"chromedriver-v27.0.2-mas-x64.zip": "c4c5cce8b4b458a9c83eddbf9be7b31093c5b134f37a4e9a89c5daa1266be17f", |
"chromedriver-v27.2.1-mas-x64.zip": "67fcfafbc24902d1dff455527115f4453d49308d95010214dda7a1e46a96e6e7", |
||||
"chromedriver-v27.0.2-win32-arm64.zip": "e9747f4d5fce6cbe9194b6528ec01a01c3a87b9da0478ccf12c6beb1453c1cba", |
"chromedriver-v27.2.1-win32-arm64.zip": "1c33c6cadb07c62e7a80ae64de520cb3122cc8496ee73533da67770d0ab1bf5c", |
||||
"chromedriver-v27.0.2-win32-ia32.zip": "c29b910271e5c007b55837b4c9f37bc72ad9410b1ed9dafaafebcea2cb03ff98", |
"chromedriver-v27.2.1-win32-ia32.zip": "666042a40a30ab322a66bbcf8552f777c0564bb4a7647122eb7bd260269cd1c3", |
||||
"chromedriver-v27.0.2-win32-x64.zip": "5e1e0573e7568a581346e9a3d68194ae7542551c69dc7a1f3a6855473fc2def5", |
"chromedriver-v27.2.1-win32-x64.zip": "af92d72b04760be18ac748c5a0072751b497cff4ebabb4bfeecc23538ea9de8e", |
||||
"electron-api.json": "6d76e1ee31744c3d3a7ff98c6488a66240107fe74469304a92fd70bccfb2a491", |
"electron-api.json": "9f626747797f005cfe41076bc905a11ab17ac380a2d7865c3cfba05c63ea6514", |
||||
"electron-v27.0.2-darwin-arm64-dsym-snapshot.zip": "f2af22d197c280a988004579585a563d29c623dbde694089ef0557cafb09184d", |
"electron-v27.2.1-darwin-arm64-dsym-snapshot.zip": "a1ea4e720b5ce964bb4aa6f723f0305ec81a0024f8e9fe474fb1b05b79402e51", |
||||
"electron-v27.0.2-darwin-arm64-dsym.zip": "9a5e91b25488a8ab43eab50a9dc209e16c41ab51e1b8b3464eb7c5929572633b", |
"electron-v27.2.1-darwin-arm64-dsym.zip": "60f69390ca803845992dae4aecb0d360c8c3da62c842523f307a8d495bec84e7", |
||||
"electron-v27.0.2-darwin-arm64-symbols.zip": "42323dbfbb256eaaf5d5d9cf40c859df9ac89e6ec628ebac4d719959b38a22ea", |
"electron-v27.2.1-darwin-arm64-symbols.zip": "33ed9025a4ac39ec597c6cdcc5f7c425a34aca4e34713732de159685a7884d52", |
||||
"electron-v27.0.2-darwin-arm64.zip": "b589d51e4e54698efa0403c47ac6f544115eb354858d9117b1728fb0c8202af7", |
"electron-v27.2.1-darwin-arm64.zip": "a8d12908b5aad53083e1b257ba8028ea55ac099cab859260c2a8b5ce512597ca", |
||||
"electron-v27.0.2-darwin-x64-dsym-snapshot.zip": "1521063d64099b2e61c81cf1c1f7472b545a18b2ea3181d9d70ff1df96c66eec", |
"electron-v27.2.1-darwin-x64-dsym-snapshot.zip": "68b5e5a021239fc7849986a24dddb54d21f4cc9ffbceb8777b7bfd696c940c50", |
||||
"electron-v27.0.2-darwin-x64-dsym.zip": "d0c1d4d37d9f99b517f3f1a91c48aade60c39b62e9afd9cdd5730dfa4675c7be", |
"electron-v27.2.1-darwin-x64-dsym.zip": "ed33f31e69925642c3b09b2c318ec66be8877bdfb4984c91ee3b90052fb1bcac", |
||||
"electron-v27.0.2-darwin-x64-symbols.zip": "6bd9228f5fe849f8bbf5b0c290f05fa7b0dac09b45623445afc34e35dccc7a7c", |
"electron-v27.2.1-darwin-x64-symbols.zip": "88f7b0fec77ee4e0ae9659cfee4d9cbe3a26b378cc92878236b928254568fb07", |
||||
"electron-v27.0.2-darwin-x64.zip": "f6c7bdadf7b5329b1c22fa1c9da43bd21f808600a9e6287a3b31d16763fd40af", |
"electron-v27.2.1-darwin-x64.zip": "7ea6d061520afa77483b891bb8623574d87458deb54841f740c51a1adfa88fea", |
||||
"electron-v27.0.2-linux-arm64-debug.zip": "50c9c223a296055ec6987b007b4582499504848ed7924a96a9c02e3e873e2bae", |
"electron-v27.2.1-linux-arm64-debug.zip": "e4af2089beecdcdb7625918ce1dfd6b3401b10239c1c0435951a8642ff17568f", |
||||
"electron-v27.0.2-linux-arm64-symbols.zip": "d0393a8f70d6ce82ac1953d879a5d4c699c7f4059cf202631d4e8f0d89d5d5a6", |
"electron-v27.2.1-linux-arm64-symbols.zip": "c9b009ce848f02fc31c072b546758fbccb39a6ff2779dfea794920c1a83f8f8d", |
||||
"electron-v27.0.2-linux-arm64.zip": "300d801ae68fd3e01f032d0036303538293bea773d5541dcbc4b457be8a82806", |
"electron-v27.2.1-linux-arm64.zip": "32c86c89a4fdc55aac107c8807bf3181fc31cf5c6dc4e0ca00319bb7837ed695", |
||||
"electron-v27.0.2-linux-armv7l-debug.zip": "50c9c223a296055ec6987b007b4582499504848ed7924a96a9c02e3e873e2bae", |
"electron-v27.2.1-linux-armv7l-debug.zip": "e4af2089beecdcdb7625918ce1dfd6b3401b10239c1c0435951a8642ff17568f", |
||||
"electron-v27.0.2-linux-armv7l-symbols.zip": "5e042be464bc2bdd7c91055c6afa72dadb63a4c72e5dd7da02d211b3314dd1cd", |
"electron-v27.2.1-linux-armv7l-symbols.zip": "ceb3f9e7b19f8e1ca0e94858492b1b5eb8bb3c7e91ebde230bdbe463838f2a0a", |
||||
"electron-v27.0.2-linux-armv7l.zip": "99864505f071b8851cb634f56e7554797a1739732b2168d83373d3283c0756ba", |
"electron-v27.2.1-linux-armv7l.zip": "b4496ae943fa8ee19d418f9f871ce05ad2ffab35b5dfc79052c842478464b5d6", |
||||
"electron-v27.0.2-linux-x64-debug.zip": "0d527f7d7376551ec54de08da62b642eab734a1efc9b15891296f90bf4d08392", |
"electron-v27.2.1-linux-x64-debug.zip": "35bdcb99f7f63a6892dde033046b4eb315ca71a459124461b43f9ffcf9cae579", |
||||
"electron-v27.0.2-linux-x64-symbols.zip": "e750a7331d2f6f547bf902ffa8e62ae7d018d9b3e4ab5d9b735f3f5e9ceb78fe", |
"electron-v27.2.1-linux-x64-symbols.zip": "5271540e93fbdb1f69f21a37a3deb51886afaf7e1b9200ed0cbb6dc91f83854c", |
||||
"electron-v27.0.2-linux-x64.zip": "a226a0a922162068a931d843b5120315c6e4c38446641026610a2882e67378b3", |
"electron-v27.2.1-linux-x64.zip": "b4be96cd85797d23afd422dc7cc6bf321234001810d08b52e32b055a7e8afbd7", |
||||
"electron-v27.0.2-mas-arm64-dsym-snapshot.zip": "5997ae1240fc8c8d029212384800e4168fbd89e481316eb6ee32aa23497bc779", |
"electron-v27.2.1-mas-arm64-dsym-snapshot.zip": "dc7feb71d7a65bde3ddbcc43e514940a070af9fd8b385f819ac012b9d694ce64", |
||||
"electron-v27.0.2-mas-arm64-dsym.zip": "0536ec61896b97437f82cc5202c59e0ba92dc8c78272b45ea8558c6a9fae5f89", |
"electron-v27.2.1-mas-arm64-dsym.zip": "98317e6af5ddb3db98511958a9ad46a54de00c897b67c6d1e3dc3baaf3e3878a", |
||||
"electron-v27.0.2-mas-arm64-symbols.zip": "85cbe40b18942a52ce298a265d3d17ce053dbb6415ee5a7e57c29580b50b4421", |
"electron-v27.2.1-mas-arm64-symbols.zip": "91a78763ac1959c3b4865902e378830c7304917dc20877db7c12283c1d34e510", |
||||
"electron-v27.0.2-mas-arm64.zip": "cb54d713770926806d35e00a2fa0d1b6b2f091587d132e3a0237bfcefeb49d70", |
"electron-v27.2.1-mas-arm64.zip": "01414a8e5ef3c1f7efb888d32bdfc85ba0ea8b42d4e8093ca7cf0e7a8a728415", |
||||
"electron-v27.0.2-mas-x64-dsym-snapshot.zip": "99d603d95c2b6c39e5fdc26596e75823bc82a2b1b2112dbd29f730ca2cd17d9c", |
"electron-v27.2.1-mas-x64-dsym-snapshot.zip": "e082d37c20b1af792307fa2db9ff576e4345256d26dd0e0f5f2d807a45673991", |
||||
"electron-v27.0.2-mas-x64-dsym.zip": "7fedae3a22ed8ddb4911fb3d6892e17285bfa13a4ba47627b921bc50a2d7b5c6", |
"electron-v27.2.1-mas-x64-dsym.zip": "3a93a95bf05ec4d01268a64db2d58a07bff90463f3059a3dd4a30968297aab36", |
||||
"electron-v27.0.2-mas-x64-symbols.zip": "e40e095012a26f9ab4892d32add8a4504816f205187b533f640436aa1e8d65ea", |
"electron-v27.2.1-mas-x64-symbols.zip": "138ac2d1fea73d0f677fa5218a0ba2d5422d22cb6090d865c7ddce99383aa415", |
||||
"electron-v27.0.2-mas-x64.zip": "b75141917c516661b55a6a45f83ae378a3051bfbdf07b7a2fe3a5feceed5ca20", |
"electron-v27.2.1-mas-x64.zip": "87457c8938858570b20a122c1cdb23c0a41374b7010253626d49e9b6b127a50a", |
||||
"electron-v27.0.2-win32-arm64-pdb.zip": "4b9ed27457a8b06ae8e7ee2d660a1211363bd132d8e1a5d756ae1566c7773d37", |
"electron-v27.2.1-win32-arm64-pdb.zip": "ce3638d29dfb46fc5b375ead5c0bbb98b50eec2c9e42c5b4a0a948a60ef25439", |
||||
"electron-v27.0.2-win32-arm64-symbols.zip": "a5e9b2aba2349dbe341f1f101a0165d4113dfec20eb92fb0b9095dd49b66f3d0", |
"electron-v27.2.1-win32-arm64-symbols.zip": "f24636b71937e9b4ca46d046e6131a3acb87edca93be0b26d500d93c6a78abeb", |
||||
"electron-v27.0.2-win32-arm64-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a", |
"electron-v27.2.1-win32-arm64-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a", |
||||
"electron-v27.0.2-win32-arm64.zip": "9395bb0af3edc9941f62abc0b02a0260d600852bc5b4be0fe96e8d38768c0cb7", |
"electron-v27.2.1-win32-arm64.zip": "5b4fd051b04de97ef14a711533ecd44c99d31ce6fc83f2593c4e041e9550eeb1", |
||||
"electron-v27.0.2-win32-ia32-pdb.zip": "befea1ec335ebf4e847bd810b1d11f418f14a6f36f23aac8ea259dcd679468c2", |
"electron-v27.2.1-win32-ia32-pdb.zip": "c8cd49e0ba8a87666a50d358dc3a2810d0d5f2c13e345c48febf488aed513856", |
||||
"electron-v27.0.2-win32-ia32-symbols.zip": "65a354aa5fb1d5eba737f5c5f2ab6f1cf9f66d51c864b3ca37cdde8037c4336d", |
"electron-v27.2.1-win32-ia32-symbols.zip": "7d28badd01d7f357f0cbbff12df55b1816f2dd08bcceea00fa03b027d7c8bb9b", |
||||
"electron-v27.0.2-win32-ia32-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a", |
"electron-v27.2.1-win32-ia32-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a", |
||||
"electron-v27.0.2-win32-ia32.zip": "1884eacb4ee6b54e46c391b7c2e57b73f210ff855c1db0c890014649ddd3ffc7", |
"electron-v27.2.1-win32-ia32.zip": "508f29dd2d07c19b1ae6d7546772103230d601d44f33443a79a3b42a5fa9d293", |
||||
"electron-v27.0.2-win32-x64-pdb.zip": "6ebfe3179830c5458c4e9e2fead06a599830dc9025e85e331b4105b6449be267", |
"electron-v27.2.1-win32-x64-pdb.zip": "1b40186cd080f9d45bb03b1d7f6e4f3c4fc6332bbbe36453f99bd8643545f384", |
||||
"electron-v27.0.2-win32-x64-symbols.zip": "c2a19047a893016a64665ceb265ab65fe521de824d600c8ce8788352add3a23d", |
"electron-v27.2.1-win32-x64-symbols.zip": "e2bc044c06a463d29699b5a0bedecb68714cacfdb5661a70db4047cb211a8246", |
||||
"electron-v27.0.2-win32-x64-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a", |
"electron-v27.2.1-win32-x64-toolchain-profile.zip": "c9f31ae6408aa6936b5d683eda601773789185890375cd097e61e924d4fed77a", |
||||
"electron-v27.0.2-win32-x64.zip": "1545d204937079a1c8fe675062c04351ad45dec37336eec8cbee44acd74d29dc", |
"electron-v27.2.1-win32-x64.zip": "4d0810c1bc9985e7e471efb06380bd190b5d07f46ef1938c1d3ee496e0cdcccf", |
||||
"electron.d.ts": "5c050dc1af256c3958d76d038e5e22499c93e9d48e31bd28cb9abb2d3b5b806f", |
"electron.d.ts": "f48477c175fe9bc34c1541cb75bd9d3eda2c540a799e2f3b715adcdd626c3dc1", |
||||
"ffmpeg-v27.0.2-darwin-arm64.zip": "16f9483ae3dea23ef15c5953447930190bd993bcf20b82df5023588235421b7e", |
"ffmpeg-v27.2.1-darwin-arm64.zip": "c951898cbf3c65013a21b5b4581d24e38f568183893f785f7d3bab0aedf49d6f", |
||||
"ffmpeg-v27.0.2-darwin-x64.zip": "ca7324034465193ebcac15dcc3b028db574220331184c90cd7fc5a5e3f33402c", |
"ffmpeg-v27.2.1-darwin-x64.zip": "5306f41915ced8307c44858a91250a228819304c82dfdd80c9f584fe092436ad", |
||||
"ffmpeg-v27.0.2-linux-arm64.zip": "be517ba93c5b5f36d2e55af148213f4c2fc43177563825601bee6f88dd4f7b05", |
"ffmpeg-v27.2.1-linux-arm64.zip": "be517ba93c5b5f36d2e55af148213f4c2fc43177563825601bee6f88dd4f7b05", |
||||
"ffmpeg-v27.0.2-linux-armv7l.zip": "926d0da25ffcea3d05a6cbcae15e5d7729d93bc43394ae4439747669d2210e1d", |
"ffmpeg-v27.2.1-linux-armv7l.zip": "926d0da25ffcea3d05a6cbcae15e5d7729d93bc43394ae4439747669d2210e1d", |
||||
"ffmpeg-v27.0.2-linux-x64.zip": "6f9c0ef52af14828ad547a80b17f8c63cac51a18b8d5769a2f33e4fa6cccfc7e", |
"ffmpeg-v27.2.1-linux-x64.zip": "6f9c0ef52af14828ad547a80b17f8c63cac51a18b8d5769a2f33e4fa6cccfc7e", |
||||
"ffmpeg-v27.0.2-mas-arm64.zip": "5d0b8a430e9471b614167d4922d9827591b846122783f9bd8ee7c4efdddefcf8", |
"ffmpeg-v27.2.1-mas-arm64.zip": "bb0036c363cdc2558d9feec90cb896c66133400b499b14fa099421e1d0117bc6", |
||||
"ffmpeg-v27.0.2-mas-x64.zip": "c08821b6603b1019af84472be587169318311bda99557a63aec349433cc143f3", |
"ffmpeg-v27.2.1-mas-x64.zip": "33203048fa78450cac7ae1988b708ad51d1a49933d212b505fcf272da201e6d6", |
||||
"ffmpeg-v27.0.2-win32-arm64.zip": "03f41c1221f99c1b0007984037260e547571a5d5db5de4aca179b880603e24f3", |
"ffmpeg-v27.2.1-win32-arm64.zip": "954870aaa5ffa56bbe06b04308bd6a4fc937b82cc11d8780542e4a9f25790b37", |
||||
"ffmpeg-v27.0.2-win32-ia32.zip": "8866ddd7c315e76af1231d5b0e772dc76b24be6052c2400ef4f2a5c856de55a0", |
"ffmpeg-v27.2.1-win32-ia32.zip": "a46eab4db71ff41a0a1056b8777ec2d01f83f4b7a85687514562045f1f2b4820", |
||||
"ffmpeg-v27.0.2-win32-x64.zip": "382f070543878b46a610b9f3ecc5380ad11231559ad59e6fa075e03d8f5836dc", |
"ffmpeg-v27.2.1-win32-x64.zip": "74841b03157199f2439d2182cf4da66dfdc4014d4e2d76a043055b4dc5d33a9b", |
||||
"hunspell_dictionaries.zip": "909259ef9a97ecc28490755c95c480c56ade9b03a732aa22fffa32dd64e3bac7", |
"hunspell_dictionaries.zip": "7f15f0f64083f093a98f9dc002d6256a3a56cc7d720cd861d820a7223d46be83", |
||||
"libcxx-objects-v27.0.2-linux-arm64.zip": "5b05a243b1ba28dc39afe8f38ba8ad8f5275029572ddeb8e66e7807b43e60198", |
"libcxx-objects-v27.2.1-linux-arm64.zip": "6cc8cbde27c4e0ed7689f87a4c444aa50a1bee9bfec35289e26e9854864c1d69", |
||||
"libcxx-objects-v27.0.2-linux-armv7l.zip": "6ac7b2f8d28164642772a76606f83c139070e7fc791cebe3aaa4f5f799038d0e", |
"libcxx-objects-v27.2.1-linux-armv7l.zip": "ce935631fa896af9d34e8ed01a431c7f4b289d9cc872cede5bfd9e4663ac4d6e", |
||||
"libcxx-objects-v27.0.2-linux-x64.zip": "3414038aab538eefe0505ca0cb5ebf7c6f87dc985d0a9f1d3fafacafe1b0680e", |
"libcxx-objects-v27.2.1-linux-x64.zip": "979a65ea5cd9c8c44e6d9760c2cb79bec0914396b68be9270b52d09c1b1a72ee", |
||||
"libcxx_headers.zip": "cb227ed750211f72add262da8ecbdca9a720595cb7190ffbaeac0954d44d83d8", |
"libcxx_headers.zip": "86f961adc7015bbf8762453bc5148d381ff7c7c4580ceed9189c93fd01139fcf", |
||||
"libcxxabi_headers.zip": "c7d9304f9312fc683cd83335e469039a5ab9cc1050584b8ce12670cc0990d943", |
"libcxxabi_headers.zip": "acb2c0d967dc14fe63784c79c58648193348252efb25a691b61d3c19142d67e9", |
||||
"mksnapshot-v27.0.2-darwin-arm64.zip": "06a53ac6eb05ade803f2929481dea960d782e4fe8b9a55433aa999f964c08f87", |
"mksnapshot-v27.2.1-darwin-arm64.zip": "07bc91f769fb7320bfb331d7e40d963e787960dec0f404b165c7df9ef49f531b", |
||||
"mksnapshot-v27.0.2-darwin-x64.zip": "27627bda0dfff589ffdca89a3bf8757ed79d36a8ee366e28816993f7c85eebc7", |
"mksnapshot-v27.2.1-darwin-x64.zip": "c9127c412b6f10a706c406865a72119abf34692efd19e58231dec631af91f3c5", |
||||
"mksnapshot-v27.0.2-linux-arm64-x64.zip": "e9719cc63fcab97d55005953a28f6c73cd84ac4500f41f5f1e0b74c7355ee572", |
"mksnapshot-v27.2.1-linux-arm64-x64.zip": "d52e6deec09571b4618dab3ee1c615f2996d3d52e97f0df4c8a7ecddc443d847", |
||||
"mksnapshot-v27.0.2-linux-armv7l-x64.zip": "d52c0f9a48adb797d9d249c415bfd739de735bd46060fdcf0a3eac2adf8442ac", |
"mksnapshot-v27.2.1-linux-armv7l-x64.zip": "23aa985b9d4431d9a92eefe8f635bcd54a50a1b02d008d9883dce1ca90670d9b", |
||||
"mksnapshot-v27.0.2-linux-x64.zip": "e01d180faef1cfbd1655e2894a34c604c296307d9014316b1a4c032b2fe48411", |
"mksnapshot-v27.2.1-linux-x64.zip": "9aac8616fcfaeda69945742f4fe99309cabfcc355f5a6edae5ac6bdb5de78552", |
||||
"mksnapshot-v27.0.2-mas-arm64.zip": "d9f308000566dc2ffffd2b65d09879036f131e7b79ed8a162c3f91f284e0e92d", |
"mksnapshot-v27.2.1-mas-arm64.zip": "f53004a849ea0d5e19569f48561fc79b95015c3395405ef28800fa34e5a6b37c", |
||||
"mksnapshot-v27.0.2-mas-x64.zip": "a78406801a1895783e8d881e1066319c54d3201250516f0db13382ea91112a7b", |
"mksnapshot-v27.2.1-mas-x64.zip": "8b7458854d6e3339220623a53927eeaac2d97e02133172f2615ee976e32a1337", |
||||
"mksnapshot-v27.0.2-win32-arm64-x64.zip": "b94b72b333a0f046eeabbab587f9da4eba65032452ef2e5a86eadca9791e6231", |
"mksnapshot-v27.2.1-win32-arm64-x64.zip": "5314c938447f1f24aee9007719d8d65ef4f68a3fac0e103897bc53f26685ed6a", |
||||
"mksnapshot-v27.0.2-win32-ia32.zip": "b49a9e57f584e6ad9d4a6891d9bcb48dc45422e19c90f065fa7da62c7d21a6fb", |
"mksnapshot-v27.2.1-win32-ia32.zip": "fbae6d4323d20af0a7c5d5c044e9927b6f8396e0d9c8a45c1f6945ce32250715", |
||||
"mksnapshot-v27.0.2-win32-x64.zip": "96e98ea9a426d6cfb2c6d1a0d106f5677e76210d9e661a62c3dd56f47a21e8d9" |
"mksnapshot-v27.2.1-win32-x64.zip": "08556f224fcb5dee0928dce8beda23f058258cc85e85da3fe651bf0e84469f5d" |
||||
} |
} |
@ -1,323 +1,377 @@ |
|||||
// Declare "static" methods in Error
|
export {}; // Make this a module
|
||||
interface ErrorConstructor { |
|
||||
/** Create .stack property on a target object */ |
// #region Fetch and friends
|
||||
captureStackTrace(targetObject: object, constructorOpt?: Function): void; |
// Conditional type aliases, used at the end of this file.
|
||||
|
// Will either be empty if lib-dom is included, or the undici version otherwise.
|
||||
|
type _Request = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Request; |
||||
|
type _Response = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Response; |
||||
|
type _FormData = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").FormData; |
||||
|
type _Headers = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Headers; |
||||
|
type _RequestInit = typeof globalThis extends { onmessage: any } ? {} |
||||
|
: import("undici-types").RequestInit; |
||||
|
type _ResponseInit = typeof globalThis extends { onmessage: any } ? {} |
||||
|
: import("undici-types").ResponseInit; |
||||
|
// #endregion Fetch and friends
|
||||
|
|
||||
|
declare global { |
||||
|
// Declare "static" methods in Error
|
||||
|
interface ErrorConstructor { |
||||
|
/** Create .stack property on a target object */ |
||||
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void; |
||||
|
|
||||
/** |
/** |
||||
* Optional override for formatting stack traces |
* Optional override for formatting stack traces |
||||
* |
* |
||||
* @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
* @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
*/ |
*/ |
||||
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; |
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; |
||||
|
|
||||
stackTraceLimit: number; |
|
||||
} |
|
||||
|
|
||||
/*-----------------------------------------------* |
|
||||
* * |
|
||||
* GLOBAL * |
|
||||
* * |
|
||||
------------------------------------------------*/ |
|
||||
|
|
||||
// For backwards compability
|
|
||||
interface NodeRequire extends NodeJS.Require {} |
|
||||
interface RequireResolve extends NodeJS.RequireResolve {} |
|
||||
interface NodeModule extends NodeJS.Module {} |
|
||||
|
|
||||
declare var process: NodeJS.Process; |
|
||||
declare var console: Console; |
|
||||
|
|
||||
declare var __filename: string; |
|
||||
declare var __dirname: string; |
|
||||
|
|
||||
declare var require: NodeRequire; |
|
||||
declare var module: NodeModule; |
|
||||
|
|
||||
// Same as module.exports
|
|
||||
declare var exports: any; |
|
||||
|
|
||||
/** |
|
||||
* Only available if `--expose-gc` is passed to the process. |
|
||||
*/ |
|
||||
declare var gc: undefined | (() => void); |
|
||||
|
|
||||
// #region borrowed
|
stackTraceLimit: number; |
||||
// from https://github.com/microsoft/TypeScript/blob/38da7c600c83e7b31193a62495239a0fe478cb67/lib/lib.webworker.d.ts#L633 until moved to separate lib
|
} |
||||
/** A controller object that allows you to abort one or more DOM requests as and when desired. */ |
|
||||
interface AbortController { |
|
||||
/** |
|
||||
* Returns the AbortSignal object associated with this object. |
|
||||
*/ |
|
||||
|
|
||||
readonly signal: AbortSignal; |
/*-----------------------------------------------* |
||||
/** |
* * |
||||
* Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. |
* GLOBAL * |
||||
*/ |
* * |
||||
abort(reason?: any): void; |
------------------------------------------------*/ |
||||
} |
|
||||
|
|
||||
/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */ |
// For backwards compability
|
||||
interface AbortSignal extends EventTarget { |
interface NodeRequire extends NodeJS.Require {} |
||||
/** |
interface RequireResolve extends NodeJS.RequireResolve {} |
||||
* Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. |
interface NodeModule extends NodeJS.Module {} |
||||
*/ |
|
||||
readonly aborted: boolean; |
|
||||
readonly reason: any; |
|
||||
onabort: null | ((this: AbortSignal, event: Event) => any); |
|
||||
throwIfAborted(): void; |
|
||||
} |
|
||||
|
|
||||
declare var AbortController: typeof globalThis extends { onmessage: any; AbortController: infer T } ? T |
var process: NodeJS.Process; |
||||
: { |
var console: Console; |
||||
prototype: AbortController; |
|
||||
new(): AbortController; |
|
||||
}; |
|
||||
|
|
||||
declare var AbortSignal: typeof globalThis extends { onmessage: any; AbortSignal: infer T } ? T |
|
||||
: { |
|
||||
prototype: AbortSignal; |
|
||||
new(): AbortSignal; |
|
||||
abort(reason?: any): AbortSignal; |
|
||||
timeout(milliseconds: number): AbortSignal; |
|
||||
}; |
|
||||
// #endregion borrowed
|
|
||||
|
|
||||
// #region Disposable
|
|
||||
interface SymbolConstructor { |
|
||||
/** |
|
||||
* A method that is used to release resources held by an object. Called by the semantics of the `using` statement. |
|
||||
*/ |
|
||||
readonly dispose: unique symbol; |
|
||||
|
|
||||
/** |
var __filename: string; |
||||
* A method that is used to asynchronously release resources held by an object. Called by the semantics of the `await using` statement. |
var __dirname: string; |
||||
*/ |
|
||||
readonly asyncDispose: unique symbol; |
|
||||
} |
|
||||
|
|
||||
interface Disposable { |
var require: NodeRequire; |
||||
[Symbol.dispose](): void; |
var module: NodeModule; |
||||
} |
|
||||
|
|
||||
interface AsyncDisposable { |
// Same as module.exports
|
||||
[Symbol.asyncDispose](): PromiseLike<void>; |
var exports: any; |
||||
} |
|
||||
// #endregion Disposable
|
|
||||
|
|
||||
// #region ArrayLike.at()
|
|
||||
interface RelativeIndexable<T> { |
|
||||
/** |
/** |
||||
* Takes an integer value and returns the item at that index, |
* Only available if `--expose-gc` is passed to the process. |
||||
* allowing for positive and negative integers. |
|
||||
* Negative integers count back from the last item in the array. |
|
||||
*/ |
*/ |
||||
at(index: number): T | undefined; |
var gc: undefined | (() => void); |
||||
} |
|
||||
interface String extends RelativeIndexable<string> {} |
|
||||
interface Array<T> extends RelativeIndexable<T> {} |
|
||||
interface ReadonlyArray<T> extends RelativeIndexable<T> {} |
|
||||
interface Int8Array extends RelativeIndexable<number> {} |
|
||||
interface Uint8Array extends RelativeIndexable<number> {} |
|
||||
interface Uint8ClampedArray extends RelativeIndexable<number> {} |
|
||||
interface Int16Array extends RelativeIndexable<number> {} |
|
||||
interface Uint16Array extends RelativeIndexable<number> {} |
|
||||
interface Int32Array extends RelativeIndexable<number> {} |
|
||||
interface Uint32Array extends RelativeIndexable<number> {} |
|
||||
interface Float32Array extends RelativeIndexable<number> {} |
|
||||
interface Float64Array extends RelativeIndexable<number> {} |
|
||||
interface BigInt64Array extends RelativeIndexable<bigint> {} |
|
||||
interface BigUint64Array extends RelativeIndexable<bigint> {} |
|
||||
// #endregion ArrayLike.at() end
|
|
||||
|
|
||||
/** |
|
||||
* @since v17.0.0 |
|
||||
* |
|
||||
* Creates a deep clone of an object. |
|
||||
*/ |
|
||||
declare function structuredClone<T>( |
|
||||
value: T, |
|
||||
transfer?: { transfer: ReadonlyArray<import("worker_threads").TransferListItem> }, |
|
||||
): T; |
|
||||
|
|
||||
/*----------------------------------------------* |
|
||||
* * |
|
||||
* GLOBAL INTERFACES * |
|
||||
* * |
|
||||
*-----------------------------------------------*/ |
|
||||
declare namespace NodeJS { |
|
||||
interface CallSite { |
|
||||
/** |
|
||||
* Value of "this" |
|
||||
*/ |
|
||||
getThis(): unknown; |
|
||||
|
|
||||
/** |
|
||||
* Type of "this" as a string. |
|
||||
* This is the name of the function stored in the constructor field of |
|
||||
* "this", if available. Otherwise the object's [[Class]] internal |
|
||||
* property. |
|
||||
*/ |
|
||||
getTypeName(): string | null; |
|
||||
|
|
||||
/** |
|
||||
* Current function |
|
||||
*/ |
|
||||
getFunction(): Function | undefined; |
|
||||
|
|
||||
/** |
|
||||
* Name of the current function, typically its name property. |
|
||||
* If a name property is not available an attempt will be made to try |
|
||||
* to infer a name from the function's context. |
|
||||
*/ |
|
||||
getFunctionName(): string | null; |
|
||||
|
|
||||
|
// #region borrowed
|
||||
|
// from https://github.com/microsoft/TypeScript/blob/38da7c600c83e7b31193a62495239a0fe478cb67/lib/lib.webworker.d.ts#L633 until moved to separate lib
|
||||
|
/** A controller object that allows you to abort one or more DOM requests as and when desired. */ |
||||
|
interface AbortController { |
||||
/** |
/** |
||||
* Name of the property [of "this" or one of its prototypes] that holds |
* Returns the AbortSignal object associated with this object. |
||||
* the current function |
|
||||
*/ |
*/ |
||||
getMethodName(): string | null; |
|
||||
|
|
||||
|
readonly signal: AbortSignal; |
||||
/** |
/** |
||||
* Name of the script [if this function was defined in a script] |
* Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. |
||||
*/ |
*/ |
||||
getFileName(): string | undefined; |
abort(reason?: any): void; |
||||
|
} |
||||
/** |
|
||||
* Current line number [if this function was defined in a script] |
|
||||
*/ |
|
||||
getLineNumber(): number | null; |
|
||||
|
|
||||
/** |
|
||||
* Current column number [if this function was defined in a script] |
|
||||
*/ |
|
||||
getColumnNumber(): number | null; |
|
||||
|
|
||||
/** |
|
||||
* A call site object representing the location where eval was called |
|
||||
* [if this function was created using a call to eval] |
|
||||
*/ |
|
||||
getEvalOrigin(): string | undefined; |
|
||||
|
|
||||
/** |
|
||||
* Is this a toplevel invocation, that is, is "this" the global object? |
|
||||
*/ |
|
||||
isToplevel(): boolean; |
|
||||
|
|
||||
|
/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */ |
||||
|
interface AbortSignal extends EventTarget { |
||||
/** |
/** |
||||
* Does this call take place in code defined by a call to eval? |
* Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. |
||||
*/ |
*/ |
||||
isEval(): boolean; |
readonly aborted: boolean; |
||||
|
readonly reason: any; |
||||
|
onabort: null | ((this: AbortSignal, event: Event) => any); |
||||
|
throwIfAborted(): void; |
||||
|
} |
||||
|
|
||||
|
var AbortController: typeof globalThis extends { onmessage: any; AbortController: infer T } ? T |
||||
|
: { |
||||
|
prototype: AbortController; |
||||
|
new(): AbortController; |
||||
|
}; |
||||
|
|
||||
|
var AbortSignal: typeof globalThis extends { onmessage: any; AbortSignal: infer T } ? T |
||||
|
: { |
||||
|
prototype: AbortSignal; |
||||
|
new(): AbortSignal; |
||||
|
abort(reason?: any): AbortSignal; |
||||
|
timeout(milliseconds: number): AbortSignal; |
||||
|
}; |
||||
|
// #endregion borrowed
|
||||
|
|
||||
|
// #region Disposable
|
||||
|
interface SymbolConstructor { |
||||
/** |
/** |
||||
* Is this call in native V8 code? |
* A method that is used to release resources held by an object. Called by the semantics of the `using` statement. |
||||
*/ |
*/ |
||||
isNative(): boolean; |
readonly dispose: unique symbol; |
||||
|
|
||||
/** |
/** |
||||
* Is this a constructor call? |
* A method that is used to asynchronously release resources held by an object. Called by the semantics of the `await using` statement. |
||||
*/ |
*/ |
||||
isConstructor(): boolean; |
readonly asyncDispose: unique symbol; |
||||
} |
} |
||||
|
|
||||
interface ErrnoException extends Error { |
interface Disposable { |
||||
errno?: number | undefined; |
[Symbol.dispose](): void; |
||||
code?: string | undefined; |
|
||||
path?: string | undefined; |
|
||||
syscall?: string | undefined; |
|
||||
} |
} |
||||
|
|
||||
interface ReadableStream extends EventEmitter { |
interface AsyncDisposable { |
||||
readable: boolean; |
[Symbol.asyncDispose](): PromiseLike<void>; |
||||
read(size?: number): string | Buffer; |
|
||||
setEncoding(encoding: BufferEncoding): this; |
|
||||
pause(): this; |
|
||||
resume(): this; |
|
||||
isPaused(): boolean; |
|
||||
pipe<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined }): T; |
|
||||
unpipe(destination?: WritableStream): this; |
|
||||
unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void; |
|
||||
wrap(oldStream: ReadableStream): this; |
|
||||
[Symbol.asyncIterator](): AsyncIterableIterator<string | Buffer>; |
|
||||
} |
} |
||||
|
// #endregion Disposable
|
||||
|
|
||||
interface WritableStream extends EventEmitter { |
// #region ArrayLike.at()
|
||||
writable: boolean; |
interface RelativeIndexable<T> { |
||||
write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean; |
|
||||
write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean; |
|
||||
end(cb?: () => void): this; |
|
||||
end(data: string | Uint8Array, cb?: () => void): this; |
|
||||
end(str: string, encoding?: BufferEncoding, cb?: () => void): this; |
|
||||
} |
|
||||
|
|
||||
interface ReadWriteStream extends ReadableStream, WritableStream {} |
|
||||
|
|
||||
interface RefCounted { |
|
||||
ref(): this; |
|
||||
unref(): this; |
|
||||
} |
|
||||
|
|
||||
type TypedArray = |
|
||||
| Uint8Array |
|
||||
| Uint8ClampedArray |
|
||||
| Uint16Array |
|
||||
| Uint32Array |
|
||||
| Int8Array |
|
||||
| Int16Array |
|
||||
| Int32Array |
|
||||
| BigUint64Array |
|
||||
| BigInt64Array |
|
||||
| Float32Array |
|
||||
| Float64Array; |
|
||||
type ArrayBufferView = TypedArray | DataView; |
|
||||
|
|
||||
interface Require { |
|
||||
(id: string): any; |
|
||||
resolve: RequireResolve; |
|
||||
cache: Dict<NodeModule>; |
|
||||
/** |
/** |
||||
* @deprecated |
* Takes an integer value and returns the item at that index, |
||||
|
* allowing for positive and negative integers. |
||||
|
* Negative integers count back from the last item in the array. |
||||
*/ |
*/ |
||||
extensions: RequireExtensions; |
at(index: number): T | undefined; |
||||
main: Module | undefined; |
|
||||
} |
} |
||||
|
interface String extends RelativeIndexable<string> {} |
||||
|
interface Array<T> extends RelativeIndexable<T> {} |
||||
|
interface ReadonlyArray<T> extends RelativeIndexable<T> {} |
||||
|
interface Int8Array extends RelativeIndexable<number> {} |
||||
|
interface Uint8Array extends RelativeIndexable<number> {} |
||||
|
interface Uint8ClampedArray extends RelativeIndexable<number> {} |
||||
|
interface Int16Array extends RelativeIndexable<number> {} |
||||
|
interface Uint16Array extends RelativeIndexable<number> {} |
||||
|
interface Int32Array extends RelativeIndexable<number> {} |
||||
|
interface Uint32Array extends RelativeIndexable<number> {} |
||||
|
interface Float32Array extends RelativeIndexable<number> {} |
||||
|
interface Float64Array extends RelativeIndexable<number> {} |
||||
|
interface BigInt64Array extends RelativeIndexable<bigint> {} |
||||
|
interface BigUint64Array extends RelativeIndexable<bigint> {} |
||||
|
// #endregion ArrayLike.at() end
|
||||
|
|
||||
interface RequireResolve { |
/** |
||||
(id: string, options?: { paths?: string[] | undefined }): string; |
* @since v17.0.0 |
||||
paths(request: string): string[] | null; |
* |
||||
} |
* Creates a deep clone of an object. |
||||
|
*/ |
||||
interface RequireExtensions extends Dict<(m: Module, filename: string) => any> { |
function structuredClone<T>( |
||||
".js": (m: Module, filename: string) => any; |
value: T, |
||||
".json": (m: Module, filename: string) => any; |
transfer?: { transfer: ReadonlyArray<import("worker_threads").TransferListItem> }, |
||||
".node": (m: Module, filename: string) => any; |
): T; |
||||
} |
|
||||
interface Module { |
/*----------------------------------------------* |
||||
/** |
* * |
||||
* `true` if the module is running during the Node.js preload |
* GLOBAL INTERFACES * |
||||
*/ |
* * |
||||
isPreloading: boolean; |
*-----------------------------------------------*/ |
||||
exports: any; |
namespace NodeJS { |
||||
require: Require; |
interface CallSite { |
||||
id: string; |
/** |
||||
filename: string; |
* Value of "this" |
||||
loaded: boolean; |
*/ |
||||
/** @deprecated since v14.6.0 Please use `require.main` and `module.children` instead. */ |
getThis(): unknown; |
||||
parent: Module | null | undefined; |
|
||||
children: Module[]; |
/** |
||||
/** |
* Type of "this" as a string. |
||||
* @since v11.14.0 |
* This is the name of the function stored in the constructor field of |
||||
* |
* "this", if available. Otherwise the object's [[Class]] internal |
||||
* The directory name of the module. This is usually the same as the path.dirname() of the module.id. |
* property. |
||||
*/ |
*/ |
||||
path: string; |
getTypeName(): string | null; |
||||
paths: string[]; |
|
||||
} |
/** |
||||
|
* Current function |
||||
interface Dict<T> { |
*/ |
||||
[key: string]: T | undefined; |
getFunction(): Function | undefined; |
||||
|
|
||||
|
/** |
||||
|
* Name of the current function, typically its name property. |
||||
|
* If a name property is not available an attempt will be made to try |
||||
|
* to infer a name from the function's context. |
||||
|
*/ |
||||
|
getFunctionName(): string | null; |
||||
|
|
||||
|
/** |
||||
|
* Name of the property [of "this" or one of its prototypes] that holds |
||||
|
* the current function |
||||
|
*/ |
||||
|
getMethodName(): string | null; |
||||
|
|
||||
|
/** |
||||
|
* Name of the script [if this function was defined in a script] |
||||
|
*/ |
||||
|
getFileName(): string | undefined; |
||||
|
|
||||
|
/** |
||||
|
* Current line number [if this function was defined in a script] |
||||
|
*/ |
||||
|
getLineNumber(): number | null; |
||||
|
|
||||
|
/** |
||||
|
* Current column number [if this function was defined in a script] |
||||
|
*/ |
||||
|
getColumnNumber(): number | null; |
||||
|
|
||||
|
/** |
||||
|
* A call site object representing the location where eval was called |
||||
|
* [if this function was created using a call to eval] |
||||
|
*/ |
||||
|
getEvalOrigin(): string | undefined; |
||||
|
|
||||
|
/** |
||||
|
* Is this a toplevel invocation, that is, is "this" the global object? |
||||
|
*/ |
||||
|
isToplevel(): boolean; |
||||
|
|
||||
|
/** |
||||
|
* Does this call take place in code defined by a call to eval? |
||||
|
*/ |
||||
|
isEval(): boolean; |
||||
|
|
||||
|
/** |
||||
|
* Is this call in native V8 code? |
||||
|
*/ |
||||
|
isNative(): boolean; |
||||
|
|
||||
|
/** |
||||
|
* Is this a constructor call? |
||||
|
*/ |
||||
|
isConstructor(): boolean; |
||||
|
} |
||||
|
|
||||
|
interface ErrnoException extends Error { |
||||
|
errno?: number | undefined; |
||||
|
code?: string | undefined; |
||||
|
path?: string | undefined; |
||||
|
syscall?: string | undefined; |
||||
|
} |
||||
|
|
||||
|
interface ReadableStream extends EventEmitter { |
||||
|
readable: boolean; |
||||
|
read(size?: number): string | Buffer; |
||||
|
setEncoding(encoding: BufferEncoding): this; |
||||
|
pause(): this; |
||||
|
resume(): this; |
||||
|
isPaused(): boolean; |
||||
|
pipe<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined }): T; |
||||
|
unpipe(destination?: WritableStream): this; |
||||
|
unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void; |
||||
|
wrap(oldStream: ReadableStream): this; |
||||
|
[Symbol.asyncIterator](): AsyncIterableIterator<string | Buffer>; |
||||
|
} |
||||
|
|
||||
|
interface WritableStream extends EventEmitter { |
||||
|
writable: boolean; |
||||
|
write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean; |
||||
|
write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean; |
||||
|
end(cb?: () => void): this; |
||||
|
end(data: string | Uint8Array, cb?: () => void): this; |
||||
|
end(str: string, encoding?: BufferEncoding, cb?: () => void): this; |
||||
|
} |
||||
|
|
||||
|
interface ReadWriteStream extends ReadableStream, WritableStream {} |
||||
|
|
||||
|
interface RefCounted { |
||||
|
ref(): this; |
||||
|
unref(): this; |
||||
|
} |
||||
|
|
||||
|
type TypedArray = |
||||
|
| Uint8Array |
||||
|
| Uint8ClampedArray |
||||
|
| Uint16Array |
||||
|
| Uint32Array |
||||
|
| Int8Array |
||||
|
| Int16Array |
||||
|
| Int32Array |
||||
|
| BigUint64Array |
||||
|
| BigInt64Array |
||||
|
| Float32Array |
||||
|
| Float64Array; |
||||
|
type ArrayBufferView = TypedArray | DataView; |
||||
|
|
||||
|
interface Require { |
||||
|
(id: string): any; |
||||
|
resolve: RequireResolve; |
||||
|
cache: Dict<NodeModule>; |
||||
|
/** |
||||
|
* @deprecated |
||||
|
*/ |
||||
|
extensions: RequireExtensions; |
||||
|
main: Module | undefined; |
||||
|
} |
||||
|
|
||||
|
interface RequireResolve { |
||||
|
(id: string, options?: { paths?: string[] | undefined }): string; |
||||
|
paths(request: string): string[] | null; |
||||
|
} |
||||
|
|
||||
|
interface RequireExtensions extends Dict<(m: Module, filename: string) => any> { |
||||
|
".js": (m: Module, filename: string) => any; |
||||
|
".json": (m: Module, filename: string) => any; |
||||
|
".node": (m: Module, filename: string) => any; |
||||
|
} |
||||
|
interface Module { |
||||
|
/** |
||||
|
* `true` if the module is running during the Node.js preload |
||||
|
*/ |
||||
|
isPreloading: boolean; |
||||
|
exports: any; |
||||
|
require: Require; |
||||
|
id: string; |
||||
|
filename: string; |
||||
|
loaded: boolean; |
||||
|
/** @deprecated since v14.6.0 Please use `require.main` and `module.children` instead. */ |
||||
|
parent: Module | null | undefined; |
||||
|
children: Module[]; |
||||
|
/** |
||||
|
* @since v11.14.0 |
||||
|
* |
||||
|
* The directory name of the module. This is usually the same as the path.dirname() of the module.id. |
||||
|
*/ |
||||
|
path: string; |
||||
|
paths: string[]; |
||||
|
} |
||||
|
|
||||
|
interface Dict<T> { |
||||
|
[key: string]: T | undefined; |
||||
|
} |
||||
|
|
||||
|
interface ReadOnlyDict<T> { |
||||
|
readonly [key: string]: T | undefined; |
||||
|
} |
||||
} |
} |
||||
|
|
||||
interface ReadOnlyDict<T> { |
interface RequestInit extends _RequestInit {} |
||||
readonly [key: string]: T | undefined; |
|
||||
} |
function fetch( |
||||
|
input: string | URL | Request, |
||||
|
init?: RequestInit, |
||||
|
): Promise<Response>; |
||||
|
|
||||
|
interface Request extends _Request {} |
||||
|
var Request: typeof globalThis extends { |
||||
|
onmessage: any; |
||||
|
Request: infer T; |
||||
|
} ? T |
||||
|
: typeof import("undici-types").Request; |
||||
|
|
||||
|
interface ResponseInit extends _ResponseInit {} |
||||
|
|
||||
|
interface Response extends _Response {} |
||||
|
var Response: typeof globalThis extends { |
||||
|
onmessage: any; |
||||
|
Response: infer T; |
||||
|
} ? T |
||||
|
: typeof import("undici-types").Response; |
||||
|
|
||||
|
interface FormData extends _FormData {} |
||||
|
var FormData: typeof globalThis extends { |
||||
|
onmessage: any; |
||||
|
FormData: infer T; |
||||
|
} ? T |
||||
|
: typeof import("undici-types").FormData; |
||||
|
|
||||
|
interface Headers extends _Headers {} |
||||
|
var Headers: typeof globalThis extends { |
||||
|
onmessage: any; |
||||
|
Headers: infer T; |
||||
|
} ? T |
||||
|
: typeof import("undici-types").Headers; |
||||
} |
} |
||||
|
@ -1,323 +1,377 @@ |
|||||
// Declare "static" methods in Error
|
export {}; // Make this a module
|
||||
interface ErrorConstructor { |
|
||||
/** Create .stack property on a target object */ |
// #region Fetch and friends
|
||||
captureStackTrace(targetObject: object, constructorOpt?: Function): void; |
// Conditional type aliases, used at the end of this file.
|
||||
|
// Will either be empty if lib-dom is included, or the undici version otherwise.
|
||||
|
type _Request = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Request; |
||||
|
type _Response = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Response; |
||||
|
type _FormData = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").FormData; |
||||
|
type _Headers = typeof globalThis extends { onmessage: any } ? {} : import("undici-types").Headers; |
||||
|
type _RequestInit = typeof globalThis extends { onmessage: any } ? {} |
||||
|
: import("undici-types").RequestInit; |
||||
|
type _ResponseInit = typeof globalThis extends { onmessage: any } ? {} |
||||
|
: import("undici-types").ResponseInit; |
||||
|
// #endregion Fetch and friends
|
||||
|
|
||||
|
declare global { |
||||
|
// Declare "static" methods in Error
|
||||
|
interface ErrorConstructor { |
||||
|
/** Create .stack property on a target object */ |
||||
|
captureStackTrace(targetObject: object, constructorOpt?: Function): void; |
||||
|
|
||||
/** |
/** |
||||
* Optional override for formatting stack traces |
* Optional override for formatting stack traces |
||||
* |
* |
||||
* @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
* @see https://v8.dev/docs/stack-trace-api#customizing-stack-traces
|
||||
*/ |
*/ |
||||
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; |
prepareStackTrace?: ((err: Error, stackTraces: NodeJS.CallSite[]) => any) | undefined; |
||||
|
|
||||
stackTraceLimit: number; |
|
||||
} |
|
||||
|
|
||||
/*-----------------------------------------------* |
|
||||
* * |
|
||||
* GLOBAL * |
|
||||
* * |
|
||||
------------------------------------------------*/ |
|
||||
|
|
||||
// For backwards compability
|
|
||||
interface NodeRequire extends NodeJS.Require {} |
|
||||
interface RequireResolve extends NodeJS.RequireResolve {} |
|
||||
interface NodeModule extends NodeJS.Module {} |
|
||||
|
|
||||
declare var process: NodeJS.Process; |
|
||||
declare var console: Console; |
|
||||
|
|
||||
declare var __filename: string; |
|
||||
declare var __dirname: string; |
|
||||
|
|
||||
declare var require: NodeRequire; |
|
||||
declare var module: NodeModule; |
|
||||
|
|
||||
// Same as module.exports
|
|
||||
declare var exports: any; |
|
||||
|
|
||||
/** |
|
||||
* Only available if `--expose-gc` is passed to the process. |
|
||||
*/ |
|
||||
declare var gc: undefined | (() => void); |
|
||||
|
|
||||
// #region borrowed
|
stackTraceLimit: number; |
||||
// from https://github.com/microsoft/TypeScript/blob/38da7c600c83e7b31193a62495239a0fe478cb67/lib/lib.webworker.d.ts#L633 until moved to separate lib
|
} |
||||
/** A controller object that allows you to abort one or more DOM requests as and when desired. */ |
|
||||
interface AbortController { |
|
||||
/** |
|
||||
* Returns the AbortSignal object associated with this object. |
|
||||
*/ |
|
||||
|
|
||||
readonly signal: AbortSignal; |
/*-----------------------------------------------* |
||||
/** |
* * |
||||
* Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. |
* GLOBAL * |
||||
*/ |
* * |
||||
abort(reason?: any): void; |
------------------------------------------------*/ |
||||
} |
|
||||
|
|
||||
/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */ |
// For backwards compability
|
||||
interface AbortSignal extends EventTarget { |
interface NodeRequire extends NodeJS.Require {} |
||||
/** |
interface RequireResolve extends NodeJS.RequireResolve {} |
||||
* Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. |
interface NodeModule extends NodeJS.Module {} |
||||
*/ |
|
||||
readonly aborted: boolean; |
|
||||
readonly reason: any; |
|
||||
onabort: null | ((this: AbortSignal, event: Event) => any); |
|
||||
throwIfAborted(): void; |
|
||||
} |
|
||||
|
|
||||
declare var AbortController: typeof globalThis extends { onmessage: any; AbortController: infer T } ? T |
var process: NodeJS.Process; |
||||
: { |
var console: Console; |
||||
prototype: AbortController; |
|
||||
new(): AbortController; |
|
||||
}; |
|
||||
|
|
||||
declare var AbortSignal: typeof globalThis extends { onmessage: any; AbortSignal: infer T } ? T |
|
||||
: { |
|
||||
prototype: AbortSignal; |
|
||||
new(): AbortSignal; |
|
||||
abort(reason?: any): AbortSignal; |
|
||||
timeout(milliseconds: number): AbortSignal; |
|
||||
}; |
|
||||
// #endregion borrowed
|
|
||||
|
|
||||
// #region Disposable
|
|
||||
interface SymbolConstructor { |
|
||||
/** |
|
||||
* A method that is used to release resources held by an object. Called by the semantics of the `using` statement. |
|
||||
*/ |
|
||||
readonly dispose: unique symbol; |
|
||||
|
|
||||
/** |
var __filename: string; |
||||
* A method that is used to asynchronously release resources held by an object. Called by the semantics of the `await using` statement. |
var __dirname: string; |
||||
*/ |
|
||||
readonly asyncDispose: unique symbol; |
|
||||
} |
|
||||
|
|
||||
interface Disposable { |
var require: NodeRequire; |
||||
[Symbol.dispose](): void; |
var module: NodeModule; |
||||
} |
|
||||
|
|
||||
interface AsyncDisposable { |
// Same as module.exports
|
||||
[Symbol.asyncDispose](): PromiseLike<void>; |
var exports: any; |
||||
} |
|
||||
// #endregion Disposable
|
|
||||
|
|
||||
// #region ArrayLike.at()
|
|
||||
interface RelativeIndexable<T> { |
|
||||
/** |
/** |
||||
* Takes an integer value and returns the item at that index, |
* Only available if `--expose-gc` is passed to the process. |
||||
* allowing for positive and negative integers. |
|
||||
* Negative integers count back from the last item in the array. |
|
||||
*/ |
*/ |
||||
at(index: number): T | undefined; |
var gc: undefined | (() => void); |
||||
} |
|
||||
interface String extends RelativeIndexable<string> {} |
|
||||
interface Array<T> extends RelativeIndexable<T> {} |
|
||||
interface ReadonlyArray<T> extends RelativeIndexable<T> {} |
|
||||
interface Int8Array extends RelativeIndexable<number> {} |
|
||||
interface Uint8Array extends RelativeIndexable<number> {} |
|
||||
interface Uint8ClampedArray extends RelativeIndexable<number> {} |
|
||||
interface Int16Array extends RelativeIndexable<number> {} |
|
||||
interface Uint16Array extends RelativeIndexable<number> {} |
|
||||
interface Int32Array extends RelativeIndexable<number> {} |
|
||||
interface Uint32Array extends RelativeIndexable<number> {} |
|
||||
interface Float32Array extends RelativeIndexable<number> {} |
|
||||
interface Float64Array extends RelativeIndexable<number> {} |
|
||||
interface BigInt64Array extends RelativeIndexable<bigint> {} |
|
||||
interface BigUint64Array extends RelativeIndexable<bigint> {} |
|
||||
// #endregion ArrayLike.at() end
|
|
||||
|
|
||||
/** |
|
||||
* @since v17.0.0 |
|
||||
* |
|
||||
* Creates a deep clone of an object. |
|
||||
*/ |
|
||||
declare function structuredClone<T>( |
|
||||
value: T, |
|
||||
transfer?: { transfer: ReadonlyArray<import("worker_threads").TransferListItem> }, |
|
||||
): T; |
|
||||
|
|
||||
/*----------------------------------------------* |
|
||||
* * |
|
||||
* GLOBAL INTERFACES * |
|
||||
* * |
|
||||
*-----------------------------------------------*/ |
|
||||
declare namespace NodeJS { |
|
||||
interface CallSite { |
|
||||
/** |
|
||||
* Value of "this" |
|
||||
*/ |
|
||||
getThis(): unknown; |
|
||||
|
|
||||
/** |
|
||||
* Type of "this" as a string. |
|
||||
* This is the name of the function stored in the constructor field of |
|
||||
* "this", if available. Otherwise the object's [[Class]] internal |
|
||||
* property. |
|
||||
*/ |
|
||||
getTypeName(): string | null; |
|
||||
|
|
||||
/** |
|
||||
* Current function |
|
||||
*/ |
|
||||
getFunction(): Function | undefined; |
|
||||
|
|
||||
/** |
|
||||
* Name of the current function, typically its name property. |
|
||||
* If a name property is not available an attempt will be made to try |
|
||||
* to infer a name from the function's context. |
|
||||
*/ |
|
||||
getFunctionName(): string | null; |
|
||||
|
|
||||
|
// #region borrowed
|
||||
|
// from https://github.com/microsoft/TypeScript/blob/38da7c600c83e7b31193a62495239a0fe478cb67/lib/lib.webworker.d.ts#L633 until moved to separate lib
|
||||
|
/** A controller object that allows you to abort one or more DOM requests as and when desired. */ |
||||
|
interface AbortController { |
||||
/** |
/** |
||||
* Name of the property [of "this" or one of its prototypes] that holds |
* Returns the AbortSignal object associated with this object. |
||||
* the current function |
|
||||
*/ |
*/ |
||||
getMethodName(): string | null; |
|
||||
|
|
||||
|
readonly signal: AbortSignal; |
||||
/** |
/** |
||||
* Name of the script [if this function was defined in a script] |
* Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted. |
||||
*/ |
*/ |
||||
getFileName(): string | undefined; |
abort(reason?: any): void; |
||||
|
} |
||||
/** |
|
||||
* Current line number [if this function was defined in a script] |
|
||||
*/ |
|
||||
getLineNumber(): number | null; |
|
||||
|
|
||||
/** |
|
||||
* Current column number [if this function was defined in a script] |
|
||||
*/ |
|
||||
getColumnNumber(): number | null; |
|
||||
|
|
||||
/** |
|
||||
* A call site object representing the location where eval was called |
|
||||
* [if this function was created using a call to eval] |
|
||||
*/ |
|
||||
getEvalOrigin(): string | undefined; |
|
||||
|
|
||||
/** |
|
||||
* Is this a toplevel invocation, that is, is "this" the global object? |
|
||||
*/ |
|
||||
isToplevel(): boolean; |
|
||||
|
|
||||
|
/** A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object. */ |
||||
|
interface AbortSignal extends EventTarget { |
||||
/** |
/** |
||||
* Does this call take place in code defined by a call to eval? |
* Returns true if this AbortSignal's AbortController has signaled to abort, and false otherwise. |
||||
*/ |
*/ |
||||
isEval(): boolean; |
readonly aborted: boolean; |
||||
|
readonly reason: any; |
||||
|
onabort: null | ((this: AbortSignal, event: Event) => any); |
||||
|
throwIfAborted(): void; |
||||
|
} |
||||
|
|
||||
|
var AbortController: typeof globalThis extends { onmessage: any; AbortController: infer T } ? T |
||||
|
: { |
||||
|
prototype: AbortController; |
||||
|
new(): AbortController; |
||||
|
}; |
||||
|
|
||||
|
var AbortSignal: typeof globalThis extends { onmessage: any; AbortSignal: infer T } ? T |
||||
|
: { |
||||
|
prototype: AbortSignal; |
||||
|
new(): AbortSignal; |
||||
|
abort(reason?: any): AbortSignal; |
||||
|
timeout(milliseconds: number): AbortSignal; |
||||
|
}; |
||||
|
// #endregion borrowed
|
||||
|
|
||||
|
// #region Disposable
|
||||
|
interface SymbolConstructor { |
||||
/** |
/** |
||||
* Is this call in native V8 code? |
* A method that is used to release resources held by an object. Called by the semantics of the `using` statement. |
||||
*/ |
*/ |
||||
isNative(): boolean; |
readonly dispose: unique symbol; |
||||
|
|
||||
/** |
/** |
||||
* Is this a constructor call? |
* A method that is used to asynchronously release resources held by an object. Called by the semantics of the `await using` statement. |
||||
*/ |
*/ |
||||
isConstructor(): boolean; |
readonly asyncDispose: unique symbol; |
||||
} |
} |
||||
|
|
||||
interface ErrnoException extends Error { |
interface Disposable { |
||||
errno?: number | undefined; |
[Symbol.dispose](): void; |
||||
code?: string | undefined; |
|
||||
path?: string | undefined; |
|
||||
syscall?: string | undefined; |
|
||||
} |
} |
||||
|
|
||||
interface ReadableStream extends EventEmitter { |
interface AsyncDisposable { |
||||
readable: boolean; |
[Symbol.asyncDispose](): PromiseLike<void>; |
||||
read(size?: number): string | Buffer; |
|
||||
setEncoding(encoding: BufferEncoding): this; |
|
||||
pause(): this; |
|
||||
resume(): this; |
|
||||
isPaused(): boolean; |
|
||||
pipe<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined }): T; |
|
||||
unpipe(destination?: WritableStream): this; |
|
||||
unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void; |
|
||||
wrap(oldStream: ReadableStream): this; |
|
||||
[Symbol.asyncIterator](): AsyncIterableIterator<string | Buffer>; |
|
||||
} |
} |
||||
|
// #endregion Disposable
|
||||
|
|
||||
interface WritableStream extends EventEmitter { |
// #region ArrayLike.at()
|
||||
writable: boolean; |
interface RelativeIndexable<T> { |
||||
write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean; |
|
||||
write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean; |
|
||||
end(cb?: () => void): this; |
|
||||
end(data: string | Uint8Array, cb?: () => void): this; |
|
||||
end(str: string, encoding?: BufferEncoding, cb?: () => void): this; |
|
||||
} |
|
||||
|
|
||||
interface ReadWriteStream extends ReadableStream, WritableStream {} |
|
||||
|
|
||||
interface RefCounted { |
|
||||
ref(): this; |
|
||||
unref(): this; |
|
||||
} |
|
||||
|
|
||||
type TypedArray = |
|
||||
| Uint8Array |
|
||||
| Uint8ClampedArray |
|
||||
| Uint16Array |
|
||||
| Uint32Array |
|
||||
| Int8Array |
|
||||
| Int16Array |
|
||||
| Int32Array |
|
||||
| BigUint64Array |
|
||||
| BigInt64Array |
|
||||
| Float32Array |
|
||||
| Float64Array; |
|
||||
type ArrayBufferView = TypedArray | DataView; |
|
||||
|
|
||||
interface Require { |
|
||||
(id: string): any; |
|
||||
resolve: RequireResolve; |
|
||||
cache: Dict<NodeModule>; |
|
||||
/** |
/** |
||||
* @deprecated |
* Takes an integer value and returns the item at that index, |
||||
|
* allowing for positive and negative integers. |
||||
|
* Negative integers count back from the last item in the array. |
||||
*/ |
*/ |
||||
extensions: RequireExtensions; |
at(index: number): T | undefined; |
||||
main: Module | undefined; |
|
||||
} |
} |
||||
|
interface String extends RelativeIndexable<string> {} |
||||
|
interface Array<T> extends RelativeIndexable<T> {} |
||||
|
interface ReadonlyArray<T> extends RelativeIndexable<T> {} |
||||
|
interface Int8Array extends RelativeIndexable<number> {} |
||||
|
interface Uint8Array extends RelativeIndexable<number> {} |
||||
|
interface Uint8ClampedArray extends RelativeIndexable<number> {} |
||||
|
interface Int16Array extends RelativeIndexable<number> {} |
||||
|
interface Uint16Array extends RelativeIndexable<number> {} |
||||
|
interface Int32Array extends RelativeIndexable<number> {} |
||||
|
interface Uint32Array extends RelativeIndexable<number> {} |
||||
|
interface Float32Array extends RelativeIndexable<number> {} |
||||
|
interface Float64Array extends RelativeIndexable<number> {} |
||||
|
interface BigInt64Array extends RelativeIndexable<bigint> {} |
||||
|
interface BigUint64Array extends RelativeIndexable<bigint> {} |
||||
|
// #endregion ArrayLike.at() end
|
||||
|
|
||||
interface RequireResolve { |
/** |
||||
(id: string, options?: { paths?: string[] | undefined }): string; |
* @since v17.0.0 |
||||
paths(request: string): string[] | null; |
* |
||||
} |
* Creates a deep clone of an object. |
||||
|
*/ |
||||
interface RequireExtensions extends Dict<(m: Module, filename: string) => any> { |
function structuredClone<T>( |
||||
".js": (m: Module, filename: string) => any; |
value: T, |
||||
".json": (m: Module, filename: string) => any; |
transfer?: { transfer: ReadonlyArray<import("worker_threads").TransferListItem> }, |
||||
".node": (m: Module, filename: string) => any; |
): T; |
||||
} |
|
||||
interface Module { |
/*----------------------------------------------* |
||||
/** |
* * |
||||
* `true` if the module is running during the Node.js preload |
* GLOBAL INTERFACES * |
||||
*/ |
* * |
||||
isPreloading: boolean; |
*-----------------------------------------------*/ |
||||
exports: any; |
namespace NodeJS { |
||||
require: Require; |
interface CallSite { |
||||
id: string; |
/** |
||||
filename: string; |
* Value of "this" |
||||
loaded: boolean; |
*/ |
||||
/** @deprecated since v14.6.0 Please use `require.main` and `module.children` instead. */ |
getThis(): unknown; |
||||
parent: Module | null | undefined; |
|
||||
children: Module[]; |
/** |
||||
/** |
* Type of "this" as a string. |
||||
* @since v11.14.0 |
* This is the name of the function stored in the constructor field of |
||||
* |
* "this", if available. Otherwise the object's [[Class]] internal |
||||
* The directory name of the module. This is usually the same as the path.dirname() of the module.id. |
* property. |
||||
*/ |
*/ |
||||
path: string; |
getTypeName(): string | null; |
||||
paths: string[]; |
|
||||
} |
/** |
||||
|
* Current function |
||||
interface Dict<T> { |
*/ |
||||
[key: string]: T | undefined; |
getFunction(): Function | undefined; |
||||
|
|
||||
|
/** |
||||
|
* Name of the current function, typically its name property. |
||||
|
* If a name property is not available an attempt will be made to try |
||||
|
* to infer a name from the function's context. |
||||
|
*/ |
||||
|
getFunctionName(): string | null; |
||||
|
|
||||
|
/** |
||||
|
* Name of the property [of "this" or one of its prototypes] that holds |
||||
|
* the current function |
||||
|
*/ |
||||
|
getMethodName(): string | null; |
||||
|
|
||||
|
/** |
||||
|
* Name of the script [if this function was defined in a script] |
||||
|
*/ |
||||
|
getFileName(): string | undefined; |
||||
|
|
||||
|
/** |
||||
|
* Current line number [if this function was defined in a script] |
||||
|
*/ |
||||
|
getLineNumber(): number | null; |
||||
|
|
||||
|
/** |
||||
|
* Current column number [if this function was defined in a script] |
||||
|
*/ |
||||
|
getColumnNumber(): number | null; |
||||
|
|
||||
|
/** |
||||
|
* A call site object representing the location where eval was called |
||||
|
* [if this function was created using a call to eval] |
||||
|
*/ |
||||
|
getEvalOrigin(): string | undefined; |
||||
|
|
||||
|
/** |
||||
|
* Is this a toplevel invocation, that is, is "this" the global object? |
||||
|
*/ |
||||
|
isToplevel(): boolean; |
||||
|
|
||||
|
/** |
||||
|
* Does this call take place in code defined by a call to eval? |
||||
|
*/ |
||||
|
isEval(): boolean; |
||||
|
|
||||
|
/** |
||||
|
* Is this call in native V8 code? |
||||
|
*/ |
||||
|
isNative(): boolean; |
||||
|
|
||||
|
/** |
||||
|
* Is this a constructor call? |
||||
|
*/ |
||||
|
isConstructor(): boolean; |
||||
|
} |
||||
|
|
||||
|
interface ErrnoException extends Error { |
||||
|
errno?: number | undefined; |
||||
|
code?: string | undefined; |
||||
|
path?: string | undefined; |
||||
|
syscall?: string | undefined; |
||||
|
} |
||||
|
|
||||
|
interface ReadableStream extends EventEmitter { |
||||
|
readable: boolean; |
||||
|
read(size?: number): string | Buffer; |
||||
|
setEncoding(encoding: BufferEncoding): this; |
||||
|
pause(): this; |
||||
|
resume(): this; |
||||
|
isPaused(): boolean; |
||||
|
pipe<T extends WritableStream>(destination: T, options?: { end?: boolean | undefined }): T; |
||||
|
unpipe(destination?: WritableStream): this; |
||||
|
unshift(chunk: string | Uint8Array, encoding?: BufferEncoding): void; |
||||
|
wrap(oldStream: ReadableStream): this; |
||||
|
[Symbol.asyncIterator](): AsyncIterableIterator<string | Buffer>; |
||||
|
} |
||||
|
|
||||
|
interface WritableStream extends EventEmitter { |
||||
|
writable: boolean; |
||||
|
write(buffer: Uint8Array | string, cb?: (err?: Error | null) => void): boolean; |
||||
|
write(str: string, encoding?: BufferEncoding, cb?: (err?: Error | null) => void): boolean; |
||||
|
end(cb?: () => void): this; |
||||
|
end(data: string | Uint8Array, cb?: () => void): this; |
||||
|
end(str: string, encoding?: BufferEncoding, cb?: () => void): this; |
||||
|
} |
||||
|
|
||||
|
interface ReadWriteStream extends ReadableStream, WritableStream {} |
||||
|
|
||||
|
interface RefCounted { |
||||
|
ref(): this; |
||||
|
unref(): this; |
||||
|
} |
||||
|
|
||||
|
type TypedArray = |
||||
|
| Uint8Array |
||||
|
| Uint8ClampedArray |
||||
|
| Uint16Array |
||||
|
| Uint32Array |
||||
|
| Int8Array |
||||
|
| Int16Array |
||||
|
| Int32Array |
||||
|
| BigUint64Array |
||||
|
| BigInt64Array |
||||
|
| Float32Array |
||||
|
| Float64Array; |
||||
|
type ArrayBufferView = TypedArray | DataView; |
||||
|
|
||||
|
interface Require { |
||||
|
(id: string): any; |
||||
|
resolve: RequireResolve; |
||||
|
cache: Dict<NodeModule>; |
||||
|
/** |
||||
|
* @deprecated |
||||
|
*/ |
||||
|
extensions: RequireExtensions; |
||||
|
main: Module | undefined; |
||||
|
} |
||||
|
|
||||
|
interface RequireResolve { |
||||
|
(id: string, options?: { paths?: string[] | undefined }): string; |
||||
|
paths(request: string): string[] | null; |
||||
|
} |
||||
|
|
||||
|
interface RequireExtensions extends Dict<(m: Module, filename: string) => any> { |
||||
|
".js": (m: Module, filename: string) => any; |
||||
|
".json": (m: Module, filename: string) => any; |
||||
|
".node": (m: Module, filename: string) => any; |
||||
|
} |
||||
|
interface Module { |
||||
|
/** |
||||
|
* `true` if the module is running during the Node.js preload |
||||
|
*/ |
||||
|
isPreloading: boolean; |
||||
|
exports: any; |
||||
|
require: Require; |
||||
|
id: string; |
||||
|
filename: string; |
||||
|
loaded: boolean; |
||||
|
/** @deprecated since v14.6.0 Please use `require.main` and `module.children` instead. */ |
||||
|
parent: Module | null | undefined; |
||||
|
children: Module[]; |
||||
|
/** |
||||
|
* @since v11.14.0 |
||||
|
* |
||||
|
* The directory name of the module. This is usually the same as the path.dirname() of the module.id. |
||||
|
*/ |
||||
|
path: string; |
||||
|
paths: string[]; |
||||
|
} |
||||
|
|
||||
|
interface Dict<T> { |
||||
|
[key: string]: T | undefined; |
||||
|
} |
||||
|
|
||||
|
interface ReadOnlyDict<T> { |
||||
|
readonly [key: string]: T | undefined; |
||||
|
} |
||||
} |
} |
||||
|
|
||||
interface ReadOnlyDict<T> { |
interface RequestInit extends _RequestInit {} |
||||
readonly [key: string]: T | undefined; |
|
||||
} |
function fetch( |
||||
|
input: string | URL | Request, |
||||
|
init?: RequestInit, |
||||
|
): Promise<Response>; |
||||
|
|
||||
|
interface Request extends _Request {} |
||||
|
var Request: typeof globalThis extends { |
||||
|
onmessage: any; |
||||
|
Request: infer T; |
||||
|
} ? T |
||||
|
: typeof import("undici-types").Request; |
||||
|
|
||||
|
interface ResponseInit extends _ResponseInit {} |
||||
|
|
||||
|
interface Response extends _Response {} |
||||
|
var Response: typeof globalThis extends { |
||||
|
onmessage: any; |
||||
|
Response: infer T; |
||||
|
} ? T |
||||
|
: typeof import("undici-types").Response; |
||||
|
|
||||
|
interface FormData extends _FormData {} |
||||
|
var FormData: typeof globalThis extends { |
||||
|
onmessage: any; |
||||
|
FormData: infer T; |
||||
|
} ? T |
||||
|
: typeof import("undici-types").FormData; |
||||
|
|
||||
|
interface Headers extends _Headers {} |
||||
|
var Headers: typeof globalThis extends { |
||||
|
onmessage: any; |
||||
|
Headers: infer T; |
||||
|
} ? T |
||||
|
: typeof import("undici-types").Headers; |
||||
} |
} |
||||
|
Loading…
Reference in new issue