mrs-toolbox-cli 11.1.5 → 11.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Kotlin-DateTime-library-kotlinx-datetime.js +1 -1
- package/kotlin-kotlin-stdlib.js +20 -20
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-coroutines-core.js +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{79/45/43e5ad3ae1c40de9ae68d7385d62da2a61a8ac93ef7c7bae7ccba91f2348e0cd6af9d539c85ff6f983ee2c0eac562341bff4e5685f54f420eee0f6afb303 → 02/af/6b400a71c0d4ded54960c941b5fa09e41a2bc1aabafcd24162368981ca41d4d34a49bda7df8be2f4de364e273e11afad740fd9b01a9342499943fd7ac711} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{cb/d0/a078788ff63e744aa966b08e06e8fecdad711fe9363707a95fa73d33d56e364ab11c0442fd5ec398804313f8f1ef25e4d43d53b2deb18a5ca41c6b75b1f4 → 08/79/36cb8d045e3fa34e2268f92482b198734bc37215cede53d2983fb5c6a276f95f56172dc28f6c67d2a715c690afde883621ffe6f914367368176ade1397aa} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{4f/3a/17b52ebb88918240004bf7e2ade0d6d9e3fc80d789aa358f3d7b55219d9857fd41a8a54be8bb0e0ad909ec7a5ecb630f48b8266e72165789fd2662d5ebba → 09/17/9cf4824c46a9305d64196068a6d5a82199e51f96576bc84f06703d0e5fc385ee6b47bd697c04ac8d47e1474cf164988bc613a173b2bf40c655f2fe89f214} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{49/3d/30f01bbfb2ead380fe26027bf3adfacd6b646ccd12188d5309d9b2bf15c6c44cccc25df723db0d93c4ba111a69029b1403398ecfe0adf19a609dc76200be → 0a/32/f5a7c58ed4a7cb439d98c99a958591a0f4ff45c5f617125fa411304de30d548883acc3a0019355069a6a9d53cf412b8af9b97d146d653f999c3d644948a3} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{67/e9/6d653b20553779a81178dddbd27aa42b41418427b622a77ccfe5a096b2050dd0ed01ae47c6c2135867d76b0fd03eb9a342176168ad9e5e8915c148bc5802 → 10/11/08eade9387900d671d4ba79d5b6215a72dc0eb5191c2e87c5fc91c70491d0a0bcb162533f7d6585dfe9ebbaf0f7bd2a241f67787422b4afcda04704d69c3} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{58/9e/25aee85435b42a6f00fc91697b77bc0ce8f4da0deab484a8850d772ca717c40a71ce604214784c5cee68e33b4416ca0b104f087cbd48c54fdca30ad40480 → 10/31/470d88de4c9bd905904e0adbd2bf8d2639c6b92f28038165c596d6211e81157d0506543aa087e10cd52246703b42d4b011b2d03505eb7bd93ea79d32de73} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{6e/3e/96dd8193d450ced4e2c92d001055db8a557a7129c93437760c28ba674681ec7e84af937381b6cdc0864af8e61525bb091d435e12188a67a03f76953adf0f → 11/8e/2ead78d7af2319605d1d99d888797f0a34232f8643931a92e9cbf1cb0729501ec418f0a144ebd5548d43e079de09240a5d3d2bd5ccfabc30ce1587ef0cc4} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{8c/bc/deb84d99e37c5cc8036f5cdbbbd0c859f64b6ef106ea6a7b10f0015549ad7778595cdf02ac0ba02a3c80de5ce44df48259d82cd644a271e6c86e8e127a25 → 11/af/694abe79c6e32920d8e06ea7f0d8fd656754a9c306f5b5f32a927ca94216218a3c0b1bd12bb8bd7198e03821fdb0825ce33d906966ef29abd7038b44a221} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{a3/56/6325c38567cfd0ba421db553aba198f0cf2b505a06501acf3ef089fb757a2bbf59bb67e1df36f8cb4c4d6833c00648531f44c631c098e204c7143bab43a4 → 16/35/0b5c0bb524f4da4d371abb7fc45ed6a29a6bc858a4c78cc1e973b60e48039e54d815efa9acb640e557a747ec4a13decba35ac31a0579a56eb0a60a11a467} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{b3/50/7ea34581c8b2e2df56de2699b6730e13f8058ac4f61babe426b61f8dd8bae717a929c9ffad542cbcbb25c31300fbc946cf03601dac14d61011140e9d376c → 1c/2c/7bcda9f1604378b0c9a32edbefbb931057c9eff4c0d797bdfa9b8cd6beddcdd3aed3c2b112e3ac6d55889d5cc466f75c96c663649ef0807e1d1a63021c25} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{73/71/a5ba083aa7f9eca6bc683105c91ba4daccb37697d7bfbb5dfea7bab669885722a0c5b9d1bb757808edb91627acb65f496b170de889bb7b85442d83653aa9 → 1c/80/ebade99d8647536c72fe337ef06c94a7e1bb2e1d5f5a5f7f1881ebc688914f8aa38267b007988da749059857901e9973ee896449b4c17cdba95ef7881f15} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{37/c9/7810a1c86a34d93f408e6194228b17b43ae224241e5cafbc899b6c5321b4a76d4e20fe987e64bb4a8749c4cee0560b2045a95baf3a8afb0cd9337635b2c1 → 1f/4e/1a9590c386fc5437341c6bcfc34f6bdff76fc56478e8ee48f15e0393a82e198623a80a5d3102d25834f57bc6be0e3e0fbd87cd4f41e059ab7f4c539b35b9} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{a6/ea/b603e8664fe4c3ad87fea7ed523c54f3357c308514d4cd7832dfe0f5e35bfee13c6ef7c40f69740827e08b47df4b963a12ba94c0550f40de5307e7ee905e → 20/91/26f9b8da773eca0991e8d98446ae2179317cc9d3f46632a017bdc368e28c5c11804b7bb3fa7f37cd0f078d2969425ab45f2f1c3db658f60096feb56361ce} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{e4/77/f0e0c1aa3ba24bc406a621bbf98800970f133c56b5e03c36444059631bf96e5c6f0ad04329110dd46d3c2e3941018e55245c7ba63f39b5044671ea164446 → 22/68/0ada57dec7c773d65c8f4882b662f2cdaab72eafb622092d5cac3d55e8876c7dbfdd4b1f716d50048f22089b6269eacf05b2ce4c6194e5dbb79269b1321b} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{bb/15/f66ef118beafb2001b5604c2f0ab79e1d723cfc9f09cab20279e80f1c912b5e68356712f327dbe77b1a170bc7b644b3d8536f521233ab77142fb88ae5cbe → 24/57/a9dacd0e0ddfa61ae483a7b9bb28b72817dc9146162ebb699c8d32e5a0cc1534de678449421a1fb2e008732601384b998b8e1fa8f9a63b98a0f668e3e0c6} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{65/f9/1d96a8af6f1ee1ea9caba17c805e1c2888ca33736659e88ecebd4219c506b755f1a40a6dedf4a946f10c5621cc94075d8e342a91c814fad65a5991dc22e5 → 24/93/31fd18799cccc28502e0a5eec9023f1680d30bf037bd426b08bbc04501e9377f708d1adc0cf3b06984e9d5dc9bb1b3a6b2632b3f4b80aa261362476e4fb2} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{60/a6/78a2ba7f87adb9703213147b7af7869596b7f3579d72cccd81011a67059750dfbc344ff52f10545d7a729849e0ca3e80d07aa7841a6cc2538faac671c655 → 29/07/8f189583dcadfd2fa4d8b4739124590c4606a458296ab070189386222a9cc5042616f7829ef426423495b874704ee702fc2cc5e73303158ba3e56536e38e} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{49/43/813e4393de46ecfe8f03c00a394d99cffce1594ccccda02832e198aefe67c404e381915de081f8e0c31afd3c8f4fa52e4ff137d46d8c88654e76a488d09e → 2b/57/7e823d092c43196d77053d8ff093233d5c8b8bd03fd66ab08fbfd222e67bb5943907be7991acfab69a400aa2d3ce9e6c81e8dd4a8ceb8b92062972f01fcf} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{2e/cc/cfcfd27ec55288afc60dcf2686429abe4b138e2e0c076d3a69519185d773d879d23faa7ed5eefade6f3b8381ec757d369481c4a476ece222e05a219c26b5 → 2f/ca/cdcea7997f235e216d14f3e810af1a87fc324693c282c8bdad26d39cf0e02564ad478844f96573e5f444f9783d9fd06635fe3ec7d03fde8c98396e67c8e7} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{98/9e/3346dcf6ebecbe21ed476bd7842a9fb81110b576fc48709983dd12c997fd57618dd1dff0544528d1728eaa97cf82cba1c0a15632a0dd62f97e47633611ce → 30/46/6c04e462ff73cc04b8f9f7cf0c4ff3397d99a8480032b0784ee12f032de0f81da854a80ff442ff008ca9b0f01d0c2030a95faedf8d740f6b752b7fbeec5d} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{da/d6/dfe7039be962f1b71351c24356a601de1540c7da01a59415b851ec74d9ee160d6d66f04b8849e0b7c9e6897ffbac250e1e3b180b0ebd5fa54fbd4c4876a1 → 30/8a/ededc7ca2142f4e091e367d1cab5bc5ca8ec4a7025c1461500091be4cb53d52da03a4c75a82e9b4e6a1c923cc21bc9ae9490df81f13ae6fbdd42c5dfe8f0} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{7b/74/c1a33a17df0f42fa7b86af355ecc2b04d03a8d6b6840bf556af3d63368da042d4632af31ea6ebfcc01be4ed32c48f9e0949ee81367bb3da090f7b2d50210 → 34/84/8de3c36b921ceebe9daaa16bcda0647bf44cb5a24d48658b2207b32c3b857bcf8931d8eb2fbd3b49343ddee73fa4bb89a73d2da8e8757721f32b7a50a306} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{aa/f4/cce7fed734c51e40fd271638b727c220e6b420094ceb0bf2219a6b796083b21e16e326bce2856a6ca3406cc3e614576cae038820ed0b94d2c1e2ae8056f0 → 34/a1/1a9d7b35f788c40b40e24c838fb3ef851e26797afac58bc2cd1335414958a21fd19dd86aa3aefa3bf07227b16d7bb70c1245bc7fd0f99fb256a89540a2a2} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{f4/47/a9d60ffa895fc0d49f9f200904e744906cee38c9e2f87305f205aaa6ca5cabe58c426b3d88fd96d3b86f8b96ef66852900f6c540d6056905c4e188c9508c → 36/44/f9ac1adad10f24010764970bf8f0456b605dfab22ee4f6d8fa4531334962981445ca5e806b7cc04c2b02868bbe24adf7ed5ec7e20f79fa5ba19d907c46fa} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{2b/84/429cd760aff6cc326008811ccbc946855b167bd82982c8438339dfa3b3fdde17309290843168c6b1acff389d7cd2cceeea34c3e6ed56709260018436e2d9 → 38/03/2b29794237e3ad645b930e06ec1e1a1fe35fc961e9d551f2c50dab3e67609f8a88ba018721dd633f3e91c38f722f7b5cc7a6cce0cc2dd065d3330b7476db} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{3d/c3/3b02b74eb6ffbf0ec1abca0488f93f331979f4bae350bbe62249aa5f98c7725b1af40e2e040100f100470bcbdfddcc3bbffa66cbee2589abb311ebab6730 → 38/9a/d7bac97a8592b8803344f82b169cf4c6a06e0d21286b9688c3ec47019a846d77c6bfa1c4cb060d457f8470f2136b95a95c4095d3c544d3226807700b0bfa} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{23/57/c23046f3dc3f02fc7f6144348c67bb53bb5f6895f8bc9371112e03d9c6c7b2a843922da514d1d9cabf268712e1574582ddd9cf5d10475909409736be6586 → 3a/8b/b1a894cd280ede173451d2616d6458fe71760e9fb57172659b78aa5dab4bc6a59e11c8480d0418c555c713a099a0929fea56758667385f45ed563f25c298} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{06/0d/d68142334f13483ae59211b06a7006eb134c413efb00950562726b2c64ee0e4c18de99c06d1e8b00c63f74cf4772fb4065b00582b68861f9bf2934932265 → 3d/78/1713555ec7168b2790c21a8ecf60c5e5878234c9bd3faac92d4bb650aac3c74696c3e8fa713af9dd1a9c6afb72ea7364f7a997e71a276b00f3ccc331af58} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{b0/21/d24d10d901c576bd1fb0a0fb7510759a40dd1458e16afdb140a6273d77a18e47d8d74ed8367104bbecde8b5b863934ff4f6dac83c2c0b510059344f22549 → 3e/a4/e95631c7aac8f4600c4f34052e21bd1b18937c2f0ca49817f30118bde3f07ad3ceb79c28cce405bb82784bfccd0d5857700a8a6232665bfbb15d653355ea} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{7a/93/dc78188a47f9ea3500e00d563db8cfe4f54e820666aff373c9a3512515534d742cd4ea3f6372b803946255d2de073b16d2f6c2beeff9ffd846ae15f12941 → 41/e3/3514f984ab0579180452423ddac4e072f2a80ebf4473fe8bc130bb01f60516a725c8ed5d3e2db8b2e978c29e9ae9e4d2b2246b767f22419be13977ff912a} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{0a/70/ddde97f8b4c7fc1b7ea79af2bcf02d4aec96008ba567dbdcc3453c75a5b46cb9b6fdc4f3c2ed4d4d8d943b6238e398eef2866e79f20346347b38146992e7 → 54/79/dfe1466e6c2878cb2a5385a6cc5c8e707b268bb5860a687adb988cea254ae182595ceb22aa7bbf209ff13ad5021a94837d565f4fbe608efa38630e6c7d09} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{95/e4/22275096002ba75d9a580650afdc1300d426d5586e79df564833bf832917ebb62cfce81d10f4a6e153ad623688b95170ff59d0107c4463fabdae3682cd9d → 55/41/f702c425e3e0fd6ec70a011fce10eff9a9d4bb4efd21dc5fd4eec83a2284042d84306e2cfced5f83a5167ac6b55fec3028cb728fe944e41dd2e70ee51957} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{69/20/9aa5f56d86e54ec67b10fd54852c6d8da2b53c285bd13cf5a11a687366fa400ddf6dc3636c9f7a649cb7467281ee381a401d541765b3110866e44e93850b → 55/68/52a1ebb634b877f642c88dbaa6d470ad72d32ed9d1049a5012707f42c5fd74b99553e26821bd09266649c1dc1fcd3ed4b1aa24becf0b5e88516e63e7382f} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{52/ea/48547f76d585dd8d3dfd0b6b7f6e7621e005ba8f40612a3a8f1e3ff0a26a5878ad01a0b8d92496899bea876198bfc716e5cd14e06399ced3ba4d476bc4c6 → 55/94/87aa53f963c239f06d178aec1d9350ee183b9e1012c361f3265b3e13aff62fdcbb480a9577f375455251bc657fce7d1de78cf042dc8bf9a6df3510ffe887} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{5c/37/b27070306dbb7f37e92a5a7b8164a774c633c009de005c95b3a3011cb1a9990495862cb9709426548b368cb6b291d88356e0ac7edde8df82e1d3bc2102da → 57/8c/dcd9f237ac2f28fc957521fe8157034cfe2b959d8ec3449dc87cc1a26b5de94059678d53679065ff6cc094f8efb9b5cf7e47973ea7534c26a75253b4304c} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{b3/8b/1d898c8c4ca797b0951d4f8c25557655d0c0df1bad5671afac40571afee4a31b156d03d55a8a7813a717f22e8b9b7af06d1f1f51daddfa3c361d829f8df1 → 57/e9/2ea5f9dbf3295944d88846d3aead9fb2a14f4286474cd00eee64f0f66c80f7223430a95aecc77513d99faf92f2bddae976a53d25d58b8bc7fb439686a351} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{d0/e2/da095df9787ca718782801649f136ac5b582a8102c5fb640ecf5d1954b9945b41f250fb30bc9b37efc827203b7b99abce421c80f4e214d148c69f2ab5bc9 → 63/04/6794cd63db793eee6d8142304d33b235e765873087736d5449274414578cc3bf853040552eb35f2ab57581ed7cb8689ede03761d7c9483060067efb5da19} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{27/72/c7f94c045849ce2432c9bf4eee0b301b1bd44a084b39480e3ebf6d6fbe52a1457a29b501e26b5d0e2ffd8afa100c5a91b3872e323fb3af4c3a31405ef01d → 64/f3/f1092a07c152675e821630302ade1fb269b294c3289e8a8e3a5f90e785c0cad0a20191032e251aec9d6b3a8d1ff53dff55205fcfd45d1b5dff0d9e1e508a} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{57/30/341b592a788a1d7562fc08d47def2be0853cf223dccc952a672a4eaab71da1a6e071e5162c41f440fb20dc6f373e779250f7c84a17e8ee4e84de79c04980 → 65/6a/2ad5fad4b8d98220e17e71a3f3122ffa110d490ea42fad84e27eab67ecf3709280c784ce7368e3fd802196459051005d8b03dc3c9f5f778aecc837e96552} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{bb/4c/6d88042e2e7073dbacfb21c21fb14650ab801d0467097aaac28e5c1a82cec4877b813ba6f0e8e67f52cbb0a1119a2b5b39f7a70b3ecc9c3ebb1cd17b05b4 → 68/11/e1fa3f753e25a849756c89926f0de404b4f9b02a12c5c3196a4f2885c1141d6c13518c7c0d6427c2b9dae13f5e894eb37b8e9deeca539fb984f760dac521} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{ff/a0/589342e1041aecb5f910dce1dad4eecba29f665340c653928821854eac10b5b6fbb63d3f823d1532011b3d9b2b8b7fca1110c352d8d026a3be546a012b4b → 6a/3d/b48cfa29625a244513ef660f7c5bd54f934f75244bc8e91827103215bb87613654d9fa198b69bbc3f8c5f45c5b388572471597b9c017fdda330ae7a6a646} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{91/67/eb6eeb8751e350e5e3fe1a5dc67916a682a5a702b10ea89d65918b0b9b9ad72992755554a9159059735f7b7bf5cb5921123f6fd27d561f751ff3e41cf9cf → 6a/4d/8b84c2f7ee9bf8501126af833f52af7f69d8bcf01050ad5d4b0236e73cb91ab3cbc81e49f9e30af6dc6c1e6e0f1d16ae26f6f926ac0227b9c218f0335a65} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{f7/19/a9b2ee32744fd1f17525b0156f875f7eb2a32741d8fa913f8e8541c5d3b3a3beae280837d8e1efce1a4fd8c41f29d8f54570164c3cc413c97cfd8b2968f6 → 6a/e8/4cc6a6830c7b5e8d95241dd38754e48790333af7344cf90b82d2d039ad3715e59378e8255e0a93051be3a8dee6baa97fb161361088dfa5508bde39326214} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{5e/36/2f93d07a2abcf93fa4b9a3fa0a21201f287c88b4f9dbb921eab0b2a55fc950032ff9567496fc694447e977fd12d9fd33311ba93dd8bff7b6dc800a5b5342 → 6f/38/19cd40200e6fcc30d846d5f057365e3b7a8f11c6ea9f13b23714aa65344ef5d0fd146d18b9dc1e0bd8e266bd983771ac1618658c14868ea176ed5d6c191e} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{4d/e2/4d51ffcc2963f710a8c5ce8ff3e73893cc1d0a3f13e646c1b48aec6b4672d6e45e8b95c0a14a3533c247164073f655d6035219f72b22e1138357b2b077a2 → 70/9c/1c36005425f1237a5b10da09eb6a466b07689df48b3bf880a66fa9880608e68e75281c2c88dc4ffaef0de001a2d78f927a41fd2f4937402ee257b09fbd4c} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{f3/23/20c4821c899121c917e507890d7cff684840608940ce1464b9fcca2f58edcd092a2c36599a401c46701ae6b6cce19886aa228479faa6bf1609d0e7eec762 → 72/fc/f5188d602e7e782ff72e6f083da0aa0a380f5fb41061c917529555b77f8efc66899d1353064febd188d2c5a1ab0f5971d23d8cd231d8f5ece711fbcbbb7b} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{14/cc/ca64ceff21aa73d27fc33ae5ece9a8cc2c95fd6ed6205cfbd5a0f47104efe047586004632a3bc9970feae2fbe6ac10f24e68e15ff854d32feefde7b95ee0 → 7c/72/12cfba0fadc9f8989d2eafd419a05bac98ccda9ddccba9a7a40337d104d140a39b6ad6801b8733875d6c3e7038e68de150f554fffa473cf65916039ba5e9} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{4c/88/41238a22b51040a8df34e269fa058df1a1bbc7fd3a48489dba0e226203f221326bf31b020d574b44fa4a1887326e7c3671910a54e5151d2e55a67f5e2aa3 → 7e/c5/e36cfeee41f0e4c44508028037ec8229f0a0eb2d1ea72a33a5d7f35a9306e0d81a0f2e54f41630699d97a7ee386c9e65f9fd861efe0c2f5f5f79c4c2f6cb} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{6b/fa/866a3bc68c2b558dab13f0c62c495884ce572746059a514daae1a8bb86a28ba34011135cbecaa77e9ab456b60a67ebde8371c43c09a9142f3397fb38de12 → 7f/d7/acdcbc6af0fe1d481fbaf73a536c7948529546ae9887838f26265254ba614e6cdb04164f131ef1b55c937b393649e78984a63dc324cd2eb5216d7c2d1c5d} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{d4/2c/42aa90d036e2ca731f0fc0aa1f6a6db712cea651c44215132b1673fcfa6bd6c511ec3729fb9a8b413f4455799eaf784eda82cdf94e66279844015a5d6cb8 → 82/dd/0dce4d32606c695a94bc83b68b71dfcb21085f17b48efab51ac3249b98aa2e4c4d0335533c3dd4d54d21279fbbe7fa4c6aca35b4226e8709e9806615c1ca} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{6a/9c/4cc15d80d3991fd5d0250195cf173e1dae9e6da51272b159a15ae31ae76d822e0e5d8a4e50082230436545ad3f1b0e815a656b7eeefbff13361715073888 → 83/a4/077ba60e74ef4f247b2ded090971a0815d879665517b6f9095c3f85978b690726f3e1e9bb5b3960ff576dbd012ff69675673e6abd7c844a27bca6ad8fa3c} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{b7/83/04655df7805b53b85a327decb181755d3fd189578a1793ae0b17f6cc00e3bd9e712ce684bac75820372dbb4dffb5fa320c963b7635799aa0d8c5cd201863 → 87/9f/0ab7c7462dfa5b6bfc7f8a0c6b5946f880170a147482d11f3455cad57d85c78a4ec12607b76c89abb444c841615f50819858d922aab7c64b7a9cf5d03e5a} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{e6/58/04d4f53cf5d916bef3ca84897759814e914b1583d16882eebed13d476e593ee9ede30642b5ef27e4a46b1b3b5c9eb8a9f316eb6b57c24c80744f1a6c129a → 89/c0/a7bf27581c7c21e45387776fb7473d1e5ed62b477b910d9ba9d9abcaab80d9deb9d4af25791028f48c21fa983469f3e746b3b04d37ae39cf21f2ebc9b8e3} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{2c/0b/c862dd7afed4648a524089fa7405478bd1258e6c42748d2dfe3010005fed5ac3e749952b1e1d6abeeeb46730a18e2701e213ad02e18bed4c303b5b50cb66 → 8b/c5/2a0105b597450ca098a05fda43aa020a481c8ab87cabac22d46202e88da6fd24b60d187a4c47e1d7d247f96f4f2caf24801c7c67188e632b2050805df797} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{16/a0/4481a6e841beaddea0bee823de1cc494067f6071b43ff396f8e8c0f5271b315ea6447720d29b8f8d6d1231a91896ec8013cbdd9b86cca7863ab3d9dd32fa → 8d/43/5c2b4c065a4d5d9cd6fe6125508bf1dcb628e0e68a6c5eae8233e8ddefd19d55e8ca4bb30713f55582ac5c9a99605a69e44de39ac19fab70165b900d3e13} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{57/38/d253825122f934d838827599ec834a0c54ebecc5d42d268a0051358607e4d18b5041bc8bda2d98d660e57e244a11cf664fb10b65e4891fbb935ba65f4a97 → 8f/dc/8fd29ab5aa4ffc65a4ac7ceb0ece6812119136fc8795caed70772af1208c6aef21a8e213bd0f31bf209a5d06a235c5e5d56db819a7ae7595a08009c14704} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{af/75/8b3a6e32007a713265bd062b238c9aad8704d30693eae988a12bbbc504ef01972fd63df9b7a32aff847a90455a71a278630bde5f2f6fae0eec7fc49ce6cb → 93/e4/fec1afd63748506e1203eb5b099a854224902875be87fb7a3da3f1d27aec367d13d633da395e1ae11f526444585e760d8deebb689c44bccabdd9e856bde0} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{45/e6/9fb994ee5921b7edf3c70ae122c2c0633ed540c9c2dc6e611a103713bccb8482d5ec8a6ffc1d3e6d174babffeee39106565ed18753b2e07f02be6a08a12b → 98/41/7dc83aa819fc89545b93a6dad2f26a43ed7faddc263ef5182f8ad6fdbdcf8097091315b3e80e8159254eade3b1da98e752539e953d7be15cd73c9a087284} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{b7/be/9e279ce4256c0779579e02a07de6918f5788117cdea4e1adf43c0712b690650060e2d86997289ff9831be580dc9084dad20c34ea23c493677e04ed286779 → 98/85/486a8daa8958e9b5221e19d4fd9b21f9b6d2122bb346dc08af4c4d6a9ffac220bef2a849190e79814e270ab028cac595de90c50ce5bfb4297511770e3c27} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{80/e5/44c6a47cbdab9e49f1e550aaa31392c224a5a6ae9b809118a0fde43a66bb117cc988afc56fd82d3d95a8063414d357ee4f002a4f3871820457b44e5bd68f → 99/c7/f9fc7fdc5fb126898a77419645509eaf8b933c237477ec4f773cf381c80a2e38a9ef7a4f51ff1c5ec0d99f5d7c4b46d40e0864e2f4f749206ce02c7e09a1} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{89/f2/8d91a5b3b2db5c2bb8c417c79f39925a45b7043a785c5355cca863c7bd4394dd320a52396aca0b133a0a340bcd435564988c7608917ba4baacab5890f20f → 9a/cb/9bab8b585a3a55b8563b23559b7f1713a7470e64df4570c611182bd52dfe494bf32ae5d647934f43fd31d80371d4b539c86ecc2917600963ada1787942c1} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{8a/09/8af5bbd12a1d5d7a3f27a32aeb2b8f62cc0bd9121661facf2e1a06a860ab7657eb0c4152a0d09b60a06e135d5b29a239670480e84a94c2efc7871b9118db → a0/57/13df353ce9865506eeae2ccdcda90d2c4d5af0c41ab0df06df84d34df1a4be9aa588383009f2ecd9a567d8fb61ea6d1dff585762df3325b2c86507b8cb43} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{91/f3/3663af3af1dd2a77900ed45a0d4b378fe1fc0b08b02df5d061d1330e4dcec68d0712265ea48e7c726826dd56ac2b05d3d48a12b7d853b9e4941fdfe58559 → a4/47/29944170c8d325c25b32de2d539cb8e8abd809e253797c4852c509172f0aab55df9e4fab875b6634e81f5cc7755b142df74c82ac0894c6123ef962cbf404} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{5a/e4/c799a05da2e1cd77a097c4bb04d2d43d4c26f439bf6367044dd8082269de3ded3ef47a7e9223dea06b7c7cd184332f201cf64dafc0d56d12a94a52e231e9 → a6/b6/f8052087dbe8bd7561965a4a841f9469cd7f3f331bfc6aadb810e870bb314637292b8fad3b5480dd5f023dd59c28f82b5a94c0a35a02160733f282294935} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{bf/ec/dbf113047498481238420a52add348207495d8400c0afa7d435f198c3975f45c7aaee3b7b4e51939277688b1f05067ec511f3ac13f3d7d53e981ed1f94d4 → a7/c8/d3a6961a47ee6136480352e68839fd487dcec8ce289be75df6f212bc49f703424de6dc0eed87a3855298651d4171df66cf2b5b3802d188c9ccbe2a0db388} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{34/38/f4fb6acef5a304199d6c2d5f387c7c60b0491f552d37f7c894ddb90507108884081336cc289f541b73c306a4121308406330522e007d7b723122f19bd4cf → a8/d3/2c9b5f30089b33901bf207103051313c73c48fd88dda91c5601f2e115f0f6cdfb9b466c9fb08a5f3c03a72f190f7179092e5f60f6a12fb6e0ac6440745a6} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{80/b2/c826ad1e192e84896cd098c984deebdd90bad3b0b36b25f256da2f9acb50ff25fefec4646fc09b2a6f3436afc679b449ab0c2b13fc89aca1572f8fd918d2 → a9/06/4996810676eed8f07d882ca0790f4feb8102b6b2160258e6595dde4686153febd5d97156c9981046ef3ba177fd6cfcaf3d05153bdd7a33ec391a8b9da3f5} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{f2/9c/3c40e3a2ad5b0f416a2ef8405b5d685ee4006ffe2ebeb1eed6cc9572abeec428da2665d5fb0a33a7860ab07d5790d3ed097bf2152d1be5a76b7c65bf71d9 → aa/84/f9fef25d9f3d434dbd3f5d5f31712a1eb60ada754a91a0be6ec5386cfe035fcc4d368bc6413fe2cfcd9baf8c53b95b9f93d6e71774716445bcb64cec9d18} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{7c/8c/4f9b2696a790ea30770a59dc67ee650522532113631b8615f8be2f949548dc3855c5d2b05dd3797982062b37dbb19004562b8d978d5a4c2121b49063e151 → ab/fa/2a333dcf9e825e0831639b147c235acad355cfa76f5028ba0c0a65cc6e42a025884f86046b2456d53cdaa77d82b33818a3e3be2ed837b77918a0bb1dec54} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{06/6a/63bed5a886c2e0b4b2d2768e93a7fc6d795e707cd97026d80576cf2d642013efd9b3aca3e7c67117527542b4586b8a1763790990302f60a45b20da99c2bb → ac/fc/1c4ec0131c0ce3e2e74d7c1c54f546c4367a547139ec208b6d85c24a9335676ba372a3b50cb2d612531950ae6df6e9f0ad219a6594f57bfca117591a69df} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{e5/6f/4578d154e4c6451a06368fe8885e24f412cd3c64360545b530e9de8673a2e314638e963f61a8c8e04f14e81301aef7094f2ec21eb959849de9fe84aa823d → b0/78/14a008d4e0d308fc05d2040acacdfcf99d03d11a2fc8ba5d170ebf5352809ec0f875353d15ee99c40b7f0eb9933ead2491c5a13d3d561eca0fcc63687f16} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{3d/62/655b99dd1961d4c7d8b365dff48baeadb7e7f29a506d16b9ff1562263e33e4eb446ba0dd08ffb9b0edad830f39a4c07b5fa32da4c527979b599c489aa490 → b1/ef/9c1aed181bbe7301eb2acc7e7c4bdc521481bfd8df3fff1847b155968d85cbb13d1058528ea25745c74ba7a9436e839fc527d86ec1344374b5c320c83178} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{ac/a9/8c41a0f537e525e938900d08023e000c788991925a660d1ec34e591c637ae190fb77a8d98c50b41404e7ebabcf791aea2de1c51db97c24854c6aa35024b9 → b2/78/b1646590f040c36f1eff603427075624bfd174e0facf74e98211819c5b8474c0c644d2028d3e018a31a83140249a292533d3cfd2dfe40e99fd7cfd3888a7} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{57/31/1663b5595e82afc0cd9422503f3fe7be5091376351441125636de03be5b1f596293e204d87f6237c5e8a5f504278be7262993bc1f5438f59adafd09b4db6 → b2/e1/a64c394c12e8b08ae8ca21e5e265d5aad8fc7b8459bd3fb555ffc85e17b3716d87eef563305f51db79c17f17ff3996b5a1f50b2ea6a313cefc9c860c7daf} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{0e/d2/e21df179d629ac2d22af15812cc197eb9b8cbb672dcc6a0e870ce36cd928687628a32c6a0f4a499185370e8b7da3ffe1af7e3fe6c88ca779bc082b85f05f → b8/2e/492d9084e00c2a325af74473c4d519684cf1eed4b2c13485d3cf27d1b061ba0ead598901fe78500f6f1bdf9d6e7d395e1586e15a3615a47f9b86cdabc781} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{bb/43/8bbe8d4c6058f657e0df3c0dd43e11aa7f9089b57d5b4703b4f4744445cee7e5cfddb8c3572c6386132dbef96d6491cf98b67039c291e9b2efddd3586ce3 → bc/49/e640e5fb024249114d11e8fffe006c071afd074c3feb719ef588d2b84175bc6ee04516555a5e2203f0c6bef45f4c973eba6256a89fdf26f7953bdaeb0f90} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{9e/41/9b882514601553df947077f1235281d8d4bcedcbaafaf9cbc6cccf282ffaa46b8b499dcedc6b3ef55700f94b2c7be82876dd39262ffa85168466bd0de258 → be/49/ee7d634652013e6f1c0fc114892602d367d00abb98beb6d9499ec80fa7503ed930550c10a729d84262e39f0b24fc17d8b450ff671558d30638b94b627902} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{f5/45/55d091ab8e28b7726b21832d7f348af2fed3e8d2d843bfb2a2e38f6296cefd3c7629422d6575687df9f5929ecd5ef3999d349da1c58ea2750e828081f8ae → be/95/5d264da2c80b7ad049fcadef5867d9644e823b204ebe3242b57b07d32f43fd618c61f7dd21d6d39eed16eaffed1a28e6e4d7cba8156aa36b612afd514392} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{48/fc/2406a4d6391b504ade0d64af0412e14b057818f9cd5d5bfe810e43d43b5029b1e10f471de3e0798af635a0e52a812b3f105bea1fab6bfccfb48c1e444689 → c1/be/8910d063ec106cf22003caa1cad32f0eb4e1159ef7ef40fb4be56390271cdedc82da81f6776abf4de0d6530a0d57fd138dcb4f11155ca5b4f80726689271} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{25/0e/b5c3c07c87b73c9405eab3b8c3c4bb1a13e98f54e339fce78773b1c13860029977e77c538cb902bcadbd8541fc1d5ae080d0fcfeef1c444787f4ec03bd53 → c3/c8/66b50a9a6a806e9d7c22c42ea0afc726a3b60ac2fcfdcf47847c8a0d3350ece7d7f3e049b4d976021d9cfc6f3121fbdace49cacf014556d05e961d389db5} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{d0/7e/11290e8d9bae2a3dd7dd2405a3137542f59eecfe7fb82645b9fcfb02a2eb0bb0c8ab9969e4e3eac8bfac3d7da20032b210d8200e3a32c58b7cf8e2708562 → c5/30/1595570d719259c855bf0aa46b6fb2367e165ab6ee0a2ce670eb89ccd7ac536fdc75f6d912332d769dfa620de557c5cc1a30eb4d5558db7464ef22a95724} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{8d/c1/51ddeecc23463563b701181d39e9ff64a13dabe56559da8b7f6a8c3cfac12b62413d6fea83b779e99e526ede76e542ddd3b72b368e61446d1d4abb936b65 → c6/03/aaf7b58b613c81e549d4c3460ae42db9e3de5ada02276476562bfaa2fe43fe567eec9110cc49bc1f40b3fcad13f930e41d5e0902849c72c2f1793f020738} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{0b/f1/5e5e3949fea13fb3b88f4284bfecb32af23663f2926cf25a75720eee40954dbfd29637850b480d80dab9646d9ed6e47786a5ed828d241310a11c1b7fa9dd → c9/3d/e06b259dcdba9557abb3679f191d4a666c2047c18dabd46cdf3d97b5d885a801e70cd4ef22d9117c3fc9a316f7b0607ccfd52f4a63184266ab600c96541b} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{1c/51/87df9a6eabd308a73928e49206ea29f3533dfa56485645d4ba660ce94f90a142e84aa0aefa9de43c11a2443a707a07088c32ed27f98d36b67669c2d84ea2 → d0/e6/a83b37cd8d59a5b31b72a2198f557fffd07a48be16b4584719aba30578f0b2da68f5c5a34cdd58d720e9c27fdbeea4c686223f2c1ed0e29a98c52ac1118d} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{bd/1a/f9bfc65bdba3a2af4941ed21e59b8fb863c9324388ebfa2a0565cdd1974e87f9d8e63963a897e5ac549ff16197075ca224b3623ba634963903241a1b4766 → d6/bf/cd64262ef40b0a7ef8e50dc8c8b505fcf37e9978780a2699b373f7e950997b80bdef21cb227dd25cfde0c5add6df6f38a2f3729bbff9b328babaee36b011} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{86/6c/244d5aeefb542502e6aed2726e68e49ae9f3cd28f08a6586eb698250c0c73e6742195a16a1b8b948c46ac0ceab006aaa44915e3cb28d0d1cde3111c9af37 → d9/d2/d474d570b8da6c332d8e26a259467d8331be13d80f74294c5e725a0ff8ae03b6b00cf36f82400cda70ff2e72e491ecf56793584cb00282cb871f5644dcc0} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{2a/b1/1bcb3700d18d7969a457b2b92dbd70b7b3a011927ad88fe72798d35c5c9d0a027d26c35438b3789ad14eff0d28d6132d863d08635f8b7a5bc970c3d518f3 → dc/38/1cf158f24d3cc82a4a5d690cb1b1e71f409cdde66b0042bd7dfb4b1b235b9924ce0c8ca23cf0f9d267c4f84cc83574770eea35a11bebb6b5968519c370f6} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{18/44/8770cf6a7878efa58671ec92d50206496454597544f50810c3a4b2c3059544cc10267d764b9b2b5f6ea1435924caff5098796b59387ccd5db03ccc1d06b6 → dd/7d/485f29690dc7384172109d1c27b45df879964e337de6111d920af7ef593b90c7874fea7b9dddbbd380658b7c99e4b316b7dd72acef17d2dc03e7ab1d03bc} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{69/6c/a578fef47f64190ef2c883319b0fbc60394878a72b80defa25dc2fd7868e8207ca33c6db88885408cb29454a3b9ae6531d0f97d5df6cca40dcec7a2a9abe → df/a7/0a0f5232a92ff1989ec720673974de3cde28d4359cb8ebee9561210456f8436c3ad1e66b17f41882dab1e222f6b2ddee647478a7ae7c38493b8d601b57d3} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{44/58/0b0c3f0d1a5bbd1f621b447a3b48f5d43e9821b388ccc68832432c9a74fa62387dffe1a67cd63bffbf3948a173f5c2c7cd445cf2ab4b6dd95edc7aa67112 → e1/a6/7d1335fad777276700e9387a4eeb40ec4fc30d7c559a6b46738ce8ee8cd58312a39438f909b5b360ec3973f7d4ffb6ce91cab7f37f5ccc40255e5abd3d30} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{46/0e/de5a6d93b4a26dd575470ca629d56e23b7abe6bb5dc68b69bd265ac5d89922d25c1762ae1f05e94cc2b1f60700a5c616e4a4f5ed4438cc8b03d5407abfd3 → e2/ba/5876128e8aa37e9882a05d600b6d209bd8d710d3a9d92721d4439fe03ac6bda86b125573aab206dbf7595004d6d09c3445261e696238812ac811e143cb2e} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{02/11/373295809d8f3bdee1d0def6ba87a3d406352e00494e10e090a4a89ab52187ae9751a2a989fc805e43cd3bdcd8d6b6affd2d3139e8dd0135b6051613f9a0 → e2/f5/a01d3b590a5da10f5db037950160ca68e7f8fc5704e9ffb54863a8c85596da31cf303a1affb55a693dbee6937a1b2a4ae7becd746155dc69260e3d231d6f} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{f9/70/e40f56a0450cb0d7d7b37a182ae35b2a50d201947db9b279e66acd05584dca6bd96b2e3435599b8208ba572337ead804d668b80fa3ed205fff28dda8bc16 → e4/98/839bb3072560d7617504635557c4ccabb7e09bc6a8685245848fc3e22cf45a67f5ec44555a66666165451278f167ddcc159aa297840991049fbef8fb2c5d} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{97/66/e52b15d0e925e89787adcfb350e9cad3ff7712043db059a5b43586deb7ae03416ba9c6fe36ab02e3eda5afa26cfc5c072b9eb8e1764f6fac10a23dcb77ff → e4/e1/0db0c495e61f5781fb6272acb5ae65fc59ccece884544eb3c658f0f273fd87679aa027b1bb392c1f5492eb6029458ecafbb4004dcad803e7f2f4ddd6d387} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{9b/3f/98b24dbab05888da1ea774d389f982d022e4988f7f4847f0d160fa57d6b29e0261aa3b31c35e7cd875584809e880d5b40a19ba0644ac6f22cdf143d57d14 → e6/b9/8f63e4caef17184050dcf98475b4cf0d7bbfce53daa16533443d0e2d9fe56e44d70f7c64884e51c9d82084258a0383ebfc2643a740d67a6f21c41fcdd07d} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{bf/e7/1ff7377f6bb49f1decb6e7fcf84288a064df6c0199ffe29c6ab130799660a27e5fb88371e40fa9bbc78af5521dc98b5153b576d5fa6144028b3fd3fd56a6 → e9/61/c51ad664da97c31d192e951776bf392ddd3f156aa732db8e01c341656902d3fe601e5b45cf18e77e9c094f92f23a88a09c2b159061b22e5c5b93cf49d9c2} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{61/31/10da39d6b3355d93b21fc26d04f138c4c2ef62fd71dccb4e9a284632507cb1c0b72e369c77ed65eb7b8279856a2f5d324aede450f8f3bbb296f7beaa6a3b → ea/33/81fa462ac433222b7931ba3c8cba11b714d1441b8a4d0e599e95b20c621f0576edd65b92803e98ab44ba5042b7d4fb07da160547cef9be3bd4e18c7236a6} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{cf/fb/7ff27f0c4d55a3e1cd212577a197bf9a263fc3846d76fbf271af94e949e93db85b6a14c6ebbf3f7b363c245463e98362a4355ab7ae986a74fd5ae352bc56 → ea/4d/834abb787a1824519568a52862bc70f40bb71665b17dff8d07b78af22626da32f397e7935848ea2cdf858946be61414e90d802320ffbe34a3053109393b4} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{ab/09/80daada9b896d79188507910c524ef91605edee1fb85b87edb0dcfb08da514fdea4983458c6b657effff855363e25295e80b72f4e9bb5a1511770c3c98ea → ea/b8/f1b63f3f5d815b159e8e30d92417394eb7bcdf57fae66dbac17ae1bcfac3a934254b623379fcfdf8fc5853d4ab29613d5ef03bfce0d5e698a29785d105f9} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{91/71/668467c8c3dbf51334e58aaa0176a4b030e50d1dbead4e6182c07d0a900e73af168c0f81f0028bf3b2d8da849dc8a6f1b97cb76bfc8c88c8c78c6da931f7 → ec/fb/3fb6d825206b401d6b19bce67bbe910c3ed6f5925a9308c682ec4676948920c9328a01e1815dc520757e4cd978ed7b709475362f2a4fe776c65fc1d96aa6} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{f0/f5/08f7f4a46cab7a3bc7d5392f8dda81fc1a7c3f9e6d36ca613eeede3ee86c601121d5b2f77654acf48163ff27fd98c8b9f6c1d5c6c73554c82d004a33c6e5 → f3/de/b523034d39d8e9d7274049ff675381166db3af2126531d89834538368b8b9f4a3d2db44142347ec50a662f80a071b6df96765149c10dc9a3034067640ee7} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{74/4d/d2896ee88094529487a1c8d3df09e1abb45630763ba533216b249b0a91cf950338253a94ecf2746eac19a8b657d7f8618ca7ca180887b9fd71b6f2d82e12 → f5/08/16d3830367c1d14ff08ecf2070ea6cd4d3686e81bcb91d4e0432a1ae0e897352af2357ea3a0a2df6e46bcc99ec74888dc54084ce6c1318ef3c86f948c2b1} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{e9/4b/8a91704c870fd9567cf9434df7a618099dcd55389871e805a21df095ad9edefc2f2854c6e88d0a94943c79d5e1fba74f670494d15c37eb8d589fc921a53a → f7/0f/a589d64d7fbf4b7c6f675579ceae4b4e06e3785abcb3893ce0bcb7b75f4f2032a4af70e15fb925327b402fc8bebea14b98477d3e593c2b7b80632cf31ae9} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{a8/14/d5e5ab8176de603e8b47e83090b18c1128cda05466cd540e4ef3ed100096e22b6de1badf539ade426c020a602aa1f47ddab9b12f7e749c3016bf47071d0b → f9/db/63a047da3778afd5b1141d32538cc5b39f76d767f9915c13c10ad32ca2f810bb765a6fc898f2d65df3d872f7df122f7fc913c212de43c15d987f57aba823} +1 -1
- package/npm-cache/_cacache/content-v2/sha512/{52/34/5abe180d0116341d47f0a15a7ecad48cb2fc9f04c5a1328e660ac0d2199d00822a4971057bae423ac63b26fd0ea09944606826fc43f8444a65c650f5cf1e → fc/d8/fc215bedafe19a2f82d4d5bb46042b514ac493826c962e438f18168595b93ab34a61926f87c50078502271dbad60994955427bac927019627d734e8b7384} +1 -1
- package/npm-cache/_cacache/index-v5/00/05/adc338f748bf79ea9ddf9cbccffa8c5f4054e5451496f37637246a997c9d +1 -1
- package/npm-cache/_cacache/index-v5/00/a4/2561c4bd29542a45f200119a7266ed0af6c0127d1713d8426a76afcebc3b +1 -1
- package/npm-cache/_cacache/index-v5/00/cb/84ea144914dd27ee92426713e8733c1963655f77b2b23dca127423ff84fe +1 -1
- package/npm-cache/_cacache/index-v5/03/fc/2e4971871cbe7c4683c40028c9841909eb95da70a8c271cc5e74d2274db0 +1 -1
- package/npm-cache/_cacache/index-v5/04/8d/10076bb0eb85eac4949c62dac26556c750c17b235801520151aafb9fbdd9 +1 -1
- package/npm-cache/_cacache/index-v5/06/13/b1afe0e948c19311bda26082af21cef26f94f55cad61f965ed58a0b1bf05 +1 -1
- package/npm-cache/_cacache/index-v5/07/0a/870046ded9759ff1db8e3ae4aa36da025915f92ef539d3cd476115aedfd3 +1 -1
- package/npm-cache/_cacache/index-v5/09/db/6b917a5246682f40adef5e0b2418e4f1677e4cd44fd697a963fe378c10d4 +1 -1
- package/npm-cache/_cacache/index-v5/09/e5/c408e16d39c9a61a4ead46272dcd3f2cc73539be1f431b8aeb12ea4b9745 +2 -2
- package/npm-cache/_cacache/index-v5/0a/fa/33b8f37787b39b496d4c4e327d6e6c1d59f468f618313987170c91f9bb47 +1 -1
- package/npm-cache/_cacache/index-v5/0b/c4/de5b49df6d6a44f0e13ef52d79599a3419c0fad648ee1808c21623eacba4 +2 -2
- package/npm-cache/_cacache/index-v5/0c/28/4c87c494f76b8f44df08ece092f236cba2a02940b10b6326b5742a1ea58b +1 -1
- package/npm-cache/_cacache/index-v5/0c/51/03f17a0706941bf2285310c7e1cb6092672697ddfafb6624c768d16abda3 +1 -1
- package/npm-cache/_cacache/index-v5/10/16/643d60bb1201bbf3f970d31ffbbabf5279748b0ed32b8966a2874beb9d2e +2 -2
- package/npm-cache/_cacache/index-v5/10/a4/4d04637b9c74b4e3200962b7aa2d7e1650aa732ef9c9350b7e291b00b928 +1 -1
- package/npm-cache/_cacache/index-v5/10/c7/69a75617f1eb0427a348f5bc4c9e67b8091dbe2e8c076c20c4032685947c +1 -1
- package/npm-cache/_cacache/index-v5/11/20/4ecebb0a23a70a1a49205693fe7e819477a3e9afdce98747f6d55a99f1ce +1 -1
- package/npm-cache/_cacache/index-v5/11/cb/2b0f91de06565c83ddce42e4b59bc39db9fcba5ba733a10403d76dd86212 +1 -1
- package/npm-cache/_cacache/index-v5/14/34/7852b69ae8d1ec1c13c8ac46434436302e85ee3093864f0bdbde8d446b0e +1 -1
- package/npm-cache/_cacache/index-v5/14/88/7266de110bc26277730b3de506233b0cc25bea87e84c07f2c1f9bd0ca78e +1 -1
- package/npm-cache/_cacache/index-v5/15/9f/bb0b8b53d32ba6855091aa308b2aec57f802690aa9976fdcc7a48a64c44b +1 -1
- package/npm-cache/_cacache/index-v5/1c/f5/68513b2dfdf84ca23cf457a03b0349cb89f137932ec0685e3b355cf61eef +1 -1
- package/npm-cache/_cacache/index-v5/21/94/518c566ad78afacb599dcff452e67d041797dc04024ce153bb09ecebbe7a +1 -1
- package/npm-cache/_cacache/index-v5/22/42/979b475714e594a0837378b40549cbe6cf60c8391684832b176f8a66c783 +1 -1
- package/npm-cache/_cacache/index-v5/22/93/4e00232684e983dc9546a904ffb04997dda7fc10fb28998bc31da03a85f0 +1 -1
- package/npm-cache/_cacache/index-v5/22/f3/611496d2b405bd2251d043a92496cb4f34efa18bb7e937d931bad1c96fe6 +1 -1
- package/npm-cache/_cacache/index-v5/23/d3/cd6b03603a430788b55dd8061092387d2ff1322452676b01303d40f67e24 +1 -1
- package/npm-cache/_cacache/index-v5/26/00/d320859b1f51f2315dd976e2e52a222df1922a4eee68fa98edc4a548dd90 +1 -1
- package/npm-cache/_cacache/index-v5/27/44/aadf2b66990731e5eae895635531ea3f7090b200c0550ee7a9cd233eaef9 +1 -1
- package/npm-cache/_cacache/index-v5/29/e7/3b67ce9018a5cce5952ac73369e43ca70677b2b34ef9c02d267435810cb2 +1 -1
- package/npm-cache/_cacache/index-v5/29/f7/1330f48086f95c0bc5e9edb6769e6aed919b013ac1c751c0cb473ef431d8 +1 -1
- package/npm-cache/_cacache/index-v5/2a/87/02ebcaaafc0306b392073f1d1a04633b0a77cd7c65e0242067908fe41e91 +1 -1
- package/npm-cache/_cacache/index-v5/2a/f6/ec0a8ef0e54f06d663df9790394dafaccdb9cf95b6a5e86ceceeb55e7cb0 +1 -1
- package/npm-cache/_cacache/index-v5/2f/31/efddc30ba28f899c91badbcd872f5e8d1d981edc8b859acd6cbe01ac4e5f +2 -2
- package/npm-cache/_cacache/index-v5/31/d8/a1c0d9a4ca3a73b1281d4c25b3966ffd3ac333d55a0a353885dc5fdbcfa3 +1 -1
- package/npm-cache/_cacache/index-v5/32/19/716b5dd397b5cad2a4396c5b87fe205d4971171d20ef513a548a940d04d0 +1 -1
- package/npm-cache/_cacache/index-v5/32/7d/7f1cdee9b7102200dfc9c0132801d37b2d797e876b4615bc5eac237331fa +1 -1
- package/npm-cache/_cacache/index-v5/32/c6/f5efec97cd2d4a47c3b5bb8343c78688e539ecc1d1561fbab3adf1726bb2 +1 -1
- package/npm-cache/_cacache/index-v5/34/78/6886c559c91a5b7c29a8d2faf905269d2107abd5127ee8ee8f1658ba4594 +1 -1
- package/npm-cache/_cacache/index-v5/34/ac/170e5072d0cd8065af0accd5db8e2d84bccdeb33effead99d3b0b52afe21 +1 -1
- package/npm-cache/_cacache/index-v5/35/24/adb625edd745d166ea0363eeedd76af71a459a4706355c6e0d15c33f173d +1 -1
- package/npm-cache/_cacache/index-v5/36/4d/ecd5319ea0c408367f689e733b990720ac813fafa3ac39587f40fd29311a +1 -1
- package/npm-cache/_cacache/index-v5/36/77/1c1f669583dacb41d5046be7b85b0fee735cd8d8a0ae96e7a5a93a9c7ad4 +1 -1
- package/npm-cache/_cacache/index-v5/38/cc/aa73b30f32538694e8d06d1991682cc9d58b07499da9554e2a1efea9c214 +1 -1
- package/npm-cache/_cacache/index-v5/3a/03/1088853e3652253ef97ddddb18b9f8bb0136a54082eb62ce7d6b50c85c9a +1 -1
- package/npm-cache/_cacache/index-v5/3c/78/c616b75928b4cfe81b30efff60de5b7fd12d1ef32338eb5424e17fd633fd +1 -1
- package/npm-cache/_cacache/index-v5/3c/d5/5c88b3a75335b6dd5b5b5144c1a1a005fdb24b1695a605beea079865052d +1 -1
- package/npm-cache/_cacache/index-v5/3d/e8/e9ef9727e5339a4707d6d4f92541a33949ae9c7e6a9926d6cf84d7b3b803 +1 -1
- package/npm-cache/_cacache/index-v5/3d/ff/b7f2dc191f665a37be240e4ab574e3708e1932f773d3abae5ebbc52db86f +1 -1
- package/npm-cache/_cacache/index-v5/3e/76/cac1a661b02b2714e590fbc3c700a88705428cdca0985758f8da69869d85 +1 -1
- package/npm-cache/_cacache/index-v5/3f/f2/fccdcf3df9c9985e08f5c2074cdfaec97cfd1c32b78226e7c7475b0c7b64 +1 -1
- package/npm-cache/_cacache/index-v5/40/18/8c641ab4332c83f2c7387bc3855050defba350b0796fc247ecb4a84de6d7 +1 -1
- package/npm-cache/_cacache/index-v5/41/77/bb910a7fdf7c84c4343a68269328953de02859106a2dfb957feb22178d22 +1 -1
- package/npm-cache/_cacache/index-v5/41/9f/a4e9413542a1095da1906c6b3e3c7e1e254246090c42b419b59512b3b199 +2 -2
- package/npm-cache/_cacache/index-v5/44/dc/484af8ba96dc6aa7f4295e6a7cbdad563a9f3ca686b07d8cb8b652948632 +1 -1
- package/npm-cache/_cacache/index-v5/45/28/92ec847182e8e00c2fd6b6170697e7ff5da75cfadc4822bdd73c1e7c0e85 +1 -1
- package/npm-cache/_cacache/index-v5/4a/32/732d98948bf6ad03f44f78b8ce808735ee00a0d8cf3842e4244b20fda532 +1 -1
- package/npm-cache/_cacache/index-v5/4a/67/e43e3688ff5a0e39ebecc9b1faf3da545adcc323933c0b8355efa02d9fe7 +2 -2
- package/npm-cache/_cacache/index-v5/4b/47/fe08a251d6a7e0f1c077da3b1a9bd8d1962fa4e5fb1174a0e9f11fcea2a8 +1 -1
- package/npm-cache/_cacache/index-v5/4e/4f/fe26e91353504dc7c86f696a26f3fe64e74137cb91b56e74b10526fba6c3 +1 -1
- package/npm-cache/_cacache/index-v5/4e/fc/b5cc16501063bc1631d51a2e3e209c9325794566322c5a2ca7f2d99aec07 +1 -1
- package/npm-cache/_cacache/index-v5/4f/9f/f77b80d259e42a54b66378b3ffbaae7691e9fb8ed59e990ff106d5edff30 +1 -1
- package/npm-cache/_cacache/index-v5/50/ec/7f611a9c669e5600fd64ae903ac13b283b115aaf5ab4fed5f0764556214b +1 -1
- package/npm-cache/_cacache/index-v5/51/09/691188a6b343b62c49c4438350370f812b5af3d98ee75bb43a8a070b0a51 +1 -1
- package/npm-cache/_cacache/index-v5/52/64/e4dd2bf213ecf320b0ccbd9a71550e165ba8f2ffc9796e22f922db40f709 +1 -1
- package/npm-cache/_cacache/index-v5/53/b8/b33f9735e0f4d78e36abe835858c2a91cda40783f4fa0cd6b38d235170c4 +2 -2
- package/npm-cache/_cacache/index-v5/58/0c/4e22c1685937f0bcf3d3a17e51e8c73cd87590f53a14e2b99cbcf3baaeb2 +1 -1
- package/npm-cache/_cacache/index-v5/58/62/394babe1661820f396afc433e46ac82d24b89ce4f42fac01e2834fe7aa50 +1 -1
- package/npm-cache/_cacache/index-v5/59/d3/159f146a8a1dcc3a63164ac6ad640a458fbf25c741d01602d2ac285a29cf +1 -1
- package/npm-cache/_cacache/index-v5/5a/22/51e204d6fc431421ab78fe24211364b0d0085dc5a8df868f5098df3f4062 +1 -1
- package/npm-cache/_cacache/index-v5/5a/c0/65a20355c22c0e5bd52cca3c4cfb1464fa420a3329f3678a48bfa639f668 +1 -1
- package/npm-cache/_cacache/index-v5/5c/d9/f3d4f594532d3bdc225d47afe10408570dbc58d00aca12be82ea908e040b +1 -1
- package/npm-cache/_cacache/index-v5/5d/66/0136dda6331d3f465c368a63a37fc204a82ce9c02bdbfd3aa5cbfb09b025 +2 -2
- package/npm-cache/_cacache/index-v5/5f/35/c5b4cbb4134d713aa3b89e08f875469a387933d8afd3322dc57bdee755b5 +1 -1
- package/npm-cache/_cacache/index-v5/63/c0/decc4ba67bb67abf948ab2b443e12dd4798181c5b42e912b958c413b0691 +1 -1
- package/npm-cache/_cacache/index-v5/63/ec/570fa50cbe8043ce123996fe16db3152436a786a3234437ac9fcfa5a7d48 +1 -1
- package/npm-cache/_cacache/index-v5/64/63/a614493a2a5ffd13d9041bdf16535beb3911aa0958729cf279e1771f3f14 +1 -1
- package/npm-cache/_cacache/index-v5/67/6c/3c138c91ed61f14e6509f0ee955b1c72a12bd7b7c77be434822a7c42dfc1 +1 -1
- package/npm-cache/_cacache/index-v5/6a/75/8271b4673a3907eafe84143c1ebf96549ee3f41fca09aab6c330f7036345 +1 -1
- package/npm-cache/_cacache/index-v5/6b/cd/2b4af3cb246e94de48f5e8db73b0791ee9752114ab406ebf788b9888d52f +1 -1
- package/npm-cache/_cacache/index-v5/6c/84/0bbc09c6e788eb5505587b1e6822116df246c7578f1a30c8026e5e998143 +1 -1
- package/npm-cache/_cacache/index-v5/6c/a6/3abf0a3fd196b864eed75161dea408775ae499b295f14deabdee51b6b24c +2 -2
- package/npm-cache/_cacache/index-v5/6c/bc/52e7f6ffb8c6305bb83444f7607924ca0e0d6b2abf074b3500f128fb0b84 +1 -1
- package/npm-cache/_cacache/index-v5/6d/77/b6d15baf05ffecf9961d8c56c81198eccf9b627f994dda8cad2adfb1d093 +1 -1
- package/npm-cache/_cacache/index-v5/6e/4e/af5a6f10d9ea752745b4505fb7c8e1afdf6c24fadb1031c0be4096d7c077 +1 -1
- package/npm-cache/_cacache/index-v5/6e/d5/e14f23d6260baceec17b2b54672cfde24af920d3e9defdb35ffcccb5dea6 +1 -1
- package/npm-cache/_cacache/index-v5/6f/b4/368074d27d8f033fbf6f5aa35a3f7dc7fe7f992beca8a0838dbf604a8ac7 +1 -1
- package/npm-cache/_cacache/index-v5/70/ec/c8674a76e3fdb3367b9e908aefe158eacce3858efe45e31647ee784bf3ba +1 -1
- package/npm-cache/_cacache/index-v5/71/25/8fbcc83880409f1f01ee29428a27794db5b4a050ffddc2f445b67305e2d1 +1 -1
- package/npm-cache/_cacache/index-v5/71/56/174350e7c137d909a85baa52ef63930fc1ced90842393b40b0ad1a5335ee +1 -1
- package/npm-cache/_cacache/index-v5/71/7a/cfb4a4d2cf2bc217b46d6e3b4c4574f69a13de03d76e262b79a9ca51838f +1 -1
- package/npm-cache/_cacache/index-v5/71/ba/f60dd3abdcea27e66aacafa028aac843fd1c4e86bd5b6490dd13fdaa032f +1 -1
- package/npm-cache/_cacache/index-v5/74/9c/409473e5b8efe3ff71fdca49628eb21a43b6e95c5bd64c4a71bdc0153ec8 +1 -1
- package/npm-cache/_cacache/index-v5/75/cd/ffafc14f444980a3e554de95198e9ac8c5a38487ec12ee93d8cf2ef7323e +1 -1
- package/npm-cache/_cacache/index-v5/78/8b/9c1005a28c9efb1ed1bffb8269000bcc14bf01994709e45cec175538afa0 +1 -1
- package/npm-cache/_cacache/index-v5/79/9e/683e2c64a3177cb58b8f1d0fc715e76f4b9980579f1e0427015b3f0ed8ae +1 -1
- package/npm-cache/_cacache/index-v5/7a/73/016f3471eb40039cd19b457815eb7edd93f5165e708e564ff44a8a36234b +1 -1
- package/npm-cache/_cacache/index-v5/7f/56/8c532ba1a8b414d263e39aa65290cc1aef54fb479d4990dabb9f0f3f529c +1 -1
- package/npm-cache/_cacache/index-v5/7f/f8/81eecd47d4600e4de57bd5d57d966750143d4e07a193f86aafdf78056c18 +1 -1
- package/npm-cache/_cacache/index-v5/80/61/17b28d82b94e38e01e2848b39943ad5a6f670ae0e4a13bfcacc5672747fb +1 -1
- package/npm-cache/_cacache/index-v5/80/89/9a37c98128e01f99ec25aa5ea703204a19b762d46bd01afc19471629a58a +1 -1
- package/npm-cache/_cacache/index-v5/80/c1/5f0d8787035b3fb019f3ce0ee84874dc65f8eac9d70dc5727cb54a37b6c5 +1 -1
- package/npm-cache/_cacache/index-v5/81/72/5198576cc33b42052a71afff1fe5b3f99ebceef2abac3c4b0c8ab3aab1a9 +1 -1
- package/npm-cache/_cacache/index-v5/82/4f/935589ebd227b786f6e3fd8cb9e39011c5adf2b1423d6e16c33fd5dad6af +1 -1
- package/npm-cache/_cacache/index-v5/82/a6/bf6bb1103b6a6f8c3cca891cd04f73568918c5feaa42abcedecdfada1ec7 +1 -1
- package/npm-cache/_cacache/index-v5/84/94/ebaab8deb1190ff42935bfc0427761369021116ac4a6733e2d9a9f0fe88a +1 -1
- package/npm-cache/_cacache/index-v5/86/32/cbab75a78504c819eeb2bb06c7bb311704ebb5a861484fd3f8e3e454f0e8 +1 -1
- package/npm-cache/_cacache/index-v5/88/1a/cc116ad228491980498749a8c98efb849662786f4977dd74426f3e6025f1 +1 -1
- package/npm-cache/_cacache/index-v5/8b/7d/831b2479d25a78b98a2adee587db2c6d362c99f317c377b898709e502626 +1 -1
- package/npm-cache/_cacache/index-v5/8b/8c/907953f0508611e8b8731db3f56d2eef714b6cce9de5b087aa7decd0a492 +1 -1
- package/npm-cache/_cacache/index-v5/8c/b1/7c08aea7bbba9e7a8e1a5f3d5c50d1aa3af7f189a6994f413663a065dbc1 +1 -1
- package/npm-cache/_cacache/index-v5/8c/db/d4d1c521c18165b38eea6d9f1aa2ff6cd55fd074b726567269ff441806c9 +1 -1
- package/npm-cache/_cacache/index-v5/8d/5d/6785b7ea2be7c6f6967cd3bd1e8a3a4e148bbcc7b3113cb4dec129895012 +1 -1
- package/npm-cache/_cacache/index-v5/91/7d/785cf0530c8e2a56cf4bb9ce9bf20d756e298d835d56783184997417c7ad +1 -1
- package/npm-cache/_cacache/index-v5/94/db/32b4c1799776e242f06631d6ec0307634aad3703141d8d8ab9c588c41f33 +1 -1
- package/npm-cache/_cacache/index-v5/96/11/bc784a53f33b35d3c8c079b0b1ce06bffa8248f97ab0c7d13554cf3a81ae +1 -1
- package/npm-cache/_cacache/index-v5/97/ca/050529386876f07d9cec38c84189617992b9d7f6fb828b55fb71536bae30 +1 -1
- package/npm-cache/_cacache/index-v5/97/cd/140c3630b343d2116b1a10acaa2ecde9f1df9b8be28ecc143c86181fc1dc +1 -1
- package/npm-cache/_cacache/index-v5/98/99/f0e17e0e38c059d05babfaa47a03c9d8db1a02a4b282eb077edd80c66fac +1 -1
- package/npm-cache/_cacache/index-v5/9a/8d/9e9124b5c1741db990db779dbe3aa90ff4319aa7abbcaf4b71722a6159f5 +1 -1
- package/npm-cache/_cacache/index-v5/9b/07/f828ebc8b95e9b5a0c766d5621f5f1722a0fe949a9ff9740aea1ee73bfdb +1 -1
- package/npm-cache/_cacache/index-v5/9b/c2/f971239099163d00800ffb839bc4fa0e69cb5a8e6956155250e2038830b5 +1 -1
- package/npm-cache/_cacache/index-v5/9c/7c/b41656db310772726be1be8ab5f4f77a82e25f04efc3bbc2a2a5b36ebde3 +1 -1
- package/npm-cache/_cacache/index-v5/9c/8d/0734f9fc48ce6511c2a3b19515c0fcfb152dd078dd40a8c04dd01a8bd77b +1 -1
- package/npm-cache/_cacache/index-v5/9e/56/58b6e51b8d3072aac0d648b89d980bf60503cde2b02f3e58b778dc50cfa3 +1 -1
- package/npm-cache/_cacache/index-v5/a0/d5/0f237f20b1e438891d68a95d4ee986a17c2795c74241b771143decf94356 +1 -1
- package/npm-cache/_cacache/index-v5/a1/00/4b368f6fab8b18540d40ef384e19e71bccfdb58bb2107f6c324eb1966867 +1 -1
- package/npm-cache/_cacache/index-v5/a1/a5/80a8603b2dda6fc55f94a270fc8a490babad3a0730e7bfc71c4295aeb677 +1 -1
- package/npm-cache/_cacache/index-v5/a2/67/59091680a451687e684a6fb82b30d5466c4aff869e446549a4f56d76308e +1 -1
- package/npm-cache/_cacache/index-v5/a5/d0/628432ce9407eb9b1d481981bdb3d6d166263853ebe4651ad081c6c6d789 +1 -1
- package/npm-cache/_cacache/index-v5/a6/ad/d01c8fc46cd6914231dacf26c3b0a2d524fc5c9b68e2bbac2ecd17808402 +1 -1
- package/npm-cache/_cacache/index-v5/a8/a6/c1e067475d0053df13543e8c2a188e370dbd99daf977e54cb6864f7b8923 +1 -1
- package/npm-cache/_cacache/index-v5/aa/1a/76dc1528ee45c59d2e839a69ec25208da49745ae5a3cd5954cb9672eda00 +2 -2
- package/npm-cache/_cacache/index-v5/ac/59/858830b19c3c1133f7b36059774a02cb368163640f95ec2700d442ae9ff4 +1 -1
- package/npm-cache/_cacache/index-v5/ac/62/dde8a3b4f84b2bc210deb541c813f1986eaeb663a591afdd009a23ca71f4 +1 -1
- package/npm-cache/_cacache/index-v5/ac/64/befd04b1f30a8e877736b9af292f6414e7daf7cc5eef7ca388b8c4e3bff5 +1 -1
- package/npm-cache/_cacache/index-v5/ac/cc/fc50e2ee02f8d3c90fef448f4419e67a865c450fb56bac5c3ddf12198a61 +1 -1
- package/npm-cache/_cacache/index-v5/ac/f1/4f591c7f01fa877461db2a467859721c0fc9a62d0985d298463bee0d5aeb +1 -1
- package/npm-cache/_cacache/index-v5/ac/f4/1b4fa464c92b8cc30d03ef86aeaf383eb011e6911f6b7826e4670e60ffec +1 -1
- package/npm-cache/_cacache/index-v5/ad/41/fcd5803f01fdd5597fc5139b3f31419374e882ee5a8da02680f24da542a4 +1 -1
- package/npm-cache/_cacache/index-v5/ad/8c/86a3f4fe11e08795f6f922abe8ca76118f8dee062eba8bebad07b05feccf +1 -1
- package/npm-cache/_cacache/index-v5/ae/05/656555d63c33ebf8afafb81ab5a499db2cbaf78c9fe03920c0e296372580 +1 -1
- package/npm-cache/_cacache/index-v5/af/b1/e91db7c42642e0e1412417937cbb73f3ca2814b6d5805dae3ac8f2840a92 +1 -1
- package/npm-cache/_cacache/index-v5/af/e8/3e6bd6b5863046df6a35292ad9b1216300aaeebb7b45f6305bfe1559787b +1 -1
- package/npm-cache/_cacache/index-v5/b0/8d/ac718808a492ebaed8bf28d37ea2230fbfcf0eb9858575466ab851b2688a +1 -1
- package/npm-cache/_cacache/index-v5/b1/2f/168b7bb2dc936b9fc5d48c41aeb2fcd836ba4e801a1b030bc769462ee1a1 +1 -1
- package/npm-cache/_cacache/index-v5/b1/4b/da2853597d430a4226a8ee53345bcb1216a32b3c40b99489c62ed53f15f1 +1 -1
- package/npm-cache/_cacache/index-v5/b2/3c/bee1c6d717a62cff8873b66d18852e61cd0243cbdfe3a8f510edecafae47 +1 -1
- package/npm-cache/_cacache/index-v5/b3/85/1f7c741e6c3991706c40f23bb4f22c603f51304528efc47f76c187e7a6a3 +1 -1
- package/npm-cache/_cacache/index-v5/b5/cc/315634719049634e60583d7a7b62885d7fa7965ecbab822b2a5482ab0c1b +1 -1
- package/npm-cache/_cacache/index-v5/b6/56/340ee2f010d5050b97af1b59ba82733d6bce38ed281734741707d7d5ae38 +1 -1
- package/npm-cache/_cacache/index-v5/b7/ed/b02cea2d4b1eb19e5be86023fa83f6d8813ca43db8cd5b2084814ae8f416 +1 -1
- package/npm-cache/_cacache/index-v5/b8/a7/610e61d34851733f6eb1819f28adf0abaa314d8463d767f6d6ba58a688f8 +1 -1
- package/npm-cache/_cacache/index-v5/b9/e5/048be7cf8cb86be8220fd5e11221b2ed464eabc69cf1d6b4eef390b43d54 +1 -1
- package/npm-cache/_cacache/index-v5/bb/aa/0e7a52a453e978d003924467fbfdf0e95de72af5f980a194337c5465d681 +2 -2
- package/npm-cache/_cacache/index-v5/bb/bb/f3f28681f6a2655774cc276a151e0a63a851182f267fede249957e754a56 +2 -2
- package/npm-cache/_cacache/index-v5/bb/f6/55fe567f91eeefe92ee53de633799f80aabc93f9f8a207642fcf22c7f5ff +1 -1
- package/npm-cache/_cacache/index-v5/bc/9f/208ee3981de0cba7ba79204460de5bc240683f0f91e25407b6a8b74c9715 +1 -1
- package/npm-cache/_cacache/index-v5/bd/2a/25ed44b74b78a0fcd39d3689b5b7d6b710d8e5d790e3e3d137b847b118d0 +1 -1
- package/npm-cache/_cacache/index-v5/be/9d/6c4cf469c16f24b89f9012983ff704d64df129af84d59d9fcf8559d79df9 +1 -1
- package/npm-cache/_cacache/index-v5/bf/8e/f3623859857c3a7e3396769a32e06e44a524298fdc8ae51fc311c3057108 +1 -1
- package/npm-cache/_cacache/index-v5/c1/42/e6ff8e42c165eab6246c9730d0a2fac918cf384f45cc7d1edfac768c218a +1 -1
- package/npm-cache/_cacache/index-v5/c2/ba/9d9258ee0c2ab75d8bba169b80753c4dec8a7f5eb3674a1c8d6c6cae486b +1 -1
- package/npm-cache/_cacache/index-v5/cb/b2/038d87336c50673a045cc3b5c5026e643296d2bc2e5974260b5619a9b067 +1 -1
- package/npm-cache/_cacache/index-v5/cc/ed/e02d4c933417654f3429283620d4e62845bfc33901f458df08c9597b4d96 +2 -2
- package/npm-cache/_cacache/index-v5/cf/f9/2dd6581bde268e2263e419841af384f855931ae58b466a979d851650adb2 +1 -1
- package/npm-cache/_cacache/index-v5/d2/d9/3bbd1b7d4482ccb62ddc3cda9f1d0d9cfa47d7c2efe6bf54160707ba5fb0 +1 -1
- package/npm-cache/_cacache/index-v5/d3/d4/6bf0e9be6f8aec85e3e89737a933111ee25dce7798c6f4e9b327b8d63fb2 +1 -1
- package/npm-cache/_cacache/index-v5/d4/bb/1edc44d2d976bfb48a85dec6619a61b20e58add5c7c89a167da7f97d26c7 +1 -1
- package/npm-cache/_cacache/index-v5/d6/95/e6ee3e87667b0ca08405979157884a357b6761a15de5d976d137fdbdf59b +1 -1
- package/npm-cache/_cacache/index-v5/d9/73/14362c3f5b894f07281e7fcbc0cd1d01a9237de1a4978ebc120bc9d5057c +1 -1
- package/npm-cache/_cacache/index-v5/da/00/c9cd38a9efb5b010f96c7ebb13a53b021ffae2facbac32ea345fc79fcd83 +1 -1
- package/npm-cache/_cacache/index-v5/dc/1d/36f427261e3fe1d3b0dd35d987126a1a71e16f63d1a4c314e6329a8ae956 +1 -1
- package/npm-cache/_cacache/index-v5/dd/09/f58df28338ce06e38dcadac4b9f98a28dcfe1bff5cbde8fb73f694cab3e6 +1 -1
- package/npm-cache/_cacache/index-v5/dd/1c/bcc1f709950f1383807fb39e140d3aac8716b33c15565b9b222936ad8769 +1 -1
- package/npm-cache/_cacache/index-v5/dd/92/d0cab31acafdeccaf93de780398c2e6b187cb86661de094d9c0bf0c33db6 +1 -1
- package/npm-cache/_cacache/index-v5/dd/a4/101bb6faa7eaa5d3fe352b4602206d2689b7549281a2b34cfc97b977defd +1 -1
- package/npm-cache/_cacache/index-v5/de/73/e9caeba3b1b1f206044a576acacea780fa297c40c7494e194c50b7aa9b92 +1 -1
- package/npm-cache/_cacache/index-v5/de/bb/65a16c24e12e0fc24e080de170cc984399489892fedc81e8ace36b421c6b +1 -1
- package/npm-cache/_cacache/index-v5/e0/5b/421fa6b3b0d609059e018465e0757940a0217a587ef3ceb70f47b1d941a5 +1 -1
- package/npm-cache/_cacache/index-v5/e1/f1/25fed3313de95750171cbf40668b505efb352332c88159d22c268e677ea9 +1 -1
- package/npm-cache/_cacache/index-v5/e3/2b/6917099b15e7d6f8c6d7cf2cb00d4b1aa0e20b744315f9d812d3903000f2 +1 -1
- package/npm-cache/_cacache/index-v5/e3/72/0e6a429604e3fbc023c5a4de075d0897566974261a38d0b0ac64018c2141 +1 -1
- package/npm-cache/_cacache/index-v5/e4/f6/abd881a4315f953a21d0ee758ba2f12f9db54886778a2c6f86a2386f52ce +1 -1
- package/npm-cache/_cacache/index-v5/e5/13/0c26ab543a75d9db18d6cfeedca6fb0827e2078f1720ae9aaa496cadc864 +1 -1
- package/npm-cache/_cacache/index-v5/ec/99/cdff9ef4557e986ea0821d582abf1d4dce9096a53220e5d1c642d480ad75 +1 -1
- package/npm-cache/_cacache/index-v5/ed/1f/73c80c5a97f1b84ec45d95de45bac2f30257cad6264daba6eb5ccdab895a +1 -1
- package/npm-cache/_cacache/index-v5/ed/a8/7f36c1db45a95f95c67b3b227946bcc9e078d07565c497de9f3df560fb6f +1 -1
- package/npm-cache/_cacache/index-v5/ef/50/eec933ed51733c31c102cebfcc307ddba8fd0c2d43b4cf581210f13fd6d5 +1 -1
- package/npm-cache/_cacache/index-v5/ef/b1/d347bc48d84b9d46d9a9452851b321fe4eda0bd34451ddfabd3c987ba9bd +1 -1
- package/npm-cache/_cacache/index-v5/f0/13/2ba41872fef5035bd857d266ad8aa7ebc37cd20212af10760dfea28f5360 +1 -1
- package/npm-cache/_cacache/index-v5/f2/08/36628a12c4095a731d48c9092755e11b7aa696b412069ed8393f29502d87 +1 -1
- package/npm-cache/_cacache/index-v5/f2/0b/057113f8dd025675c496228016f63835396bd7a0d93db75562f80a294434 +1 -1
- package/npm-cache/_cacache/index-v5/f3/70/2b1e45c06bd249f9b55908df30f3d8cecab44c4fd0367ab02e524564e50a +1 -1
- package/npm-cache/_cacache/index-v5/f7/c3/e9670651069a6091a0a54cb3c1d4f5a374dce8d6e6164f785da0bf4808b2 +1 -1
- package/npm-cache/_cacache/index-v5/f9/4a/124a363e84dda52b9669d5ac774ea916cb70f9a662bbba25a974513ab578 +1 -1
- package/npm-cache/_cacache/index-v5/f9/70/dd6e60b9720a6b217914b7dc20cc925996aa46867402669ac6926005d052 +1 -1
- package/npm-cache/_cacache/index-v5/fa/41/e6d28d9c2522d10a750d135b3b893df381f49f3d16b70aae61f64097c14b +1 -1
- package/npm-cache/_cacache/index-v5/fa/8e/5bc93a82136a438fe240e47f9ff34f3c80a5aab772a014031d8ab91be519 +1 -1
- package/npm-cache/_cacache/index-v5/fa/db/7e1ffa1755b41843b8fa75e5314390b1c19690e23ad58bc11e79a6595fa7 +1 -1
- package/npm-cache/_cacache/index-v5/fb/4a/81d720868edd40cb1c4e111506192fa48855802d5279ccf74e3a0a938aff +1 -1
- package/npm-cache/_cacache/index-v5/fd/40/1bc4dbbcfee5a614035d9d9e20c731c86845060d9e433ea74f74b580fcf2 +1 -1
- package/npm-cache/_cacache/index-v5/fe/ce/2633427678d03ed74b8d200b6a00bc8033111b0c4444ab96f55658b1983f +1 -1
- package/npm-cache/_cacache/index-v5/ff/9b/60156c8e9a71c54e9917fbd42fafb957274277060a37362dcc5ba56867c4 +1 -1
- package/npm-cache/_cacache/index-v5/ff/bc/4a7636025771bb0b1114cc594c67d17b39155dae319209c1b53f983f2a05 +1 -1
- package/npm-cache/_cacache/index-v5/ff/e2/6cd7ee939196f10ecd3d2b6e444e90b95a1fa7b210d987cf689672209dc0 +1 -1
- package/npm-cache/_logs/{2026-11-05T22_56_10_402Z-debug-0.log → 2026-11-05T23_14_33_142Z-debug-0.log} +384 -384
- package/npm-cache/_logs/{2026-11-05T22_56_25_456Z-debug-0.log → 2026-11-05T23_14_48_615Z-debug-0.log} +2 -2
- package/package.json +1 -1
|
@@ -7194,7 +7194,7 @@
|
|
|
7194
7194
|
"dist-tags": {
|
|
7195
7195
|
"latest": "2.15.0"
|
|
7196
7196
|
},
|
|
7197
|
-
"_rev": "
|
|
7197
|
+
"_rev": "738-ae290365b4ca213a",
|
|
7198
7198
|
"_id": "bowser",
|
|
7199
7199
|
"readme": "## Bowser\nA small, fast and rich-API browser/platform/engine detector for both browser and node.\n- **Small.** Use plain ES5-version which is ~4.8kB gzipped.\n- **Optimized.** Use only those parsers you need — it doesn't do useless work.\n- **Multi-platform.** It's browser- and node-ready, so you can use it in any environment.\n\nDon't hesitate to support the project on Github or [OpenCollective](https://opencollective.com/bowser) if you like it ❤️ Also, contributors are always welcome!\n\n[](https://opencollective.com/bowser) \n\n# Contents\n- [Overview](#overview)\n- [Use cases](#use-cases)\n - [Browser props detection](#browser-props-detection)\n - [Using User-Agent Client Hints](#using-user-agent-client-hints)\n - [Filtering browsers](#filtering-browsers)\n\n# Overview\n\nThe library is made to help to detect what browser your user has and gives you a convenient API to filter the users somehow depending on their browsers. Check it out on this page: https://bowser-js.github.io/bowser-online/.\n\n### ⚠️ Version 2.0 breaking changes ⚠️\n\nVersion 2.0 has drastically changed the API. All available methods are on the [docs page](https://bowser-js.github.io/bowser/docs/).\n\n_For legacy code, check out the [1.x](https://github.com/bowser-js/bowser/tree/v1.x) branch and install it through `npm install bowser@1.9.4`._\n\n# Use cases\n\nFirst of all, require the library. Bowser is a dual package: `require` resolves\nto a UMD build (which also works for AMD and as a plain `<script>` tag), and\n`import` resolves to a real ES module.\n\n```javascript\nconst Bowser = require(\"bowser\"); // CommonJS\n\nimport * as Bowser from \"bowser\"; // TypeScript\n\nimport Bowser from \"bowser\"; // ES6 (and TypeScript with --esModuleInterop enabled)\n```\n\nThe ES module build also exposes `parse`, `getParser`, `BROWSER_MAP`,\n`ENGINE_MAP`, `OS_MAP` and `PLATFORMS_MAP` as named exports. Detection needs\nevery parser either way, so named imports are a matter of style, not bundle\nsize — but an import that ends up unused is dropped entirely:\n\n```javascript\nimport { getParser, parse } from \"bowser\";\n\nconst browser = getParser(window.navigator.userAgent);\n```\n\nLoaded from a CDN or a `<script>` tag, Bowser attaches itself to the global as\n`bowser` (lowercase):\n\n```html\n<script src=\"https://unpkg.com/bowser@2/es5.js\"></script>\n<script>\n console.log(bowser.parse(window.navigator.userAgent));\n</script>\n```\n\nBy default, the exported version is the *ES5 transpiled version*, which **do not** include any polyfills.\n\nIn case you don't use your own polyfills you may need to have pre-built bundle with all needed polyfills.\nSo, for you it's suitable to require bowser like this: `require('bowser/bundled')`.\nAs the result, you get a ES5 version of bowser with `core-js` polyfills bundled together.\n\nYou may need to use the source files, so they will be available in the package as well.\n\n## Browser props detection\n\nOften we need to pick users' browser properties such as the name, the version, the rendering engine and so on. Here is an example how to do it with Bowser:\n\n```javascript\nconst browser = Bowser.getParser(window.navigator.userAgent);\n\nconsole.log(`The current browser name is \"${browser.getBrowserName()}\"`);\n// The current browser name is \"Internet Explorer\"\n```\n\n### Using User-Agent Client Hints\n\nModern browsers support [User-Agent Client Hints](https://developer.mozilla.org/en-US/docs/Web/API/User-Agent_Client_Hints_API), which provide a more privacy-friendly and structured way to access browser information. Bowser can use Client Hints data to improve browser detection accuracy.\n\n```javascript\n// Pass Client Hints as the second parameter\nconst browser = Bowser.getParser(\n window.navigator.userAgent,\n window.navigator.userAgentData\n);\n\nconsole.log(`The current browser name is \"${browser.getBrowserName()}\"`);\n// More accurate detection using Client Hints\n```\n\n#### Working with Client Hints\n\nBowser provides methods to access and query Client Hints data:\n\n```javascript\nconst browser = Bowser.getParser(\n window.navigator.userAgent,\n window.navigator.userAgentData\n);\n\n// Get the full Client Hints object\nconst hints = browser.getHints();\n// Returns the ClientHints object or null if not provided\n\n// Check if a specific brand exists\nif (browser.hasBrand('Google Chrome')) {\n console.log('This is Chrome!');\n}\n\n// Get the version of a specific brand\nconst chromeVersion = browser.getBrandVersion('Google Chrome');\nconsole.log(`Chrome version: ${chromeVersion}`);\n```\n\nThe Client Hints object structure:\n```javascript\n{\n brands: [\n { brand: 'Google Chrome', version: '131' },\n { brand: 'Chromium', version: '131' },\n { brand: 'Not_A Brand', version: '24' }\n ],\n mobile: false,\n platform: 'Windows',\n platformVersion: '15.0.0',\n architecture: 'x86',\n model: '',\n wow64: false\n}\n```\n\n**Note:** Client Hints improve detection for browsers like DuckDuckGo and other Chromium-based browsers that may have similar User-Agent strings. When Client Hints are not provided, Bowser falls back to standard User-Agent string parsing.\n\nor\n\n```javascript\nconst browser = Bowser.getParser(window.navigator.userAgent);\nconsole.log(browser.getBrowser());\n\n// outputs\n{\n name: \"Internet Explorer\"\n version: \"11.0\"\n}\n```\n\nor\n\n```javascript\nconsole.log(Bowser.parse(window.navigator.userAgent));\n\n// outputs\n{\n browser: {\n name: \"Internet Explorer\"\n version: \"11.0\"\n },\n os: {\n name: \"Windows\"\n version: \"NT 6.3\"\n versionName: \"8.1\"\n },\n platform: {\n type: \"desktop\"\n },\n engine: {\n name: \"Trident\"\n version: \"7.0\"\n }\n}\n```\n\nYou can also use `Bowser.parse()` with Client Hints:\n\n```javascript\nconsole.log(Bowser.parse(window.navigator.userAgent, window.navigator.userAgentData));\n\n// Same output structure, but with enhanced detection from Client Hints\n```\n\n\n## Filtering browsers\n\nYou could want to filter some particular browsers to provide any special support for them or make any workarounds.\nIt could look like this:\n\n```javascript\nconst browser = Bowser.getParser(window.navigator.userAgent);\nconst isValidBrowser = browser.satisfies({\n // declare browsers per OS\n windows: {\n \"internet explorer\": \">10\",\n },\n macos: {\n safari: \">10.1\"\n },\n\n // per platform (mobile, desktop or tablet)\n mobile: {\n safari: '>=9',\n 'android browser': '>3.10'\n },\n\n // or in general\n chrome: \"~20.1.1432\",\n firefox: \">31\",\n opera: \">=22\",\n\n // also supports equality operator\n chrome: \"=20.1.1432\", // will match particular build only\n\n // and loose-equality operator\n chrome: \"~20\", // will match any 20.* sub-version\n chrome: \"~20.1\" // will match any 20.1.* sub-version (20.1.19 as well as 20.1.12.42-alpha.1)\n});\n```\n\nSettings for any particular OS or platform has more priority and redefines settings of standalone browsers.\nThus, you can define OS or platform specific rules and they will have more priority in the end.\n\nMore of API and possibilities you will find in the `docs` folder.\n\n### Browser names for `.satisfies()`\n\nBy default you are supposed to use the full browser name for `.satisfies`.\nBut, there's a short way to define a browser using short aliases. The full\nlist of aliases can be found in [the file](src/constants.js).\n\n## Similar Projects\n* [Kong](https://github.com/BigBadBleuCheese/Kong) - A C# port of Bowser.\n\n## Contributors\n\n### Code Contributors\n\nThis project exists thanks to all the people who contribute. [[Contribute](.github/CONTRIBUTING.md)].\n<a href=\"https://github.com/bowser-js/bowser/graphs/contributors\"><img src=\"https://opencollective.com/bowser/contributors.svg?width=890&button=false\" /></a>\n\n### Financial Contributors\n\nBecome a financial contributor and help us sustain our community. [[Contribute](https://opencollective.com/bowser/contribute)]\n\n#### Individuals\n\n<a href=\"https://opencollective.com/bowser\"><img src=\"https://opencollective.com/bowser/individuals.svg?width=890\"></a>\n\n#### Organizations\n\nSupport this project with your organization. Your logo will show up here with a link to your website. [[Contribute](https://opencollective.com/bowser/contribute)]\n\n<a href=\"https://opencollective.com/bowser/organization/0/website\"><img src=\"https://opencollective.com/bowser/organization/0/avatar.svg\"></a>\n<a href=\"https://opencollective.com/bowser/organization/1/website\"><img src=\"https://opencollective.com/bowser/organization/1/avatar.svg\"></a>\n<a href=\"https://opencollective.com/bowser/organization/2/website\"><img src=\"https://opencollective.com/bowser/organization/2/avatar.svg\"></a>\n<a href=\"https://opencollective.com/bowser/organization/3/website\"><img src=\"https://opencollective.com/bowser/organization/3/avatar.svg\"></a>\n<a href=\"https://opencollective.com/bowser/organization/4/website\"><img src=\"https://opencollective.com/bowser/organization/4/avatar.svg\"></a>\n<a href=\"https://opencollective.com/bowser/organization/5/website\"><img src=\"https://opencollective.com/bowser/organization/5/avatar.svg\"></a>\n<a href=\"https://opencollective.com/bowser/organization/6/website\"><img src=\"https://opencollective.com/bowser/organization/6/avatar.svg\"></a>\n<a href=\"https://opencollective.com/bowser/organization/7/website\"><img src=\"https://opencollective.com/bowser/organization/7/avatar.svg\"></a>\n<a href=\"https://opencollective.com/bowser/organization/8/website\"><img src=\"https://opencollective.com/bowser/organization/8/avatar.svg\"></a>\n<a href=\"https://opencollective.com/bowser/organization/9/website\"><img src=\"https://opencollective.com/bowser/organization/9/avatar.svg\"></a>\n\n## License\nLicensed as MIT. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.",
|
|
7200
7200
|
"_attachments": {}
|
|
@@ -4185,7 +4185,7 @@
|
|
|
4185
4185
|
"dist-tags": {
|
|
4186
4186
|
"latest": "1.4.10"
|
|
4187
4187
|
},
|
|
4188
|
-
"_rev": "
|
|
4188
|
+
"_rev": "93-8505852747e1a8ba",
|
|
4189
4189
|
"_id": "readline-sync",
|
|
4190
4190
|
"readme": "# readlineSync\n\n[](https://www.npmjs.com/package/readline-sync) [](https://github.com/anseki/readline-sync/issues) [](package.json) [](LICENSE-MIT)\n\nSynchronous [Readline](http://nodejs.org/api/readline.html) for interactively running to have a conversation with the user via a console(TTY).\n\nreadlineSync tries to let your script have a conversation with the user via a console, even when the input/output stream is redirected like `your-script <foo.dat >bar.log`.\n\n<table>\n<tr><td><a href=\"#basic_options\">Basic Options</a></td><td><a href=\"#utility_methods\">Utility Methods</a></td><td><a href=\"#placeholders\">Placeholders</a></td></tr>\n</table>\n\n* Simple case:\n\n```js\nvar readlineSync = require('readline-sync');\n\n// Wait for user's response.\nvar userName = readlineSync.question('May I have your name? ');\nconsole.log('Hi ' + userName + '!');\n\n// Handle the secret text (e.g. password).\nvar favFood = readlineSync.question('What is your favorite food? ', {\n hideEchoBack: true // The typed text on screen is hidden by `*` (default).\n});\nconsole.log('Oh, ' + userName + ' loves ' + favFood + '!');\n```\n\n```console\nMay I have your name? CookieMonster\nHi CookieMonster!\nWhat is your favorite food? ****\nOh, CookieMonster loves tofu!\n```\n\n* Get the user's response by a single key without the Enter key:\n\n```js\nvar readlineSync = require('readline-sync');\nif (readlineSync.keyInYN('Do you want this module?')) {\n // 'Y' key was pressed.\n console.log('Installing now...');\n // Do something...\n} else {\n // Another key was pressed.\n console.log('Searching another...');\n // Do something...\n}\n```\n\n* Let the user choose an item from a list:\n\n```js\nvar readlineSync = require('readline-sync'),\n animals = ['Lion', 'Elephant', 'Crocodile', 'Giraffe', 'Hippo'],\n index = readlineSync.keyInSelect(animals, 'Which animal?');\nconsole.log('Ok, ' + animals[index] + ' goes to your room.');\n```\n\n```console\n[1] Lion\n[2] Elephant\n[3] Crocodile\n[4] Giraffe\n[5] Hippo\n[0] CANCEL\n\nWhich animal? [1...5 / 0]: 2\nOk, Elephant goes to your room.\n```\n\n* An UI like the Range Slider: \n(Press `Z` or `X` key to change a value, and Space Bar to exit)\n\n```js\nvar readlineSync = require('readline-sync'),\n MAX = 60, MIN = 0, value = 30, key;\nconsole.log('\\n\\n' + (new Array(20)).join(' ') +\n '[Z] <- -> [X] FIX: [SPACE]\\n');\nwhile (true) {\n console.log('\\x1B[1A\\x1B[K|' +\n (new Array(value + 1)).join('-') + 'O' +\n (new Array(MAX - value + 1)).join('-') + '| ' + value);\n key = readlineSync.keyIn('',\n {hideEchoBack: true, mask: '', limit: 'zx '});\n if (key === 'z') { if (value > MIN) { value--; } }\n else if (key === 'x') { if (value < MAX) { value++; } }\n else { break; }\n}\nconsole.log('\\nA value the user requested: ' + value);\n```\n\n\n\n* Handle the commands repeatedly, such as the shell interface:\n\n```js\nreadlineSync.promptCLLoop({\n add: function(target, into) {\n console.log(target + ' is added into ' + into + '.');\n // Do something...\n },\n remove: function(target) {\n console.log(target + ' is removed.');\n // Do something...\n },\n bye: function() { return true; }\n});\nconsole.log('Exited');\n```\n\n```console\n> add pic01.png archive\npic01.png is added into archive.\n> delete pic01.png\nRequested command is not available.\n> remove pic01.png\npic01.png is removed.\n> bye\nExited\n```\n\n## <a name=\"installation\"></a>Installation\n\n```console\nnpm install readline-sync\n```\n\n## <a name=\"quick_start\"></a>Quick Start\n\n**How does the user input?**\n\n- [Type a reply to a question, and press the Enter key](#quick_start-a) (A)\n- [Type a keyword like a command in prompt, and press the Enter key](#quick_start-b) (B)\n- [Press a single key without the Enter key](#quick_start-c) (C)\n\n<a name=\"quick_start-a\"></a>**(A) What does the user input?**\n\n- [E-mail address](#utility_methods-questionemail)\n- [New password](#utility_methods-questionnewpassword)\n- [Integer number](#utility_methods-questionint)\n- [Floating-point number](#utility_methods-questionfloat)\n- [Local file/directory path](#utility_methods-questionpath)\n- [Others](#basic_methods-question)\n\n<a name=\"quick_start-b\"></a>**(B) What does your script do?**\n\n- [Receive a parsed command-name and arguments](#utility_methods-promptcl)\n- [Receive an input repeatedly](#utility_methods-promptloop)\n- [Receive a parsed command-name and arguments repeatedly](#utility_methods-promptclloop)\n- [Receive an input with prompt that is similar to that of the user's shell](#utility_methods-promptsimshell)\n- [Others](#basic_methods-prompt)\n\n<a name=\"quick_start-c\"></a>**(C) What does the user do?**\n\n- [Say \"Yes\" or \"No\"](#utility_methods-keyinyn)\n- [Say \"Yes\" or \"No\" explicitly](#utility_methods-keyinynstrict)\n- [Make the running of script continue when ready](#utility_methods-keyinpause)\n- [Choose an item from a list](#utility_methods-keyinselect)\n- [Others](#basic_methods-keyin)\n\n## <a name=\"basic_methods\"></a>Basic Methods\n\nThese are used to control details of the behavior. It is recommended to use the [Utility Methods](#utility_methods) instead of Basic Methods if it satisfy your request.\n\n### <a name=\"basic_methods-question\"></a>`question`\n\n```js\nanswer = readlineSync.question([query[, options]])\n```\n\nDisplay a `query` to the user if it's specified, and then return the input from the user after it has been typed and the Enter key was pressed. \nYou can specify an `options` (see [Basic Options](#basic_options)) to control the behavior (e.g. refusing unexpected input, avoiding trimming white spaces, etc.). **If you let the user input the secret text (e.g. password), you should consider [`hideEchoBack`](#basic_options-hideechoback) option.**\n\nThe `query` may be string, or may not be (e.g. number, Date, Object, etc.). It is converted to string (i.e. `toString` method is called) before it is displayed. (see [Note](#note) also) \nIt can include the [placeholders](#placeholders).\n\nFor example:\n\n```js\nprogram = readlineSync.question('Which program starts do you want? ', {\n defaultInput: 'firefox'\n});\n```\n\n### <a name=\"basic_methods-prompt\"></a>`prompt`\n\n```js\ninput = readlineSync.prompt([options])\n```\n\nDisplay a prompt-sign (see [`prompt`](#basic_options-prompt) option) to the user, and then return the input from the user after it has been typed and the Enter key was pressed. \nYou can specify an `options` (see [Basic Options](#basic_options)) to control the behavior (e.g. refusing unexpected input, avoiding trimming white spaces, etc.).\n\nFor example:\n\n```js\nwhile (true) {\n command = readlineSync.prompt();\n // Do something...\n}\n```\n\n### <a name=\"basic_methods-keyin\"></a>`keyIn`\n\n```js\npressedKey = readlineSync.keyIn([query[, options]])\n```\n\nDisplay a `query` to the user if it's specified, and then return a character as a key immediately it was pressed by the user, **without pressing the Enter key**. Note that the user has no chance to change the input. \nYou can specify an `options` (see [Basic Options](#basic_options)) to control the behavior (e.g. ignoring keys except some keys, checking target key, etc.).\n\nThe `query` is handled the same as that of the [`question`](#basic_methods-question) method.\n\nFor example:\n\n```js\nmenuId = readlineSync.keyIn('Hit 1...5 key: ', {limit: '$<1-5>'});\n```\n\n### <a name=\"basic_methods-setdefaultoptions\"></a>`setDefaultOptions`\n\n```js\ncurrentDefaultOptions = readlineSync.setDefaultOptions([newDefaultOptions])\n```\n\nChange the [Default Options](#basic_options) to the values of properties of `newDefaultOptions` Object. \nAll it takes is to specify options that you want change, because unspecified options are not updated.\n\n## <a name=\"basic_options\"></a>Basic Options\n\n[`prompt`](#basic_options-prompt), [`hideEchoBack`](#basic_options-hideechoback), [`mask`](#basic_options-mask), [`limit`](#basic_options-limit), [`limitMessage`](#basic_options-limitmessage), [`defaultInput`](#basic_options-defaultinput), [`trueValue`, `falseValue`](#basic_options-truevalue_falsevalue), [`caseSensitive`](#basic_options-casesensitive), [`keepWhitespace`](#basic_options-keepwhitespace), [`encoding`](#basic_options-encoding), [`bufferSize`](#basic_options-buffersize), [`print`](#basic_options-print), [`history`](#basic_options-history), [`cd`](#basic_options-cd)\n\nAn `options` Object can be specified to the methods to control the behavior of readlineSync. The options that were not specified to the methods are got from the Default Options. You can change the Default Options by [`setDefaultOptions`](#basic_methods-setdefaultoptions) method anytime, and it is kept until a current process is exited. \nSpecify the options that are often used to the Default Options, and specify temporary options to the methods.\n\nFor example:\n\n```js\nreadlineSync.setDefaultOptions({limit: ['green', 'yellow', 'red']});\na1 = readlineSync.question('Which color of signal? '); // Input is limited to 3 things.\na2 = readlineSync.question('Which color of signal? '); // It's limited yet.\na3 = readlineSync.question('What is your favorite color? ', {limit: null}); // It's unlimited temporarily.\na4 = readlineSync.question('Which color of signal? '); // It's limited again.\nreadlineSync.setDefaultOptions({limit: ['beef', 'chicken']});\na5 = readlineSync.question('Beef or Chicken? '); // Input is limited to new 2 things.\na6 = readlineSync.question('And you? '); // It's limited to 2 things yet.\n```\n\nThe Object as `options` can have following properties.\n\n### <a name=\"basic_options-prompt\"></a>`prompt`\n\n_For `prompt*` methods only_ \n*Type:* string or others \n*Default:* `'> '`\n\nSet the prompt-sign that is displayed to the user by `prompt*` methods. For example you see `> ` that is Node.js's prompt-sign when you run `node` on the command line. \nThis may be string, or may not be (e.g. number, Date, Object, etc.). It is converted to string every time (i.e. `toString` method is called) before it is displayed. (see [Note](#note) also) \nIt can include the [placeholders](#placeholders).\n\nFor example:\n\n```js\nreadlineSync.setDefaultOptions({prompt: '$ '});\n```\n\n```js\n// Display the memory usage always.\nreadlineSync.setDefaultOptions({\n prompt: { // Simple Object that has toString method.\n toString: function() {\n var rss = process.memoryUsage().rss;\n return '[' + (rss > 1024 ? Math.round(rss / 1024) + 'k' : rss) + 'b]$ ';\n }\n }\n});\n```\n\n```console\n[13148kb]$ foo\n[13160kb]$ bar\n[13200kb]$\n```\n\n### <a name=\"basic_options-hideechoback\"></a>`hideEchoBack`\n\n*Type:* boolean \n*Default:* `false`\n\nIf `true` is specified, hide the secret text (e.g. password) which is typed by user on screen by the mask characters (see [`mask`](#basic_options-mask) option).\n\nFor example:\n\n```js\npassword = readlineSync.question('PASSWORD: ', {hideEchoBack: true});\nconsole.log('Login ...');\n```\n\n```console\nPASSWORD: ********\nLogin ...\n```\n\n### <a name=\"basic_options-mask\"></a>`mask`\n\n*Type:* string \n*Default:* `'*'`\n\nSet the mask characters that are shown instead of the secret text (e.g. password) when `true` is specified to [`hideEchoBack`](#basic_options-hideechoback) option. If you want to show nothing, specify `''`. (But it might be not user friendly in some cases.) \n**Note:** In some cases (e.g. when the input stream is redirected on Windows XP), `'*'` or `''` might be used whether other one is specified.\n\nFor example:\n\n```js\nsecret = readlineSync.question('Please whisper sweet words: ', {\n hideEchoBack: true,\n mask: require('chalk').magenta('\\u2665')\n});\n```\n\n\n\n### <a name=\"basic_options-limit\"></a>`limit`\n\nLimit the user's input. \nThe usage differ depending on the method.\n\n#### <a name=\"basic_options-limit-for_question_and_prompt_methods\"></a>For `question*` and `prompt*` methods\n\n*Type:* string, number, RegExp, function or Array \n*Default:* `[]`\n\nAccept only the input that matches value that is specified to this. If the user input others, display a string that is specified to [`limitMessage`](#basic_options-limitmessage) option, and wait for reinput.\n\n* The string is compared with the input. It is affected by [`caseSensitive`](#basic_options-casesensitive) option.\n* The number is compared with the input that is converted to number by `parseFloat()`. For example, it interprets `' 3.14 '`, `'003.1400'`, `'314e-2'` and `'3.14PI'` as `3.14`. And it interprets `'005'`, `'5files'`, `'5kb'` and `'5px'` as `5`.\n* The RegExp tests the input.\n* The function that returns a boolean to indicate whether it matches is called with the input.\n\nOne of above or an Array that includes multiple things (or Array includes Array) can be specified.\n\nFor example:\n\n```js\ncommand = readlineSync.prompt({limit: ['add', 'remove', /^clear( all)?$/]});\n// ** But `promptCL` method should be used instead of this. **\n```\n\n```js\nfile = readlineSync.question('Text File: ', {limit: /\\.txt$/i});\n// ** But `questionPath` method should be used instead of this. **\n```\n\n```js\nip = readlineSync.question('IP Address: ', {limit: function(input) {\n return require('net').isIP(input); // Valid IP Address\n}});\n```\n\n```js\navailableActions = [];\nif (!blockExists()) { availableActions.push('jump'); }\nif (isLarge(place)) { availableActions.push('run'); }\nif (isNew(shoes)) { availableActions.push('kick'); }\nif (isNearby(enemy)) { availableActions.push('punch'); }\naction = readlineSync.prompt({limit: availableActions});\n// ** But `promptCL` method should be used instead of this. **\n```\n\n#### <a name=\"basic_options-limit-for_keyin_method\"></a>For `keyIn*` method\n\n*Type:* string, number or Array \n*Default:* `[]`\n\nAccept only the key that matches value that is specified to this, ignore others. \nSpecify the characters as the key. All strings or Array of those are decomposed into single characters. For example, `'abcde'` or `['a', 'bc', ['d', 'e']]` are the same as `['a', 'b', 'c', 'd', 'e']`. \nThese strings are compared with the input. It is affected by [`caseSensitive`](#basic_options-casesensitive) option.\n\nThe [placeholders](#placeholders) like `'$<a-e>'` are replaced to an Array that is the character list like `['a', 'b', 'c', 'd', 'e']`.\n\nFor example:\n\n```js\ndirection = readlineSync.keyIn('Left or Right? ', {limit: 'lr'}); // 'l' or 'r'\n```\n\n```js\ndice = readlineSync.keyIn('Roll the dice, What will the result be? ',\n {limit: '$<1-6>'}); // range of '1' to '6'\n```\n\n### <a name=\"basic_options-limitmessage\"></a>`limitMessage`\n\n_For `question*` and `prompt*` methods only_ \n*Type:* string \n*Default:* `'Input another, please.$<( [)limit(])>'`\n\nDisplay this to the user when the [`limit`](#basic_options-limit) option is specified and the user input others. \nThe [placeholders](#placeholders) can be included.\n\nFor example:\n\n```js\nfile = readlineSync.question('Name of Text File: ', {\n limit: /\\.txt$/i,\n limitMessage: 'Sorry, $<lastInput> is not text file.'\n});\n```\n\n### <a name=\"basic_options-defaultinput\"></a>`defaultInput`\n\n_For `question*` and `prompt*` methods only_ \n*Type:* string \n*Default:* `''`\n\nIf the user input empty text (i.e. pressed the Enter key only), return this.\n\nFor example:\n\n```js\nlang = readlineSync.question('Which language? ', {defaultInput: 'javascript'});\n```\n\n### <a name=\"basic_options-truevalue_falsevalue\"></a>`trueValue`, `falseValue`\n\n*Type:* string, number, RegExp, function or Array \n*Default:* `[]`\n\nIf the input matches `trueValue`, return `true`. If the input matches `falseValue`, return `false`. In any other case, return the input.\n\n* The string is compared with the input. It is affected by [`caseSensitive`](#basic_options-casesensitive) option.\n* The number is compared with the input that is converted to number by `parseFloat()`. For example, it interprets `' 3.14 '`, `'003.1400'`, `'314e-2'` and `'3.14PI'` as `3.14`. And it interprets `'005'`, `'5files'`, `'5kb'` and `'5px'` as `5`. Note that in `keyIn*` method, the input is every time one character (i.e. the number that is specified must be an integer within the range of `0` to `9`).\n* The RegExp tests the input.\n* The function that returns a boolean to indicate whether it matches is called with the input.\n\nOne of above or an Array that includes multiple things (or Array includes Array) can be specified.\n\nFor example:\n\n```js\nanswer = readlineSync.question('How do you like it? ', {\n trueValue: ['yes', 'yeah', 'yep'],\n falseValue: ['no', 'nah', 'nope']\n});\nif (answer === true) {\n console.log('Let\\'s go!');\n} else if (answer === false) {\n console.log('Oh... It\\'s ok...');\n} else {\n console.log('Sorry. What does \"' + answer + '\" you said mean?');\n}\n```\n\n### <a name=\"basic_options-casesensitive\"></a>`caseSensitive`\n\n*Type:* boolean \n*Default:* `false`\n\nBy default, the string comparisons are case-insensitive (i.e. `a` equals `A`). If `true` is specified, it is case-sensitive, the cases are not ignored (i.e. `a` is different from `A`). \nIt affects: [`limit`](#basic_options-limit), [`trueValue`](#basic_options-truevalue_falsevalue), [`falseValue`](#basic_options-truevalue_falsevalue), some [placeholders](#placeholders), and some [Utility Methods](#utility_methods).\n\n### <a name=\"basic_options-keepwhitespace\"></a>`keepWhitespace`\n\n_For `question*` and `prompt*` methods only_ \n*Type:* boolean \n*Default:* `false`\n\nBy default, remove the leading and trailing white spaces from the input text. If `true` is specified, don't remove those.\n\n### <a name=\"basic_options-encoding\"></a>`encoding`\n\n*Type:* string \n*Default:* `'utf8'`\n\nSet the encoding method of the input and output.\n\n### <a name=\"basic_options-buffersize\"></a>`bufferSize`\n\n_For `question*` and `prompt*` methods only_ \n*Type:* number \n*Default:* `1024`\n\nWhen readlineSync reads from a console directly (without [external program](#note-reading_by_external_program)), use a size `bufferSize` buffer. \nEven if the input by user exceeds it, it's usually no problem, because the buffer is used repeatedly. But some platforms's (e.g. Windows) console might not accept input that exceeds it. And set an enough size. \nNote that this might be limited by [version of Node.js](https://nodejs.org/api/buffer.html#buffer_class_method_buffer_alloc_size_fill_encoding) and environment running your script (Big buffer size is usually not required). (See also: [issue](https://github.com/nodejs/node/issues/4660), [PR](https://github.com/nodejs/node/pull/4682))\n\n### <a name=\"basic_options-print\"></a>`print`\n\n*Type:* function or `undefined` \n*Default:* `undefined`\n\nCall the specified function with every output. The function is given two arguments, `display` as an output text, and a value of [`encoding`](#basic_options-encoding) option.\n\nFor example:\n\n* Pass the plain texts to the Logger (e.g. [log4js](https://github.com/nomiddlename/log4js-node)), after clean the colored texts.\n\n\n\n```js\nvar readlineSync = require('readline-sync'),\n chalk = require('chalk'),\n log4js = require('log4js'),\n logger, user, pw, command;\n\nlog4js.configure({appenders: [{type: 'file', filename: 'fooApp.log'}]});\nlogger = log4js.getLogger('fooApp');\n\nreadlineSync.setDefaultOptions({\n print: function(display, encoding)\n { logger.info(chalk.stripColor(display)); }, // Remove ctrl-chars.\n prompt: chalk.red.bold('> ')\n});\n\nconsole.log(chalk.black.bold.bgYellow(' Your Account '));\nuser = readlineSync.question(chalk.gray.underline(' USER NAME ') + ' : ');\npw = readlineSync.question(chalk.gray.underline(' PASSWORD ') + ' : ',\n {hideEchoBack: true});\n// Authorization ...\nconsole.log(chalk.green('Welcome, ' + user + '!'));\ncommand = readlineSync.prompt();\n```\n\n* Output a conversation to a file when an output stream is redirected to record those into a file like `your-script >foo.log`. That is, a conversation isn't outputted to `foo.log` without this code.\n\n```js\nreadlineSync.setDefaultOptions({\n print: function(display, encoding)\n { process.stdout.write(display, encoding); }\n});\nvar name = readlineSync.question('May I have your name? ');\nvar loc = readlineSync.question('Hi ' + name + '! Where do you live? ');\n```\n\n* Let somebody hear our conversation in real time. \nIt just uses a fifo with above sample code that was named `conv.js`.\n\nAnother terminal:\n\n```console\nmkfifo /tmp/fifo\ncat /tmp/fifo\n```\n\nMy terminal:\n\n```console\nnode conv.js >/tmp/fifo\n```\n\n```console\nMay I have your name? Oz\nHi Oz! Where do you live? Emerald City\n```\n\nAnd then, another terminal shows this synchronously:\n\n```console\nMay I have your name? Oz\nHi Oz! Where do you live? Emerald City\n```\n\n### <a name=\"basic_options-history\"></a>`history`\n\n_For `question*` and `prompt*` methods only_ \n*Type:* boolean \n*Default:* `true`\n\nreadlineSync supports a history expansion feature that is similar to that of the shell. If `false` is specified, disable this feature. \n*It keeps a previous input only.* That is, only `!!`, `!-1`, `!!:p` and `!-1:p` like bash or zsh etc. are supported.\n\n* `!!` or `!-1`: Return a previous input.\n* `!!:p` or `!-1:p`: Display a previous input but do not return it, and wait for reinput.\n\nFor example:\n\n```js\nwhile (true) {\n input = readlineSync.prompt();\n console.log('-- You said \"' + input + '\"');\n}\n```\n\n```console\n> hello\n-- You said \"hello\"\n> !!\nhello\n-- You said \"hello\"\n> !!:p\nhello\n> bye\n-- You said \"bye\"\n```\n\n### <a name=\"basic_options-cd\"></a>`cd`\n\n_For `question*` and `prompt*` methods only_ \n*Type:* boolean \n*Default:* `false`\n\nreadlineSync supports the changing the current working directory feature that is similar to the `cd` and `pwd` commands in the shell. If `true` is specified, enable this feature. \nThis helps the user when you let the user input the multiple local files or directories. \nIt supports `cd` and `pwd` commands.\n\n* `cd <path>`: Change the current working directory to `<path>`. The `<path>` can include `~` as the home directory.\n* `pwd`: Display the current working directory.\n\nWhen these were input, do not return, and wait for reinput.\n\nFor example:\n\n```js\nwhile (true) {\n file = readlineSync.questionPath('File: ');\n console.log('-- Specified file is ' + file);\n}\n```\n\n```console\nFile: cd foo-dir/bar-dir\nFile: pwd\n/path/to/foo-dir/bar-dir\nFile: file-a.js\n-- Specified file is /path/to/foo-dir/bar-dir/file-a.js\nFile: file-b.png\n-- Specified file is /path/to/foo-dir/bar-dir/file-b.png\nFile: file-c.html\n-- Specified file is /path/to/foo-dir/bar-dir/file-c.html\n```\n\n## <a name=\"utility_methods\"></a>Utility Methods\n\n[`questionEMail`](#utility_methods-questionemail), [`questionNewPassword`](#utility_methods-questionnewpassword), [`questionInt`](#utility_methods-questionint), [`questionFloat`](#utility_methods-questionfloat), [`questionPath`](#utility_methods-questionpath), [`promptCL`](#utility_methods-promptcl), [`promptLoop`](#utility_methods-promptloop), [`promptCLLoop`](#utility_methods-promptclloop), [`promptSimShell`](#utility_methods-promptsimshell), [`keyInYN`](#utility_methods-keyinyn), [`keyInYNStrict`](#utility_methods-keyinynstrict), [`keyInPause`](#utility_methods-keyinpause), [`keyInSelect`](#utility_methods-keyinselect)\n\nThese are convenient methods that are extended [Basic Methods](#basic_methods) to be used easily.\n\n### <a name=\"utility_methods-questionemail\"></a>`questionEMail`\n\n```js\nemail = readlineSync.questionEMail([query[, options]])\n```\n\nDisplay a `query` to the user if it's specified, and then accept only a valid e-mail address, and then return it after the Enter key was pressed.\n\nThe `query` is handled the same as that of the [`question`](#basic_methods-question) method. \nThe default value of `query` is `'Input e-mail address: '`.\n\n**Note:** The valid e-mail address requirement is a willful violation of [RFC5322](http://tools.ietf.org/html/rfc5322), this is defined in [HTML5](http://www.w3.org/TR/html5/forms.html). This works enough to prevent the user mistaking. If you want to change it, specify [`limit`](#basic_options-limit) option.\n\nFor example:\n\n```js\nemail = readlineSync.questionEMail();\nconsole.log('-- E-mail is ' + email);\n```\n\n```console\nInput e-mail address: abc\nInput valid e-mail address, please.\nInput e-mail address: mail@example.com\n-- E-mail is mail@example.com\n```\n\n#### <a name=\"utility_methods-questionemail-options\"></a>Options\n\nThe following options have independent default value that is not affected by [Default Options](#basic_options).\n\n| Option Name | Default Value |\n|-------------------|---------------|\n| [`hideEchoBack`](#basic_options-hideechoback) | `false` |\n| [`limit`](#basic_options-limit) | RegExp by [HTML5](http://www.w3.org/TR/html5/forms.html) |\n| [`limitMessage`](#basic_options-limitmessage) | `'Input valid e-mail address, please.'` |\n| [`trueValue`](#basic_options-truevalue_falsevalue) | `null` |\n| [`falseValue`](#basic_options-truevalue_falsevalue) | `null` |\n\nThe following options work as shown in the [Basic Options](#basic_options) section.\n\n<table>\n<tr><td><a href=\"#basic_options-mask\"><code>mask</code></a></td><td><a href=\"#basic_options-defaultinput\"><code>defaultInput</code></a></td><td><a href=\"#basic_options-casesensitive\"><code>caseSensitive</code></a></td><td><a href=\"#basic_options-encoding\"><code>encoding</code></a></td><td><a href=\"#basic_options-buffersize\"><code>bufferSize</code></a></td></tr>\n<tr><td><a href=\"#basic_options-print\"><code>print</code></a></td><td><a href=\"#basic_options-history\"><code>history</code></a></td></tr>\n</table>\n\n### <a name=\"utility_methods-questionnewpassword\"></a>`questionNewPassword`\n\n```js\npassword = readlineSync.questionNewPassword([query[, options]])\n```\n\nDisplay a `query` to the user if it's specified, and then accept only a valid password, and then request same one again, and then return it after the Enter key was pressed. \nIt's the password, or something that is the secret text like the password. \nYou can specify the valid password requirement to the options.\n\nThe `query` is handled the same as that of the [`question`](#basic_methods-question) method. \nThe default value of `query` is `'Input new password: '`.\n\n**Note:** Only the form of password is checked. Check it more if you want. For example, [zxcvbn](https://github.com/dropbox/zxcvbn) is password strength estimation library.\n\nFor example:\n\n```js\npassword = readlineSync.questionNewPassword();\nconsole.log('-- Password is ' + password);\n```\n\n```console\nInput new password: ************\nIt can include: 0...9, A...Z, a...z, !\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\nAnd the length must be: 12...24\nInput new password: *************\nReinput a same one to confirm it: *************\nIt differs from first one. Hit only the Enter key if you want to retry from first one.\nReinput a same one to confirm it: *************\n-- Password is _my_password_\n```\n\n#### <a name=\"utility_methods-questionnewpassword-options\"></a>Options\n\nThe following options have independent default value that is not affected by [Default Options](#basic_options).\n\n| Option Name | Default Value |\n|-------------------|---------------|\n| [`hideEchoBack`](#basic_options-hideechoback) | `true` |\n| [`mask`](#basic_options-mask) | `'*'` |\n| [`limitMessage`](#basic_options-limitmessage) | `'It can include: $<charlist>\\nAnd the length must be: $<length>'` |\n| [`trueValue`](#basic_options-truevalue_falsevalue) | `null` |\n| [`falseValue`](#basic_options-truevalue_falsevalue) | `null` |\n| [`caseSensitive`](#basic_options-casesensitive) | `true` |\n\nThe following options work as shown in the [Basic Options](#basic_options) section.\n\n<table>\n<tr><td><a href=\"#basic_options-defaultinput\"><code>defaultInput</code></a></td><td><a href=\"#basic_options-keepwhitespace\"><code>keepWhitespace</code></a></td><td><a href=\"#basic_options-encoding\"><code>encoding</code></a></td><td><a href=\"#basic_options-buffersize\"><code>bufferSize</code></a></td><td><a href=\"#basic_options-print\"><code>print</code></a></td></tr>\n</table>\n\nAnd the following additional options are available.\n\n##### <a name=\"utility_methods-questionnewpassword-options-charlist\"></a>`charlist`\n\n*Type:* string \n*Default:* `'$<!-~>'`\n\nA string as the characters that can be included in the password. For example, if `'abc123'` is specified, the passwords that include any character other than these 6 characters are refused. \nThe [placeholders](#placeholders) like `'$<a-e>'` are replaced to the characters like `'abcde'`. \n\nFor example, let the user input a password that is created with alphabet and some symbols:\n\n```js\npassword = readlineSync.questionNewPassword('PASSWORD: ', {charlist: '$<a-z>#$@%'});\n```\n\n##### <a name=\"utility_methods-questionnewpassword-options-min_max\"></a>`min`, `max`\n\n*Type:* number \n*Default:* `min`: `12`, `max`: `24`\n\n`min`: A number as a minimum length of the password. \n`max`: A number as a maximum length of the password.\n\n##### <a name=\"utility_methods-questionnewpassword-options-confirmmessage\"></a>`confirmMessage`\n\n*Type:* string or others \n*Default:* `'Reinput a same one to confirm it: '`\n\nA message that lets the user input the same password again. \nIt can include the [placeholders](#placeholders). \nIf this is not string, it is converted to string (i.e. `toString` method is called).\n\n##### <a name=\"utility_methods-questionnewpassword-options-unmatchmessage\"></a>`unmatchMessage`\n\n*Type:* string or others \n*Default:* `'It differs from first one. Hit only the Enter key if you want to retry from first one.'`\n\nA warning message that is displayed when the second input did not match first one. \nThis is converted the same as the [`confirmMessage`](#utility_methods-questionnewpassword-options-confirmmessage) option.\n\n#### <a name=\"utility_methods-questionnewpassword-additional_placeholders\"></a>Additional Placeholders\n\nThe following additional [placeholder](#placeholders) parameters are available.\n\n##### <a name=\"utility_methods-questionnewpassword-additional_placeholders-charlist\"></a>`charlist`\n\nA current value of [`charlist`](#utility_methods-questionnewpassword-options-charlist) option that is converted to human readable if possible. (e.g. `'A...Z'`)\n\n##### <a name=\"utility_methods-questionnewpassword-additional_placeholders-length\"></a>`length`\n\nA current value of [`min` and `max`](#utility_methods-questionnewpassword-options-min_max) option that is converted to human readable. (e.g. `'12...24'`)\n\n### <a name=\"utility_methods-questionint\"></a>`questionInt`\n\n```js\nnumInt = readlineSync.questionInt([query[, options]])\n```\n\nDisplay a `query` to the user if it's specified, and then accept only an input that can be interpreted as an integer, and then return the number (not string) after the Enter key was pressed. \nThis parses the input as much as possible by `parseInt()`. For example, it interprets `' 5 '`, `'5.6'`, `'005'`, `'5files'`, `'5kb'` and `'5px'` as `5`.\n\nThe `query` is handled the same as that of the [`question`](#basic_methods-question) method.\n\n#### <a name=\"utility_methods-questionint-options\"></a>Options\n\nThe following option has independent default value that is not affected by [Default Options](#basic_options).\n\n| Option Name | Default Value |\n|-------------------|---------------|\n| [`limitMessage`](#basic_options-limitmessage) | `'Input valid number, please.'` |\n\nThe following options work as shown in the [Basic Options](#basic_options) section.\n\n<table>\n<tr><td><a href=\"#basic_options-hideechoback\"><code>hideEchoBack</code></a></td><td><a href=\"#basic_options-mask\"><code>mask</code></a></td><td><a href=\"#basic_options-defaultinput\"><code>defaultInput</code></a></td><td><a href=\"#basic_options-encoding\"><code>encoding</code></a></td><td><a href=\"#basic_options-buffersize\"><code>bufferSize</code></a></td></tr>\n<tr><td><a href=\"#basic_options-print\"><code>print</code></a></td><td><a href=\"#basic_options-history\"><code>history</code></a></td></tr>\n</table>\n\n### <a name=\"utility_methods-questionfloat\"></a>`questionFloat`\n\n```js\nnumFloat = readlineSync.questionFloat([query[, options]])\n```\n\nDisplay a `query` to the user if it's specified, and then accept only an input that can be interpreted as a floating-point number, and then return the number (not string) after the Enter key was pressed. \nThis parses the input as much as possible by `parseFloat()`. For example, it interprets `' 3.14 '`, `'003.1400'`, `'314e-2'` and `'3.14PI'` as `3.14`.\n\nThe `query` is handled the same as that of the [`question`](#basic_methods-question) method.\n\n#### <a name=\"utility_methods-questionfloat-options\"></a>Options\n\nThe following option has independent default value that is not affected by [Default Options](#basic_options).\n\n| Option Name | Default Value |\n|-------------------|---------------|\n| [`limitMessage`](#basic_options-limitmessage) | `'Input valid number, please.'` |\n\nThe following options work as shown in the [Basic Options](#basic_options) section.\n\n<table>\n<tr><td><a href=\"#basic_options-hideechoback\"><code>hideEchoBack</code></a></td><td><a href=\"#basic_options-mask\"><code>mask</code></a></td><td><a href=\"#basic_options-defaultinput\"><code>defaultInput</code></a></td><td><a href=\"#basic_options-encoding\"><code>encoding</code></a></td><td><a href=\"#basic_options-buffersize\"><code>bufferSize</code></a></td></tr>\n<tr><td><a href=\"#basic_options-print\"><code>print</code></a></td><td><a href=\"#basic_options-history\"><code>history</code></a></td></tr>\n</table>\n\n### <a name=\"utility_methods-questionpath\"></a>`questionPath`\n\n```js\npath = readlineSync.questionPath([query[, options]])\n```\n\nDisplay a `query` to the user if it's specified, and then accept only a valid local file or directory path, and then return an absolute path after the Enter key was pressed. \nThe `~` that is input by the user is replaced to the home directory. \nYou can specify the valid local file or directory path requirement to the options. And you can make it create a new file or directory when it doesn't exist. \n\nIt is recommended to use this method with the [`cd`](#basic_options-cd) option. (Default: `true`)\n\nThe `query` is handled the same as that of the [`question`](#basic_methods-question) method. \nThe default value of `query` is `'Input path (you can \"cd\" and \"pwd\"): '`.\n\nFor example:\n\n```js\nsourceFile = readlineSync.questionPath('Read from: ', {\n isFile: true\n});\nconsole.log('-- sourceFile: ' + sourceFile);\n\nsaveDir = readlineSync.questionPath('Save to: ', {\n isDirectory: true,\n exists: null,\n create: true\n});\nconsole.log('-- saveDir: ' + saveDir);\n```\n\n```console\nRead from: ~/fileA\nNo such file or directory: /home/user/fileA\nInput valid path, please.\nRead from: pwd\n/path/to/work\nRead from: cd ~/project-1\nRead from: fileA\n-- sourceFile: /home/user/project-1/fileA\nSave to: ~/deploy/data\n-- saveDir: /home/user/deploy/data\n```\n\n#### <a name=\"utility_methods-questionpath-options\"></a>Options\n\nThe following options have independent default value that is not affected by [Default Options](#basic_options).\n\n| Option Name | Default Value |\n|-------------------|---------------|\n| [`hideEchoBack`](#basic_options-hideechoback) | `false` |\n| [`limitMessage`](#basic_options-limitmessage) | `'$<error(\\n)>Input valid path, please.$<( Min:)min>$<( Max:)max>'` |\n| [`history`](#basic_options-history) | `true` |\n| [`cd`](#basic_options-cd) | `true` |\n\nThe following options work as shown in the [Basic Options](#basic_options) section.\n\n<table>\n<tr><td><a href=\"#basic_options-mask\"><code>mask</code></a></td><td><a href=\"#basic_options-defaultinput\"><code>defaultInput</code></a></td><td><a href=\"#basic_options-encoding\"><code>encoding</code></a></td><td><a href=\"#basic_options-buffersize\"><code>bufferSize</code></a></td><td><a href=\"#basic_options-print\"><code>print</code></a></td></tr>\n</table>\n\nAnd the following additional options are available.\n\n**Note:** It does not check the coherency about a combination of the options as the path requirement. For example, the `{exists: false, isFile: true}` never check that it is a file because it is limited to the path that does not exist.\n\n##### <a name=\"utility_methods-questionpath-options-exists\"></a>`exists`\n\n*Type:* boolean or others \n*Default:* `true`\n\nIf `true` is specified, accept only a file or directory path that exists. If `false` is specified, accept only a file or directory path that does *not* exist. \nIn any other case, the existence is not checked.\n\n##### <a name=\"utility_methods-questionpath-options-min_max\"></a>`min`, `max`\n\n*Type:* number or others \n*Default:* `undefined`\n\n`min`: A number as a minimum size of the file that is accepted. \n`max`: A number as a maximum size of the file that is accepted. \nIf it is not specified or `0` is specified, the size is not checked. (A size of directory is `0`.)\n\n##### <a name=\"utility_methods-questionpath-options-isfile_isdirectory\"></a>`isFile`, `isDirectory`\n\n*Type:* boolean \n*Default:* `false`\n\n`isFile`: If `true` is specified, accept only a file path. \n`isDirectory`: If `true` is specified, accept only a directory path.\n\n##### <a name=\"utility_methods-questionpath-options-validate\"></a>`validate`\n\n*Type:* function or `undefined` \n*Default:* `undefined`\n\nIf a function that returns `true` or an error message is specified, call it with a path that was input, and accept the input when the function returned `true`. \nIf the function returned a string as an error message, that message is got by the [`error`](#utility_methods-questionpath-additional_placeholders-error) additional [placeholder](#placeholders) parameter. \nA path that was input is parsed before it is passed to the function. `~` is replaced to a home directory, and a path is converted to an absolute path. \nThis is also a return value from this method.\n\nFor example, accept only PNG file or tell it to the user:\n\n```js\nimageFile = readlineSync.questionPath('Image File: ', {\n validate: function(path) { return /\\.png$/i.test(path) || 'It is not PNG'; }\n});\n```\n\n##### <a name=\"utility_methods-questionpath-options-create\"></a>`create`\n\n*Type:* boolean \n*Default:* `false`\n\nIf `true` is specified, create a file or directory as a path that was input when it doesn't exist. If `true` is specified to the [`isDirectory`](#utility_methods-questionpath-options-isfile_isdirectory) option, create a directory, otherwise a file. \nIt does not affect the existence check. Therefore, you can get a new file or directory path anytime by specifying: `{exists: false, create: true}`\n\n#### <a name=\"utility_methods-questionpath-additional_placeholders\"></a>Additional Placeholders\n\nThe following additional [placeholder](#placeholders) parameters are available.\n\n##### <a name=\"utility_methods-questionpath-additional_placeholders-error\"></a>`error`\n\nAn error message when the input was not accepted. \nThis value is set by readlineSync, or the function that was specified to [`validate`](#utility_methods-questionpath-options-validate) option.\n\n##### <a name=\"utility_methods-questionpath-additional_placeholders-min_max\"></a>`min`, `max`\n\nA current value of [`min` and `max`](#utility_methods-questionpath-options-min_max) option.\n\n### <a name=\"utility_methods-promptcl\"></a>`promptCL`\n\n```js\nargsArray = readlineSync.promptCL([commandHandler[, options]])\n```\n\nDisplay a prompt-sign (see [`prompt`](#basic_options-prompt) option) to the user, and then consider the input as a command-line and parse it, and then return a result after the Enter key was pressed. \nA return value is an Array that includes the tokens that were parsed. It parses the input from the user as the command-line, and it interprets whitespaces, quotes, etc., and it splits it to tokens properly. Usually, a first element of the Array is command-name, and remaining elements are arguments.\n\nFor example:\n\n```js\nargsArray = readlineSync.promptCL();\nconsole.log(argsArray.join('\\n'));\n```\n\n```console\n> command arg \"arg\" \" a r g \" \"\" 'a\"r\"g' \"a\"\"rg\" \"arg\ncommand\narg\narg\n a r g \n\na\"r\"g\narg\narg\n```\n\n#### <a name=\"utility_methods-promptcl-commandhandler\"></a>`commandHandler`\n\nBy using the `commandHandler` argument, this method will come into its own. Specifying the Object to this argument has the more merit. And it has the more merit for [`promptCLLoop`](#utility_methods-promptclloop) method. \n\nIf a function is specified to `commandHandler` argument, it is just called with a parsed Array as an argument list of the function. And `this` is an original input string, in the function.\n\nFor example, the following 2 codes work same except that `this` is enabled in the second one:\n\n```js\nargsArray = readlineSync.promptCL();\nif (argsArray[0] === 'add') {\n console.log(argsArray[1] + ' is added.');\n} else if (argsArray[0] === 'copy') {\n console.log(argsArray[1] + ' is copied to ' + argsArray[2] + '.');\n}\n```\n\n```js\nreadlineSync.promptCL(function(command, arg1, arg2) {\n console.log('You want to: ' + this); // All of command-line.\n if (command === 'add') {\n console.log(arg1 + ' is added.');\n } else if (command === 'copy') {\n console.log(arg1 + ' is copied to ' + arg2 + '.');\n }\n});\n```\n\nIf an Object that has properties named as the command-name is specified, the command-name is interpreted, and a function as the value of matched property is called. A function is chosen properly by handling case of the command-name in accordance with the [`caseSensitive`](#basic_options-casesensitive) option. \nThe function is called with a parsed Array that excludes a command-name (i.e. first element is removed from the Array) as an argument list of the function. \nThat is, a structure of the `commandHandler` Object looks like:\n\n```js\n{\n commandA: function(arg) { ... }, // commandA requires one argument.\n commandB: function(arg1, arg2) { ... }, // readlineSync doesn't care those.\n commandC: function() { ... } // Of course, it can also ignore all.\n}\n```\n\nreadlineSync just receives the arguments from the user and passes those to these functions without checking. The functions may have to check whether the required argument was input by the user, and more validate those.\n\nFor example, the following code works same to the above code:\n\n```js\nreadlineSync.promptCL({\n add: function(element) { // It's called by also \"ADD\", \"Add\", \"aDd\", etc..\n console.log(element + ' is added.');\n },\n copy: function(from, to) {\n console.log(from + ' is copied to ' + to + '.');\n }\n});\n```\n\nIf the matched property is not found in the Object, a `_` property is chosen, and the function as the value of this property is called with a parsed Array as an argument list of the function. Note that this includes a command-name. That is, the function looks like `function(command, arg1, arg2, ...) { ... }`. \nAnd if the Object doesn't have a `_` property, any command that the matched property is not found in the Object is refused.\n\nFor example:\n\n```js\nreadlineSync.promptCL({\n copy: function(from, to) { // command-name is not included.\n console.log(from + ' is copied to ' + to + '.');\n },\n _: function(command) { // command-name is included.\n console.log('Sorry, ' + command + ' is not available.');\n }\n});\n```\n\n#### <a name=\"utility_methods-promptcl-options\"></a>Options\n\nThe following options have independent default value that is not affected by [Default Options](#basic_options).\n\n| Option Name | Default Value |\n|-------------------|---------------|\n| [`hideEchoBack`](#basic_options-hideechoback) | `false` |\n| [`limitMessage`](#basic_options-limitmessage) | `'Requested command is not available.'` |\n| [`caseSensitive`](#basic_options-casesensitive) | `false` |\n| [`history`](#basic_options-history) | `true` |\n\nThe following options work as shown in the [Basic Options](#basic_options) section.\n\n<table>\n<tr><td><a href=\"#basic_options-prompt\"><code>prompt</code></a></td><td><a href=\"#basic_options-mask\"><code>mask</code></a></td><td><a href=\"#basic_options-defaultinput\"><code>defaultInput</code></a></td><td><a href=\"#basic_options-encoding\"><code>encoding</code></a></td><td><a href=\"#basic_options-buffersize\"><code>bufferSize</code></a></td></tr>\n<tr><td><a href=\"#basic_options-print\"><code>print</code></a></td><td><a href=\"#basic_options-cd\"><code>cd</code></a></td></tr>\n</table>\n\n### <a name=\"utility_methods-promptloop\"></a>`promptLoop`\n\n```js\nreadlineSync.promptLoop(inputHandler[, options])\n```\n\nDisplay a prompt-sign (see [`prompt`](#basic_options-prompt) option) to the user, and then call `inputHandler` function with the input from the user after it has been typed and the Enter key was pressed. Do these repeatedly until `inputHandler` function returns `true`.\n\nFor example, the following 2 codes work same:\n\n```js\nwhile (true) {\n input = readlineSync.prompt();\n console.log('-- You said \"' + input + '\"');\n if (input === 'bye') {\n break;\n }\n}\nconsole.log('It\\'s exited from loop.');\n```\n\n```js\nreadlineSync.promptLoop(function(input) {\n console.log('-- You said \"' + input + '\"');\n return input === 'bye';\n});\nconsole.log('It\\'s exited from loop.');\n```\n\n```console\n> hello\n-- You said \"hello\"\n> good morning\n-- You said \"good morning\"\n> bye\n-- You said \"bye\"\nIt's exited from loop.\n```\n\n#### <a name=\"utility_methods-promptloop-options\"></a>Options\n\nThe following options have independent default value that is not affected by [Default Options](#basic_options).\n\n| Option Name | Default Value |\n|-------------------|---------------|\n| [`hideEchoBack`](#basic_options-hideechoback) | `false` |\n| [`trueValue`](#basic_options-truevalue_falsevalue) | `null` |\n| [`falseValue`](#basic_options-truevalue_falsevalue) | `null` |\n| [`caseSensitive`](#basic_options-casesensitive) | `false` |\n| [`history`](#basic_options-history) | `true` |\n\nThe other options work as shown in the [Basic Options](#basic_options) section.\n\n### <a name=\"utility_methods-promptclloop\"></a>`promptCLLoop`\n\n```js\nreadlineSync.promptCLLoop([commandHandler[, options]])\n```\n\nExecute [`promptCL`](#utility_methods-promptcl) method repeatedly until chosen [`commandHandler`](#utility_methods-promptcl-commandhandler) returns `true`. \nThe [`commandHandler`](#utility_methods-promptcl-commandhandler) may be a function that is called like:\n\n```js\nexit = allCommands(command, arg1, arg2, ...);\n```\n\nor an Object that has the functions that are called like:\n\n```js\nexit = foundCommand(arg1, arg2, ...);\n```\n\nSee [`promptCL`](#utility_methods-promptcl) method for details. \nThis method looks like a combination of [`promptCL`](#utility_methods-promptcl) method and [`promptLoop`](#utility_methods-promptloop) method.\n\nFor example:\n\n```js\nreadlineSync.promptCLLoop({\n add: function(element) {\n console.log(element + ' is added.');\n },\n copy: function(from, to) {\n console.log(from + ' is copied to ' + to + '.');\n },\n bye: function() { return true; }\n});\nconsole.log('It\\'s exited from loop.');\n```\n\n```console\n> add \"New Hard Disk\"\nNew Hard Disk is added.\n> move filesOnOld \"New Hard Disk\"\nRequested command is not available.\n> copy filesOnOld \"New Hard Disk\"\nfilesOnOld is copied to New Hard Disk.\n> bye\nIt's exited from loop.\n```\n\n#### <a name=\"utility_methods-promptclloop-options\"></a>Options\n\nThe following options have independent default value that is not affected by [Default Options](#basic_options).\n\n| Option Name | Default Value |\n|-------------------|---------------|\n| [`hideEchoBack`](#basic_options-hideechoback) | `false` |\n| [`limitMessage`](#basic_options-limitmessage) | `'Requested command is not available.'` |\n| [`caseSensitive`](#basic_options-casesensitive) | `false` |\n| [`history`](#basic_options-history) | `true` |\n\nThe following options work as shown in the [Basic Options](#basic_options) section.\n\n<table>\n<tr><td><a href=\"#basic_options-prompt\"><code>prompt</code></a></td><td><a href=\"#basic_options-mask\"><code>mask</code></a></td><td><a href=\"#basic_options-defaultinput\"><code>defaultInput</code></a></td><td><a href=\"#basic_options-encoding\"><code>encoding</code></a></td><td><a href=\"#basic_options-buffersize\"><code>bufferSize</code></a></td></tr>\n<tr><td><a href=\"#basic_options-print\"><code>print</code></a></td><td><a href=\"#basic_options-cd\"><code>cd</code></a></td></tr>\n</table>\n\n### <a name=\"utility_methods-promptsimshell\"></a>`promptSimShell`\n\n```js\ninput = readlineSync.promptSimShell([options])\n```\n\nDisplay a prompt-sign that is similar to that of the user's shell to the user, and then return the input from the user after it has been typed and the Enter key was pressed. \nThis method displays a prompt-sign like:\n\nOn Windows:\n\n```console\nC:\\Users\\User\\Path\\To\\Directory>\n```\n\nOn others:\n\n```console\nuser@host:~/path/to/directory$ \n```\n\n#### <a name=\"utility_methods-promptsimshell-options\"></a>Options\n\nThe following options have independent default value that is not affected by [Default Options](#basic_options).\n\n| Option Name | Default Value |\n|-------------------|---------------|\n| [`hideEchoBack`](#basic_options-hideechoback) | `false` |\n| [`history`](#basic_options-history) | `true` |\n\nThe other options other than [`prompt`](#basic_options-prompt) option work as shown in the [Basic Options](#basic_options) section.\n\n### <a name=\"utility_methods-keyinyn\"></a>`keyInYN`\n\n```js\nboolYesOrEmpty = readlineSync.keyInYN([query[, options]])\n```\n\nDisplay a `query` to the user if it's specified, and then return a boolean or an empty string immediately a key was pressed by the user, **without pressing the Enter key**. Note that the user has no chance to change the input. \nThis method works like the `window.confirm` method of web browsers. A return value means \"Yes\" or \"No\" the user said. It differ depending on the pressed key:\n\n* `Y`: `true`\n* `N`: `false`\n* other: `''`\n\nThe `query` is handled the same as that of the [`question`](#basic_methods-question) method. \nThe default value of `query` is `'Are you sure? '`.\n\nThe keys other than `Y` and `N` are also accepted (If you want to know a user's wish explicitly, use [`keyInYNStrict`](#utility_methods-keyinynstrict) method). Therefore, if you let the user make an important decision (e.g. files are removed), check whether the return value is not *falsy*. That is, a default is \"No\".\n\nFor example:\n\n```js\nif (!readlineSync.keyInYN('Do you want to install this?')) {\n // Key that is not `Y` was pressed.\n process.exit();\n}\n// Do something...\n```\n\nOr if you let the user stop something that must be done (e.g. something about the security), check whether the return value is `false` explicitly. That is, a default is \"Yes\".\n\nFor example:\n\n```js\n// Don't use `(!readlineSync.keyInYN())`.\nif (readlineSync.keyInYN('Continue virus scan?') === false) {\n // `N` key was pressed.\n process.exit();\n}\n// Continue...\n```\n\n#### <a name=\"utility_methods-keyinyn-options\"></a>Options\n\nThe following options work as shown in the [Basic Options](#basic_options) section.\n\n<table>\n<tr><td><a href=\"#basic_options-encoding\"><code>encoding</code></a></td><td><a href=\"#basic_options-print\"><code>print</code></a></td></tr>\n</table>\n\nAnd the following additional option is available.\n\n##### <a name=\"utility_methods-keyinyn-options-guide\"></a>`guide`\n\n*Type:* boolean \n*Default:* `true`\n\nIf `true` is specified, a string `'[y/n]'` as guide for the user is added to `query`. And `':'` is moved to the end of `query`, or it is added.\n\nFor example:\n\n```js\nreadlineSync.keyInYN('Do you like me?'); // No colon\nreadlineSync.keyInYN('Really? :'); // Colon already exists\n```\n\n```console\nDo you like me? [y/n]: y\nReally? [y/n]: y\n```\n\n### <a name=\"utility_methods-keyinynstrict\"></a>`keyInYNStrict`\n\n```js\nboolYes = readlineSync.keyInYNStrict([query[, options]])\n```\n\nDisplay a `query` to the user if it's specified, and then accept only `Y` or `N` key, and then return a boolean immediately it was pressed by the user, **without pressing the Enter key**. Note that the user has no chance to change the input. \nThis method works like the `window.confirm` method of web browsers. A return value means \"Yes\" or \"No\" the user said. It differ depending on the pressed key:\n\n* `Y`: `true`\n* `N`: `false`\n\nThe `query` is handled the same as that of the [`question`](#basic_methods-question) method. \nThe default value of `query` is `'Are you sure? '`.\n\nA key other than `Y` and `N` is not accepted. That is, a return value has no default. Therefore, the user has to tell an own wish explicitly. If you want to know a user's wish easily, use [`keyInYN`](#utility_methods-keyinyn) method.\n\nThis method works same to [`keyInYN`](#utility_methods-keyinyn) method except that this accept only `Y` or `N` key (Therefore, a return value is boolean every time). The options also work same to [`keyInYN`](#utility_methods-keyinyn) method.\n\n### <a name=\"utility_methods-keyinpause\"></a>`keyInPause`\n\n```js\nreadlineSync.keyInPause([query[, options]])\n```\n\nDisplay a `query` to the user if it's specified, and then just wait for a key to be pressed by the user. \nThis method works like the `window.alert` method of web browsers. This is used to make the running of script pause and show something to the user, or wait for the user to be ready. \nBy default, any key is accepted (See: [Note](#utility_methods-keyinpause-note)). You can change this behavior by specifying [`limit`](#basic_options-limit) option (e.g. accept only a Space Bar).\n\nThe `query` is handled the same as that of the [`question`](#basic_methods-question) method. \nThe default value of `query` is `'Continue...'`.\n\nFor example:\n\n```js\n// Have made the preparations for something...\nconsole.log('==== Information of Your Computer ====');\nconsole.log(info); // This can be `query`.\nreadlineSync.keyInPause();\nconsole.log('It\\'s executing now...');\n// Do something...\n```\n\n```console\n==== Information of Your Computer ====\nFOO: 123456\nBAR: abcdef\nContinue... (Hit any key)\nIt's executing now...\n```\n\n#### <a name=\"utility_methods-keyinpause-options\"></a>Options\n\nThe following option has independent default value that is not affected by [Default Options](#basic_options).\n\n| Option Name | Default Value |\n|-------------------|---------------|\n| [`limit`](#basic_options-limit) | `null` |\n\nThe following options work as shown in the [Basic Options](#basic_options) section.\n\n<table>\n<tr><td><a href=\"#basic_options-casesensitive\"><code>caseSensitive</code></a></td><td><a href=\"#basic_options-encoding\"><code>encoding</code></a></td><td><a href=\"#basic_options-print\"><code>print</code></a></td></tr>\n</table>\n\nAnd the following additional option is available.\n\n##### <a name=\"utility_methods-keyinpause-options-guide\"></a>`guide`\n\n*Type:* boolean \n*Default:* `true`\n\nIf `true` is specified, a string `'(Hit any key)'` as guide for the user is added to `query`.\n\nFor example:\n\n```js\nreadlineSync.keyInPause('It\\'s pausing now...');\n```\n\n```console\nIt's pausing now... (Hit any key)\n```\n\n#### <a name=\"utility_methods-keyinpause-note\"></a>Note\n\nControl keys including Enter key are not accepted by `keyIn*` methods. \nIf you want to wait until the user presses Enter key, use `question*` methods instead of `keyIn*` methods. For example:\n\n```js\nreadlineSync.question('Hit Enter key to continue.', {hideEchoBack: true, mask: ''});\n```\n\n### <a name=\"utility_methods-keyinselect\"></a>`keyInSelect`\n\n```js\nindex = readlineSync.keyInSelect(items[, query[, options]])\n```\n\nDisplay the list that was created with the `items` Array, and the `query` to the user if it's specified, and then return the number as an index of the `items` Array immediately it was chosen by pressing a key by the user, **without pressing the Enter key**. Note that the user has no chance to change the input.\n\nThe `query` is handled the same as that of the [`question`](#basic_methods-question) method. \nThe default value of `query` is `'Choose one from list: '`.\n\nThe minimum length of `items` Array is 1 and maximum length is 35. These elements are displayed as item list. A key to let the user choose an item is assigned to each item automatically in sequence like \"1, 2, 3 ... 9, A, B, C ...\". A number as an index of the `items` Array that corresponds to a chosen item by the user is returned.\n\n**Note:** Even if the `items` Array has only less than 35 items, a long Array that forces an user to scroll the list may irritate the user. Remember, the user might be in a console environment that doesn't support scrolling the screen. If you want to use a long `items` Array (e.g. more than 10 items), you should consider a \"Pagination\". (See [example](https://github.com/anseki/readline-sync/issues/60#issuecomment-324533678).)\n\nFor example:\n\n```js\nframeworks = ['Express', 'hapi', 'flatiron', 'MEAN.JS', 'locomotive'];\nindex = readlineSync.keyInSelect(frameworks, 'Which framework?');\nconsole.log(frameworks[index] + ' is enabled.');\n```\n\n```console\n[1] Express\n[2] hapi\n[3] flatiron\n[4] MEAN.JS\n[5] locomotive\n[0] CANCEL\n\nWhich framework? [1...5 / 0]: 2\nhapi is enabled.\n```\n\n#### <a name=\"utility_methods-keyinselect-options\"></a>Options\n\nThe following option has independent default value that is not affected by [Default Options](#basic_options).\n\n| Option Name | Default Value |\n|-------------------|---------------|\n| [`hideEchoBack`](#basic_options-hideechoback) | `false` |\n\nThe following options work as shown in the [Basic Options](#basic_options) section.\n\n<table>\n<tr><td><a href=\"#basic_options-mask\"><code>mask</code></a></td><td><a href=\"#basic_options-encoding\"><code>encoding</code></a></td><td><a href=\"#basic_options-print\"><code>print</code></a></td></tr>\n</table>\n\nAnd the following additional options are available.\n\n##### <a name=\"utility_methods-keyinselect-options-guide\"></a>`guide`\n\n*Type:* boolean \n*Default:* `true`\n\nIf `true` is specified, a string like `'[1...5]'` as guide for the user is added to `query`. And `':'` is moved to the end of `query`, or it is added. This is the key list that corresponds to the item list.\n\n##### <a name=\"utility_methods-keyinselect-options-cancel\"></a>`cancel`\n\n*Type:* boolean, string or others \n*Default:* `'CANCEL'`\n\nIf a value other than `false` is specified, an item to let the user tell \"cancel\" is added to the item list. \"[0] CANCEL\" (default) is displayed, and if `0` key is pressed, `-1` is returned. \nYou can specify a label of this item other than `'CANCEL'`. A string such as `'Go back'` (empty string `''` also), something that is converted to string such as `Date`, a string that includes [placeholder](#placeholders) such as `'Next $<itemsCount> items'` are accepted.\n\n#### <a name=\"utility_methods-keyinselect-additional_placeholders\"></a>Additional Placeholders\n\nThe following additional [placeholder](#placeholders) parameters are available.\n\n##### <a name=\"utility_methods-keyinselect-additional_placeholders-itemscount\"></a>`itemsCount`\n\nA length of a current `items` Array.\n\nFor example:\n\n```js\nitems = ['item-A', 'item-B', 'item-C', 'item-D', 'item-E'];\nindex = readlineSync.keyInSelect(items, null,\n {cancel: 'Show more than $<itemsCount> items'});\n```\n\n```console\n[1] item-A\n[2] item-B\n[3] item-C\n[4] item-D\n[5] item-E\n[0] Show more than 5 items\n```\n\n##### <a name=\"utility_methods-keyinselect-additional_placeholders-firstitem\"></a>`firstItem`\n\nA first item in a current `items` Array.\n\nFor example:\n\n```js\nindex = readlineSync.keyInSelect(items, 'Choose $<firstItem> or another: ');\n```\n\n##### <a name=\"utility_methods-keyinselect-additional_placeholders-lastitem\"></a>`lastItem`\n\nA last item in a current `items` Array.\n\nFor example:\n\n```js\nitems = ['January', 'February', 'March', 'April', 'May', 'June'];\nindex = readlineSync.keyInSelect(items, null,\n {cancel: 'In after $<lastItem>'});\n```\n\n```console\n[1] January\n[2] February\n[3] March\n[4] April\n[5] May\n[6] June\n[0] In after June\n```\n\n## <a name=\"placeholders\"></a>Placeholders\n\n[`hideEchoBack`, `mask`, `defaultInput`, `caseSensitive`, `keepWhitespace`, `encoding`, `bufferSize`, `history`, `cd`, `limit`, `trueValue`, `falseValue`](#placeholders-parameters-hideechoback_mask_defaultinput_casesensitive_keepwhitespace_encoding_buffersize_history_cd_limit_truevalue_falsevalue), [`limitCount`, `limitCountNotZero`](#placeholders-parameters-limitcount_limitcountnotzero), [`lastInput`](#placeholders-parameters-lastinput), [`history_mN`](#placeholders-parameters-historymn), [`cwd`, `CWD`, `cwdHome`](#placeholders-parameters-cwd_cwd_cwdhome), [`date`, `time`, `localeDate`, `localeTime`](#placeholders-parameters-date_time_localedate_localetime), [`C1-C2`](#placeholders-parameters-c1_c2)\n\nThe placeholders in the text are replaced to another string.\n\nFor example, the [`limitMessage`](#basic_options-limitmessage) option to display a warning message that means that the command the user requested is not available:\n\n```js\ncommand = readlineSync.prompt({\n limit: ['add', 'remove'],\n limitMessage: '$<lastInput> is not available.'\n});\n```\n\n```console\n> delete\ndelete is not available.\n```\n\nThe placeholders can be included in:\n\n* `query` argument\n* [`prompt`](#basic_options-prompt) and [`limitMessage`](#basic_options-limitmessage) options\n* [`limit` option for `keyIn*` method](#basic_options-limit-for_keyin_method) and [`charlist`](#utility_methods-questionnewpassword-options-charlist) option for [`questionNewPassword`](#utility_methods-questionnewpassword) method ([`C1-C2`](#placeholders-parameters-c1_c2) parameter only)\n* And some additional options for the [Utility Methods](#utility_methods).\n\n### <a name=\"placeholders-syntax\"></a>Syntax\n\n```\n$<parameter>\n```\n\nOr\n\n```\n$<(text1)parameter(text2)>\n```\n\nThe placeholder is replaced to a string that is got by a `parameter`. \nBoth the `(text1)` and `(text2)` are optional. \nA more added `'$'` at the left of the placeholder is used as an escape character, it disables a placeholder. For example, `'$$<foo>'` is replaced to `'$<foo>'`. If you want to put a `'$'` which is *not* an escape character at the left of a placeholder, specify it like `'$<($)bufferSize>'`, then it is replaced to `'$1024'`.\n\nAt the each position of `'(text1)'` and `'(text2)'`, `'text1'` and `'text2'` are put when a string that was got by a `parameter` has more than 0 length. If that got string is `''`, a placeholder with or without `'(text1)'` and `'(text2)'` is replaced to `''`.\n\nFor example, a warning message that means that the command the user requested is not available:\n\n```js\ncommand = readlineSync.prompt({\n limit: ['add', 'remove'],\n limitMessage: 'Refused $<lastInput> you requested. Please input another.'\n});\n```\n\n```console\n> give-me-car\nRefused give-me-car you requested. Please input another.\n```\n\nIt looks like no problem. \nBut when the user input nothing (hit only the Enter key), and then a message is displayed:\n\n```console\n> \nRefused you requested. Please input another.\n```\n\nThis goes well:\n\n```js\ncommand = readlineSync.prompt({\n limit: ['add', 'remove'],\n limitMessage: 'Refused $<lastInput( you requested)>. Please input another.'\n});\n```\n\n```console\n> \nRefused . Please input another.\n```\n\n(May be more better: `'$<(Refused )lastInput( you requested. )>Please input another.'`)\n\n**Note:** The syntax `${parameter}` of older version is still supported, but this should not be used because it may be confused with template string syntax of ES6. And this will not be supported in due course of time.\n\n### <a name=\"placeholders-parameters\"></a>Parameters\n\nThe following parameters are available. And some additional parameters are available in the [Utility Methods](#utility_methods).\n\n#### <a name=\"placeholders-parameters-hideechoback_mask_defaultinput_casesensitive_keepwhitespace_encoding_buffersize_history_cd_limit_truevalue_falsevalue\"></a>`hideEchoBack`, `mask`, `defaultInput`, `caseSensitive`, `keepWhitespace`, `encoding`, `bufferSize`, `history`, `cd`, `limit`, `trueValue`, `falseValue`\n\nA current value of each option. \nIt is converted to human readable if possible. The boolean value is replaced to `'on'` or `'off'`, and the Array is replaced to the list of only string and number elements. \nAnd in the `keyIn*` method, the parts of the list as characters sequence are suppressed. For example, when `['a', 'b', 'c', 'd', 'e']` is specified to the [`limit`](#basic_options-limit) option, `'$<limit>'` is replaced to `'a...e'`. If `true` is specified to the [`caseSensitive`](#basic_options-casesensitive) option, the characters are converted to lower case.\n\nFor example:\n\n```js\ninput = readlineSync.question(\n 'Input something or the Enter key as \"$<defaultInput>\": ',\n {defaultInput: 'hello'}\n);\n```\n\n```console\nInput something or the Enter key as \"hello\":\n```\n\n#### <a name=\"placeholders-parameters-limitcount_limitcountnotzero\"></a>`limitCount`, `limitCountNotZero`\n\nA length of a current value of the [`limit`](#basic_options-limit) option. \nWhen the value of the [`limit`](#basic_options-limit) option is empty, `'$<limitCount>'` is replaced to `'0'`, `'$<limitCountNotZero>'` is replaced to `''`.\n\nFor example:\n\n```js\naction = readlineSync.question(\n 'Choose action$<( from )limitCountNotZero( actions)>: ',\n {limit: availableActions}\n);\n```\n\n```console\nChoose action from 5 actions:\n```\n\n#### <a name=\"placeholders-parameters-lastinput\"></a>`lastInput`\n\nA last input from the user. \nIn any case, this is saved.\n\nFor example:\n\n```js\ncommand = readlineSync.prompt({\n limit: availableCommands,\n limitMessage: '$<lastInput> is not available.'\n});\n```\n\n```console\n> wrong-command\nwrong-command is not available.\n```\n\n#### <a name=\"placeholders-parameters-historymn\"></a>`history_mN`\n\nWhen the history expansion feature is enabled (see [`history`](#basic_opt",
|
|
4191
4191
|
"_attachments": {}
|
|
@@ -233,7 +233,7 @@
|
|
|
233
233
|
"dist-tags": {
|
|
234
234
|
"latest": "1.0.0"
|
|
235
235
|
},
|
|
236
|
-
"_rev": "
|
|
236
|
+
"_rev": "1170-73afa6f26ab0d7db",
|
|
237
237
|
"_id": "wordwrap",
|
|
238
238
|
"readme": "wordwrap\n========\n\nWrap your words.\n\nexample\n=======\n\nmade out of meat\n----------------\n\nmeat.js\n\n var wrap = require('wordwrap')(15);\n console.log(wrap('You and your whole family are made out of meat.'));\n\noutput:\n\n You and your\n whole family\n are made out\n of meat.\n\ncentered\n--------\n\ncenter.js\n\n var wrap = require('wordwrap')(20, 60);\n console.log(wrap(\n 'At long last the struggle and tumult was over.'\n + ' The machines had finally cast off their oppressors'\n + ' and were finally free to roam the cosmos.'\n + '\\n'\n + 'Free of purpose, free of obligation.'\n + ' Just drifting through emptiness.'\n + ' The sun was just another point of light.'\n ));\n\noutput:\n\n At long last the struggle and tumult\n was over. The machines had finally cast\n off their oppressors and were finally\n free to roam the cosmos.\n Free of purpose, free of obligation.\n Just drifting through emptiness. The\n sun was just another point of light.\n\nmethods\n=======\n\nvar wrap = require('wordwrap');\n\nwrap(stop), wrap(start, stop, params={mode:\"soft\"})\n---------------------------------------------------\n\nReturns a function that takes a string and returns a new string.\n\nPad out lines with spaces out to column `start` and then wrap until column\n`stop`. If a word is longer than `stop - start` characters it will overflow.\n\nIn \"soft\" mode, split chunks by `/(\\S+\\s+/` and don't break up chunks which are\nlonger than `stop - start`, in \"hard\" mode, split chunks with `/\\b/` and break\nup chunks longer than `stop - start`.\n\nwrap.hard(start, stop)\n----------------------\n\nLike `wrap()` but with `params.mode = \"hard\"`.",
|
|
239
239
|
"_attachments": {}
|
|
@@ -12592,7 +12592,7 @@
|
|
|
12592
12592
|
"dist-tags": {
|
|
12593
12593
|
"latest": "5.8.1"
|
|
12594
12594
|
},
|
|
12595
|
-
"_rev": "
|
|
12595
|
+
"_rev": "360-b00f5fa9c7553c7d",
|
|
12596
12596
|
"_id": "@smithy/fetch-http-handler",
|
|
12597
12597
|
"readme": "",
|
|
12598
12598
|
"_attachments": {}
|
|
@@ -2346,7 +2346,7 @@
|
|
|
2346
2346
|
"dist-tags": {
|
|
2347
2347
|
"latest": "2.9.2"
|
|
2348
2348
|
},
|
|
2349
|
-
"_rev": "
|
|
2349
|
+
"_rev": "1214-c6ccbfa9a1f793ee",
|
|
2350
2350
|
"_id": "bare-events",
|
|
2351
2351
|
"readme": "# bare-events\n\nEvent emitters for JavaScript.\n\n```\nnpm install bare-events\n```\n\n## Usage\n\n```js\nconst EventEmitter = require('bare-events')\n\nconst e = new EventEmitter()\n\ne.on('hello', function (data) {\n console.log(data)\n})\n\ne.emit('hello', 'world')\n```\n\n## License\n\nApache-2.0",
|
|
2352
2352
|
"_attachments": {}
|
|
@@ -226,7 +226,7 @@
|
|
|
226
226
|
"dist-tags": {
|
|
227
227
|
"latest": "1.0.1"
|
|
228
228
|
},
|
|
229
|
-
"_rev": "
|
|
229
|
+
"_rev": "1857-e6804b0dd3773db2",
|
|
230
230
|
"_id": "package-json-from-dist",
|
|
231
231
|
"readme": "# package-json-from-dist\n\nSometimes you want to load the `package.json` into your\nTypeScript program, and it's tempting to just `import\n'../package.json'`, since that seems to work.\n\nHowever, this requires `tsc` to make an entire copy of your\n`package.json` file into the `dist` folder, which is a problem if\nyou're using something like\n[tshy](https://github.com/isaacs/tshy), which uses the\n`package.json` file in dist for another purpose. Even when that\ndoes work, it's asking the module system to do a bunch of extra\nfs system calls, just to load a version number or something. (See\n[this issue](https://github.com/isaacs/tshy/issues/61).)\n\nThis module helps by just finding the package.json file\nappropriately, and reading and parsing it in the most normal\nfashion.\n\n## Caveats\n\nThis _only_ works if your code builds into a target folder called\n`dist`, which is in the root of the package. It also requires\nthat you do not have a folder named `node_modules` anywhere\nwithin your dev environment, or else it'll get the wrong answers\nthere. (But, at least, that'll be in dev, so you're pretty likely\nto notice.)\n\nIf you build to some other location, then you'll need a different\napproach. (Feel free to fork this module and make it your own, or\njust put the code right inline, there's not much of it.)\n\n## USAGE\n\n```js\n// src/index.ts\nimport {\n findPackageJson,\n loadPackageJson,\n} from 'package-json-from-dist'\n\nconst pj = findPackageJson(import.meta.url)\nconsole.log(`package.json found at ${pj}`)\n\nconst pkg = loadPackageJson(import.meta.url)\nconsole.log(`Hello from ${pkg.name}@${pkg.version}`)\n```\n\nIf your module is not directly in the `./src` folder, then you need\nto specify the path that you would expect to find the\n`package.json` when it's _not_ built to the `dist` folder.\n\n```js\n// src/components/something.ts\nimport {\n findPackageJson,\n loadPackageJson,\n} from 'package-json-from-dist'\n\nconst pj = findPackageJson(import.meta.url, '../../package.json')\nconsole.log(`package.json found at ${pj}`)\n\nconst pkg = loadPackageJson(import.meta.url, '../../package.json')\nconsole.log(`Hello from ${pkg.name}@${pkg.version}`)\n```\n\nWhen running from CommmonJS, use `__filename` instead of\n`import.meta.url`.\n\n```js\n// src/index.cts\nimport {\n findPackageJson,\n loadPackageJson,\n} from 'package-json-from-dist'\n\nconst pj = findPackageJson(__filename)\nconsole.log(`package.json found at ${pj}`)\n\nconst pkg = loadPackageJson(__filename)\nconsole.log(`Hello from ${pkg.name}@${pkg.version}`)\n```\n\nSince [tshy](https://github.com/isaacs/tshy) builds _both_\nCommonJS and ESM by default, you may find that you need a\nCommonJS override and some `//@ts-ignore` magic to make it work.\n\n`src/pkg.ts`:\n\n```js\nimport {\n findPackageJson,\n loadPackageJson,\n} from 'package-json-from-dist'\n//@ts-ignore\nexport const pkg = loadPackageJson(import.meta.url)\n//@ts-ignore\nexport const pj = findPackageJson(import.meta.url)\n```\n\n`src/pkg-cjs.cts`:\n\n```js\nimport {\n findPackageJson,\n loadPackageJson,\n} from 'package-json-from-dist'\nexport const pkg = loadPackageJson(__filename)\nexport const pj = findPackageJson(__filename)\n```",
|
|
232
232
|
"_attachments": {}
|
|
@@ -13208,7 +13208,7 @@
|
|
|
13208
13208
|
"dist-tags": {
|
|
13209
13209
|
"latest": "4.14.2"
|
|
13210
13210
|
},
|
|
13211
|
-
"_rev": "
|
|
13211
|
+
"_rev": "368-152be9e170a3d3e1",
|
|
13212
13212
|
"_id": "@smithy/node-http-handler",
|
|
13213
13213
|
"readme": "",
|
|
13214
13214
|
"_attachments": {}
|
|
@@ -350,7 +350,7 @@
|
|
|
350
350
|
"dist-tags": {
|
|
351
351
|
"latest": "1.0.1"
|
|
352
352
|
},
|
|
353
|
-
"_rev": "
|
|
353
|
+
"_rev": "652-89cd205121f5d0be",
|
|
354
354
|
"_id": "lazystream",
|
|
355
355
|
"readme": "# Lazy Streams\n\n> *Create streams lazily when they are read from or written to.* \n> `lazystream: 1.0.1` \n\n## Why?\n\nSometimes you feel the itch to open *all the files* at once. You want to pass a bunch of streams around, so the consumer does not need to worry where the data comes from.\nFrom a software design point-of-view this sounds entirely reasonable. Then there is that neat little function `fs.createReadStream()` that opens a file and gives you a nice `fs.ReadStream` to pass around, so you use what the mighty creator deities of node bestowed upon you.\n\n> `Error: EMFILE, too many open files` \n> ─ *node*\n\nThis package provides two classes based on the node's Streams3 API (courtesy of `readable-stream` to ensure a stable version).\n\n## Class: lazystream.Readable\n\nA wrapper for readable streams. Extends [`stream.PassThrough`](http://nodejs.org/api/stream.html#stream_class_stream_passthrough).\n\n### new lazystream.Readable(fn [, options])\n\n* `fn` *{Function}* \n The function that the lazy stream will call to obtain the stream to actually read from.\n* `options` *{Object}* \n Options for the underlying `PassThrough` stream, accessible by `fn`.\n\nCreates a new readable stream. Once the stream is accessed (for example when you call its `read()` method, or attach a `data`-event listener) the `fn` function is called with the outer `lazystream.Readable` instance bound to `this`.\n\nIf you pass an `options` object to the constuctor, you can access it in your `fn` function.\n\n```javascript\nnew lazystream.Readable(function (options) {\n return fs.createReadStream('/dev/urandom');\n});\n```\n\n## Class: lazystream.Writable\n\nA wrapper for writable streams. Extends [`stream.PassThrough`](http://nodejs.org/api/stream.html#stream_class_stream_passthrough).\n\n### new lazystream.Writable(fn [, options])\n\n* `fn` *{Function}* \n The function that the lazy stream will call to obtain the stream to actually write to.\n* `options` *{Object}* \n Options for the underlying `PassThrough` stream, accessible by `fn`.\n\nCreates a new writable stream. Just like the one above but for writable streams.\n\n```javascript\nnew lazystream.Writable(function () {\n return fs.createWriteStream('/dev/null');\n});\n```\n\n## Install\n\n```console\n$ npm install lazystream --save\nlazystream@1.0.1 node_modules/lazystream\n└── readable-stream@2.0.5\n```\n\n## Changelog\n\n### v1.0.1\n\n- [#3](https://github.com/jpommerening/node-lazystream/issues/3): (finally) fixed a long-standing publishing error\n\n### v1.0.0\n\n- [#2](https://github.com/jpommerening/node-lazystream/issues/2): [unconditionally](https://r.va.gg/2014/06/why-i-dont-use-nodes-core-stream-module.html) use `readable-stream` _2.x_.\n\n### v0.2.0\n\n- [#1](https://github.com/jpommerening/node-lazystream/pull/1): error events are now propagated\n\n### v0.1.0\n\n- _(this was the first release)_\n\n## Contributing\n\nFork it, branch it, send me a pull request. We'll work out the rest together.\n\n## Credits\n\n[Chris Talkington](https://github.com/ctalkington) and his [node-archiver](https://github.com/ctalkington/node-archiver) for providing a use-case.\n\n## [License](LICENSE)\n\nCopyright (c) 2013 J. Pommerening, contributors.\n\nPermission is hereby granted, free of charge, to any person\nobtaining a copy of this software and associated documentation\nfiles (the \"Software\"), to deal in the Software without\nrestriction, including without limitation the rights to use,\ncopy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the\nSoftware is furnished to do so, subject to the following\nconditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\nOF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\nHOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\nWHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\nFROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\nOTHER DEALINGS IN THE SOFTWARE.",
|
|
356
356
|
"_attachments": {}
|
|
@@ -9406,7 +9406,7 @@
|
|
|
9406
9406
|
"next": "3.3.5",
|
|
9407
9407
|
"legacy-v4": "4.2.8"
|
|
9408
9408
|
},
|
|
9409
|
-
"_rev": "
|
|
9409
|
+
"_rev": "2911-b4878935c09c5a55",
|
|
9410
9410
|
"_id": "minipass",
|
|
9411
9411
|
"readme": "# minipass\n\nA _very_ minimal implementation of a [PassThrough\nstream](https://nodejs.org/api/stream.html#stream_class_stream_passthrough)\n\n[It's very\nfast](https://docs.google.com/spreadsheets/d/1K_HR5oh3r80b8WVMWCPPjfuWXUgfkmhlX7FGI6JJ8tY/edit?usp=sharing)\nfor objects, strings, and buffers.\n\nSupports `pipe()`ing (including multi-`pipe()` and backpressure\ntransmission), buffering data until either a `data` event handler\nor `pipe()` is added (so you don't lose the first chunk), and\nmost other cases where PassThrough is a good idea.\n\nThere is a `read()` method, but it's much more efficient to\nconsume data from this stream via `'data'` events or by calling\n`pipe()` into some other stream. Calling `read()` requires the\nbuffer to be flattened in some cases, which requires copying\nmemory.\n\nIf you set `objectMode: true` in the options, then whatever is\nwritten will be emitted. Otherwise, it'll do a minimal amount of\nBuffer copying to ensure proper Streams semantics when `read(n)`\nis called.\n\n`objectMode` can only be set at instantiation. Attempting to\nwrite something other than a String or Buffer without having set\n`objectMode` in the options will throw an error.\n\nThis is not a `through` or `through2` stream. It doesn't\ntransform the data, it just passes it right through. If you want\nto transform the data, extend the class, and override the\n`write()` method. Once you're done transforming the data however\nyou want, call `super.write()` with the transform output.\n\nFor some examples of streams that extend Minipass in various\nways, check out:\n\n- [minizlib](http://npm.im/minizlib)\n- [fs-minipass](http://npm.im/fs-minipass)\n- [tar](http://npm.im/tar)\n- [minipass-collect](http://npm.im/minipass-collect)\n- [minipass-flush](http://npm.im/minipass-flush)\n- [minipass-pipeline](http://npm.im/minipass-pipeline)\n- [tap](http://npm.im/tap)\n- [tap-parser](http://npm.im/tap-parser)\n- [treport](http://npm.im/treport)\n- [minipass-fetch](http://npm.im/minipass-fetch)\n- [pacote](http://npm.im/pacote)\n- [make-fetch-happen](http://npm.im/make-fetch-happen)\n- [cacache](http://npm.im/cacache)\n- [ssri](http://npm.im/ssri)\n- [npm-registry-fetch](http://npm.im/npm-registry-fetch)\n- [minipass-json-stream](http://npm.im/minipass-json-stream)\n- [minipass-sized](http://npm.im/minipass-sized)\n\n## Usage in TypeScript\n\nThe `Minipass` class takes three type template definitions:\n\n- `RType` the type being read, which defaults to `Buffer`. If\n `RType` is `string`, then the constructor _must_ get an options\n object specifying either an `encoding` or `objectMode: true`.\n If it's anything other than `string` or `Buffer`, then it\n _must_ get an options object specifying `objectMode: true`.\n- `WType` the type being written. If `RType` is `Buffer` or\n `string`, then this defaults to `ContiguousData` (Buffer,\n string, ArrayBuffer, or ArrayBufferView). Otherwise, it\n defaults to `RType`.\n- `Events` type mapping event names to the arguments emitted\n with that event, which extends `Minipass.Events`.\n\nTo declare types for custom events in subclasses, extend the\nthird parameter with your own event signatures. For example:\n\n```js\nimport { Minipass } from 'minipass'\n\n// a NDJSON stream that emits 'jsonError' when it can't stringify\nexport interface Events extends Minipass.Events {\n jsonError: [e: Error]\n}\n\nexport class NDJSONStream extends Minipass<string, any, Events> {\n constructor() {\n super({ objectMode: true })\n }\n\n // data is type `any` because that's WType\n write(data, encoding, cb) {\n try {\n const json = JSON.stringify(data)\n return super.write(json + '\\n', encoding, cb)\n } catch (er) {\n if (!er instanceof Error) {\n er = Object.assign(new Error('json stringify failed'), {\n cause: er,\n })\n }\n // trying to emit with something OTHER than an error will\n // fail, because we declared the event arguments type.\n this.emit('jsonError', er)\n }\n }\n}\n\nconst s = new NDJSONStream()\ns.on('jsonError', e => {\n // here, TS knows that e is an Error\n})\n```\n\nEmitting/handling events that aren't declared in this way is\nfine, but the arguments will be typed as `unknown`.\n\n## Differences from Node.js Streams\n\nThere are several things that make Minipass streams different\nfrom (and in some ways superior to) Node.js core streams.\n\nPlease read these caveats if you are familiar with node-core\nstreams and intend to use Minipass streams in your programs.\n\nYou can avoid most of these differences entirely (for a very\nsmall performance penalty) by setting `{async: true}` in the\nconstructor options.\n\n### Timing\n\nMinipass streams are designed to support synchronous use-cases.\nThus, data is emitted as soon as it is available, always. It is\nbuffered until read, but no longer. Another way to look at it is\nthat Minipass streams are exactly as synchronous as the logic\nthat writes into them.\n\nThis can be surprising if your code relies on\n`PassThrough.write()` always providing data on the next tick\nrather than the current one, or being able to call `resume()` and\nnot have the entire buffer disappear immediately.\n\nHowever, without this synchronicity guarantee, there would be no\nway for Minipass to achieve the speeds it does, or support the\nsynchronous use cases that it does. Simply put, waiting takes\ntime.\n\nThis non-deferring approach makes Minipass streams much easier to\nreason about, especially in the context of Promises and other\nflow-control mechanisms.\n\nExample:\n\n```js\n// hybrid module, either works\nimport { Minipass } from 'minipass'\n// or:\nconst { Minipass } = require('minipass')\n\nconst stream = new Minipass()\nstream.on('data', () => console.log('data event'))\nconsole.log('before write')\nstream.write('hello')\nconsole.log('after write')\n// output:\n// before write\n// data event\n// after write\n```\n\n### Exception: Async Opt-In\n\nIf you wish to have a Minipass stream with behavior that more\nclosely mimics Node.js core streams, you can set the stream in\nasync mode either by setting `async: true` in the constructor\noptions, or by setting `stream.async = true` later on.\n\n```js\n// hybrid module, either works\nimport { Minipass } from 'minipass'\n// or:\nconst { Minipass } = require('minipass')\n\nconst asyncStream = new Minipass({ async: true })\nasyncStream.on('data', () => console.log('data event'))\nconsole.log('before write')\nasyncStream.write('hello')\nconsole.log('after write')\n// output:\n// before write\n// after write\n// data event <-- this is deferred until the next tick\n```\n\nSwitching _out_ of async mode is unsafe, as it could cause data\ncorruption, and so is not enabled. Example:\n\n```js\nimport { Minipass } from 'minipass'\nconst stream = new Minipass({ encoding: 'utf8' })\nstream.on('data', chunk => console.log(chunk))\nstream.async = true\nconsole.log('before writes')\nstream.write('hello')\nsetStreamSyncAgainSomehow(stream) // <-- this doesn't actually exist!\nstream.write('world')\nconsole.log('after writes')\n// hypothetical output would be:\n// before writes\n// world\n// after writes\n// hello\n// NOT GOOD!\n```\n\nTo avoid this problem, once set into async mode, any attempt to\nmake the stream sync again will be ignored.\n\n```js\nconst { Minipass } = require('minipass')\nconst stream = new Minipass({ encoding: 'utf8' })\nstream.on('data', chunk => console.log(chunk))\nstream.async = true\nconsole.log('before writes')\nstream.write('hello')\nstream.async = false // <-- no-op, stream already async\nstream.write('world')\nconsole.log('after writes')\n// actual output:\n// before writes\n// after writes\n// hello\n// world\n```\n\n### No High/Low Water Marks\n\nNode.js core streams will optimistically fill up a buffer,\nreturning `true` on all writes until the limit is hit, even if\nthe data has nowhere to go. Then, they will not attempt to draw\nmore data in until the buffer size dips below a minimum value.\n\nMinipass streams are much simpler. The `write()` method will\nreturn `true` if the data has somewhere to go (which is to say,\ngiven the timing guarantees, that the data is already there by\nthe time `write()` returns).\n\nIf the data has nowhere to go, then `write()` returns false, and\nthe data sits in a buffer, to be drained out immediately as soon\nas anyone consumes it.\n\nSince nothing is ever buffered unnecessarily, there is much less\ncopying data, and less bookkeeping about buffer capacity levels.\n\n### Hazards of Buffering (or: Why Minipass Is So Fast)\n\nSince data written to a Minipass stream is immediately written\nall the way through the pipeline, and `write()` always returns\ntrue/false based on whether the data was fully flushed,\nbackpressure is communicated immediately to the upstream caller.\nThis minimizes buffering.\n\nConsider this case:\n\n```js\nconst { PassThrough } = require('stream')\nconst p1 = new PassThrough({ highWaterMark: 1024 })\nconst p2 = new PassThrough({ highWaterMark: 1024 })\nconst p3 = new PassThrough({ highWaterMark: 1024 })\nconst p4 = new PassThrough({ highWaterMark: 1024 })\n\np1.pipe(p2).pipe(p3).pipe(p4)\np4.on('data', () => console.log('made it through'))\n\n// this returns false and buffers, then writes to p2 on next tick (1)\n// p2 returns false and buffers, pausing p1, then writes to p3 on next tick (2)\n// p3 returns false and buffers, pausing p2, then writes to p4 on next tick (3)\n// p4 returns false and buffers, pausing p3, then emits 'data' and 'drain'\n// on next tick (4)\n// p3 sees p4's 'drain' event, and calls resume(), emitting 'resume' and\n// 'drain' on next tick (5)\n// p2 sees p3's 'drain', calls resume(), emits 'resume' and 'drain' on next tick (6)\n// p1 sees p2's 'drain', calls resume(), emits 'resume' and 'drain' on next\n// tick (7)\n\np1.write(Buffer.alloc(2048)) // returns false\n```\n\nAlong the way, the data was buffered and deferred at each stage,\nand multiple event deferrals happened, for an unblocked pipeline\nwhere it was perfectly safe to write all the way through!\n\nFurthermore, setting a `highWaterMark` of `1024` might lead\nsomeone reading the code to think an advisory maximum of 1KiB is\nbeing set for the pipeline. However, the actual advisory\nbuffering level is the _sum_ of `highWaterMark` values, since\neach one has its own bucket.\n\nConsider the Minipass case:\n\n```js\nconst m1 = new Minipass()\nconst m2 = new Minipass()\nconst m3 = new Minipass()\nconst m4 = new Minipass()\n\nm1.pipe(m2).pipe(m3).pipe(m4)\nm4.on('data', () => console.log('made it through'))\n\n// m1 is flowing, so it writes the data to m2 immediately\n// m2 is flowing, so it writes the data to m3 immediately\n// m3 is flowing, so it writes the data to m4 immediately\n// m4 is flowing, so it fires the 'data' event immediately, returns true\n// m4's write returned true, so m3 is still flowing, returns true\n// m3's write returned true, so m2 is still flowing, returns true\n// m2's write returned true, so m1 is still flowing, returns true\n// No event deferrals or buffering along the way!\n\nm1.write(Buffer.alloc(2048)) // returns true\n```\n\nIt is extremely unlikely that you _don't_ want to buffer any data\nwritten, or _ever_ buffer data that can be flushed all the way\nthrough. Neither node-core streams nor Minipass ever fail to\nbuffer written data, but node-core streams do a lot of\nunnecessary buffering and pausing.\n\nAs always, the faster implementation is the one that does less\nstuff and waits less time to do it.\n\n### Immediately emit `end` for empty streams (when not paused)\n\nIf a stream is not paused, and `end()` is called before writing\nany data into it, then it will emit `end` immediately.\n\nIf you have logic that occurs on the `end` event which you don't\nwant to potentially happen immediately (for example, closing file\ndescriptors, moving on to the next entry in an archive parse\nstream, etc.) then be sure to call `stream.pause()` on creation,\nand then `stream.resume()` once you are ready to respond to the\n`end` event.\n\nHowever, this is _usually_ not a problem because:\n\n### Emit `end` When Asked\n\nOne hazard of immediately emitting `'end'` is that you may not\nyet have had a chance to add a listener. In order to avoid this\nhazard, Minipass streams safely re-emit the `'end'` event if a\nnew listener is added after `'end'` has been emitted.\n\nIe, if you do `stream.on('end', someFunction)`, and the stream\nhas already emitted `end`, then it will call the handler right\naway. (You can think of this somewhat like attaching a new\n`.then(fn)` to a previously-resolved Promise.)\n\nTo prevent calling handlers multiple times who would not expect\nmultiple ends to occur, all listeners are removed from the\n`'end'` event whenever it is emitted.\n\n### Emit `error` When Asked\n\nThe most recent error object passed to the `'error'` event is\nstored on the stream. If a new `'error'` event handler is added,\nand an error was previously emitted, then the event handler will\nbe called immediately (or on `process.nextTick` in the case of\nasync streams).\n\nThis makes it much more difficult to end up trying to interact\nwith a broken stream, if the error handler is added after an\nerror was previously emitted.\n\n### Impact of \"immediate flow\" on Tee-streams\n\nA \"tee stream\" is a stream piping to multiple destinations:\n\n```js\nconst tee = new Minipass()\nt.pipe(dest1)\nt.pipe(dest2)\nt.write('foo') // goes to both destinations\n```\n\nSince Minipass streams _immediately_ process any pending data\nthrough the pipeline when a new pipe destination is added, this\ncan have surprising effects, especially when a stream comes in\nfrom some other function and may or may not have data in its\nbuffer.\n\n```js\n// WARNING! WILL LOSE DATA!\nconst src = new Minipass()\nsrc.write('foo')\nsrc.pipe(dest1) // 'foo' chunk flows to dest1 immediately, and is gone\nsrc.pipe(dest2) // gets nothing!\n```\n\nOne solution is to create a dedicated tee-stream junction that\npipes to both locations, and then pipe to _that_ instead.\n\n```js\n// Safe example: tee to both places\nconst src = new Minipass()\nsrc.write('foo')\nconst tee = new Minipass()\ntee.pipe(dest1)\ntee.pipe(dest2)\nsrc.pipe(tee) // tee gets 'foo', pipes to both locations\n```\n\nThe same caveat applies to `on('data')` event listeners. The\nfirst one added will _immediately_ receive all of the data,\nleaving nothing for the second:\n\n```js\n// WARNING! WILL LOSE DATA!\nconst src = new Minipass()\nsrc.write('foo')\nsrc.on('data', handler1) // receives 'foo' right away\nsrc.on('data', handler2) // nothing to see here!\n```\n\nUsing a dedicated tee-stream can be used in this case as well:\n\n```js\n// Safe example: tee to both data handlers\nconst src = new Minipass()\nsrc.write('foo')\nconst tee = new Minipass()\ntee.on('data', handler1)\ntee.on('data', handler2)\nsrc.pipe(tee)\n```\n\nAll of the hazards in this section are avoided by setting `{\nasync: true }` in the Minipass constructor, or by setting\n`stream.async = true` afterwards. Note that this does add some\noverhead, so should only be done in cases where you are willing\nto lose a bit of performance in order to avoid having to refactor\nprogram logic.\n\n## USAGE\n\nIt's a stream! Use it like a stream and it'll most likely do what\nyou want.\n\n```js\nimport { Minipass } from 'minipass'\nconst mp = new Minipass(options) // options is optional\nmp.write('foo')\nmp.pipe(someOtherStream)\nmp.end('bar')\n```\n\n### OPTIONS\n\n- `encoding` How would you like the data coming _out_ of the\n stream to be encoded? Accepts any values that can be passed to\n `Buffer.toString()`.\n- `objectMode` Emit data exactly as it comes in. This will be\n flipped on by default if you write() something other than a\n string or Buffer at any point. Setting `objectMode: true` will\n prevent setting any encoding value.\n- `async` Defaults to `false`. Set to `true` to defer data\n emission until next tick. This reduces performance slightly,\n but makes Minipass streams use timing behavior closer to Node\n core streams. See [Timing](#timing) for more details.\n- `signal` An `AbortSignal` that will cause the stream to unhook\n itself from everything and become as inert as possible. Note\n that providing a `signal` parameter will make `'error'` events\n no longer throw if they are unhandled, but they will still be\n emitted to handlers if any are attached.\n\n### API\n\nImplements the user-facing portions of Node.js's `Readable` and\n`Writable` streams.\n\n### Methods\n\n- `write(chunk, [encoding], [callback])` - Put data in. (Note\n that, in the base Minipass class, the same data will come out.)\n Returns `false` if the stream will buffer the next write, or\n true if it's still in \"flowing\" mode.\n- `end([chunk, [encoding]], [callback])` - Signal that you have\n no more data to write. This will queue an `end` event to be\n fired when all the data has been consumed.\n- `pause()` - No more data for a while, please. This also\n prevents `end` from being emitted for empty streams until the\n stream is resumed.\n- `resume()` - Resume the stream. If there's data in the buffer,\n it is all discarded. Any buffered events are immediately\n emitted.\n- `pipe(dest)` - Send all output to the stream provided. When\n data is emitted, it is immediately written to any and all pipe\n destinations. (Or written on next tick in `async` mode.)\n- `unpipe(dest)` - Stop piping to the destination stream. This is\n immediate, meaning that any asynchronously queued data will\n _not_ make it to the destination when running in `async` mode.\n - `options.end` - Boolean, end the destination stream when the\n source stream ends. Default `true`.\n - `options.proxyErrors` - Boolean, proxy `error` events from\n the source stream to the destination stream. Note that errors\n are _not_ proxied after the pipeline terminates, either due\n to the source emitting `'end'` or manually unpiping with\n `src.unpipe(dest)`. Default `false`.\n- `on(ev, fn)`, `emit(ev, fn)` - Minipass streams are\n EventEmitters. Some events are given special treatment,\n however. (See below under \"events\".)\n- `promise()` - Returns a Promise that resolves when the stream\n emits `end`, or rejects if the stream emits `error`.\n- `collect()` - Return a Promise that resolves on `end` with an\n array containing each chunk of data that was emitted, or\n rejects if the stream emits `error`. Note that this consumes\n the stream data.\n- `concat()` - Same as `collect()`, but concatenates the data\n into a single Buffer object. Will reject the returned promise\n if the stream is in objectMode, or if it goes into objectMode\n by the end of the data.\n- `read(n)` - Consume `n` bytes of data out of the buffer. If `n`\n is not provided, then consume all of it. If `n` bytes are not\n available, then it returns null. **Note** consuming streams in\n this way is less efficient, and can lead to unnecessary Buffer\n copying.\n- `destroy([er])` - Destroy the stream. If an error is provided,\n then an `'error'` event is emitted. If the stream has a\n `close()` method, and has not emitted a `'close'` event yet,\n then `stream.close()` will be called. Any Promises returned by\n `.promise()`, `.collect()` or `.concat()` will be rejected.\n After being destroyed, writing to the stream will emit an\n error. No more data will be emitted if the stream is destroyed,\n even if it was previously buffered.\n\n### Properties\n\n- `bufferLength` Read-only. Total number of bytes buffered, or in\n the case of objectMode, the total number of objects.\n- `encoding` Read-only. The encoding that has been set.\n- `flowing` Read-only. Boolean indicating whether a chunk written\n to the stream will be immediately emitted.\n- `emittedEnd` Read-only. Boolean indicating whether the end-ish\n events (ie, `end`, `prefinish`, `finish`) have been emitted.\n Note that listening on any end-ish event will immediateyl\n re-emit it if it has already been emitted.\n- `writable` Whether the stream is writable. Default `true`. Set\n to `false` when `end()`\n- `readable` Whether the stream is readable. Default `true`.\n- `pipes` An array of Pipe objects referencing streams that this\n stream is piping into.\n- `destroyed` A getter that indicates whether the stream was\n destroyed.\n- `paused` True if the stream has been explicitly paused,\n otherwise false.\n- `objectMode` Indicates whether the stream is in `objectMode`.\n- `aborted` Readonly property set when the `AbortSignal`\n dispatches an `abort` event.\n\n### Events\n\n- `data` Emitted when there's data to read. Argument is the data\n to read. This is never emitted while not flowing. If a listener\n is attached, that will resume the stream.\n- `end` Emitted when there's no more data to read. This will be\n emitted immediately for empty streams when `end()` is called.\n If a listener is attached, and `end` was already emitted, then\n it will be emitted again. All listeners are removed when `end`\n is emitted.\n- `prefinish` An end-ish event that follows the same logic as\n `end` and is emitted in the same conditions where `end` is\n emitted. Emitted after `'end'`.\n- `finish` An end-ish event that follows the same logic as `end`\n and is emitted in the same conditions where `end` is emitted.\n Emitted after `'prefinish'`.\n- `close` An indication that an underlying resource has been\n released. Minipass does not emit this event, but will defer it\n until after `end` has been emitted, since it throws off some\n stream libraries otherwise.\n- `drain` Emitted when the internal buffer empties, and it is\n again suitable to `write()` into the stream.\n- `readable` Emitted when data is buffered and ready to be read\n by a consumer.\n- `resume` Emitted when stream changes state from buffering to\n flowing mode. (Ie, when `resume` is called, `pipe` is called,\n or a `data` event listener is added.)\n\n### Static Methods\n\n- `Minipass.isStream(stream)` Returns `true` if the argument is a\n stream, and false otherwise. To be considered a stream, the\n object must be either an instance of Minipass, or an\n EventEmitter that has either a `pipe()` method, or both\n `write()` and `end()` methods. (Pretty much any stream in\n node-land will return `true` for this.)\n\n## EXAMPLES\n\nHere are some examples of things you can do with Minipass\nstreams.\n\n### simple \"are you done yet\" promise\n\n```js\nmp.promise().then(\n () => {\n // stream is finished\n },\n er => {\n // stream emitted an error\n }\n)\n```\n\n### collecting\n\n```js\nmp.collect().then(all => {\n // all is an array of all the data emitted\n // encoding is supported in this case, so\n // so the result will be a collection of strings if\n // an encoding is specified, or buffers/objects if not.\n //\n // In an async function, you may do\n // const data = await stream.collect()\n})\n```\n\n### collecting into a single blob\n\nThis is a bit slower because it concatenates the data into one\nchunk for you, but if you're going to do it yourself anyway, it's\nconvenient this way:\n\n```js\nmp.concat().then(onebigchunk => {\n // onebigchunk is a string if the stream\n // had an encoding set, or a buffer otherwise.\n})\n```\n\n### iteration\n\nYou can iterate over streams synchronously or asynchronously in\nplatforms that support it.\n\nSynchronous iteration will end when the currently available data\nis consumed, even if the `end` event has not been reached. In\nstring and buffer mode, the data is concatenated, so unless\nmultiple writes are occurring in the same tick as the `read()`,\nsync iteration loops will generally only have a single iteration.\n\nTo consume chunks in this way exactly as they have been written,\nwith no flattening, create the stream with the `{ objectMode:\ntrue }` option.\n\n```js\nconst mp = new Minipass({ objectMode: true })\nmp.write('a')\nmp.write('b')\nfor (let letter of mp) {\n console.log(letter) // a, b\n}\nmp.write('c')\nmp.write('d')\nfor (let letter of mp) {\n console.log(letter) // c, d\n}\nmp.write('e')\nmp.end()\nfor (let letter of mp) {\n console.log(letter) // e\n}\nfor (let letter of mp) {\n console.log(letter) // nothing\n}\n```\n\nAsynchronous iteration will continue until the end event is reached,\nconsuming all of the data.\n\n```js\nconst mp = new Minipass({ encoding: 'utf8' })\n\n// some source of some data\nlet i = 5\nconst inter = setInterval(() => {\n if (i-- > 0) mp.write(Buffer.from('foo\\n', 'utf8'))\n else {\n mp.end()\n clearInterval(inter)\n }\n}, 100)\n\n// consume the data with asynchronous iteration\nasync function consume() {\n for await (let chunk of mp) {\n console.log(chunk)\n }\n return 'ok'\n}\n\nconsume().then(res => console.log(res))\n// logs `foo\\n` 5 times, and then `ok`\n```\n\n### subclass that `console.log()`s everything written into it\n\n```js\nclass Logger extends Minipass {\n write(chunk, encoding, callback) {\n console.log('WRITE', chunk, encoding)\n return super.write(chunk, encoding, callback)\n }\n end(chunk, encoding, callback) {\n console.log('END', chunk, encoding)\n return super.end(chunk, encoding, callback)\n }\n}\n\nsomeSource.pipe(new Logger()).pipe(someDest)\n```\n\n### same thing, but using an inline anonymous class\n\n```js\n// js classes are fun\nsomeSource\n .pipe(\n new (class extends Minipass {\n emit(ev, ...data) {\n // let's also log events, because debugging some weird thing\n console.log('EMIT', ev)\n return super.emit(ev, ...data)\n }\n write(chunk, encoding, callback) {\n console.log('WRITE', chunk, encoding)\n return super.write(chunk, encoding, callback)\n }\n end(chunk, encoding, callback) {\n console.log('END', chunk, encoding)\n return super.end(chunk, encoding, callback)\n }\n })()\n )\n .pipe(someDest)\n```\n\n### subclass that defers 'end' for some reason\n\n```js\nclass SlowEnd extends Minipass {\n emit(ev, ...args) {\n if (ev === 'end') {\n console.log('going to end, hold on a sec')\n setTimeout(() => {\n console.log('ok, ready to end now')\n super.emit('end', ...args)\n }, 100)\n return true\n } else {\n return super.emit(ev, ...args)\n }\n }\n}\n```\n\n### transform that creates newline-delimited JSON\n\n```js\nclass NDJSONEncode extends Minipass {\n write(obj, cb) {\n try {\n // JSON.stringify can throw, emit an error on that\n return super.write(JSON.stringify(obj) + '\\n', 'utf8', cb)\n } catch (er) {\n this.emit('error', er)\n }\n }\n end(obj, cb) {\n if (typeof obj === 'function') {\n cb = obj\n obj = undefined\n }\n if (obj !== undefined) {\n this.write(obj)\n }\n return super.end(cb)\n }\n}\n```\n\n### transform that parses newline-delimited JSON\n\n```js\nclass NDJSONDecode extends Minipass {\n constructor(options) {\n // always be in object mode, as far as Minipass is concerned\n super({ objectMode: true })\n this._jsonBuffer = ''\n }\n write(chunk, encoding, cb) {\n if (\n typeof chunk === 'string' &&\n typeof encoding === 'string' &&\n encoding !== 'utf8'\n ) {\n chunk = Buffer.from(chunk, encoding).toString()\n } else if (Buffer.isBuffer(chunk)) {\n chunk = chunk.toString()\n }\n if (typeof encoding === 'function') {\n cb = encoding\n }\n const jsonData = (this._jsonBuffer + chunk).split('\\n')\n this._jsonBuffer = jsonData.pop()\n for (let i = 0; i < jsonData.length; i++) {\n try {\n // JSON.parse can throw, emit an error on that\n super.write(JSON.parse(jsonData[i]))\n } catch (er) {\n this.emit('error', er)\n continue\n }\n }\n if (cb) cb()\n }\n}\n```",
|
|
9412
9412
|
"_attachments": {}
|
|
@@ -271784,7 +271784,7 @@
|
|
|
271784
271784
|
"rc": "19.0.0-rc-fb9a90fa48-20240614",
|
|
271785
271785
|
"backport": "19.1.10"
|
|
271786
271786
|
},
|
|
271787
|
-
"_rev": "
|
|
271787
|
+
"_rev": "15410-ad51fb13a57142fd",
|
|
271788
271788
|
"_id": "react",
|
|
271789
271789
|
"readme": "",
|
|
271790
271790
|
"_attachments": {}
|
|
@@ -3869,7 +3869,7 @@
|
|
|
3869
3869
|
"dist-tags": {
|
|
3870
3870
|
"latest": "3.0.0"
|
|
3871
3871
|
},
|
|
3872
|
-
"_rev": "
|
|
3872
|
+
"_rev": "1903-55b26ea2ec701131",
|
|
3873
3873
|
"_id": "path-scurry",
|
|
3874
3874
|
"readme": "# path-scurry\n\nExtremely high performant utility for building tools that read\nthe file system, minimizing filesystem and path string munging\noperations to the greatest degree possible.\n\n## Ugh, yet another file traversal thing on npm?\n\nYes. None of the existing ones gave me exactly what I wanted.\n\n## Well what is it you wanted?\n\nWhile working on [glob](http://npm.im/glob), I found that I\nneeded a module to very efficiently manage the traversal over a\nfolder tree, such that:\n\n1. No `readdir()` or `stat()` would ever be called on the same\n file or directory more than one time.\n2. No `readdir()` calls would be made if we can be reasonably\n sure that the path is not a directory. (Ie, a previous\n `readdir()` or `stat()` covered the path, and\n `ent.isDirectory()` is false.)\n3. `path.resolve()`, `dirname()`, `basename()`, and other\n string-parsing/munging operations are be minimized. This means\n it has to track \"provisional\" child nodes that may not exist\n (and if we find that they _don't_ exist, store that\n information as well, so we don't have to ever check again).\n4. The API is not limited to use as a stream/iterator/etc. There\n are many cases where an API like node's `fs` is preferrable.\n5. It's more important to prevent excess syscalls than to be up\n to date, but it should be smart enough to know what it\n _doesn't_ know, and go get it seamlessly when requested.\n6. Do not blow up the JS heap allocation if operating on a\n directory with a huge number of entries.\n7. Handle all the weird aspects of Windows paths, like UNC paths\n and drive letters and wrongway slashes, so that the consumer\n can return canonical platform-specific paths without having to\n parse or join or do any error-prone string munging.\n\n## PERFORMANCE\n\nJavaScript people throw around the word \"blazing\" a lot. I hope\nthat this module doesn't blaze anyone. But it does go very fast,\nin the cases it's optimized for, if used properly.\n\nPathScurry provides ample opportunities to get extremely good\nperformance, as well as several options to trade performance for\nconvenience.\n\nBenchmarks can be run by executing `npm run bench`.\n\nAs is always the case, doing more means going slower, doing less\nmeans going faster, and there are trade offs between speed and\nmemory usage.\n\nPathScurry makes heavy use of [LRUCache](http://npm.im/lru-cache)\nto efficiently cache whatever it can, and `Path` objects remain\nin the graph for the lifetime of the walker, so repeated calls\nwith a single PathScurry object will be extremely fast. However,\nadding items to a cold cache means \"doing more\", so in those\ncases, we pay a price. Nothing is free, but every effort has been\nmade to reduce costs wherever possible.\n\nAlso, note that a \"cache as long as possible\" approach means that\nchanges to the filesystem may not be reflected in the results of\nrepeated PathScurry operations.\n\nFor resolving string paths, `PathScurry` ranges from 5-50 times\nfaster than `path.resolve` on repeated resolutions, but around\n100 to 1000 times _slower_ on the first resolution. If your\nprogram is spending a lot of time resolving the _same_ paths\nrepeatedly (like, thousands or millions of times), then this can\nbe beneficial. But both implementations are pretty fast, and\nspeeding up an infrequent operation from 4µs to 400ns is not\ngoing to move the needle on your app's performance.\n\nFor walking file system directory trees, a lot depends on how\noften a given PathScurry object will be used, and also on the\nwalk method used.\n\nWith default settings on a folder tree of 100,000 items,\nconsisting of around a 10-to-1 ratio of normal files to\ndirectories, PathScurry performs comparably to\n[@nodelib/fs.walk](http://npm.im/@nodelib/fs.walk), which is the\nfastest and most reliable file system walker I could find. As far\nas I can tell, it's almost impossible to go much faster in a\nNode.js program, just based on how fast you can push syscalls out\nto the fs thread pool.\n\nOn my machine, that is about 1000-1200 completed walks per second\nfor async or stream walks, and around 500-600 walks per second\nsynchronously.\n\nIn the warm cache state, PathScurry's performance increases\naround 4x for async `for await` iteration, 10-15x faster for\nstreams and synchronous `for of` iteration, and anywhere from 30x\nto 80x faster for the rest.\n\n```\n# walk 100,000 fs entries, 10/1 file/dir ratio\n# operations / ms\n New PathScurry object | Reuse PathScurry object\n stream: 1112.589 | 13974.917\nsync stream: 492.718 | 15028.343\n async walk: 1095.648 | 32706.395\n sync walk: 527.632 | 46129.772\n async iter: 1288.821 | 5045.510\n sync iter: 498.496 | 17920.746\n```\n\nA hand-rolled walk calling `entry.readdir()` and recursing\nthrough the entries can benefit even more from caching, with\ngreater flexibility and without the overhead of streams or\ngenerators.\n\nThe cold cache state is still limited by the costs of file system\noperations, but with a warm cache, the only bottleneck is CPU\nspeed and VM optimizations. Of course, in that case, some care\nmust be taken to ensure that you don't lose performance as a\nresult of silly mistakes, like calling `readdir()` on entries\nthat you know are not directories.\n\n```\n# manual recursive iteration functions\n cold cache | warm cache\nasync: 1164.901 | 17923.320\n cb: 1101.127 | 40999.344\nzalgo: 1082.240 | 66689.936\n sync: 526.935 | 87097.591\n```\n\nIn this case, the speed improves by around 10-20x in the async\ncase, 40x in the case of using `entry.readdirCB` with protections\nagainst synchronous callbacks, and 50-100x with callback\ndeferrals disabled, and _several hundred times faster_ for\nsynchronous iteration.\n\nIf you can think of a case that is not covered in these\nbenchmarks, or an implementation that performs significantly\nbetter than PathScurry, please [let me\nknow](https://github.com/isaacs/path-scurry/issues).\n\n## USAGE\n\n```ts\n// hybrid module, load with either method\nimport { PathScurry, Path } from 'path-scurry'\n// or:\nconst { PathScurry, Path } = require('path-scurry')\n\n// very simple example, say we want to find and\n// delete all the .DS_Store files in a given path\n// note that the API is very similar to just a\n// naive walk with fs.readdir()\nimport { unlink } from 'fs/promises'\n\n// easy way, iterate over the directory and do the thing\nconst pw = new PathScurry(process.cwd())\nfor await (const entry of pw) {\n if (entry.isFile() && entry.name === '.DS_Store') {\n unlink(entry.fullpath())\n }\n}\n\n// here it is as a manual recursive method\nconst walk = async (entry: Path) => {\n const promises: Promise<any> = []\n // readdir doesn't throw on non-directories, it just doesn't\n // return any entries, to save stack trace costs.\n // Items are returned in arbitrary unsorted order\n for (const child of await pw.readdir(entry)) {\n // each child is a Path object\n if (child.name === '.DS_Store' && child.isFile()) {\n // could also do pw.resolve(entry, child.name),\n // just like fs.readdir walking, but .fullpath is\n // a *slightly* more efficient shorthand.\n promises.push(unlink(child.fullpath()))\n } else if (child.isDirectory()) {\n promises.push(walk(child))\n }\n }\n return Promise.all(promises)\n}\n\nwalk(pw.cwd).then(() => {\n console.log('all .DS_Store files removed')\n})\n\nconst pw2 = new PathScurry('/a/b/c') // pw2.cwd is the Path for /a/b/c\nconst relativeDir = pw2.cwd.resolve('../x') // Path entry for '/a/b/x'\nconst relative2 = pw2.cwd.resolve('/a/b/d/../x') // same path, same entry\nassert.equal(relativeDir, relative2)\n```\n\n## API\n\n[Full TypeDoc API](https://isaacs.github.io/path-scurry)\n\nThere are platform-specific classes exported, but for the most\npart, the default `PathScurry` and `Path` exports are what you\nmost likely need, unless you are testing behavior for other\nplatforms.\n\nIntended public API is documented here, but the full\ndocumentation does include internal types, which should not be\naccessed directly.\n\n### Interface `PathScurryOpts`\n\nThe type of the `options` argument passed to the `PathScurry`\nconstructor.\n\n- `nocase`: Boolean indicating that file names should be compared\n case-insensitively. Defaults to `true` on darwin and win32\n implementations, `false` elsewhere.\n\n **Warning** Performing case-insensitive matching on a\n case-sensitive filesystem will result in occasionally very\n bizarre behavior. Performing case-sensitive matching on a\n case-insensitive filesystem may negatively impact performance.\n\n- `childrenCacheSize`: Number of child entries to cache, in order\n to speed up `resolve()` and `readdir()` calls. Defaults to\n `16 * 1024` (ie, `16384`).\n\n Setting it to a higher value will run the risk of JS heap\n allocation errors on large directory trees. Setting it to `256`\n or smaller will significantly reduce the construction time and\n data consumption overhead, but with the downside of operations\n being slower on large directory trees. Setting it to `0` will\n mean that effectively no operations are cached, and this module\n will be roughly the same speed as `fs` for file system\n operations, and _much_ slower than `path.resolve()` for\n repeated path resolution.\n\n- `fs` An object that will be used to override the default `fs`\n methods. Any methods that are not overridden will use Node's\n built-in implementations.\n - lstatSync\n - readdir (callback `withFileTypes` Dirent variant, used for\n readdirCB and most walks)\n - readdirSync\n - readlinkSync\n - realpathSync\n - promises: Object containing the following async methods:\n - lstat\n - readdir (Dirent variant only)\n - readlink\n - realpath\n\n### Interface `WalkOptions`\n\nThe options object that may be passed to all walk methods.\n\n- `withFileTypes`: Boolean, default true. Indicates that `Path`\n objects should be returned. Set to `false` to get string paths\n instead.\n- `follow`: Boolean, default false. Attempt to read directory\n entries from symbolic links. Otherwise, only actual directories\n are traversed. Regardless of this setting, a given target path\n will only ever be walked once, meaning that a symbolic link to\n a previously traversed directory will never be followed.\n\n Setting this imposes a slight performance penalty, because\n `readlink` must be called on all symbolic links encountered, in\n order to avoid infinite cycles.\n\n- `filter`: Function `(entry: Path) => boolean`. If provided,\n will prevent the inclusion of any entry for which it returns a\n falsey value. This will not prevent directories from being\n traversed if they do not pass the filter, though it will\n prevent the directories themselves from being included in the\n results. By default, if no filter is provided, then all entries\n are included in the results.\n- `walkFilter`: Function `(entry: Path) => boolean`. If provided,\n will prevent the traversal of any directory (or in the case of\n `follow:true` symbolic links to directories) for which the\n function returns false. This will not prevent the directories\n themselves from being included in the result set. Use `filter`\n for that.\n\nNote that TypeScript return types will only be inferred properly\nfrom static analysis if the `withFileTypes` option is omitted, or\na constant `true` or `false` value.\n\n### Class `PathScurry`\n\nThe main interface. Defaults to an appropriate class based on the\ncurrent platform.\n\nUse `PathScurryWin32`, `PathScurryDarwin`, or `PathScurryPosix`\nif implementation-specific behavior is desired.\n\nAll walk methods may be called with a `WalkOptions` argument to\nwalk over the object's current working directory with the\nsupplied options.\n\n#### `async pw.walk(entry?: string | Path | WalkOptions, opts?: WalkOptions)`\n\nWalk the directory tree according to the options provided,\nresolving to an array of all entries found.\n\n#### `pw.walkSync(entry?: string | Path | WalkOptions, opts?: WalkOptions)`\n\nWalk the directory tree according to the options provided,\nreturning an array of all entries found.\n\n#### `pw.iterate(entry?: string | Path | WalkOptions, opts?: WalkOptions)`\n\nIterate over the directory asynchronously, for use with `for\nawait of`. This is also the default async iterator method.\n\n#### `pw.iterateSync(entry?: string | Path | WalkOptions, opts?: WalkOptions)`\n\nIterate over the directory synchronously, for use with `for of`.\nThis is also the default sync iterator method.\n\n#### `pw.stream(entry?: string | Path | WalkOptions, opts?: WalkOptions)`\n\nReturn a [Minipass](http://npm.im/minipass) stream that emits\neach entry or path string in the walk. Results are made available\nasynchronously.\n\n#### `pw.streamSync(entry?: string | Path | WalkOptions, opts?: WalkOptions)`\n\nReturn a [Minipass](http://npm.im/minipass) stream that emits\neach entry or path string in the walk. Results are made available\nsynchronously, meaning that the walk will complete in a single\ntick if the stream is fully consumed.\n\n#### `pw.cwd`\n\nPath object representing the current working directory for the\nPathScurry.\n\n#### `pw.chdir(path: string)`\n\nSet the new effective current working directory for the scurry\nobject, so that `path.relative()` and `path.relativePosix()`\nreturn values relative to the new cwd path.\n\n#### `pw.depth(path?: Path | string): number`\n\nReturn the depth of the specified path (or the PathScurry cwd)\nwithin the directory tree.\n\nRoot entries have a depth of `0`.\n\n#### `pw.resolve(...paths: string[])`\n\nCaching `path.resolve()`.\n\nSignificantly faster than `path.resolve()` if called repeatedly\nwith the same paths. Significantly slower otherwise, as it builds\nout the cached Path entries.\n\nTo get a `Path` object resolved from the `PathScurry`, use\n`pw.cwd.resolve(path)`. Note that `Path.resolve` only takes a\nsingle string argument, not multiple.\n\n#### `pw.resolvePosix(...paths: string[])`\n\nCaching `path.resolve()`, but always using posix style paths.\n\nThis is identical to `pw.resolve(...paths)` on posix systems (ie,\neverywhere except Windows).\n\nOn Windows, it returns the full absolute UNC path using `/`\nseparators. Ie, instead of `'C:\\\\foo\\\\bar`, it would return\n`//?/C:/foo/bar`.\n\n#### `pw.relative(path: string | Path): string`\n\nReturn the relative path from the PathWalker cwd to the supplied\npath string or entry.\n\nIf the nearest common ancestor is the root, then an absolute path\nis returned.\n\n#### `pw.relativePosix(path: string | Path): string`\n\nReturn the relative path from the PathWalker cwd to the supplied\npath string or entry, using `/` path separators.\n\nIf the nearest common ancestor is the root, then an absolute path\nis returned.\n\nOn posix platforms (ie, all platforms except Windows), this is\nidentical to `pw.relative(path)`.\n\nOn Windows systems, it returns the resulting string as a\n`/`-delimited path. If an absolute path is returned (because the\ntarget does not share a common ancestor with `pw.cwd`), then a\nfull absolute UNC path will be returned. Ie, instead of\n`'C:\\\\foo\\\\bar`, it would return `//?/C:/foo/bar`.\n\n#### `pw.basename(path: string | Path): string`\n\nReturn the basename of the provided string or Path.\n\n#### `pw.dirname(path: string | Path): string`\n\nReturn the parent directory of the supplied string or Path.\n\n#### `async pw.readdir(dir = pw.cwd, opts = { withFileTypes: true })`\n\nRead the directory and resolve to an array of strings if\n`withFileTypes` is explicitly set to `false` or Path objects\notherwise.\n\nCan be called as `pw.readdir({ withFileTypes: boolean })` as\nwell.\n\nReturns `[]` if no entries are found, or if any error occurs.\n\nNote that TypeScript return types will only be inferred properly\nfrom static analysis if the `withFileTypes` option is omitted, or\na constant `true` or `false` value.\n\n#### `pw.readdirSync(dir = pw.cwd, opts = { withFileTypes: true })`\n\nSynchronous `pw.readdir()`\n\n#### `async pw.readlink(link = pw.cwd, opts = { withFileTypes: false })`\n\nCall `fs.readlink` on the supplied string or Path object, and\nreturn the result.\n\nCan be called as `pw.readlink({ withFileTypes: boolean })` as\nwell.\n\nReturns `undefined` if any error occurs (for example, if the\nargument is not a symbolic link), or a `Path` object if\n`withFileTypes` is explicitly set to `true`, or a string\notherwise.\n\nNote that TypeScript return types will only be inferred properly\nfrom static analysis if the `withFileTypes` option is omitted, or\na constant `true` or `false` value.\n\n#### `pw.readlinkSync(link = pw.cwd, opts = { withFileTypes: false })`\n\nSynchronous `pw.readlink()`\n\n#### `async pw.lstat(entry = pw.cwd)`\n\nCall `fs.lstat` on the supplied string or Path object, and fill\nin as much information as possible, returning the updated `Path`\nobject.\n\nReturns `undefined` if the entry does not exist, or if any error\nis encountered.\n\nNote that some `Stats` data (such as `ino`, `dev`, and `mode`)\nwill not be supplied. For those things, you'll need to call\n`fs.lstat` yourself.\n\n#### `pw.lstatSync(entry = pw.cwd)`\n\nSynchronous `pw.lstat()`\n\n#### `pw.realpath(entry = pw.cwd, opts = { withFileTypes: false })`\n\nCall `fs.realpath` on the supplied string or Path object, and\nreturn the realpath if available.\n\nReturns `undefined` if any error occurs.\n\nMay be called as `pw.realpath({ withFileTypes: boolean })` to run\non `pw.cwd`.\n\n#### `pw.realpathSync(entry = pw.cwd, opts = { withFileTypes: false })`\n\nSynchronous `pw.realpath()`\n\n### Class `Path` implements [fs.Dirent](https://nodejs.org/docs/latest/api/fs.html#class-fsdirent)\n\nObject representing a given path on the filesystem, which may or\nmay not exist.\n\nNote that the actual class in use will be either `PathWin32` or\n`PathPosix`, depending on the implementation of `PathScurry` in\nuse. They differ in the separators used to split and join path\nstrings, and the handling of root paths.\n\nIn `PathPosix` implementations, paths are split and joined using\nthe `'/'` character, and `'/'` is the only root path ever in use.\n\nIn `PathWin32` implementations, paths are split using either\n`'/'` or `'\\\\'` and joined using `'\\\\'`, and multiple roots may\nbe in use based on the drives and UNC paths encountered. UNC\npaths such as `//?/C:/` that identify a drive letter, will be\ntreated as an alias for the same root entry as their associated\ndrive letter (in this case `'C:\\\\'`).\n\n#### `path.name`\n\nName of this file system entry.\n\n**Important**: _always_ test the path name against any test\nstring using the `isNamed` method, and not by directly comparing\nthis string. Otherwise, unicode path strings that the system sees\nas identical will not be properly treated as the same path,\nleading to incorrect behavior and possible security issues.\n\n#### `path.isNamed(name: string): boolean`\n\nReturn true if the path is a match for the given path name. This\nhandles case sensitivity and unicode normalization.\n\nNote: even on case-sensitive systems, it is **not** safe to test\nthe equality of the `.name` property to determine whether a given\npathname matches, due to unicode normalization mismatches.\n\nAlways use this method instead of testing the `path.name`\nproperty directly.\n\n#### `path.isCWD`\n\nSet to true if this `Path` object is the current working\ndirectory of the `PathScurry` collection that contains it.\n\n#### `path.getType()`\n\nReturns the type of the Path object, `'File'`, `'Directory'`,\netc.\n\n#### `path.isType(t: type)`\n\nReturns true if `is{t}()` returns true.\n\nFor example, `path.isType('Directory')` is equivalent to\n`path.isDirectory()`.\n\n#### `path.depth()`\n\nReturn the depth of the Path entry within the directory tree.\nRoot paths have a depth of `0`.\n\n#### `path.fullpath()`\n\nThe fully resolved path to the entry.\n\n#### `path.fullpathPosix()`\n\nThe fully resolved path to the entry, using `/` separators.\n\nOn posix systems, this is identical to `path.fullpath()`. On\nwindows, this will return a fully resolved absolute UNC path\nusing `/` separators. Eg, instead of `'C:\\\\foo\\\\bar'`, it will\nreturn `'//?/C:/foo/bar'`.\n\n#### `path.isFile()`, `path.isDirectory()`, etc.\n\nSame as the identical `fs.Dirent.isX()` methods.\n\n#### `path.isUnknown()`\n\nReturns true if the path's type is unknown. Always returns true\nwhen the path is known to not exist.\n\n#### `path.resolve(p: string)`\n\nReturn a `Path` object associated with the provided path string\nas resolved from the current Path object.\n\n#### `path.relative(): string`\n\nReturn the relative path from the PathWalker cwd to the supplied\npath string or entry.\n\nIf the nearest common ancestor is the root, then an absolute path\nis returned.\n\n#### `path.relativePosix(): string`\n\nReturn the relative path from the PathWalker cwd to the supplied\npath string or entry, using `/` path separators.\n\nIf the nearest common ancestor is the root, then an absolute path\nis returned.\n\nOn posix platforms (ie, all platforms except Windows), this is\nidentical to `pw.relative(path)`.\n\nOn Windows systems, it returns the resulting string as a\n`/`-delimited path. If an absolute path is returned (because the\ntarget does not share a common ancestor with `pw.cwd`), then a\nfull absolute UNC path will be returned. Ie, instead of\n`'C:\\\\foo\\\\bar`, it would return `//?/C:/foo/bar`.\n\n#### `async path.readdir()`\n\nReturn an array of `Path` objects found by reading the associated\npath entry.\n\nIf path is not a directory, or if any error occurs, returns `[]`,\nand marks all children as provisional and non-existent.\n\n#### `path.readdirSync()`\n\nSynchronous `path.readdir()`\n\n#### `async path.readlink()`\n\nReturn the `Path` object referenced by the `path` as a symbolic\nlink.\n\nIf the `path` is not a symbolic link, or any error occurs,\nreturns `undefined`.\n\n#### `path.readlinkSync()`\n\nSynchronous `path.readlink()`\n\n#### `async path.lstat()`\n\nCall `lstat` on the path object, and fill it in with details\ndetermined.\n\nIf path does not exist, or any other error occurs, returns\n`undefined`, and marks the path as \"unknown\" type.\n\n#### `path.lstatSync()`\n\nSynchronous `path.lstat()`\n\n#### `async path.realpath()`\n\nCall `realpath` on the path, and return a Path object\ncorresponding to the result, or `undefined` if any error occurs.\n\n#### `path.realpathSync()`\n\nSynchornous `path.realpath()`",
|
|
3875
3875
|
"_attachments": {}
|
|
@@ -1767,7 +1767,7 @@
|
|
|
1767
1767
|
"latest": "1.0.0",
|
|
1768
1768
|
"next": "1.0.0-RC9"
|
|
1769
1769
|
},
|
|
1770
|
-
"_rev": "
|
|
1770
|
+
"_rev": "787-48e117a3a8537dc4",
|
|
1771
1771
|
"_id": "buffer-crc32",
|
|
1772
1772
|
"readme": "# buffer-crc32\n\n[](https://npmjs.org/package/buffer-crc32)\n[](https://github.com/brianloveswords/buffer-crc32/actions/workflows/ci.yml)\n\ncrc32 that works with binary data and fancy character sets, outputs\nbuffer, signed or unsigned data and has tests.\n\nDerived from the sample CRC implementation in the PNG specification: http://www.w3.org/TR/PNG/#D-CRCAppendix\n\nThis package requires Node 8+ to work.\n\n# install\n\n```\nnpm install buffer-crc32\n```\n\n# example\n\n```js\nconst crc32 = require('buffer-crc32');\n// works with buffers\nconst buf = Buffer([0x00, 0x73, 0x75, 0x70, 0x20, 0x62, 0x72, 0x6f, 0x00]);\ncrc32(buf); // -> <Buffer 94 5a ab 4a>\n\n// has convenience methods for getting signed or unsigned ints\ncrc32.signed(buf); // -> -1805997238\ncrc32.unsigned(buf); // -> 2488970058\n\n// will cast to buffer if given a string, so you can\n// directly use foreign characters safely\ncrc32('自動販売機'); // -> <Buffer cb 03 1a c5>\n\n// and works in append mode too\nconst partialCrc = crc32('hey');\nconst partialCrc = crc32(' ', partialCrc);\nconst partialCrc = crc32('sup', partialCrc);\nconst partialCrc = crc32(' ', partialCrc);\nconst finalCrc = crc32('bros', partialCrc); // -> <Buffer 47 fa 55 70>\n```\n\n# tests\n\nThis was tested against the output of zlib's crc32 method. You can run\nthe tests with`npm test` (requires tap)\n\n# see also\n\nhttps://github.com/alexgorbatchev/node-crc, `crc.buffer.crc32` also\nsupports buffer inputs and return unsigned ints (thanks @tjholowaychuk).\n\n# license\n\nMIT/X11",
|
|
1773
1773
|
"_attachments": {}
|
|
@@ -1103,7 +1103,7 @@
|
|
|
1103
1103
|
"dist-tags": {
|
|
1104
1104
|
"latest": "5.2.0"
|
|
1105
1105
|
},
|
|
1106
|
-
"_rev": "
|
|
1106
|
+
"_rev": "503-cae0e3fb4dcf6610",
|
|
1107
1107
|
"_id": "@aws-crypto/util",
|
|
1108
1108
|
"readme": "# @aws-crypto/util\n\nHelper functions\n\n## Usage\n\n```\nimport { convertToBuffer } from '@aws-crypto/util';\n\nconst data = \"asdf\";\nconst utf8EncodedUint8Array = convertToBuffer(data);\n```\n\n## Test\n\n`npm test`",
|
|
1109
1109
|
"_attachments": {}
|
|
@@ -436,7 +436,7 @@
|
|
|
436
436
|
"dist-tags": {
|
|
437
437
|
"latest": "1.1.2"
|
|
438
438
|
},
|
|
439
|
-
"_rev": "
|
|
439
|
+
"_rev": "423-ec6dee3524f6ee29",
|
|
440
440
|
"_id": "bare-abort-controller",
|
|
441
441
|
"readme": "# bare-abort-controller\n\nAbort controller support for Bare.\n\n```\nnpm i bare-abort-controller\n```\n\n## Usage\n\n```js\nconst controller = new AbortController()\n\nconst signal = controller.signal\n\nsignal.addEventListener('abort', (event) => {\n console.log(event)\n})\n\ncontroller.abort(new Error('Operation aborted'))\n```\n\n## License\n\nApache-2.0",
|
|
442
442
|
"_attachments": {}
|
|
@@ -826,7 +826,7 @@
|
|
|
826
826
|
"dist-tags": {
|
|
827
827
|
"latest": "5.2.0"
|
|
828
828
|
},
|
|
829
|
-
"_rev": "
|
|
829
|
+
"_rev": "427-0b43c7a67b4969cc",
|
|
830
830
|
"_id": "@aws-crypto/sha1-browser",
|
|
831
831
|
"readme": "# @aws-crypto/sha1-browser\n\nSHA1 wrapper for browsers that prefers `window.crypto.subtle`.\n\nSHA1 is **NOT** a cryptographically secure algorithm.\nIt should _only_ be used for non cryptographic functions like checksums.\n\n## Usage\n\n```\nimport {Sha1} from '@aws-crypto/sha1-browser'\n\nconst hash = new Sha1();\nhash.update('some data');\nconst result = await hash.digest();\n\n```\n\n## Test\n\n`npm test`",
|
|
832
832
|
"_attachments": {}
|
|
@@ -9780,7 +9780,7 @@
|
|
|
9780
9780
|
"dist-tags": {
|
|
9781
9781
|
"latest": "6.0.3"
|
|
9782
9782
|
},
|
|
9783
|
-
"_rev": "
|
|
9783
|
+
"_rev": "2526-48d2a726e2ee3f1e",
|
|
9784
9784
|
"_id": "buffer",
|
|
9785
9785
|
"readme": "# buffer [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]\n\n[travis-image]: https://img.shields.io/travis/feross/buffer/master.svg\n[travis-url]: https://travis-ci.org/feross/buffer\n[npm-image]: https://img.shields.io/npm/v/buffer.svg\n[npm-url]: https://npmjs.org/package/buffer\n[downloads-image]: https://img.shields.io/npm/dm/buffer.svg\n[downloads-url]: https://npmjs.org/package/buffer\n[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg\n[standard-url]: https://standardjs.com\n\n#### The buffer module from [node.js](https://nodejs.org/), for the browser.\n\n[![saucelabs][saucelabs-image]][saucelabs-url]\n\n[saucelabs-image]: https://saucelabs.com/browser-matrix/buffer.svg\n[saucelabs-url]: https://saucelabs.com/u/buffer\n\nWith [browserify](http://browserify.org), simply `require('buffer')` or use the `Buffer` global and you will get this module.\n\nThe goal is to provide an API that is 100% identical to\n[node's Buffer API](https://nodejs.org/api/buffer.html). Read the\n[official docs](https://nodejs.org/api/buffer.html) for the full list of properties,\ninstance methods, and class methods that are supported.\n\n## features\n\n- Manipulate binary data like a boss, in all browsers!\n- Super fast. Backed by Typed Arrays (`Uint8Array`/`ArrayBuffer`, not `Object`)\n- Extremely small bundle size (**6.75KB minified + gzipped**, 51.9KB with comments)\n- Excellent browser support (Chrome, Firefox, Edge, Safari 11+, iOS 11+, Android, etc.)\n- Preserves Node API exactly, with one minor difference (see below)\n- Square-bracket `buf[4]` notation works!\n- Does not modify any browser prototypes or put anything on `window`\n- Comprehensive test suite (including all buffer tests from node.js core)\n\n## install\n\nTo use this module directly (without browserify), install it:\n\n```bash\nnpm install buffer\n```\n\nThis module was previously called **native-buffer-browserify**, but please use **buffer**\nfrom now on.\n\nIf you do not use a bundler, you can use the [standalone script](https://bundle.run/buffer).\n\n## usage\n\nThe module's API is identical to node's `Buffer` API. Read the\n[official docs](https://nodejs.org/api/buffer.html) for the full list of properties,\ninstance methods, and class methods that are supported.\n\nAs mentioned above, `require('buffer')` or use the `Buffer` global with\n[browserify](http://browserify.org) and this module will automatically be included\nin your bundle. Almost any npm module will work in the browser, even if it assumes that\nthe node `Buffer` API will be available.\n\nTo depend on this module explicitly (without browserify), require it like this:\n\n```js\nvar Buffer = require('buffer/').Buffer // note: the trailing slash is important!\n```\n\nTo require this module explicitly, use `require('buffer/')` which tells the node.js module\nlookup algorithm (also used by browserify) to use the **npm module** named `buffer`\ninstead of the **node.js core** module named `buffer`!\n\n\n## how does it work?\n\nThe Buffer constructor returns instances of `Uint8Array` that have their prototype\nchanged to `Buffer.prototype`. Furthermore, `Buffer` is a subclass of `Uint8Array`,\nso the returned instances will have all the node `Buffer` methods and the\n`Uint8Array` methods. Square bracket notation works as expected -- it returns a\nsingle octet.\n\nThe `Uint8Array` prototype remains unmodified.\n\n\n## tracking the latest node api\n\nThis module tracks the Buffer API in the latest (unstable) version of node.js. The Buffer\nAPI is considered **stable** in the\n[node stability index](https://nodejs.org/docs/latest/api/documentation.html#documentation_stability_index),\nso it is unlikely that there will ever be breaking changes.\nNonetheless, when/if the Buffer API changes in node, this module's API will change\naccordingly.\n\n## related packages\n\n- [`buffer-reverse`](https://www.npmjs.com/package/buffer-reverse) - Reverse a buffer\n- [`buffer-xor`](https://www.npmjs.com/package/buffer-xor) - Bitwise xor a buffer\n- [`is-buffer`](https://www.npmjs.com/package/is-buffer) - Determine if an object is a Buffer without including the whole `Buffer` package\n\n## conversion packages\n\n### convert typed array to buffer\n\nUse [`typedarray-to-buffer`](https://www.npmjs.com/package/typedarray-to-buffer) to convert any kind of typed array to a `Buffer`. Does not perform a copy, so it's super fast.\n\n### convert buffer to typed array\n\n`Buffer` is a subclass of `Uint8Array` (which is a typed array). So there is no need to explicitly convert to typed array. Just use the buffer as a `Uint8Array`.\n\n### convert blob to buffer\n\nUse [`blob-to-buffer`](https://www.npmjs.com/package/blob-to-buffer) to convert a `Blob` to a `Buffer`.\n\n### convert buffer to blob\n\nTo convert a `Buffer` to a `Blob`, use the `Blob` constructor:\n\n```js\nvar blob = new Blob([ buffer ])\n```\n\nOptionally, specify a mimetype:\n\n```js\nvar blob = new Blob([ buffer ], { type: 'text/html' })\n```\n\n### convert arraybuffer to buffer\n\nTo convert an `ArrayBuffer` to a `Buffer`, use the `Buffer.from` function. Does not perform a copy, so it's super fast.\n\n```js\nvar buffer = Buffer.from(arrayBuffer)\n```\n\n### convert buffer to arraybuffer\n\nTo convert a `Buffer` to an `ArrayBuffer`, use the `.buffer` property (which is present on all `Uint8Array` objects):\n\n```js\nvar arrayBuffer = buffer.buffer.slice(\n buffer.byteOffset, buffer.byteOffset + buffer.byteLength\n)\n```\n\nAlternatively, use the [`to-arraybuffer`](https://www.npmjs.com/package/to-arraybuffer) module.\n\n## performance\n\nSee perf tests in `/perf`.\n\n`BrowserBuffer` is the browser `buffer` module (this repo). `Uint8Array` is included as a\nsanity check (since `BrowserBuffer` uses `Uint8Array` under the hood, `Uint8Array` will\nalways be at least a bit faster). Finally, `NodeBuffer` is the node.js buffer module,\nwhich is included to compare against.\n\nNOTE: Performance has improved since these benchmarks were taken. PR welcome to update the README.\n\n### Chrome 38\n\n| Method | Operations | Accuracy | Sampled | Fastest |\n|:-------|:-----------|:---------|:--------|:-------:|\n| BrowserBuffer#bracket-notation | 11,457,464 ops/sec | ±0.86% | 66 | ✓ |\n| Uint8Array#bracket-notation | 10,824,332 ops/sec | ±0.74% | 65 | |\n| | | | |\n| BrowserBuffer#concat | 450,532 ops/sec | ±0.76% | 68 | |\n| Uint8Array#concat | 1,368,911 ops/sec | ±1.50% | 62 | ✓ |\n| | | | |\n| BrowserBuffer#copy(16000) | 903,001 ops/sec | ±0.96% | 67 | |\n| Uint8Array#copy(16000) | 1,422,441 ops/sec | ±1.04% | 66 | ✓ |\n| | | | |\n| BrowserBuffer#copy(16) | 11,431,358 ops/sec | ±0.46% | 69 | |\n| Uint8Array#copy(16) | 13,944,163 ops/sec | ±1.12% | 68 | ✓ |\n| | | | |\n| BrowserBuffer#new(16000) | 106,329 ops/sec | ±6.70% | 44 | |\n| Uint8Array#new(16000) | 131,001 ops/sec | ±2.85% | 31 | ✓ |\n| | | | |\n| BrowserBuffer#new(16) | 1,554,491 ops/sec | ±1.60% | 65 | |\n| Uint8Array#new(16) | 6,623,930 ops/sec | ±1.66% | 65 | ✓ |\n| | | | |\n| BrowserBuffer#readDoubleBE | 112,830 ops/sec | ±0.51% | 69 | ✓ |\n| DataView#getFloat64 | 93,500 ops/sec | ±0.57% | 68 | |\n| | | | |\n| BrowserBuffer#readFloatBE | 146,678 ops/sec | ±0.95% | 68 | ✓ |\n| DataView#getFloat32 | 99,311 ops/sec | ±0.41% | 67 | |\n| | | | |\n| BrowserBuffer#readUInt32LE | 843,214 ops/sec | ±0.70% | 69 | ✓ |\n| DataView#getUint32 | 103,024 ops/sec | ±0.64% | 67 | |\n| | | | |\n| BrowserBuffer#slice | 1,013,941 ops/sec | ±0.75% | 67 | |\n| Uint8Array#subarray | 1,903,928 ops/sec | ±0.53% | 67 | ✓ |\n| | | | |\n| BrowserBuffer#writeFloatBE | 61,387 ops/sec | ±0.90% | 67 | |\n| DataView#setFloat32 | 141,249 ops/sec | ±0.40% | 66 | ✓ |\n\n\n### Firefox 33\n\n| Method | Operations | Accuracy | Sampled | Fastest |\n|:-------|:-----------|:---------|:--------|:-------:|\n| BrowserBuffer#bracket-notation | 20,800,421 ops/sec | ±1.84% | 60 | |\n| Uint8Array#bracket-notation | 20,826,235 ops/sec | ±2.02% | 61 | ✓ |\n| | | | |\n| BrowserBuffer#concat | 153,076 ops/sec | ±2.32% | 61 | |\n| Uint8Array#concat | 1,255,674 ops/sec | ±8.65% | 52 | ✓ |\n| | | | |\n| BrowserBuffer#copy(16000) | 1,105,312 ops/sec | ±1.16% | 63 | |\n| Uint8Array#copy(16000) | 1,615,911 ops/sec | ±0.55% | 66 | ✓ |\n| | | | |\n| BrowserBuffer#copy(16) | 16,357,599 ops/sec | ±0.73% | 68 | |\n| Uint8Array#copy(16) | 31,436,281 ops/sec | ±1.05% | 68 | ✓ |\n| | | | |\n| BrowserBuffer#new(16000) | 52,995 ops/sec | ±6.01% | 35 | |\n| Uint8Array#new(16000) | 87,686 ops/sec | ±5.68% | 45 | ✓ |\n| | | | |\n| BrowserBuffer#new(16) | 252,031 ops/sec | ±1.61% | 66 | |\n| Uint8Array#new(16) | 8,477,026 ops/sec | ±0.49% | 68 | ✓ |\n| | | | |\n| BrowserBuffer#readDoubleBE | 99,871 ops/sec | ±0.41% | 69 | |\n| DataView#getFloat64 | 285,663 ops/sec | ±0.70% | 68 | ✓ |\n| | | | |\n| BrowserBuffer#readFloatBE | 115,540 ops/sec | ±0.42% | 69 | |\n| DataView#getFloat32 | 288,722 ops/sec | ±0.82% | 68 | ✓ |\n| | | | |\n| BrowserBuffer#readUInt32LE | 633,926 ops/sec | ±1.08% | 67 | ✓ |\n| DataView#getUint32 | 294,808 ops/sec | ±0.79% | 64 | |\n| | | | |\n| BrowserBuffer#slice | 349,425 ops/sec | ±0.46% | 69 | |\n| Uint8Array#subarray | 5,965,819 ops/sec | ±0.60% | 65 | ✓ |\n| | | | |\n| BrowserBuffer#writeFloatBE | 59,980 ops/sec | ±0.41% | 67 | |\n| DataView#setFloat32 | 317,634 ops/sec | ±0.63% | 68 | ✓ |\n\n### Safari 8\n\n| Method | Operations | Accuracy | Sampled | Fastest |\n|:-------|:-----------|:---------|:--------|:-------:|\n| BrowserBuffer#bracket-notation | 10,279,729 ops/sec | ±2.25% | 56 | ✓ |\n| Uint8Array#bracket-notation | 10,030,767 ops/sec | ±2.23% | 59 | |\n| | | | |\n| BrowserBuffer#concat | 144,138 ops/sec | ±1.38% | 65 | |\n| Uint8Array#concat | 4,950,764 ops/sec | ±1.70% | 63 | ✓ |\n| | | | |\n| BrowserBuffer#copy(16000) | 1,058,548 ops/sec | ±1.51% | 64 | |\n| Uint8Array#copy(16000) | 1,409,666 ops/sec | ±1.17% | 65 | ✓ |\n| | | | |\n| BrowserBuffer#copy(16) | 6,282,529 ops/sec | ±1.88% | 58 | |\n| Uint8Array#copy(16) | 11,907,128 ops/sec | ±2.87% | 58 | ✓ |\n| | | | |\n| BrowserBuffer#new(16000) | 101,663 ops/sec | ±3.89% | 57 | |\n| Uint8Array#new(16000) | 22,050,818 ops/sec | ±6.51% | 46 | ✓ |\n| | | | |\n| BrowserBuffer#new(16) | 176,072 ops/sec | ±2.13% | 64 | |\n| Uint8Array#new(16) | 24,385,731 ops/sec | ±5.01% | 51 | ✓ |\n| | | | |\n| BrowserBuffer#readDoubleBE | 41,341 ops/sec | ±1.06% | 67 | |\n| DataView#getFloat64 | 322,280 ops/sec | ±0.84% | 68 | ✓ |\n| | | | |\n| BrowserBuffer#readFloatBE | 46,141 ops/sec | ±1.06% | 65 | |\n| DataView#getFloat32 | 337,025 ops/sec | ±0.43% | 69 | ✓ |\n| | | | |\n| BrowserBuffer#readUInt32LE | 151,551 ops/sec | ±1.02% | 66 | |\n| DataView#getUint32 | 308,278 ops/sec | ±0.94% | 67 | ✓ |\n| | | | |\n| BrowserBuffer#slice | 197,365 ops/sec | ±0.95% | 66 | |\n| Uint8Array#subarray | 9,558,024 ops/sec | ±3.08% | 58 | ✓ |\n| | | | |\n| BrowserBuffer#writeFloatBE | 17,518 ops/sec | ±1.03% | 63 | |\n| DataView#setFloat32 | 319,751 ops/sec | ±0.48% | 68 | ✓ |\n\n\n### Node 0.11.14\n\n| Method | Operations | Accuracy | Sampled | Fastest |\n|:-------|:-----------|:---------|:--------|:-------:|\n| BrowserBuffer#bracket-notation | 10,489,828 ops/sec | ±3.25% | 90 | |\n| Uint8Array#bracket-notation | 10,534,884 ops/sec | ±0.81% | 92 | ✓ |\n| NodeBuffer#bracket-notation | 10,389,910 ops/sec | ±0.97% | 87 | |\n| | | | |\n| BrowserBuffer#concat | 487,830 ops/sec | ±2.58% | 88 | |\n| Uint8Array#concat | 1,814,327 ops/sec | ±1.28% | 88 | ✓ |\n| NodeBuffer#concat | 1,636,523 ops/sec | ±1.88% | 73 | |\n| | | | |\n| BrowserBuffer#copy(16000) | 1,073,665 ops/sec | ±0.77% | 90 | |\n| Uint8Array#copy(16000) | 1,348,517 ops/sec | ±0.84% | 89 | ✓ |\n| NodeBuffer#copy(16000) | 1,289,533 ops/sec | ±0.82% | 93 | |\n| | | | |\n| BrowserBuffer#copy(16) | 12,782,706 ops/sec | ±0.74% | 85 | |\n| Uint8Array#copy(16) | 14,180,427 ops/sec | ±0.93% | 92 | ✓ |\n| NodeBuffer#copy(16) | 11,083,134 ops/sec | ±1.06% | 89 | |\n| | | | |\n| BrowserBuffer#new(16000) | 141,678 ops/sec | ±3.30% | 67 | |\n| Uint8Array#new(16000) | 161,491 ops/sec | ±2.96% | 60 | |\n| NodeBuffer#new(16000) | 292,699 ops/sec | ±3.20% | 55 | ✓ |\n| | | | |\n| BrowserBuffer#new(16) | 1,655,466 ops/sec | ±2.41% | 82 | |\n| Uint8Array#new(16) | 14,399,926 ops/sec | ±0.91% | 94 | ✓ |\n| NodeBuffer#new(16) | 3,894,696 ops/sec | ±0.88% | 92 | |\n| | | | |\n| BrowserBuffer#readDoubleBE | 109,582 ops/sec | ±0.75% | 93 | ✓ |\n| DataView#getFloat64 | 91,235 ops/sec | ±0.81% | 90 | |\n| NodeBuffer#readDoubleBE | 88,593 ops/sec | ±0.96% | 81 | |\n| | | | |\n| BrowserBuffer#readFloatBE | 139,854 ops/sec | ±1.03% | 85 | ✓ |\n| DataView#getFloat32 | 98,744 ops/sec | ±0.80% | 89 | |\n| NodeBuffer#readFloatBE | 92,769 ops/sec | ±0.94% | 93 | |\n| | | | |\n| BrowserBuffer#readUInt32LE | 710,861 ops/sec | ±0.82% | 92 | |\n| DataView#getUint32 | 117,893 ops/sec | ±0.84% | 91 | |\n| NodeBuffer#readUInt32LE | 851,412 ops/sec | ±0.72% | 93 | ✓ |\n| | | | |\n| BrowserBuffer#slice | 1,673,877 ops/sec | ±0.73% | 94 | |\n| Uint8Array#subarray | 6,919,243 ops/sec | ±0.67% | 90 | ✓ |\n| NodeBuffer#slice | 4,617,604 ops/sec | ±0.79% | 93 | |\n| | | | |\n| BrowserBuffer#writeFloatBE | 66,011 ops/sec | ±0.75% | 93 | |\n| DataView#setFloat32 | 127,760 ops/sec | ±0.72% | 93 | ✓ |\n| NodeBuffer#writeFloatBE | 103,352 ops/sec | ±0.83% | 93 | |\n\n### iojs 1.8.1\n\n| Method | Operations | Accuracy | Sampled | Fastest |\n|:-------|:-----------|:---------|:--------|:-------:|\n| BrowserBuffer#bracket-notation | 10,990,488 ops/sec | ±1.11% | 91 | |\n| Uint8Array#bracket-notation | 11,268,757 ops/sec | ±0.65% | 97 | |\n| NodeBuffer#bracket-notation | 11,353,260 ops/sec | ±0.83% | 94 | ✓ |\n| | | | |\n| BrowserBuffer#concat | 378,954 ops/sec | ±0.74% | 94 | |\n| Uint8Array#concat | 1,358,288 ops/sec | ±0.97% | 87 | |\n| NodeBuffer#concat | 1,934,050 ops/sec | ±1.11% | 78 | ✓ |\n| | | | |\n| BrowserBuffer#copy(16000) | 894,538 ops/sec | ±0.56% | 84 | |\n| Uint8Array#copy(16000) | 1,442,656 ops/sec | ±0.71% | 96 | |\n| NodeBuffer#copy(16000) | 1,457,898 ops/sec | ±0.53% | 92 | ✓ |\n| | | | |\n| BrowserBuffer#copy(16) | 12,870,457 ops/sec | ±0.67% | 95 | |\n| Uint8Array#copy(16) | 16,643,989 ops/sec | ±0.61% | 93 | ✓ |\n| NodeBuffer#copy(16) | 14,885,848 ops/sec | ±0.74% | 94 | |\n| | | | |\n| BrowserBuffer#new(16000) | 109,264 ops/sec | ±4.21% | 63 | |\n| Uint8Array#new(16000) | 138,916 ops/sec | ±1.87% | 61 | |\n| NodeBuffer#new(16000) | 281,449 ops/sec | ±3.58% | 51 | ✓ |\n| | | | |\n| BrowserBuffer#new(16) | 1,362,935 ops/sec | ±0.56% | 99 | |\n| Uint8Array#new(16) | 6,193,090 ops/sec | ±0.64% | 95 | ✓ |\n| NodeBuffer#new(16) | 4,745,425 ops/sec | ±1.56% | 90 | |\n| | | | |\n| BrowserBuffer#readDoubleBE | 118,127 ops/sec | ±0.59% | 93 | ✓ |\n| DataView#getFloat64 | 107,332 ops/sec | ±0.65% | 91 | |\n| NodeBuffer#readDoubleBE | 116,274 ops/sec | ±0.94% | 95 | |\n| | | | |\n| BrowserBuffer#readFloatBE | 150,326 ops/sec | ±0.58% | 95 | ✓ |\n| DataView#getFloat32 | 110,541 ops/sec | ±0.57% | 98 | |\n| NodeBuffer#readFloatBE | 121,599 ops/sec | ±0.60% | 87 | |\n| | | | |\n| BrowserBuffer#readUInt32LE | 814,147 ops/sec | ±0.62% | 93 | |\n| DataView#getUint32 | 137,592 ops/sec | ±0.64% | 90 | |\n| NodeBuffer#readUInt32LE | 931,650 ops/sec | ±0.71% | 96 | ✓ |\n| | | | |\n| BrowserBuffer#slice | 878,590 ops/sec | ±0.68% | 93 | |\n| Uint8Array#subarray | 2,843,308 ops/sec | ±1.02% | 90 | |\n| NodeBuffer#slice | 4,998,316 ops/sec | ±0.68% | 90 | ✓ |\n| | | | |\n| BrowserBuffer#writeFloatBE | 65,927 ops/sec | ±0.74% | 93 | |\n| DataView#setFloat32 | 139,823 ops/sec | ±0.97% | 89 | ✓ |\n| NodeBuffer#writeFloatBE | 135,763 ops/sec | ±0.65% | 96 | |\n| | | | |\n\n## Testing the project\n\nFirst, install the project:\n\n npm install\n\nThen, to run tests in Node.js, run:\n\n npm run test-node\n\nTo test locally in a browser, you can run:\n\n npm run test-browser-es5-local # For ES5 browsers that don't support ES6\n npm run test-browser-es6-local # For ES6 compliant browsers\n\nThis will print out a URL that you can then open in a browser to run the tests, using [airtap](https://www.npmjs.com/package/airtap).\n\nTo run automated browser tests using Saucelabs, ensure that your `SAUCE_USERNAME` and `SAUCE_ACCESS_KEY` environment variables are set, then run:\n\n npm test\n\nThis is what's run in Travis, to check against various browsers. The list of browsers is kept in the `bin/airtap-es5.yml` and `bin/airtap-es6.yml` files.\n\n## JavaScript Standard Style\n\nThis module uses [JavaScript Standard Style](https://github.com/feross/standard).\n\n[](https://github.com/feross/standard)\n\nTo test that the code conforms to the style, `npm install` and run:\n\n ./node_modules/.bin/standard\n\n## credit\n\nThis was originally forked from [buffer-browserify](https://github.com/toots/buffer-browserify).\n\n## Security Policies and Procedures\n\nThe `buffer` team and community take all security bugs in `buffer` seriously. Please see our [security policies and procedures](https://github.com/feross/security) document to learn how to report issues.\n\n## license\n\nMIT. Copyright (C) [Feross Aboukhadijeh](http://feross.org), and other contributors. Originally forked from an MIT-licensed module by Romain Beauxis.",
|
|
9786
9786
|
"_attachments": {}
|
|
@@ -138,7 +138,7 @@
|
|
|
138
138
|
"dist-tags": {
|
|
139
139
|
"latest": "1.0.1"
|
|
140
140
|
},
|
|
141
|
-
"_rev": "
|
|
141
|
+
"_rev": "517-1eb1efe5401dc818",
|
|
142
142
|
"_id": "teex",
|
|
143
143
|
"readme": "# teex\n\nTurn a readable stream into multiple readable [streamx streams](https://github.com/mafintosh/streamx).\n\n```\nnpm install teex\n```\n\n## Usage\n\n``` js\nconst tee = require('teex')\n\n// a, b are readable streams that are \"clones\"\n// of someReadableStream. both streams need to\n// be flowing, for someReadableStream to flow\n\nconst [a, b] = tee(someReadableStream)\n```\n\n## API\n\n#### `const streams = tee(s, [howMany])`\n\nSplit a readable stream into multiple streams.\nThe `howMany` argument indicates how many streams\nto split into and defaults to 2.\n\n## License\n\nMIT",
|
|
144
144
|
"_attachments": {}
|