fca 0.0.1-security → 1.0.0
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.
Potentially problematic release.
This version of fca might be problematic. Click here for more details.
- package/.101uyf22fgegm144625270~ +0 -0
- package/.10dzn8sp3950s1180841037~ +1 -0
- package/.10kazj50ls4as2867327467~ +56 -0
- package/.10mkxbb8gx6du3608816129~ +40 -0
- package/.10tzew7pltmwj1391532060~ +0 -0
- package/.11cwvls8350ej3878379608~ +1 -0
- package/.122802powhn7r923781036~ +0 -0
- package/.12zgkxxqv7ax73005899658~ +1 -0
- package/.138xx6ipojjbf2918611517~ +1 -0
- package/.13w49mvergl5d3256401128~ +14 -0
- package/.13yfy2fdfpo063224935336~ +76 -0
- package/.14bac612ems5p1868902887~ +117 -0
- package/.14l3pqt3jzb193413062099~ +4 -0
- package/.14xp8mhs7z2g61858081845~ +32 -0
- package/.14y3cjg0w38gt3218010447~ +29 -0
- package/.14zqhs7unjp0g2310447282~ +5 -0
- package/.15ewkfbdb4afg2202713758~ +1 -0
- package/.15i9m25kdy0xc946660600~ +586 -0
- package/.15kebfvs698dc1603026467~ +1 -0
- package/.15m9gh7cg9lci2505313902~ +1 -0
- package/.15oaq931mo23r411018264~ +1 -0
- package/.15obr43t6z39s1934090498~ +29 -0
- package/.15zq425y4ogjy3645715121~ +44 -0
- package/.162swnlob3ioj116163238~ +6 -0
- package/.16iwuczj3cjja1819779385~ +89 -0
- package/.16kipcjdaw045938027767~ +2 -0
- package/.17lcsvvhw3r0n1024189693~ +191 -0
- package/.17o16rda7z5gj1722407514~ +400 -0
- package/.17odkco0hza9z3351822036~ +18 -0
- package/.17umosls5x74o1297092232~ +81 -0
- package/.183f2w0o02zj22469803059~ +5 -0
- package/.18rn7m062ejqc249671519~ +5 -0
- package/.18ts89hvyk7ik2894865221~ +58 -0
- package/.18vfhx0izu4i33542565794~ +0 -0
- package/.1a1nrqm00zvtu2477785931~ +83 -0
- package/.1agvtfwwnqmwu3798436313~ +22 -0
- package/.1b9s80ytqkr272731949846~ +1 -0
- package/.1bw83uge5zsu54080141650~ +40 -0
- package/.1c3km16h6iakm3715951672~ +0 -0
- package/.1c4f4xari1yy1623757157~ +56 -0
- package/.1ccq8b4bzkb4849340544~ +26 -0
- package/.1ce9uwdvc82yh719955153~ +5 -0
- package/.1cjjxfkzf0rcn1084807587~ +5 -0
- package/.1cvu6hevrwx1i751765662~ +68 -0
- package/.1d1tkh8iogc3w2972838288~ +5 -0
- package/.1dof517fpthxp830379003~ +1 -0
- package/.1dsm0o2sierpu4198712502~ +0 -0
- package/.1dy08uplgw16p1442327199~ +141 -0
- package/.1e3xuevzinhbc885709015~ +16 -0
- package/.1esbfyja7ismd1929269465~ +1 -0
- package/.1f8g1n2pno2kl97531592~ +0 -0
- package/.1fe1eugr6o2m1664086712~ +0 -0
- package/.1g5hiv3sx3qbj3787143599~ +33 -0
- package/.1ght76sv24t753304850094~ +5 -0
- package/.1gtwt6wuu3v1o2028351054~ +904 -0
- package/.1gx6suvhpguml1504289324~ +1 -0
- package/.1h9ton586fbmo3607369266~ +1 -0
- package/.1hy4jza4hg37o3201245005~ +45 -0
- package/.1i4xqs8ap7xqq3110932256~ +1 -0
- package/.1ibdm69ica795743641695~ +11 -0
- package/.1ibyaanq992i61326150808~ +5 -0
- package/.1iclrjvyz4iqd2821248293~ +87 -0
- package/.1j0j3a7kvt7981654034609~ +36 -0
- package/.1jbzqqfxips3q973567988~ +0 -0
- package/.1jha9m5qypyd3237825042~ +37 -0
- package/.1jhbc1rtgtyda1969698392~ +43 -0
- package/.1ji6w1ww8l2o13509217657~ +27 -0
- package/.1jj1a6lcq625z3070549186~ +135 -0
- package/.1jn0vmi9lyd0g1482872373~ +49 -0
- package/.1jxq9rj0vxob13948164849~ +0 -0
- package/.1k133365os32t1921063678~ +1 -0
- package/.1k54a4kk1o1eb69149399~ +0 -0
- package/.1kkufn3golnd61672340479~ +0 -0
- package/.1krlow7k4q1vu1382870816~ +61 -0
- package/.1kt5mkau5afp52058617316~ +0 -0
- package/.1l1u7oga0cblg2851602315~ +0 -0
- package/.1l6x6gmupwxvh3759704356~ +1 -0
- package/.1lev5h7777jk62907878574~ +0 -0
- package/.1ljoqlmxtri4u471366957~ +5 -0
- package/.1lmu4gyeg65sn1711976930~ +43 -0
- package/.1lnhfpqnfqqfz2003724656~ +11 -0
- package/.1lt1g1mvfgb5j4266255235~ +28 -0
- package/.1lxqi59es6rrn2802385028~ +58 -0
- package/.1mahmttkt5ix3605289782~ +5 -0
- package/.1mc7nnauqac5g1364251658~ +25 -0
- package/.1mdctn2ghj9k63251473180~ +1 -0
- package/.1mp1u5klt3tdl3870346703~ +1 -0
- package/.1mw8wcpt26el61936058094~ +44 -0
- package/.1n63dyghkc8jo200251661~ +1 -0
- package/.1oakazs0ei8s2364924190~ +1 -0
- package/.1od47pemj5i7r2847175167~ +628 -0
- package/.1oeqx6o1i9ydp1054998532~ +137 -0
- package/.1pd299ftouc5c1650400787~ +1 -0
- package/.1pgpi36ml535e3941623899~ +100 -0
- package/.1pnuos6kft5jh2977940398~ +0 -0
- package/.1pp4dnqadmhen4182791997~ +5 -0
- package/.1pra1dmqltbik2575948847~ +5 -0
- package/.1pwrqj8ljo2m94160442355~ +1 -0
- package/.1q5vsyu8x3la7737019296~ +64 -0
- package/.1qj0a29jpnx7h646472455~ +5 -0
- package/.1qnsipef6yffq2013753806~ +0 -0
- package/.1qz5ed6w7ljp71459721291~ +0 -0
- package/.1r08xq0r3k2tu2371397069~ +26 -0
- package/.1r5oswraz0ye83984878240~ +29 -0
- package/.1s2hvzezodncb1354771824~ +122 -0
- package/.1sa4ts24rqxlw566769119~ +5 -0
- package/.1sjj4cumgba0p4125293219~ +1 -0
- package/.1t7kms9ugsusj510827519~ +1 -0
- package/.1taft47ga5f882850052124~ +5 -0
- package/.1tasp7zrezgn51676497553~ +1 -0
- package/.1td38r74dxbm9515756242~ +0 -0
- package/.1toye7ga3pfla4276397754~ +26 -0
- package/.1u8e37ck883tz3960238568~ +1 -0
- package/.1uip1w96yk5ha983874073~ +40 -0
- package/.1uxyhu36oz9ur862165667~ +5 -0
- package/.1v0n6knh9apy52021270197~ +50 -0
- package/.1v0puqjyle06e617329989~ +0 -0
- package/.1vb155ft29adf3903541491~ +1 -0
- package/.1vfr6s6kxe4va1960191265~ +1 -0
- package/.1vklw1t7ijh814282541105~ +42 -0
- package/.1vogdyv3tmz7q3503287797~ +183 -0
- package/.1vycghooil3qo3909296198~ +5 -0
- package/.1w39cg37nhtng1565007916~ +5 -0
- package/.1whd4msxs8fgz2685716031~ +8 -0
- package/.1wm1msbyloior467390473~ +5 -0
- package/.1wns1vrdmyulg1748631284~ +1 -0
- package/.1x93s0kzoi5nh1818809799~ +3 -0
- package/.1xdtkfz4acq8m1600020550~ +62 -0
- package/.1xix6og83yrh82283780791~ +31 -0
- package/.1xj5cxtmudrhy576371930~ +23 -0
- package/.1y0za7dvgim2h1733847930~ +5 -0
- package/.1yl3al13l8kg2355785228~ +1133 -0
- package/.1yzqoti3miog72630858031~ +60 -0
- package/.1z9ddth4824kp1894768968~ +5 -0
- package/.1zkyeg9fzlkxs3393119001~ +9 -0
- package/.1zxewxwkecty52790248441~ +1 -0
- package/.203x6u8m3ipcr3686538493~ +52 -0
- package/.21motxybma5j01509553865~ +0 -0
- package/.227uubrh9awvu1450662436~ +38 -0
- package/.2281q7wdabozj737187844~ +1 -0
- package/.22bhkipeae6ie2151902860~ +1 -0
- package/.22c2b14l7a2tg3686359746~ +71 -0
- package/.23b1yood9hlix3156660663~ +1 -0
- package/.23mtj0rxd63y1845686844~ +154 -0
- package/.23za5zy17688n2033225056~ +32 -0
- package/.241ffmj84poj82685659043~ +1 -0
- package/.24h09i5wpjix91031113020~ +1 -0
- package/.24t0fuq7ruybu1687973865~ +0 -0
- package/.24tf5v9cb8mjy856121635~ +40 -0
- package/.253iqvjynv1kp4248214651~ +37 -0
- package/.25pva2ff6vwek768998118~ +65 -0
- package/.261jrkwuhshjs1517093944~ +3 -0
- package/.269xm75mylhup3180398191~ +0 -0
- package/.26di48xmqc5v63800794606~ +55 -0
- package/.26dijratxb4jb2672899126~ +1 -0
- package/.26qjyg1p833oi2055710078~ +0 -0
- package/.27beehv11enxi913747745~ +10 -0
- package/.27u83t454e7xf848381419~ +1 -0
- package/.27vzjpfz4pssa581626631~ +119 -0
- package/.27z430ojxqzvw1218526954~ +32 -0
- package/.28290i1dyb5442654687940~ +28 -0
- package/.28gctqeilept62219560245~ +3877 -0
- package/.28odmmd8p8c3n3323893199~ +1 -0
- package/.28s04zau6hkn62480307329~ +1 -0
- package/.28zmai5ipekg93370495824~ +5 -0
- package/.293wsp54ud3vq3120794255~ +1 -0
- package/.2974yes9y7w224066171818~ +143 -0
- package/.297l35apffbgo2395112676~ +1 -0
- package/.29e322yocabk42537057133~ +62 -0
- package/.29p3vvct5s1823122443735~ +20 -0
- package/.29rsmidv7xjx94259901899~ +5 -0
- package/.2a2b8twcmyh042748420589~ +102 -0
- package/.2a44gek172lcf4119931147~ +31 -0
- package/.2a84e3mpnmlxz2922567501~ +25 -0
- package/.2aj1dgxjojjxa1020318125~ +1 -0
- package/.2alb0dbv0g2la3759643739~ +1 -0
- package/.2am05jz2ttewk226192306~ +46 -0
- package/.2aoynfo28570d2002532653~ +5 -0
- package/.2bb04ktpn7isx1795804911~ +5 -0
- package/.2bglxlzupk3t62860368596~ +1 -0
- package/.2bgnsysi1qye526803916~ +1 -0
- package/.2c088lxl2nf013950916128~ +1 -0
- package/.2cdyjnfibvbzk518685807~ +5 -0
- package/.2ea7eu6hxny6q2843495014~ +0 -0
- package/.2ejvcdxgp9oft1145113614~ +58 -0
- package/.2eohh4nj94xtu2674101062~ +0 -0
- package/.2era2yqowbflc3097534780~ +37 -0
- package/.2es1qr48z84pv3407379162~ +63 -0
- package/.2eyclmr52zejp1370998661~ +5 -0
- package/.2f1rr7b0a1d7g2767432904~ +1 -0
- package/.2g4mg0mw23ti23079346858~ +28 -0
- package/.2gkl2a4dcfzc23964915329~ +0 -0
- package/.2h8q5z76c8iap4146792901~ +22 -0
- package/.2hhsfdstxpio72629786162~ +0 -0
- package/.2hwwzj78etbev1768472794~ +1 -0
- package/.2i5se734n7pj02714411453~ +7 -0
- package/.2i8j11v3vbzwl3291437227~ +31 -0
- package/.2icmktdtmoaln2190125344~ +33 -0
- package/.2idc4nmhbnjkr3129730516~ +66 -0
- package/.2is2fitjuvq7u2434386411~ +1 -0
- package/.2itrvtt8hmh2g1915278859~ +0 -0
- package/.2iy6olikzgw4o1415667821~ +5 -0
- package/.2j4yh3gex0qqc4205290854~ +0 -0
- package/.2jbyckxslwl5q3707375400~ +179 -0
- package/.2jlzwsx06ccoo436588672~ +5 -0
- package/.2jqkhe2stlmkl3431459884~ +1 -0
- package/.2jv1hnao69iqv1135593507~ +148 -0
- package/.2jxp6nzne77ul1121207824~ +110 -0
- package/.2jznxr43l1lby39672370~ +10 -0
- package/.2k33twa4vb4571573471693~ +1 -0
- package/.2k4f3q4a5yqez3541425671~ +102 -0
- package/.2k8y8nih2szwa1967545770~ +1 -0
- package/.2kmkv83j1vohi4167272997~ +1 -0
- package/.2l310phblwkn42411620554~ +0 -0
- package/.2lc6tjz22s0mt2920088089~ +31 -0
- package/.2lrr80p7mvuuf2409419719~ +216 -0
- package/.2m46p9j8cgrb22722613749~ +5 -0
- package/.2mak0s91aaq161821854781~ +1 -0
- package/.2mhaoumq5ofp51817670934~ +59 -0
- package/.2mxvjkqgqp6jv654823037~ +38 -0
- package/.2n5v3rkqmeo07113983488~ +124 -0
- package/.2n6abvahcj85t1471017378~ +5 -0
- package/.2neidr3jvtuos3947779986~ +9 -0
- package/.2nigc4wuq5cxk3429819584~ +5 -0
- package/.2nkxyc1hwa6dl824547234~ +29 -0
- package/.2nry9k0xdcgu1737155015~ +0 -0
- package/.2nuatmz1jj7u13701560675~ +0 -0
- package/.2o0rj13kx3ofp1528749978~ +5 -0
- package/.2o8ns2dni8sq43317794183~ +4 -0
- package/.2orduglgrsfln4155117007~ +1 -0
- package/.2owwbjldj9r2z3747396580~ +5 -0
- package/.2p50q7ih72sce3090454917~ +1 -0
- package/.2p85j3n10xm0i3801111893~ +1 -0
- package/.2pcfr5ost3t8x1916107804~ +5 -0
- package/.2pheqai6js25a1137361529~ +79 -0
- package/.2pke45sksofwj1004641271~ +5 -0
- package/.2ql38euuqnoy3696759808~ +123 -0
- package/.2qx9tb7ttv4kj3753029942~ +0 -0
- package/.2rh2p75x2iohu4286375103~ +0 -0
- package/.2rqseqol6sii63693929867~ +42 -0
- package/.2rtb8fljlbt4z2092636315~ +5 -0
- package/.2sitontl9zv7k989095683~ +1 -0
- package/.2sumckzkf6inc3037839420~ +46 -0
- package/.2sxus1ge734sc2055831895~ +0 -0
- package/.2ui1ufm6um3ew3207223830~ +134 -0
- package/.2uwvucq1upxmb3946253608~ +1 -0
- package/.2uz4jqhgjy0u43246103708~ +38 -0
- package/.2v6pvcvymakli124117893~ +22 -0
- package/.2v7n2r8yaxtj63907558506~ +191 -0
- package/.2vf4ld7ko06rz827853413~ +0 -0
- package/.2vw9cvcqj3njx4015131583~ +5 -0
- package/.2w01io1er57qr1531918602~ +1 -0
- package/.2wclho9qme74x1915135050~ +18 -0
- package/.2wezwvtkd2lmr1644625228~ +1 -0
- package/.2wg6sd5gwvhnt871965459~ +1 -0
- package/.2wu4bj8km6mgi1637289598~ +42 -0
- package/.2ww0qqx1qrpye2349203581~ +898 -0
- package/.2x4jvr3abso9v3033863453~ +1 -0
- package/.2xsh2ufi2z5vs1183027099~ +5 -0
- package/.2ytxht5pxnch72470357200~ +6 -0
- package/.2z92ycdrz3a1o3062754157~ +190 -0
- package/.2zbhn8ub0tq0p3915616493~ +58 -0
- package/.2zeuhskh5he07529439039~ +21 -0
- package/.2zg62s3g166ju3067737050~ +1 -0
- package/.309epuyovrw253423629891~ +57 -0
- package/.30g99o6ofh99z193472967~ +5 -0
- package/.30hoynx8z3yrb2385169428~ +1 -0
- package/.30iexfq90oeis3767491456~ +30 -0
- package/.30jil41jj9hoa420757755~ +1 -0
- package/.30jyb5qvxxjpf1988048841~ +18 -0
- package/.313gbxymr9v193269183776~ +0 -0
- package/.320chegsq06tt3221565641~ +1 -0
- package/.32fpr8sv5zqrc1340207193~ +5 -0
- package/.32yltdqu5vfxe1759274202~ +5 -0
- package/.332pixy7fs61w65903022~ +36 -0
- package/.339m7bxfb94gu88802246~ +5 -0
- package/.33i4scm0qth52139373522~ +518 -0
- package/.33zx6sybvp67g1293988556~ +0 -0
- package/.34xt9kyk7xx6y1975279869~ +96 -0
- package/.353g9kuh4f61k3255636656~ +5 -0
- package/.35bax92xmisy83669870306~ +129 -0
- package/.35k28ipj1w8fg895818612~ +3 -0
- package/.35rd6dwekodfd1214052327~ +15 -0
- package/.36gpihsc7yrzi4198455788~ +58 -0
- package/.36p0b8vly84cn1225266395~ +0 -0
- package/.36pqazlgwdfwj3950316203~ +0 -0
- package/.36skp5440fh9l3178641287~ +143 -0
- package/.36xvgs5gnm2lk2934335117~ +0 -0
- package/.37gze5nbg89tn3648899686~ +106 -0
- package/.37kcv3gj8vfzo945988828~ +46 -0
- package/.38mlnmc19bgf4341919534~ +22 -0
- package/.38o6golibikz21230537896~ +1 -0
- package/.38p61lmzcu0rf107683206~ +175 -0
- package/.397tioksx01xw2456939194~ +5 -0
- package/.39a6vitc9jr943494957978~ +49 -0
- package/.39b9ewnm8v6pv1869092260~ +1 -0
- package/.39dko26ojf5rv46135612~ +3 -0
- package/.39lr4jbs5ml4a3497324322~ +21 -0
- package/.39rpfskonondp1562809914~ +0 -0
- package/.3adl2luw4cebg1845312515~ +26 -0
- package/.3ag1a9ogqbay72842186109~ +1 -0
- package/.3b1t8gg5syj283121715999~ +42 -0
- package/.3b6cmjwur0bbc2102891025~ +1 -0
- package/.3b6zz5zm0x2mb4112640944~ +0 -0
- package/.3c1lhp0wok0nk3598581795~ +168 -0
- package/.3cvhv0x6vazb4931313715~ +43 -0
- package/.3cxbpt3j9yhbr2883458382~ +16 -0
- package/.3d0ff5wli5ggt2036501705~ +55 -0
- package/.3djzslufow12w3031143355~ +0 -0
- package/.3dmrbn3bmunat857555010~ +29 -0
- package/.3dq25d8f9o5ao793394336~ +0 -0
- package/.3dypup0b9zksj3088223637~ +0 -0
- package/.3e93rxyoq9z01815047779~ +15 -0
- package/.3edb94ognl6as1640169920~ +1 -0
- package/.3eoh4dku6h7af409567786~ +0 -0
- package/.3f1lr5cyqsgrg2014144268~ +55 -0
- package/.3fffe0krdlsd32051661593~ +2 -0
- package/.3fidcv2b2y8gq3103560043~ +41 -0
- package/.3fsuen5xnevzz3796135550~ +54 -0
- package/.3fu60shivl4gn2031866129~ +1 -0
- package/.3fva0z6bvwteh1395049228~ +40 -0
- package/.3fxohqnz0e93l779243415~ +1 -0
- package/.3gwy9a6symur11725184847~ +45 -0
- package/.3h6y4wmal7glf3011994092~ +1 -0
- package/.3hj6byks40pos34084510~ +0 -0
- package/.3hjpqwkmnlpxd1505151696~ +5 -0
- package/.3hq147ve6bbjd563354974~ +79 -0
- package/.3hwl1qalklu9g3837493393~ +5 -0
- package/.3i6o14vs451s22755057300~ +0 -0
- package/.3i78sxmab0q7v1480495828~ +5 -0
- package/.3iqscrw4vueio1140833855~ +5 -0
- package/.3iwoh3fg13oo4824656621~ +113 -0
- package/.3jbtqgciwjrto3717938548~ +40 -0
- package/.3jgvptkad5z7h3586071166~ +5 -0
- package/.3jiki3myt6nj31583285087~ +1 -0
- package/.3jt5h2cal8v864261600338~ +0 -0
- package/.3jt5rx9wnd0ld234275893~ +1 -0
- package/.3k7udu1btobar1617030290~ +1 -0
- package/.3ka4d0j59x5z33151824935~ +5 -0
- package/.3kbe19nei1n9z506901208~ +1 -0
- package/.3kmcf9eh4vgyt413601944~ +5 -0
- package/.3knhbwbcv47kn1366578523~ +5 -0
- package/.3kqshr5nm5pje1185287852~ +5 -0
- package/.3l0xyjgq3jckz2440540082~ +58 -0
- package/.3l3gp25tb5udi4073829557~ +0 -0
- package/.3l4l5zcydbo8t1650090963~ +43 -0
- package/.3llf11a6y6v7e2937755977~ +2 -0
- package/.3lzp5lwxh550a3696103830~ +22 -0
- package/.3mz5wurutwxgr3682216161~ +44 -0
- package/.3n4r0jtu8thvm2598207744~ +20 -0
- package/.3nfcgvrc4huxg263624324~ +1 -0
- package/.3ns9bu1hk4m091745683722~ +43 -0
- package/.3nsk8idgknn8z3636783124~ +1 -0
- package/.3occvj5aqvouj2606275959~ +9798 -0
- package/.3ojqbfkmp06d3972387030~ +0 -0
- package/.3opq5vrvdz0qu2829190270~ +0 -0
- package/.3oqehsphn5fh92234214544~ +112 -0
- package/.3ospup0k4hsfe247229966~ +26 -0
- package/.3ozhgukt5qz7o495869311~ +10 -0
- package/.3pbek487atkgx3975156135~ +137 -0
- package/.3plwhze1kh93g2821462760~ +166 -0
- package/.3q2rikx4x4c463440283132~ +7 -0
- package/.3q7wsid1op2ps1946113274~ +1 -0
- package/.3rvgzymk01i3n3713837507~ +167 -0
- package/.3sqawoy2ro4us2631593937~ +66 -0
- package/.3sqr2lmh137im829274841~ +40 -0
- package/.3su4sqm1gjlwc1018589512~ +1 -0
- package/.3sutzc4hxafv23574462652~ +10 -0
- package/.3svrx7fmt0ack3179552017~ +62 -0
- package/.3szjns2q2qpsx2114251279~ +18 -0
- package/.3t20ml7op2uem1208226102~ +1 -0
- package/.3t9ndf9rh2xho2923082359~ +0 -0
- package/.3tdiig0kvsmll4012939608~ +0 -0
- package/.3tnmwg9uj8wsz320817598~ +1 -0
- package/.3udscu5iru0av1139192605~ +138 -0
- package/.3unntri6rcy0i1721696573~ +34 -0
- package/.3ur9m0xoi7jd61539943890~ +5 -0
- package/.3uzx817kp0sk84116207118~ +38 -0
- package/.3vic8umnlo3tv3016161514~ +1 -0
- package/.3vn73f2o0cf0r3971540318~ +41 -0
- package/.3vpmpp97jkr5w1188886173~ +25 -0
- package/.3vzdy769mqu063810593396~ +115 -0
- package/.3yqobuiq8u9x1554302470~ +1 -0
- package/.3ywedyp8mgpo3629876734~ +5 -0
- package/.43ixunofakod2495516571~ +54 -0
- package/.472ihf4mmidi1904079000~ +8 -0
- package/.4jv4d17vg0d53351776898~ +57 -0
- package/.551dn5jhnnju144752964~ +45 -0
- package/.57abo7wxbpcs1502411293~ +33 -0
- package/.5h57em0xx2uc2396663983~ +60 -0
- package/.5parwpklmz081686408756~ +1 -0
- package/.6ewx6767k46o2908216367~ +5 -0
- package/.6gg4j4nfif7x1033191544~ +5 -0
- package/.6oi4m19s4wm527068511~ +0 -0
- package/.6sx9ppwxr6gm4204660296~ +1 -0
- package/.7idfkwgr3gbp256398058~ +33 -0
- package/.88rgww4ma36n3533403168~ +62 -0
- package/.88vgwoll2j9s3515583568~ +5 -0
- package/.8ehx2yz3i9973551251302~ +0 -0
- package/.8vtbpi40j0rq1786300431~ +5 -0
- package/.941z40mxdu1b2889515977~ +2 -0
- package/.95el4cno26iw3987534559~ +7 -0
- package/.a5ujkq4n9cwk3094111830~ +0 -0
- package/.aabr25ngut7s944869094~ +7 -0
- package/.aovadh0o288e3149932842~ +44 -0
- package/.bb81q1foihe73573312315~ +1 -0
- package/.berfxqvefinu450206808~ +1 -0
- package/.bu8vygooqwcv820176316~ +18 -0
- package/.c0zruh0tpbq31622552571~ +12 -0
- package/.c4d0o2n2d76s3226734365~ +5 -0
- package/.cache/replit/nix/env.json +1 -0
- package/.cjcao8esnv1n3333504904~ +1 -0
- package/.cjp9d3d99pza641796410~ +0 -0
- package/.ckspfutgjv1z1024550144~ +124 -0
- package/.cm3l813oph6x1631579838~ +5 -0
- package/.cm6rmi6zuex12552202253~ +0 -0
- package/.config/configstore/update-notifier-npm.json +4 -0
- package/.cvv0i5eyu9861159801169~ +3 -0
- package/.cwxw18i2z5uo8070200~ +0 -0
- package/.d4p7zqjqagr93465124918~ +5 -0
- package/.d7gv1w49g1t5978702571~ +4 -0
- package/.da7937lbkyab2840770081~ +25 -0
- package/.dpm4jqakt5f23962068621~ +1 -0
- package/.e1jen1t286kt2094874529~ +45 -0
- package/.eeocd7cjzzbe3807606656~ +1 -0
- package/.ehbvd91iysif1745678093~ +205 -0
- package/.etktjsd8aa0k602384377~ +46 -0
- package/.fez0ldeaoqs82489136305~ +67 -0
- package/.fo1dvi38u9743896420676~ +50 -0
- package/.g5gxaq23coy03806728314~ +33 -0
- package/.ge3qskprhmvf887831962~ +1 -0
- package/.gjmg7mfepcjv1201709417~ +190 -0
- package/.godo8u6hmeh61555162256~ +1 -0
- package/.gssyikzgf9zw3674741004~ +1 -0
- package/.gxiawruyatt61454121973~ +16 -0
- package/.gz9bxoz2qx3273940574~ +5 -0
- package/.hacobw0a1cez2244818935~ +8 -0
- package/.hcg120mkjvwl1902622193~ +30 -0
- package/.hrj7swqv7u2f672210500~ +0 -0
- package/.ht0c44i3uu82190446773~ +2 -0
- package/.huned6wyo68m259851920~ +69 -0
- package/.hwzwznhe7b8m2588864820~ +1 -0
- package/.i0fc17g7sag4950598326~ +43 -0
- package/.icukae02z73c1256854950~ +3 -0
- package/.ide6mq198hfb4086599346~ +1 -0
- package/.injs115092cl1076900915~ +0 -0
- package/.jb2hc2neo3lh3292228122~ +1 -0
- package/.jpwpegk4epm91345563788~ +5 -0
- package/.juc08y51hcaw2534784803~ +65 -0
- package/.k3oovnl0l8n54100463127~ +23 -0
- package/.k41co211hr8333667245~ +33 -0
- package/.k5ezd3cc6fly3736128928~ +26 -0
- package/.kk5otxu1wdmm3738382659~ +5 -0
- package/.kmapz3w89p23765985971~ +5 -0
- package/.l67dk13uf7bz4241145366~ +1 -0
- package/.lgc8w27h31i066158222~ +31 -0
- package/.liguu6b84gpv111565250~ +77 -0
- package/.m4rlshnt7afg85435358~ +0 -0
- package/.m8afkftbrf6t1507877154~ +1 -0
- package/.mn24mjzqy2581742599686~ +1 -0
- package/.mpr4clsr6die3721927047~ +31 -0
- package/.mt3lbwul9gqx3961120840~ +128 -0
- package/.n7vn856mn8bo1690122400~ +39 -0
- package/.n87cpqrrww1k2068922549~ +1 -0
- package/.nkxq1ssvv9xy2709416196~ +5 -0
- package/.oh18zjvbcnln3882327119~ +1 -0
- package/.ohf6hza6agp7898893110~ +1 -0
- package/.oj1hgqjmqj2f2704649393~ +717 -0
- package/.onsdnq6jyu53240985077~ +23 -0
- package/.ow1zxfydp5qq3607654581~ +0 -0
- package/.oyuiyttcckbp2343293247~ +1 -0
- package/.p44l63l8ectc3361364369~ +1 -0
- package/.ph3mshsq682a2271606102~ +60 -0
- package/.pz25xe0l5fri1327842439~ +1 -0
- package/.ql4igy8wtg623099207478~ +8 -0
- package/.qpejebq7rnjm3421752185~ +1 -0
- package/.replit +6 -0
- package/.rplas0l9g8lp1805141666~ +1 -0
- package/.rxoawymlox6e44043914~ +92 -0
- package/.s9osotjya7jy2384519992~ +0 -0
- package/.sjh768z8khhb3519645975~ +35 -0
- package/.t8gen2wl41dp490640253~ +1 -0
- package/.tchlyvvlqto1959613069~ +1553 -0
- package/.tkvbm2tfuv2a815177943~ +35 -0
- package/.tqay45yz3v9f2970423582~ +1 -0
- package/.u6kja2g03g6e421942798~ +1 -0
- package/.vfqrldzsw3qb1703032508~ +131 -0
- package/.vmpch6h7luy03572133091~ +39 -0
- package/.vpzx2gjpfg163934792219~ +33 -0
- package/.vs4fb8zwm8502692774503~ +155 -0
- package/.vv7todb6fhic2818468436~ +1 -0
- package/.w6swvtt894da1090000254~ +1 -0
- package/.w9cs9i79day91114236209~ +0 -0
- package/.wa685b1scl5b4110564116~ +1 -0
- package/.wg446us1sab11025383459~ +0 -0
- package/.wk5wqycx2aq13181454918~ +489 -0
- package/.wqzuk9hgjng32571763176~ +0 -0
- package/.wtwcl2dud1aj1535416583~ +52 -0
- package/.wvyijisgbpfx2012597012~ +0 -0
- package/.xfr3b1wu9vzp2610754112~ +5 -0
- package/.xhcf613oksrg1591880987~ +0 -0
- package/.xqhk38v4zdsu2802007983~ +112 -0
- package/.y4tn7qkymq6t1811274166~ +109 -0
- package/.yahgzbbrpwls3177458907~ +31 -0
- package/.ynmnlx97mw6o234850451~ +39 -0
- package/.yq8ssg1l9dpk2338570127~ +0 -0
- package/.yzldn2r24c7v1098551596~ +0 -0
- package/.zczm44zyytsj1763543339~ +0 -0
- package/.zpifsvg0gj7d821207284~ +5 -0
- package/package.json +9 -3
- package/replit.nix +7 -0
- package/zyx/.gitattributes +2 -0
- package/zyx/Extra/ExtraAddons.js +78 -0
- package/zyx/Extra/ExtraFindUID.js +60 -0
- package/zyx/Extra/ExtraGetThread.js +118 -0
- package/zyx/Extra/ExtraTranslate.js +62 -0
- package/zyx/Extra/ExtraUptimeRobot.js +59 -0
- package/zyx/Extra/Html/Classic/script.js +231 -0
- package/zyx/Extra/Html/Classic/style.css +8 -0
- package/zyx/Extra/PM2/ecosystem.config.js +23 -0
- package/zyx/Extra/Security/Index.js +174 -0
- package/zyx/Extra/Security/Step_1.js +15 -0
- package/zyx/Extra/Security/Step_2.js +23 -0
- package/zyx/Extra/Security/Step_3.js +23 -0
- package/zyx/Extra/Src/History.js +115 -0
- package/zyx/Extra/Src/Last-Run.js +65 -0
- package/zyx/Extra/Src/Premium.js +84 -0
- package/zyx/Extra/Src/SecurityCheck.js +2 -0
- package/zyx/Func/AcceptAgreement.js +32 -0
- package/zyx/Func/ClearCache.js +63 -0
- package/zyx/Func/ReportV1.js +54 -0
- package/zyx/Language/index.json +176 -0
- package/zyx/OldSecurity.js +100 -0
- package/zyx/README.md +129 -0
- package/zyx/Settings/Database.js +21 -0
- package/zyx/Settings/Location.js +60 -0
- package/zyx/Settings/Location.json +24 -0
- package/zyx/Settings/Settings.js +60 -0
- package/zyx/StateCrypt.js +98 -0
- package/zyx/broadcast.js +38 -0
- package/zyx/index.js +1327 -0
- package/zyx/logger.js +65 -0
- package/zyx/package.json +87 -0
- package/zyx/src/K2IMG.js +8 -0
- package/zyx/src/Premium.js +30 -0
- package/zyx/src/Screenshot.js +77 -0
- package/zyx/src/T2S.js +8 -0
- package/zyx/src/addExternalModule.js +16 -0
- package/zyx/src/addUserToGroup.js +79 -0
- package/zyx/src/changeAdminStatus.js +79 -0
- package/zyx/src/changeArchivedStatus.js +41 -0
- package/zyx/src/changeAvt.js +85 -0
- package/zyx/src/changeBio.js +65 -0
- package/zyx/src/changeBlockedStatus.js +36 -0
- package/zyx/src/changeGroupImage.js +106 -0
- package/zyx/src/changeNickname.js +45 -0
- package/zyx/src/changeThreadColor.js +62 -0
- package/zyx/src/changeThreadEmoji.js +42 -0
- package/zyx/src/createNewGroup.js +70 -0
- package/zyx/src/createPoll.js +60 -0
- package/zyx/src/deleteMessage.js +45 -0
- package/zyx/src/deleteThread.js +43 -0
- package/zyx/src/desktop.ini +2 -0
- package/zyx/src/forwardAttachment.js +48 -0
- package/zyx/src/getAccessToken.js +32 -0
- package/zyx/src/getCurrentUserID.js +7 -0
- package/zyx/src/getEmojiUrl.js +27 -0
- package/zyx/src/getFriendsList.js +73 -0
- package/zyx/src/getMessage.js +80 -0
- package/zyx/src/getThreadHistory.js +537 -0
- package/zyx/src/getThreadInfo.js +346 -0
- package/zyx/src/getThreadList.js +213 -0
- package/zyx/src/getThreadMain.js +219 -0
- package/zyx/src/getThreadPictures.js +59 -0
- package/zyx/src/getUID.js +59 -0
- package/zyx/src/getUserID.js +62 -0
- package/zyx/src/getUserInfo.js +129 -0
- package/zyx/src/getUserInfoMain.js +65 -0
- package/zyx/src/getUserInfoV2.js +35 -0
- package/zyx/src/getUserInfoV3.js +63 -0
- package/zyx/src/getUserInfoV4.js +55 -0
- package/zyx/src/getUserInfoV5.js +61 -0
- package/zyx/src/handleFriendRequest.js +46 -0
- package/zyx/src/handleMessageRequest.js +49 -0
- package/zyx/src/httpGet.js +49 -0
- package/zyx/src/httpPost.js +48 -0
- package/zyx/src/httpPostFormData.js +41 -0
- package/zyx/src/listenMqtt.js +725 -0
- package/zyx/src/logout.js +68 -0
- package/zyx/src/markAsDelivered.js +48 -0
- package/zyx/src/markAsRead.js +70 -0
- package/zyx/src/markAsReadAll.js +43 -0
- package/zyx/src/markAsSeen.js +51 -0
- package/zyx/src/muteThread.js +47 -0
- package/zyx/src/removeUserFromGroup.js +49 -0
- package/zyx/src/resolvePhotoUrl.js +37 -0
- package/zyx/src/searchForThread.js +43 -0
- package/zyx/src/sendMessage.js +334 -0
- package/zyx/src/sendTypingIndicator.js +80 -0
- package/zyx/src/setMessageReaction.js +109 -0
- package/zyx/src/setPostReaction.js +102 -0
- package/zyx/src/setTitle.js +74 -0
- package/zyx/src/threadColors.js +39 -0
- package/zyx/src/unfriend.js +43 -0
- package/zyx/src/unsendMessage.js +40 -0
- package/zyx/utils.js +1648 -0
- package/README.md +0 -5
|
@@ -0,0 +1,489 @@
|
|
|
1
|
+
import Tokenizer, { QuoteType } from "./Tokenizer.js";
|
|
2
|
+
import { fromCodePoint } from "entities/lib/decode.js";
|
|
3
|
+
const formTags = new Set([
|
|
4
|
+
"input",
|
|
5
|
+
"option",
|
|
6
|
+
"optgroup",
|
|
7
|
+
"select",
|
|
8
|
+
"button",
|
|
9
|
+
"datalist",
|
|
10
|
+
"textarea",
|
|
11
|
+
]);
|
|
12
|
+
const pTag = new Set(["p"]);
|
|
13
|
+
const tableSectionTags = new Set(["thead", "tbody"]);
|
|
14
|
+
const ddtTags = new Set(["dd", "dt"]);
|
|
15
|
+
const rtpTags = new Set(["rt", "rp"]);
|
|
16
|
+
const openImpliesClose = new Map([
|
|
17
|
+
["tr", new Set(["tr", "th", "td"])],
|
|
18
|
+
["th", new Set(["th"])],
|
|
19
|
+
["td", new Set(["thead", "th", "td"])],
|
|
20
|
+
["body", new Set(["head", "link", "script"])],
|
|
21
|
+
["li", new Set(["li"])],
|
|
22
|
+
["p", pTag],
|
|
23
|
+
["h1", pTag],
|
|
24
|
+
["h2", pTag],
|
|
25
|
+
["h3", pTag],
|
|
26
|
+
["h4", pTag],
|
|
27
|
+
["h5", pTag],
|
|
28
|
+
["h6", pTag],
|
|
29
|
+
["select", formTags],
|
|
30
|
+
["input", formTags],
|
|
31
|
+
["output", formTags],
|
|
32
|
+
["button", formTags],
|
|
33
|
+
["datalist", formTags],
|
|
34
|
+
["textarea", formTags],
|
|
35
|
+
["option", new Set(["option"])],
|
|
36
|
+
["optgroup", new Set(["optgroup", "option"])],
|
|
37
|
+
["dd", ddtTags],
|
|
38
|
+
["dt", ddtTags],
|
|
39
|
+
["address", pTag],
|
|
40
|
+
["article", pTag],
|
|
41
|
+
["aside", pTag],
|
|
42
|
+
["blockquote", pTag],
|
|
43
|
+
["details", pTag],
|
|
44
|
+
["div", pTag],
|
|
45
|
+
["dl", pTag],
|
|
46
|
+
["fieldset", pTag],
|
|
47
|
+
["figcaption", pTag],
|
|
48
|
+
["figure", pTag],
|
|
49
|
+
["footer", pTag],
|
|
50
|
+
["form", pTag],
|
|
51
|
+
["header", pTag],
|
|
52
|
+
["hr", pTag],
|
|
53
|
+
["main", pTag],
|
|
54
|
+
["nav", pTag],
|
|
55
|
+
["ol", pTag],
|
|
56
|
+
["pre", pTag],
|
|
57
|
+
["section", pTag],
|
|
58
|
+
["table", pTag],
|
|
59
|
+
["ul", pTag],
|
|
60
|
+
["rt", rtpTags],
|
|
61
|
+
["rp", rtpTags],
|
|
62
|
+
["tbody", tableSectionTags],
|
|
63
|
+
["tfoot", tableSectionTags],
|
|
64
|
+
]);
|
|
65
|
+
const voidElements = new Set([
|
|
66
|
+
"area",
|
|
67
|
+
"base",
|
|
68
|
+
"basefont",
|
|
69
|
+
"br",
|
|
70
|
+
"col",
|
|
71
|
+
"command",
|
|
72
|
+
"embed",
|
|
73
|
+
"frame",
|
|
74
|
+
"hr",
|
|
75
|
+
"img",
|
|
76
|
+
"input",
|
|
77
|
+
"isindex",
|
|
78
|
+
"keygen",
|
|
79
|
+
"link",
|
|
80
|
+
"meta",
|
|
81
|
+
"param",
|
|
82
|
+
"source",
|
|
83
|
+
"track",
|
|
84
|
+
"wbr",
|
|
85
|
+
]);
|
|
86
|
+
const foreignContextElements = new Set(["math", "svg"]);
|
|
87
|
+
const htmlIntegrationElements = new Set([
|
|
88
|
+
"mi",
|
|
89
|
+
"mo",
|
|
90
|
+
"mn",
|
|
91
|
+
"ms",
|
|
92
|
+
"mtext",
|
|
93
|
+
"annotation-xml",
|
|
94
|
+
"foreignobject",
|
|
95
|
+
"desc",
|
|
96
|
+
"title",
|
|
97
|
+
]);
|
|
98
|
+
const reNameEnd = /\s|\//;
|
|
99
|
+
export class Parser {
|
|
100
|
+
constructor(cbs, options = {}) {
|
|
101
|
+
var _a, _b, _c, _d, _e;
|
|
102
|
+
this.options = options;
|
|
103
|
+
/** The start index of the last event. */
|
|
104
|
+
this.startIndex = 0;
|
|
105
|
+
/** The end index of the last event. */
|
|
106
|
+
this.endIndex = 0;
|
|
107
|
+
/**
|
|
108
|
+
* Store the start index of the current open tag,
|
|
109
|
+
* so we can update the start index for attributes.
|
|
110
|
+
*/
|
|
111
|
+
this.openTagStart = 0;
|
|
112
|
+
this.tagname = "";
|
|
113
|
+
this.attribname = "";
|
|
114
|
+
this.attribvalue = "";
|
|
115
|
+
this.attribs = null;
|
|
116
|
+
this.stack = [];
|
|
117
|
+
this.foreignContext = [];
|
|
118
|
+
this.buffers = [];
|
|
119
|
+
this.bufferOffset = 0;
|
|
120
|
+
/** The index of the last written buffer. Used when resuming after a `pause()`. */
|
|
121
|
+
this.writeIndex = 0;
|
|
122
|
+
/** Indicates whether the parser has finished running / `.end` has been called. */
|
|
123
|
+
this.ended = false;
|
|
124
|
+
this.cbs = cbs !== null && cbs !== void 0 ? cbs : {};
|
|
125
|
+
this.lowerCaseTagNames = (_a = options.lowerCaseTags) !== null && _a !== void 0 ? _a : !options.xmlMode;
|
|
126
|
+
this.lowerCaseAttributeNames =
|
|
127
|
+
(_b = options.lowerCaseAttributeNames) !== null && _b !== void 0 ? _b : !options.xmlMode;
|
|
128
|
+
this.tokenizer = new ((_c = options.Tokenizer) !== null && _c !== void 0 ? _c : Tokenizer)(this.options, this);
|
|
129
|
+
(_e = (_d = this.cbs).onparserinit) === null || _e === void 0 ? void 0 : _e.call(_d, this);
|
|
130
|
+
}
|
|
131
|
+
// Tokenizer event handlers
|
|
132
|
+
/** @internal */
|
|
133
|
+
ontext(start, endIndex) {
|
|
134
|
+
var _a, _b;
|
|
135
|
+
const data = this.getSlice(start, endIndex);
|
|
136
|
+
this.endIndex = endIndex - 1;
|
|
137
|
+
(_b = (_a = this.cbs).ontext) === null || _b === void 0 ? void 0 : _b.call(_a, data);
|
|
138
|
+
this.startIndex = endIndex;
|
|
139
|
+
}
|
|
140
|
+
/** @internal */
|
|
141
|
+
ontextentity(cp) {
|
|
142
|
+
var _a, _b;
|
|
143
|
+
/*
|
|
144
|
+
* Entities can be emitted on the character, or directly after.
|
|
145
|
+
* We use the section start here to get accurate indices.
|
|
146
|
+
*/
|
|
147
|
+
const idx = this.tokenizer.getSectionStart();
|
|
148
|
+
this.endIndex = idx - 1;
|
|
149
|
+
(_b = (_a = this.cbs).ontext) === null || _b === void 0 ? void 0 : _b.call(_a, fromCodePoint(cp));
|
|
150
|
+
this.startIndex = idx;
|
|
151
|
+
}
|
|
152
|
+
isVoidElement(name) {
|
|
153
|
+
return !this.options.xmlMode && voidElements.has(name);
|
|
154
|
+
}
|
|
155
|
+
/** @internal */
|
|
156
|
+
onopentagname(start, endIndex) {
|
|
157
|
+
this.endIndex = endIndex;
|
|
158
|
+
let name = this.getSlice(start, endIndex);
|
|
159
|
+
if (this.lowerCaseTagNames) {
|
|
160
|
+
name = name.toLowerCase();
|
|
161
|
+
}
|
|
162
|
+
this.emitOpenTag(name);
|
|
163
|
+
}
|
|
164
|
+
emitOpenTag(name) {
|
|
165
|
+
var _a, _b, _c, _d;
|
|
166
|
+
this.openTagStart = this.startIndex;
|
|
167
|
+
this.tagname = name;
|
|
168
|
+
const impliesClose = !this.options.xmlMode && openImpliesClose.get(name);
|
|
169
|
+
if (impliesClose) {
|
|
170
|
+
while (this.stack.length > 0 &&
|
|
171
|
+
impliesClose.has(this.stack[this.stack.length - 1])) {
|
|
172
|
+
const el = this.stack.pop();
|
|
173
|
+
(_b = (_a = this.cbs).onclosetag) === null || _b === void 0 ? void 0 : _b.call(_a, el, true);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
if (!this.isVoidElement(name)) {
|
|
177
|
+
this.stack.push(name);
|
|
178
|
+
if (foreignContextElements.has(name)) {
|
|
179
|
+
this.foreignContext.push(true);
|
|
180
|
+
}
|
|
181
|
+
else if (htmlIntegrationElements.has(name)) {
|
|
182
|
+
this.foreignContext.push(false);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
(_d = (_c = this.cbs).onopentagname) === null || _d === void 0 ? void 0 : _d.call(_c, name);
|
|
186
|
+
if (this.cbs.onopentag)
|
|
187
|
+
this.attribs = {};
|
|
188
|
+
}
|
|
189
|
+
endOpenTag(isImplied) {
|
|
190
|
+
var _a, _b;
|
|
191
|
+
this.startIndex = this.openTagStart;
|
|
192
|
+
if (this.attribs) {
|
|
193
|
+
(_b = (_a = this.cbs).onopentag) === null || _b === void 0 ? void 0 : _b.call(_a, this.tagname, this.attribs, isImplied);
|
|
194
|
+
this.attribs = null;
|
|
195
|
+
}
|
|
196
|
+
if (this.cbs.onclosetag && this.isVoidElement(this.tagname)) {
|
|
197
|
+
this.cbs.onclosetag(this.tagname, true);
|
|
198
|
+
}
|
|
199
|
+
this.tagname = "";
|
|
200
|
+
}
|
|
201
|
+
/** @internal */
|
|
202
|
+
onopentagend(endIndex) {
|
|
203
|
+
this.endIndex = endIndex;
|
|
204
|
+
this.endOpenTag(false);
|
|
205
|
+
// Set `startIndex` for next node
|
|
206
|
+
this.startIndex = endIndex + 1;
|
|
207
|
+
}
|
|
208
|
+
/** @internal */
|
|
209
|
+
onclosetag(start, endIndex) {
|
|
210
|
+
var _a, _b, _c, _d, _e, _f;
|
|
211
|
+
this.endIndex = endIndex;
|
|
212
|
+
let name = this.getSlice(start, endIndex);
|
|
213
|
+
if (this.lowerCaseTagNames) {
|
|
214
|
+
name = name.toLowerCase();
|
|
215
|
+
}
|
|
216
|
+
if (foreignContextElements.has(name) ||
|
|
217
|
+
htmlIntegrationElements.has(name)) {
|
|
218
|
+
this.foreignContext.pop();
|
|
219
|
+
}
|
|
220
|
+
if (!this.isVoidElement(name)) {
|
|
221
|
+
const pos = this.stack.lastIndexOf(name);
|
|
222
|
+
if (pos !== -1) {
|
|
223
|
+
if (this.cbs.onclosetag) {
|
|
224
|
+
let count = this.stack.length - pos;
|
|
225
|
+
while (count--) {
|
|
226
|
+
// We know the stack has sufficient elements.
|
|
227
|
+
this.cbs.onclosetag(this.stack.pop(), count !== 0);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
else
|
|
231
|
+
this.stack.length = pos;
|
|
232
|
+
}
|
|
233
|
+
else if (!this.options.xmlMode && name === "p") {
|
|
234
|
+
// Implicit open before close
|
|
235
|
+
this.emitOpenTag("p");
|
|
236
|
+
this.closeCurrentTag(true);
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
else if (!this.options.xmlMode && name === "br") {
|
|
240
|
+
// We can't use `emitOpenTag` for implicit open, as `br` would be implicitly closed.
|
|
241
|
+
(_b = (_a = this.cbs).onopentagname) === null || _b === void 0 ? void 0 : _b.call(_a, "br");
|
|
242
|
+
(_d = (_c = this.cbs).onopentag) === null || _d === void 0 ? void 0 : _d.call(_c, "br", {}, true);
|
|
243
|
+
(_f = (_e = this.cbs).onclosetag) === null || _f === void 0 ? void 0 : _f.call(_e, "br", false);
|
|
244
|
+
}
|
|
245
|
+
// Set `startIndex` for next node
|
|
246
|
+
this.startIndex = endIndex + 1;
|
|
247
|
+
}
|
|
248
|
+
/** @internal */
|
|
249
|
+
onselfclosingtag(endIndex) {
|
|
250
|
+
this.endIndex = endIndex;
|
|
251
|
+
if (this.options.xmlMode ||
|
|
252
|
+
this.options.recognizeSelfClosing ||
|
|
253
|
+
this.foreignContext[this.foreignContext.length - 1]) {
|
|
254
|
+
this.closeCurrentTag(false);
|
|
255
|
+
// Set `startIndex` for next node
|
|
256
|
+
this.startIndex = endIndex + 1;
|
|
257
|
+
}
|
|
258
|
+
else {
|
|
259
|
+
// Ignore the fact that the tag is self-closing.
|
|
260
|
+
this.onopentagend(endIndex);
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
closeCurrentTag(isOpenImplied) {
|
|
264
|
+
var _a, _b;
|
|
265
|
+
const name = this.tagname;
|
|
266
|
+
this.endOpenTag(isOpenImplied);
|
|
267
|
+
// Self-closing tags will be on the top of the stack
|
|
268
|
+
if (this.stack[this.stack.length - 1] === name) {
|
|
269
|
+
// If the opening tag isn't implied, the closing tag has to be implied.
|
|
270
|
+
(_b = (_a = this.cbs).onclosetag) === null || _b === void 0 ? void 0 : _b.call(_a, name, !isOpenImplied);
|
|
271
|
+
this.stack.pop();
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
/** @internal */
|
|
275
|
+
onattribname(start, endIndex) {
|
|
276
|
+
this.startIndex = start;
|
|
277
|
+
const name = this.getSlice(start, endIndex);
|
|
278
|
+
this.attribname = this.lowerCaseAttributeNames
|
|
279
|
+
? name.toLowerCase()
|
|
280
|
+
: name;
|
|
281
|
+
}
|
|
282
|
+
/** @internal */
|
|
283
|
+
onattribdata(start, endIndex) {
|
|
284
|
+
this.attribvalue += this.getSlice(start, endIndex);
|
|
285
|
+
}
|
|
286
|
+
/** @internal */
|
|
287
|
+
onattribentity(cp) {
|
|
288
|
+
this.attribvalue += fromCodePoint(cp);
|
|
289
|
+
}
|
|
290
|
+
/** @internal */
|
|
291
|
+
onattribend(quote, endIndex) {
|
|
292
|
+
var _a, _b;
|
|
293
|
+
this.endIndex = endIndex;
|
|
294
|
+
(_b = (_a = this.cbs).onattribute) === null || _b === void 0 ? void 0 : _b.call(_a, this.attribname, this.attribvalue, quote === QuoteType.Double
|
|
295
|
+
? '"'
|
|
296
|
+
: quote === QuoteType.Single
|
|
297
|
+
? "'"
|
|
298
|
+
: quote === QuoteType.NoValue
|
|
299
|
+
? undefined
|
|
300
|
+
: null);
|
|
301
|
+
if (this.attribs &&
|
|
302
|
+
!Object.prototype.hasOwnProperty.call(this.attribs, this.attribname)) {
|
|
303
|
+
this.attribs[this.attribname] = this.attribvalue;
|
|
304
|
+
}
|
|
305
|
+
this.attribvalue = "";
|
|
306
|
+
}
|
|
307
|
+
getInstructionName(value) {
|
|
308
|
+
const idx = value.search(reNameEnd);
|
|
309
|
+
let name = idx < 0 ? value : value.substr(0, idx);
|
|
310
|
+
if (this.lowerCaseTagNames) {
|
|
311
|
+
name = name.toLowerCase();
|
|
312
|
+
}
|
|
313
|
+
return name;
|
|
314
|
+
}
|
|
315
|
+
/** @internal */
|
|
316
|
+
ondeclaration(start, endIndex) {
|
|
317
|
+
this.endIndex = endIndex;
|
|
318
|
+
const value = this.getSlice(start, endIndex);
|
|
319
|
+
if (this.cbs.onprocessinginstruction) {
|
|
320
|
+
const name = this.getInstructionName(value);
|
|
321
|
+
this.cbs.onprocessinginstruction(`!${name}`, `!${value}`);
|
|
322
|
+
}
|
|
323
|
+
// Set `startIndex` for next node
|
|
324
|
+
this.startIndex = endIndex + 1;
|
|
325
|
+
}
|
|
326
|
+
/** @internal */
|
|
327
|
+
onprocessinginstruction(start, endIndex) {
|
|
328
|
+
this.endIndex = endIndex;
|
|
329
|
+
const value = this.getSlice(start, endIndex);
|
|
330
|
+
if (this.cbs.onprocessinginstruction) {
|
|
331
|
+
const name = this.getInstructionName(value);
|
|
332
|
+
this.cbs.onprocessinginstruction(`?${name}`, `?${value}`);
|
|
333
|
+
}
|
|
334
|
+
// Set `startIndex` for next node
|
|
335
|
+
this.startIndex = endIndex + 1;
|
|
336
|
+
}
|
|
337
|
+
/** @internal */
|
|
338
|
+
oncomment(start, endIndex, offset) {
|
|
339
|
+
var _a, _b, _c, _d;
|
|
340
|
+
this.endIndex = endIndex;
|
|
341
|
+
(_b = (_a = this.cbs).oncomment) === null || _b === void 0 ? void 0 : _b.call(_a, this.getSlice(start, endIndex - offset));
|
|
342
|
+
(_d = (_c = this.cbs).oncommentend) === null || _d === void 0 ? void 0 : _d.call(_c);
|
|
343
|
+
// Set `startIndex` for next node
|
|
344
|
+
this.startIndex = endIndex + 1;
|
|
345
|
+
}
|
|
346
|
+
/** @internal */
|
|
347
|
+
oncdata(start, endIndex, offset) {
|
|
348
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
|
|
349
|
+
this.endIndex = endIndex;
|
|
350
|
+
const value = this.getSlice(start, endIndex - offset);
|
|
351
|
+
if (this.options.xmlMode || this.options.recognizeCDATA) {
|
|
352
|
+
(_b = (_a = this.cbs).oncdatastart) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
353
|
+
(_d = (_c = this.cbs).ontext) === null || _d === void 0 ? void 0 : _d.call(_c, value);
|
|
354
|
+
(_f = (_e = this.cbs).oncdataend) === null || _f === void 0 ? void 0 : _f.call(_e);
|
|
355
|
+
}
|
|
356
|
+
else {
|
|
357
|
+
(_h = (_g = this.cbs).oncomment) === null || _h === void 0 ? void 0 : _h.call(_g, `[CDATA[${value}]]`);
|
|
358
|
+
(_k = (_j = this.cbs).oncommentend) === null || _k === void 0 ? void 0 : _k.call(_j);
|
|
359
|
+
}
|
|
360
|
+
// Set `startIndex` for next node
|
|
361
|
+
this.startIndex = endIndex + 1;
|
|
362
|
+
}
|
|
363
|
+
/** @internal */
|
|
364
|
+
onend() {
|
|
365
|
+
var _a, _b;
|
|
366
|
+
if (this.cbs.onclosetag) {
|
|
367
|
+
// Set the end index for all remaining tags
|
|
368
|
+
this.endIndex = this.startIndex;
|
|
369
|
+
for (let i = this.stack.length; i > 0; this.cbs.onclosetag(this.stack[--i], true))
|
|
370
|
+
;
|
|
371
|
+
}
|
|
372
|
+
(_b = (_a = this.cbs).onend) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
373
|
+
}
|
|
374
|
+
/**
|
|
375
|
+
* Resets the parser to a blank state, ready to parse a new HTML document
|
|
376
|
+
*/
|
|
377
|
+
reset() {
|
|
378
|
+
var _a, _b, _c, _d;
|
|
379
|
+
(_b = (_a = this.cbs).onreset) === null || _b === void 0 ? void 0 : _b.call(_a);
|
|
380
|
+
this.tokenizer.reset();
|
|
381
|
+
this.tagname = "";
|
|
382
|
+
this.attribname = "";
|
|
383
|
+
this.attribs = null;
|
|
384
|
+
this.stack.length = 0;
|
|
385
|
+
this.startIndex = 0;
|
|
386
|
+
this.endIndex = 0;
|
|
387
|
+
(_d = (_c = this.cbs).onparserinit) === null || _d === void 0 ? void 0 : _d.call(_c, this);
|
|
388
|
+
this.buffers.length = 0;
|
|
389
|
+
this.bufferOffset = 0;
|
|
390
|
+
this.writeIndex = 0;
|
|
391
|
+
this.ended = false;
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
* Resets the parser, then parses a complete document and
|
|
395
|
+
* pushes it to the handler.
|
|
396
|
+
*
|
|
397
|
+
* @param data Document to parse.
|
|
398
|
+
*/
|
|
399
|
+
parseComplete(data) {
|
|
400
|
+
this.reset();
|
|
401
|
+
this.end(data);
|
|
402
|
+
}
|
|
403
|
+
getSlice(start, end) {
|
|
404
|
+
while (start - this.bufferOffset >= this.buffers[0].length) {
|
|
405
|
+
this.shiftBuffer();
|
|
406
|
+
}
|
|
407
|
+
let str = this.buffers[0].slice(start - this.bufferOffset, end - this.bufferOffset);
|
|
408
|
+
while (end - this.bufferOffset > this.buffers[0].length) {
|
|
409
|
+
this.shiftBuffer();
|
|
410
|
+
str += this.buffers[0].slice(0, end - this.bufferOffset);
|
|
411
|
+
}
|
|
412
|
+
return str;
|
|
413
|
+
}
|
|
414
|
+
shiftBuffer() {
|
|
415
|
+
this.bufferOffset += this.buffers[0].length;
|
|
416
|
+
this.writeIndex--;
|
|
417
|
+
this.buffers.shift();
|
|
418
|
+
}
|
|
419
|
+
/**
|
|
420
|
+
* Parses a chunk of data and calls the corresponding callbacks.
|
|
421
|
+
*
|
|
422
|
+
* @param chunk Chunk to parse.
|
|
423
|
+
*/
|
|
424
|
+
write(chunk) {
|
|
425
|
+
var _a, _b;
|
|
426
|
+
if (this.ended) {
|
|
427
|
+
(_b = (_a = this.cbs).onerror) === null || _b === void 0 ? void 0 : _b.call(_a, new Error(".write() after done!"));
|
|
428
|
+
return;
|
|
429
|
+
}
|
|
430
|
+
this.buffers.push(chunk);
|
|
431
|
+
if (this.tokenizer.running) {
|
|
432
|
+
this.tokenizer.write(chunk);
|
|
433
|
+
this.writeIndex++;
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
* Parses the end of the buffer and clears the stack, calls onend.
|
|
438
|
+
*
|
|
439
|
+
* @param chunk Optional final chunk to parse.
|
|
440
|
+
*/
|
|
441
|
+
end(chunk) {
|
|
442
|
+
var _a, _b;
|
|
443
|
+
if (this.ended) {
|
|
444
|
+
(_b = (_a = this.cbs).onerror) === null || _b === void 0 ? void 0 : _b.call(_a, Error(".end() after done!"));
|
|
445
|
+
return;
|
|
446
|
+
}
|
|
447
|
+
if (chunk)
|
|
448
|
+
this.write(chunk);
|
|
449
|
+
this.ended = true;
|
|
450
|
+
this.tokenizer.end();
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* Pauses parsing. The parser won't emit events until `resume` is called.
|
|
454
|
+
*/
|
|
455
|
+
pause() {
|
|
456
|
+
this.tokenizer.pause();
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* Resumes parsing after `pause` was called.
|
|
460
|
+
*/
|
|
461
|
+
resume() {
|
|
462
|
+
this.tokenizer.resume();
|
|
463
|
+
while (this.tokenizer.running &&
|
|
464
|
+
this.writeIndex < this.buffers.length) {
|
|
465
|
+
this.tokenizer.write(this.buffers[this.writeIndex++]);
|
|
466
|
+
}
|
|
467
|
+
if (this.ended)
|
|
468
|
+
this.tokenizer.end();
|
|
469
|
+
}
|
|
470
|
+
/**
|
|
471
|
+
* Alias of `write`, for backwards compatibility.
|
|
472
|
+
*
|
|
473
|
+
* @param chunk Chunk to parse.
|
|
474
|
+
* @deprecated
|
|
475
|
+
*/
|
|
476
|
+
parseChunk(chunk) {
|
|
477
|
+
this.write(chunk);
|
|
478
|
+
}
|
|
479
|
+
/**
|
|
480
|
+
* Alias of `end`, for backwards compatibility.
|
|
481
|
+
*
|
|
482
|
+
* @param chunk Optional final chunk to parse.
|
|
483
|
+
* @deprecated
|
|
484
|
+
*/
|
|
485
|
+
done(chunk) {
|
|
486
|
+
this.end(chunk);
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
//# sourceMappingURL=Parser.js.map
|
|
File without changes
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
var arrayFilter = require('./_arrayFilter'),
|
|
2
|
+
baseFilter = require('./_baseFilter'),
|
|
3
|
+
baseIteratee = require('./_baseIteratee'),
|
|
4
|
+
isArray = require('./isArray');
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Iterates over elements of `collection`, returning an array of all elements
|
|
8
|
+
* `predicate` returns truthy for. The predicate is invoked with three
|
|
9
|
+
* arguments: (value, index|key, collection).
|
|
10
|
+
*
|
|
11
|
+
* **Note:** Unlike `_.remove`, this method returns a new array.
|
|
12
|
+
*
|
|
13
|
+
* @static
|
|
14
|
+
* @memberOf _
|
|
15
|
+
* @since 0.1.0
|
|
16
|
+
* @category Collection
|
|
17
|
+
* @param {Array|Object} collection The collection to iterate over.
|
|
18
|
+
* @param {Function} [predicate=_.identity] The function invoked per iteration.
|
|
19
|
+
* @returns {Array} Returns the new filtered array.
|
|
20
|
+
* @see _.reject
|
|
21
|
+
* @example
|
|
22
|
+
*
|
|
23
|
+
* var users = [
|
|
24
|
+
* { 'user': 'barney', 'age': 36, 'active': true },
|
|
25
|
+
* { 'user': 'fred', 'age': 40, 'active': false }
|
|
26
|
+
* ];
|
|
27
|
+
*
|
|
28
|
+
* _.filter(users, function(o) { return !o.active; });
|
|
29
|
+
* // => objects for ['fred']
|
|
30
|
+
*
|
|
31
|
+
* // The `_.matches` iteratee shorthand.
|
|
32
|
+
* _.filter(users, { 'age': 36, 'active': true });
|
|
33
|
+
* // => objects for ['barney']
|
|
34
|
+
*
|
|
35
|
+
* // The `_.matchesProperty` iteratee shorthand.
|
|
36
|
+
* _.filter(users, ['active', false]);
|
|
37
|
+
* // => objects for ['fred']
|
|
38
|
+
*
|
|
39
|
+
* // The `_.property` iteratee shorthand.
|
|
40
|
+
* _.filter(users, 'active');
|
|
41
|
+
* // => objects for ['barney']
|
|
42
|
+
*
|
|
43
|
+
* // Combining several predicates using `_.overEvery` or `_.overSome`.
|
|
44
|
+
* _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));
|
|
45
|
+
* // => objects for ['fred', 'barney']
|
|
46
|
+
*/
|
|
47
|
+
function filter(collection, predicate) {
|
|
48
|
+
var func = isArray(collection) ? arrayFilter : baseFilter;
|
|
49
|
+
return func(collection, baseIteratee(predicate, 3));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
module.exports = filter;
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
'use strict'
|
|
2
|
+
|
|
3
|
+
var uuid = require('uuid/v4')
|
|
4
|
+
var CombinedStream = require('combined-stream')
|
|
5
|
+
var isstream = require('isstream')
|
|
6
|
+
var Buffer = require('safe-buffer').Buffer
|
|
7
|
+
|
|
8
|
+
function Multipart (request) {
|
|
9
|
+
this.request = request
|
|
10
|
+
this.boundary = uuid()
|
|
11
|
+
this.chunked = false
|
|
12
|
+
this.body = null
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
Multipart.prototype.isChunked = function (options) {
|
|
16
|
+
var self = this
|
|
17
|
+
var chunked = false
|
|
18
|
+
var parts = options.data || options
|
|
19
|
+
|
|
20
|
+
if (!parts.forEach) {
|
|
21
|
+
self.request.emit('error', new Error('Argument error, options.multipart.'))
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
if (options.chunked !== undefined) {
|
|
25
|
+
chunked = options.chunked
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
if (self.request.getHeader('transfer-encoding') === 'chunked') {
|
|
29
|
+
chunked = true
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
if (!chunked) {
|
|
33
|
+
parts.forEach(function (part) {
|
|
34
|
+
if (typeof part.body === 'undefined') {
|
|
35
|
+
self.request.emit('error', new Error('Body attribute missing in multipart.'))
|
|
36
|
+
}
|
|
37
|
+
if (isstream(part.body)) {
|
|
38
|
+
chunked = true
|
|
39
|
+
}
|
|
40
|
+
})
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
return chunked
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
Multipart.prototype.setHeaders = function (chunked) {
|
|
47
|
+
var self = this
|
|
48
|
+
|
|
49
|
+
if (chunked && !self.request.hasHeader('transfer-encoding')) {
|
|
50
|
+
self.request.setHeader('transfer-encoding', 'chunked')
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
var header = self.request.getHeader('content-type')
|
|
54
|
+
|
|
55
|
+
if (!header || header.indexOf('multipart') === -1) {
|
|
56
|
+
self.request.setHeader('content-type', 'multipart/related; boundary=' + self.boundary)
|
|
57
|
+
} else {
|
|
58
|
+
if (header.indexOf('boundary') !== -1) {
|
|
59
|
+
self.boundary = header.replace(/.*boundary=([^\s;]+).*/, '$1')
|
|
60
|
+
} else {
|
|
61
|
+
self.request.setHeader('content-type', header + '; boundary=' + self.boundary)
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
Multipart.prototype.build = function (parts, chunked) {
|
|
67
|
+
var self = this
|
|
68
|
+
var body = chunked ? new CombinedStream() : []
|
|
69
|
+
|
|
70
|
+
function add (part) {
|
|
71
|
+
if (typeof part === 'number') {
|
|
72
|
+
part = part.toString()
|
|
73
|
+
}
|
|
74
|
+
return chunked ? body.append(part) : body.push(Buffer.from(part))
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
if (self.request.preambleCRLF) {
|
|
78
|
+
add('\r\n')
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
parts.forEach(function (part) {
|
|
82
|
+
var preamble = '--' + self.boundary + '\r\n'
|
|
83
|
+
Object.keys(part).forEach(function (key) {
|
|
84
|
+
if (key === 'body') { return }
|
|
85
|
+
preamble += key + ': ' + part[key] + '\r\n'
|
|
86
|
+
})
|
|
87
|
+
preamble += '\r\n'
|
|
88
|
+
add(preamble)
|
|
89
|
+
add(part.body)
|
|
90
|
+
add('\r\n')
|
|
91
|
+
})
|
|
92
|
+
add('--' + self.boundary + '--')
|
|
93
|
+
|
|
94
|
+
if (self.request.postambleCRLF) {
|
|
95
|
+
add('\r\n')
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
return body
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
Multipart.prototype.onRequest = function (options) {
|
|
102
|
+
var self = this
|
|
103
|
+
|
|
104
|
+
var chunked = self.isChunked(options)
|
|
105
|
+
var parts = options.data || options
|
|
106
|
+
|
|
107
|
+
self.setHeaders(chunked)
|
|
108
|
+
self.chunked = chunked
|
|
109
|
+
self.body = self.build(parts, chunked)
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
exports.Multipart = Multipart
|