@costrict/csc 4.0.1
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/README.md +398 -0
- package/dist/chunk-04hza677.js +24 -0
- package/dist/chunk-0559sa47.js +269 -0
- package/dist/chunk-06saje2v.js +39 -0
- package/dist/chunk-07069jq1.js +30 -0
- package/dist/chunk-070x53zd.js +2377 -0
- package/dist/chunk-0731m51q.js +8 -0
- package/dist/chunk-0858agqy.js +481 -0
- package/dist/chunk-09vwyeam.js +16 -0
- package/dist/chunk-0h5jp1k7.js +142 -0
- package/dist/chunk-0hhpf3sk.js +703 -0
- package/dist/chunk-0rpb2bdp.js +8 -0
- package/dist/chunk-0vkfrmqm.js +690 -0
- package/dist/chunk-0xjaqda8.js +1124 -0
- package/dist/chunk-0xv28twy.js +140 -0
- package/dist/chunk-0yrqcj0z.js +117 -0
- package/dist/chunk-1141xmr4.js +8 -0
- package/dist/chunk-11nzax0s.js +38 -0
- package/dist/chunk-13hhjhs8.js +1299 -0
- package/dist/chunk-15yrwc9c.js +110 -0
- package/dist/chunk-168xb8v1.js +436 -0
- package/dist/chunk-1a1qct3y.js +120 -0
- package/dist/chunk-1cwdhk7a.js +969 -0
- package/dist/chunk-1dz5e26z.js +726 -0
- package/dist/chunk-1h2famwb.js +49 -0
- package/dist/chunk-1hreef20.js +27 -0
- package/dist/chunk-1mpdkjdj.js +66 -0
- package/dist/chunk-1pvfqrpv.js +78 -0
- package/dist/chunk-1r1zzbv3.js +112 -0
- package/dist/chunk-1rvwfjaq.js +71 -0
- package/dist/chunk-1w2y3m4g.js +47290 -0
- package/dist/chunk-1xf1hn04.js +366 -0
- package/dist/chunk-225mq9kr.js +908 -0
- package/dist/chunk-238g70xa.js +36 -0
- package/dist/chunk-23my8c16.js +516 -0
- package/dist/chunk-26wtxbdc.js +13870 -0
- package/dist/chunk-2a42s11t.js +412 -0
- package/dist/chunk-2eykm0j0.js +20 -0
- package/dist/chunk-2fwze72g.js +24 -0
- package/dist/chunk-2gdm9hp2.js +1179 -0
- package/dist/chunk-2gzv8nrw.js +205 -0
- package/dist/chunk-2jb168ef.js +772 -0
- package/dist/chunk-2k995y2x.js +880 -0
- package/dist/chunk-2nayx6q1.js +63 -0
- package/dist/chunk-2p2kknmh.js +165 -0
- package/dist/chunk-2qa6bvek.js +146 -0
- package/dist/chunk-2qz6r4n3.js +74 -0
- package/dist/chunk-2s460rgh.js +61 -0
- package/dist/chunk-2wv3ttqg.js +199 -0
- package/dist/chunk-2wvz22ag.js +71 -0
- package/dist/chunk-2wz9qb4j.js +164 -0
- package/dist/chunk-30rst83v.js +168 -0
- package/dist/chunk-39jcea92.js +737 -0
- package/dist/chunk-3bes9fg8.js +78 -0
- package/dist/chunk-3c25bcsw.js +17 -0
- package/dist/chunk-3cg807vs.js +38 -0
- package/dist/chunk-3dy7fxmg.js +1072 -0
- package/dist/chunk-3h8a89gy.js +46 -0
- package/dist/chunk-3j0f3yyd.js +17 -0
- package/dist/chunk-3mgywd32.js +8 -0
- package/dist/chunk-3ng1qsw3.js +281 -0
- package/dist/chunk-3nk79af8.js +8 -0
- package/dist/chunk-3ns6ys7f.js +1648 -0
- package/dist/chunk-3sj7jkgr.js +35 -0
- package/dist/chunk-3tg3p70s.js +513 -0
- package/dist/chunk-3v18yz1s.js +21933 -0
- package/dist/chunk-3vxgde8h.js +830 -0
- package/dist/chunk-3w6s9m5w.js +16 -0
- package/dist/chunk-3x2jaxpw.js +254 -0
- package/dist/chunk-3xyekzfn.js +113 -0
- package/dist/chunk-3yeacwwq.js +115 -0
- package/dist/chunk-3z5e623j.js +130 -0
- package/dist/chunk-3z9478wf.js +14 -0
- package/dist/chunk-46fcr28b.js +131 -0
- package/dist/chunk-495d85x1.js +8066 -0
- package/dist/chunk-4bfwebv9.js +276 -0
- package/dist/chunk-4g3v8y12.js +23 -0
- package/dist/chunk-4gn5yqrx.js +79 -0
- package/dist/chunk-4jfp4pr0.js +24 -0
- package/dist/chunk-4jm600zv.js +13 -0
- package/dist/chunk-4nspekjp.js +69 -0
- package/dist/chunk-4pbx3g7s.js +26 -0
- package/dist/chunk-4t6efhvx.js +102 -0
- package/dist/chunk-4te4ttsn.js +42 -0
- package/dist/chunk-4x6wg2kg.js +254 -0
- package/dist/chunk-4y23e4m9.js +399 -0
- package/dist/chunk-4zfkzkt6.js +37 -0
- package/dist/chunk-4zh96y27.js +202 -0
- package/dist/chunk-512kh02z.js +117 -0
- package/dist/chunk-538ydk68.js +85 -0
- package/dist/chunk-56ax2vae.js +255 -0
- package/dist/chunk-56r79b2b.js +69 -0
- package/dist/chunk-57zse1aw.js +393 -0
- package/dist/chunk-5c5xde65.js +229 -0
- package/dist/chunk-5c8g21yn.js +334 -0
- package/dist/chunk-5hfekx34.js +158 -0
- package/dist/chunk-5j8wked2.js +125 -0
- package/dist/chunk-5krq9sjq.js +291 -0
- package/dist/chunk-5kstcfhs.js +180 -0
- package/dist/chunk-5q9t5raw.js +1077 -0
- package/dist/chunk-5z0vwms1.js +20 -0
- package/dist/chunk-5z28bqne.js +6748 -0
- package/dist/chunk-616twzqj.js +17 -0
- package/dist/chunk-62me46b4.js +115 -0
- package/dist/chunk-62xkxk9z.js +32 -0
- package/dist/chunk-64c1avct.js +13 -0
- package/dist/chunk-677as3nh.js +15 -0
- package/dist/chunk-68jt10ky.js +170 -0
- package/dist/chunk-6aspnjtj.js +213 -0
- package/dist/chunk-6bd8brc4.js +48 -0
- package/dist/chunk-6dj5t602.js +341 -0
- package/dist/chunk-6e7578mb.js +183 -0
- package/dist/chunk-6gr3c3w9.js +378 -0
- package/dist/chunk-6km733xr.js +1393 -0
- package/dist/chunk-6kpdq5vp.js +269 -0
- package/dist/chunk-6mzwkxka.js +591 -0
- package/dist/chunk-6n4rgw3j.js +308 -0
- package/dist/chunk-6p4cyhb3.js +16 -0
- package/dist/chunk-6ps660aq.js +177 -0
- package/dist/chunk-6rvt67cg.js +156 -0
- package/dist/chunk-6tq2v3rk.js +186 -0
- package/dist/chunk-6vhnnq2y.js +1410 -0
- package/dist/chunk-6wyva7w0.js +208 -0
- package/dist/chunk-6x0hj15f.js +502 -0
- package/dist/chunk-71pmx33m.js +367 -0
- package/dist/chunk-71ynp714.js +101 -0
- package/dist/chunk-73rpbt04.js +1947 -0
- package/dist/chunk-74vem2p2.js +34238 -0
- package/dist/chunk-760252na.js +101 -0
- package/dist/chunk-7739pg2c.js +4261 -0
- package/dist/chunk-78ynhtwg.js +71 -0
- package/dist/chunk-7aw745vx.js +40175 -0
- package/dist/chunk-7ethp9j4.js +785 -0
- package/dist/chunk-7f9h59mx.js +123 -0
- package/dist/chunk-7gwn2q3t.js +267 -0
- package/dist/chunk-7j39efa9.js +4521 -0
- package/dist/chunk-7nzp7c14.js +113 -0
- package/dist/chunk-7p0pvq5a.js +1189 -0
- package/dist/chunk-7pe7wxtx.js +37 -0
- package/dist/chunk-7wm5s02e.js +216 -0
- package/dist/chunk-7xyswgjh.js +8 -0
- package/dist/chunk-80ex85y3.js +231 -0
- package/dist/chunk-80v8c3v8.js +94 -0
- package/dist/chunk-8225arm6.js +6374 -0
- package/dist/chunk-82eajk9f.js +885 -0
- package/dist/chunk-83hfzbx3.js +10 -0
- package/dist/chunk-84bn8nbd.js +130 -0
- package/dist/chunk-85em0j2s.js +61 -0
- package/dist/chunk-86vz5aga.js +585 -0
- package/dist/chunk-86zqm75k.js +119 -0
- package/dist/chunk-894yt5ch.js +127 -0
- package/dist/chunk-89f30geq.js +114 -0
- package/dist/chunk-89m2z6cf.js +542 -0
- package/dist/chunk-89spcmeg.js +203 -0
- package/dist/chunk-8a1q7y7t.js +38 -0
- package/dist/chunk-8b9j5s4r.js +22 -0
- package/dist/chunk-8g5pe1gr.js +37 -0
- package/dist/chunk-8h45f69y.js +151 -0
- package/dist/chunk-8henn231.js +63 -0
- package/dist/chunk-8jprqan8.js +1580 -0
- package/dist/chunk-8pn8tvgg.js +637 -0
- package/dist/chunk-8psrvmy6.js +797 -0
- package/dist/chunk-8sq45snx.js +1585 -0
- package/dist/chunk-8tj3ttfr.js +122 -0
- package/dist/chunk-8tnsngw2.js +31 -0
- package/dist/chunk-8y12jxg8.js +10 -0
- package/dist/chunk-8ymf4e6z.js +48 -0
- package/dist/chunk-8yrcxv0n.js +17 -0
- package/dist/chunk-90wp6wez.js +10510 -0
- package/dist/chunk-92cm1qp0.js +387 -0
- package/dist/chunk-95g4wtbk.js +83 -0
- package/dist/chunk-95h99qt5.js +350 -0
- package/dist/chunk-9663bsk0.js +15 -0
- package/dist/chunk-96mf19ww.js +130 -0
- package/dist/chunk-97kwfkef.js +172626 -0
- package/dist/chunk-9d4wp328.js +121 -0
- package/dist/chunk-9h9j6e8f.js +340 -0
- package/dist/chunk-9k8qsaph.js +33068 -0
- package/dist/chunk-9mfbqw9k.js +24 -0
- package/dist/chunk-9n6x41fh.js +89 -0
- package/dist/chunk-9nsdc461.js +43 -0
- package/dist/chunk-9nyem167.js +68 -0
- package/dist/chunk-9q3r5pd2.js +80 -0
- package/dist/chunk-9wf38cty.js +83 -0
- package/dist/chunk-9x5zgy22.js +12 -0
- package/dist/chunk-a136cvvz.js +27 -0
- package/dist/chunk-a4twdmhf.js +45 -0
- package/dist/chunk-a53syfz4.js +348 -0
- package/dist/chunk-a783nmpc.js +240 -0
- package/dist/chunk-a8ejc632.js +3094 -0
- package/dist/chunk-a9vdeb6y.js +258 -0
- package/dist/chunk-a9zh40sj.js +48 -0
- package/dist/chunk-ae76ded0.js +30 -0
- package/dist/chunk-akdsj21e.js +37 -0
- package/dist/chunk-ase86y73.js +15 -0
- package/dist/chunk-avb9ff81.js +98 -0
- package/dist/chunk-ayydhscx.js +26 -0
- package/dist/chunk-az3db85f.js +301 -0
- package/dist/chunk-az7hwp39.js +111 -0
- package/dist/chunk-b4wg70y1.js +54 -0
- package/dist/chunk-b81hd3m6.js +32 -0
- package/dist/chunk-ba17dx50.js +30 -0
- package/dist/chunk-bcfd2zw7.js +20 -0
- package/dist/chunk-bcv6qax7.js +32 -0
- package/dist/chunk-bef1t5q0.js +1460 -0
- package/dist/chunk-bend4tmg.js +208 -0
- package/dist/chunk-bhxz6rzk.js +475 -0
- package/dist/chunk-bj6k61m9.js +130 -0
- package/dist/chunk-bnrctxq5.js +112 -0
- package/dist/chunk-bt64sq5y.js +19 -0
- package/dist/chunk-bxcfz5gy.js +56 -0
- package/dist/chunk-c11k4btd.js +1095 -0
- package/dist/chunk-c3eaj3gr.js +2997 -0
- package/dist/chunk-c51ns2ke.js +40 -0
- package/dist/chunk-c5kags80.js +141 -0
- package/dist/chunk-c6sjhj89.js +1284 -0
- package/dist/chunk-c77cvfqz.js +14 -0
- package/dist/chunk-cb68zyey.js +117 -0
- package/dist/chunk-cczpp302.js +223 -0
- package/dist/chunk-ce2v5y9y.js +338 -0
- package/dist/chunk-cfv996bs.js +22 -0
- package/dist/chunk-cgfdkzhb.js +12 -0
- package/dist/chunk-cj3ptgbw.js +918 -0
- package/dist/chunk-ck22v5n3.js +2745 -0
- package/dist/chunk-ck4be14j.js +8588 -0
- package/dist/chunk-cmwfcp4h.js +120 -0
- package/dist/chunk-cnsj3vq2.js +35 -0
- package/dist/chunk-cnvsytvx.js +182 -0
- package/dist/chunk-cp1aqm3d.js +66 -0
- package/dist/chunk-cpgjt97m.js +126 -0
- package/dist/chunk-cqrdcwc6.js +115 -0
- package/dist/chunk-crmjpsqe.js +68 -0
- package/dist/chunk-ctya0ggm.js +1606 -0
- package/dist/chunk-cvkzqcxn.js +26 -0
- package/dist/chunk-d4mdda98.js +94 -0
- package/dist/chunk-d8vwvym7.js +693 -0
- package/dist/chunk-d8xwx5h7.js +431 -0
- package/dist/chunk-dgepe1tj.js +557 -0
- package/dist/chunk-dggvswz1.js +104 -0
- package/dist/chunk-dgqrcy74.js +48 -0
- package/dist/chunk-dhgfme5s.js +622 -0
- package/dist/chunk-dkzwgrsa.js +336 -0
- package/dist/chunk-dmfnhfbm.js +63 -0
- package/dist/chunk-dnh7jtpb.js +37 -0
- package/dist/chunk-drtj50ge.js +112 -0
- package/dist/chunk-dtj6da60.js +173 -0
- package/dist/chunk-e3jdmhj3.js +122 -0
- package/dist/chunk-e5ey47fq.js +78 -0
- package/dist/chunk-ehtwnxpg.js +1591 -0
- package/dist/chunk-enz148g9.js +79 -0
- package/dist/chunk-eq5csq9z.js +147 -0
- package/dist/chunk-eqp1rfft.js +17 -0
- package/dist/chunk-ers3hn71.js +58 -0
- package/dist/chunk-evs073nf.js +9300 -0
- package/dist/chunk-ew2qn2ct.js +128 -0
- package/dist/chunk-ewadzrm8.js +103 -0
- package/dist/chunk-ewhxrzr7.js +282 -0
- package/dist/chunk-f076572y.js +29 -0
- package/dist/chunk-f1fd8rrx.js +458 -0
- package/dist/chunk-f2mhrmww.js +62 -0
- package/dist/chunk-f2rspz95.js +661 -0
- package/dist/chunk-f4evkbn3.js +109 -0
- package/dist/chunk-f5ma3nh5.js +3436 -0
- package/dist/chunk-f77bmbss.js +262 -0
- package/dist/chunk-fafwc5w7.js +63 -0
- package/dist/chunk-fas0j37w.js +206 -0
- package/dist/chunk-fbv4apne.js +51 -0
- package/dist/chunk-fbvwrs77.js +74 -0
- package/dist/chunk-feyzykye.js +10 -0
- package/dist/chunk-fk80f449.js +29032 -0
- package/dist/chunk-fqz39wqc.js +2754 -0
- package/dist/chunk-fs870v81.js +321 -0
- package/dist/chunk-fvrd2wnw.js +119 -0
- package/dist/chunk-fwqpwb0b.js +68 -0
- package/dist/chunk-fyc5fepv.js +10 -0
- package/dist/chunk-fz0ch109.js +329 -0
- package/dist/chunk-fzsn5y4x.js +74 -0
- package/dist/chunk-g1k68z1b.js +15 -0
- package/dist/chunk-g338npwr.js +1061 -0
- package/dist/chunk-g4mn27j2.js +125 -0
- package/dist/chunk-g5k4zxrz.js +285 -0
- package/dist/chunk-g7hbj02n.js +47 -0
- package/dist/chunk-g9f19ttm.js +15 -0
- package/dist/chunk-gmpnr1zb.js +248 -0
- package/dist/chunk-gnsx2xas.js +58 -0
- package/dist/chunk-gr2j2pnw.js +449 -0
- package/dist/chunk-gs8skfag.js +700 -0
- package/dist/chunk-gte39pa1.js +62 -0
- package/dist/chunk-gvee52bj.js +41 -0
- package/dist/chunk-gzvt7jsh.js +109 -0
- package/dist/chunk-gzykgb04.js +445 -0
- package/dist/chunk-h0qngp9w.js +157 -0
- package/dist/chunk-h4b85amj.js +2331 -0
- package/dist/chunk-h5w7hchy.js +851 -0
- package/dist/chunk-hakdhagh.js +16606 -0
- package/dist/chunk-hamq5sbn.js +398 -0
- package/dist/chunk-hezhnvr6.js +369 -0
- package/dist/chunk-hh7cmy4k.js +20 -0
- package/dist/chunk-hhgyxd84.js +259 -0
- package/dist/chunk-hk9xz7gk.js +118 -0
- package/dist/chunk-hkn7tzgv.js +2007 -0
- package/dist/chunk-hnafabz8.js +266 -0
- package/dist/chunk-hqhmy4sg.js +4181 -0
- package/dist/chunk-hvdbzsar.js +127 -0
- package/dist/chunk-hzhe8ygc.js +547 -0
- package/dist/chunk-j05addbw.js +132 -0
- package/dist/chunk-j2k4p94p.js +55 -0
- package/dist/chunk-j3a4p81y.js +184 -0
- package/dist/chunk-j5bth84e.js +97 -0
- package/dist/chunk-j64ga6ta.js +8035 -0
- package/dist/chunk-j7e5xs2n.js +225 -0
- package/dist/chunk-j9gxwbe3.js +349 -0
- package/dist/chunk-jaaxk89e.js +113 -0
- package/dist/chunk-jbe9jra5.js +132 -0
- package/dist/chunk-jd32zbps.js +15 -0
- package/dist/chunk-jdgeec04.js +4249 -0
- package/dist/chunk-jhvzhfs0.js +61 -0
- package/dist/chunk-jmczk6av.js +173 -0
- package/dist/chunk-jmmy2389.js +146 -0
- package/dist/chunk-jmt3t5ka.js +655 -0
- package/dist/chunk-jnhkref0.js +30 -0
- package/dist/chunk-jrw2ydrt.js +122 -0
- package/dist/chunk-jwrvnvn4.js +40 -0
- package/dist/chunk-jzmz18nn.js +65 -0
- package/dist/chunk-k04vbmv4.js +646 -0
- package/dist/chunk-k0p9w03v.js +4957 -0
- package/dist/chunk-k3dhz0k9.js +135 -0
- package/dist/chunk-k3s4yk22.js +477 -0
- package/dist/chunk-k9ssqns7.js +32 -0
- package/dist/chunk-kadfnk84.js +182 -0
- package/dist/chunk-kddy2dqe.js +251 -0
- package/dist/chunk-kfd89dsd.js +21 -0
- package/dist/chunk-kqnj25tn.js +6956 -0
- package/dist/chunk-kt7g00mq.js +435 -0
- package/dist/chunk-kwdta9bw.js +3437 -0
- package/dist/chunk-kwekc97v.js +18 -0
- package/dist/chunk-kyqp0hdk.js +410 -0
- package/dist/chunk-m19387gd.js +192 -0
- package/dist/chunk-m1k6c44h.js +97 -0
- package/dist/chunk-m2bcpk8j.js +30 -0
- package/dist/chunk-m2f2brtj.js +290 -0
- package/dist/chunk-m3vd4kjb.js +895 -0
- package/dist/chunk-m4y35n20.js +2845 -0
- package/dist/chunk-m53f3dw3.js +237 -0
- package/dist/chunk-m7e9yz7v.js +112 -0
- package/dist/chunk-m7gb3xym.js +196 -0
- package/dist/chunk-m85hmjj5.js +446 -0
- package/dist/chunk-mafty4rg.js +30 -0
- package/dist/chunk-mbgrtfd1.js +67 -0
- package/dist/chunk-mc9gapvy.js +1811 -0
- package/dist/chunk-md75xjhp.js +283 -0
- package/dist/chunk-mdkxrfbj.js +666 -0
- package/dist/chunk-mfq8d0nf.js +126 -0
- package/dist/chunk-mg4j7qa1.js +192 -0
- package/dist/chunk-mjnb2hkr.js +132 -0
- package/dist/chunk-mnc0y0d0.js +190 -0
- package/dist/chunk-mpvn2d5c.js +155 -0
- package/dist/chunk-mr2kw49k.js +116 -0
- package/dist/chunk-ms3y5kf0.js +252 -0
- package/dist/chunk-mwz7he7v.js +169 -0
- package/dist/chunk-mx28h61f.js +1147 -0
- package/dist/chunk-my3kzsjn.js +99 -0
- package/dist/chunk-n0a4xh5h.js +128 -0
- package/dist/chunk-n0qaeaa5.js +256 -0
- package/dist/chunk-n24pwjkp.js +139 -0
- package/dist/chunk-n2qz0nhv.js +93 -0
- package/dist/chunk-n7d8481f.js +68 -0
- package/dist/chunk-n7ttdtk0.js +641 -0
- package/dist/chunk-n9axs6t8.js +716 -0
- package/dist/chunk-netzwgv1.js +154 -0
- package/dist/chunk-nh3cd07f.js +14358 -0
- package/dist/chunk-njhgsxjj.js +237 -0
- package/dist/chunk-nk5x8t2h.js +132 -0
- package/dist/chunk-nka1g8f4.js +773 -0
- package/dist/chunk-nneembm7.js +31 -0
- package/dist/chunk-nq0fxyxh.js +752 -0
- package/dist/chunk-nt837qt9.js +21 -0
- package/dist/chunk-p0ng6w7n.js +315 -0
- package/dist/chunk-p1e5ajm6.js +90 -0
- package/dist/chunk-p2816w9z.js +1486 -0
- package/dist/chunk-p2d5nh3g.js +342 -0
- package/dist/chunk-p3a8pcmp.js +780 -0
- package/dist/chunk-p5rg8b87.js +157 -0
- package/dist/chunk-p7vkh4wx.js +15 -0
- package/dist/chunk-p99pzx02.js +65 -0
- package/dist/chunk-p9ce1a80.js +279 -0
- package/dist/chunk-pakvqawt.js +2544 -0
- package/dist/chunk-pfc94kdv.js +5387 -0
- package/dist/chunk-pfnzae5b.js +71 -0
- package/dist/chunk-pgyrvzpr.js +862 -0
- package/dist/chunk-pj77mrv7.js +879 -0
- package/dist/chunk-pk3s1vqt.js +136 -0
- package/dist/chunk-ppwjyveh.js +8 -0
- package/dist/chunk-ps1ds612.js +183 -0
- package/dist/chunk-ps49ymvj.js +43 -0
- package/dist/chunk-pshjyzq4.js +17656 -0
- package/dist/chunk-pskjqhz7.js +116 -0
- package/dist/chunk-pvc81kgd.js +1030 -0
- package/dist/chunk-pwwa7s62.js +11 -0
- package/dist/chunk-q3j9ktw6.js +313 -0
- package/dist/chunk-q4t5gjz6.js +180 -0
- package/dist/chunk-q7tpyeb3.js +39 -0
- package/dist/chunk-q82r31er.js +151 -0
- package/dist/chunk-qajrkk97.js +298 -0
- package/dist/chunk-qb6ej6am.js +118 -0
- package/dist/chunk-qbrsmra3.js +23 -0
- package/dist/chunk-qezabsdm.js +65 -0
- package/dist/chunk-qfdazq4f.js +81 -0
- package/dist/chunk-qjb5b625.js +382 -0
- package/dist/chunk-qjeytdb7.js +47 -0
- package/dist/chunk-qkn19vqd.js +116 -0
- package/dist/chunk-qnfx3qtx.js +617 -0
- package/dist/chunk-qp1047f9.js +16239 -0
- package/dist/chunk-qp2qdcda.js +100 -0
- package/dist/chunk-qtfc6wdh.js +19 -0
- package/dist/chunk-qvpvpfby.js +4951 -0
- package/dist/chunk-qwcs5mar.js +151 -0
- package/dist/chunk-qywms8ma.js +84 -0
- package/dist/chunk-qz2x630m.js +49145 -0
- package/dist/chunk-r1c1vckq.js +606 -0
- package/dist/chunk-r1cmrvhq.js +660 -0
- package/dist/chunk-r4w1khtr.js +479 -0
- package/dist/chunk-r5c7ntjh.js +308 -0
- package/dist/chunk-r6pqswky.js +118 -0
- package/dist/chunk-rcpmj2s6.js +51 -0
- package/dist/chunk-re5rh06v.js +151 -0
- package/dist/chunk-reta5k4w.js +127 -0
- package/dist/chunk-rfpx3se2.js +114 -0
- package/dist/chunk-rfzv16n9.js +140 -0
- package/dist/chunk-rhq6rjsm.js +139 -0
- package/dist/chunk-rn0v1hk8.js +34 -0
- package/dist/chunk-rpmxbsc4.js +106 -0
- package/dist/chunk-rw0b3wq4.js +54 -0
- package/dist/chunk-rwg99z4w.js +277 -0
- package/dist/chunk-rzz2be44.js +144 -0
- package/dist/chunk-s1pwx4p8.js +1029 -0
- package/dist/chunk-s2jznn2t.js +63 -0
- package/dist/chunk-s3pzvdss.js +50 -0
- package/dist/chunk-s5hrc81b.js +256 -0
- package/dist/chunk-s6zh6vsc.js +115 -0
- package/dist/chunk-sac40vch.js +41 -0
- package/dist/chunk-sd36yzx8.js +954 -0
- package/dist/chunk-sd6tyy2k.js +445 -0
- package/dist/chunk-sg9s9fhh.js +220 -0
- package/dist/chunk-st29kcjw.js +70 -0
- package/dist/chunk-szj5wvdy.js +28 -0
- package/dist/chunk-tazmxz0r.js +115 -0
- package/dist/chunk-tbbgpakn.js +352 -0
- package/dist/chunk-tbjjq4ry.js +70 -0
- package/dist/chunk-tezak8rx.js +6157 -0
- package/dist/chunk-tf79jran.js +15 -0
- package/dist/chunk-tg8bdmhy.js +148 -0
- package/dist/chunk-thjjw26s.js +369 -0
- package/dist/chunk-tq1ak9qz.js +3594 -0
- package/dist/chunk-tqvxvgcq.js +390 -0
- package/dist/chunk-ts2p6bv1.js +224 -0
- package/dist/chunk-tsmzsjkv.js +167 -0
- package/dist/chunk-ttk5dzz8.js +25 -0
- package/dist/chunk-v1kzp02e.js +785 -0
- package/dist/chunk-v4rp12y4.js +269 -0
- package/dist/chunk-v4t6dyyh.js +9076 -0
- package/dist/chunk-v78fj8by.js +145 -0
- package/dist/chunk-v9smspw2.js +4301 -0
- package/dist/chunk-var1et7e.js +66 -0
- package/dist/chunk-vest0y6x.js +3830 -0
- package/dist/chunk-vf5sd1nq.js +12 -0
- package/dist/chunk-vf612n57.js +472 -0
- package/dist/chunk-vhqtr0f1.js +343 -0
- package/dist/chunk-vnfempy5.js +43 -0
- package/dist/chunk-vp5pr5yv.js +443 -0
- package/dist/chunk-vp8cvspq.js +157 -0
- package/dist/chunk-vqqtdc8s.js +75 -0
- package/dist/chunk-vyjeh50y.js +2149 -0
- package/dist/chunk-w0nwhqww.js +295 -0
- package/dist/chunk-w32xjs44.js +306 -0
- package/dist/chunk-w4mdb23d.js +111 -0
- package/dist/chunk-w5j84xcj.js +226 -0
- package/dist/chunk-w78f4cd8.js +158 -0
- package/dist/chunk-wbpxzaty.js +66 -0
- package/dist/chunk-wfz0qffj.js +3939 -0
- package/dist/chunk-wm26jyc3.js +156 -0
- package/dist/chunk-wmw9c9ga.js +440 -0
- package/dist/chunk-wpp8s8bh.js +433 -0
- package/dist/chunk-wrb0tqk3.js +198 -0
- package/dist/chunk-wswsvthr.js +946 -0
- package/dist/chunk-wzpdet3m.js +843 -0
- package/dist/chunk-x1pmes5j.js +482 -0
- package/dist/chunk-x6r4v44b.js +8 -0
- package/dist/chunk-x92g7cqn.js +421 -0
- package/dist/chunk-xedf6d09.js +66 -0
- package/dist/chunk-xgwhhpvz.js +154 -0
- package/dist/chunk-xkxd7n8n.js +310 -0
- package/dist/chunk-xrt6e27s.js +60 -0
- package/dist/chunk-xsq9ae7x.js +90 -0
- package/dist/chunk-xv3era3s.js +8 -0
- package/dist/chunk-xwz1db00.js +34 -0
- package/dist/chunk-xx0570gb.js +120 -0
- package/dist/chunk-xxshn0tn.js +314 -0
- package/dist/chunk-xzc7k2hh.js +122 -0
- package/dist/chunk-y1784krc.js +19 -0
- package/dist/chunk-y2hdgkmv.js +244 -0
- package/dist/chunk-y82j1dne.js +524 -0
- package/dist/chunk-ybae225f.js +669 -0
- package/dist/chunk-ye7fmmc4.js +95 -0
- package/dist/chunk-ygj29dpk.js +100 -0
- package/dist/chunk-yj2t6a2t.js +216 -0
- package/dist/chunk-yja33bsx.js +300 -0
- package/dist/chunk-yjkamwzv.js +121 -0
- package/dist/chunk-ymjz2by8.js +120 -0
- package/dist/chunk-yqtda7b6.js +105 -0
- package/dist/chunk-yqx2fkma.js +2362 -0
- package/dist/chunk-yzx3mhfd.js +110 -0
- package/dist/chunk-z1bs6d7k.js +24 -0
- package/dist/chunk-z2dp53wn.js +17 -0
- package/dist/chunk-z6e5jp2w.js +119 -0
- package/dist/chunk-z915v06p.js +148 -0
- package/dist/chunk-ze6zvkg6.js +22820 -0
- package/dist/chunk-zejm280k.js +39 -0
- package/dist/chunk-zeytvkxt.js +142 -0
- package/dist/chunk-zgjh33vv.js +276 -0
- package/dist/chunk-zgncjtyk.js +264 -0
- package/dist/chunk-zmgzhwae.js +4389 -0
- package/dist/chunk-ztf1hdpb.js +456 -0
- package/dist/chunk-zzm33q8x.js +8 -0
- package/dist/cli.js +139 -0
- package/dist/download-ripgrep.js +24821 -0
- package/dist/vendor/audio-capture/arm64-darwin/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/arm64-linux/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/arm64-win32/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/x64-darwin/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/x64-linux/audio-capture.node +0 -0
- package/dist/vendor/audio-capture/x64-win32/audio-capture.node +0 -0
- package/package.json +177 -0
- package/scripts/download-ripgrep.ts +335 -0
- package/scripts/postinstall.cjs +319 -0
|
@@ -0,0 +1,1124 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
__commonJS
|
|
4
|
+
} from "./chunk-qp2qdcda.js";
|
|
5
|
+
|
|
6
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/internal/constants.js
|
|
7
|
+
var require_constants = __commonJS((exports, module) => {
|
|
8
|
+
var SEMVER_SPEC_VERSION = "2.0.0";
|
|
9
|
+
var MAX_LENGTH = 256;
|
|
10
|
+
var MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
|
|
11
|
+
var MAX_SAFE_COMPONENT_LENGTH = 16;
|
|
12
|
+
var MAX_SAFE_BUILD_LENGTH = MAX_LENGTH - 6;
|
|
13
|
+
var RELEASE_TYPES = [
|
|
14
|
+
"major",
|
|
15
|
+
"premajor",
|
|
16
|
+
"minor",
|
|
17
|
+
"preminor",
|
|
18
|
+
"patch",
|
|
19
|
+
"prepatch",
|
|
20
|
+
"prerelease"
|
|
21
|
+
];
|
|
22
|
+
module.exports = {
|
|
23
|
+
MAX_LENGTH,
|
|
24
|
+
MAX_SAFE_COMPONENT_LENGTH,
|
|
25
|
+
MAX_SAFE_BUILD_LENGTH,
|
|
26
|
+
MAX_SAFE_INTEGER,
|
|
27
|
+
RELEASE_TYPES,
|
|
28
|
+
SEMVER_SPEC_VERSION,
|
|
29
|
+
FLAG_INCLUDE_PRERELEASE: 1,
|
|
30
|
+
FLAG_LOOSE: 2
|
|
31
|
+
};
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/internal/debug.js
|
|
35
|
+
var require_debug = __commonJS((exports, module) => {
|
|
36
|
+
var debug = typeof process === "object" && process.env && process.env.NODE_DEBUG && /\bsemver\b/i.test(process.env.NODE_DEBUG) ? (...args) => console.error("SEMVER", ...args) : () => {};
|
|
37
|
+
module.exports = debug;
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/internal/re.js
|
|
41
|
+
var require_re = __commonJS((exports, module) => {
|
|
42
|
+
var {
|
|
43
|
+
MAX_SAFE_COMPONENT_LENGTH,
|
|
44
|
+
MAX_SAFE_BUILD_LENGTH,
|
|
45
|
+
MAX_LENGTH
|
|
46
|
+
} = require_constants();
|
|
47
|
+
var debug = require_debug();
|
|
48
|
+
exports = module.exports = {};
|
|
49
|
+
var re = exports.re = [];
|
|
50
|
+
var safeRe = exports.safeRe = [];
|
|
51
|
+
var src = exports.src = [];
|
|
52
|
+
var safeSrc = exports.safeSrc = [];
|
|
53
|
+
var t = exports.t = {};
|
|
54
|
+
var R = 0;
|
|
55
|
+
var LETTERDASHNUMBER = "[a-zA-Z0-9-]";
|
|
56
|
+
var safeRegexReplacements = [
|
|
57
|
+
["\\s", 1],
|
|
58
|
+
["\\d", MAX_LENGTH],
|
|
59
|
+
[LETTERDASHNUMBER, MAX_SAFE_BUILD_LENGTH]
|
|
60
|
+
];
|
|
61
|
+
var makeSafeRegex = (value) => {
|
|
62
|
+
for (const [token, max] of safeRegexReplacements) {
|
|
63
|
+
value = value.split(`${token}*`).join(`${token}{0,${max}}`).split(`${token}+`).join(`${token}{1,${max}}`);
|
|
64
|
+
}
|
|
65
|
+
return value;
|
|
66
|
+
};
|
|
67
|
+
var createToken = (name, value, isGlobal) => {
|
|
68
|
+
const safe = makeSafeRegex(value);
|
|
69
|
+
const index = R++;
|
|
70
|
+
debug(name, index, value);
|
|
71
|
+
t[name] = index;
|
|
72
|
+
src[index] = value;
|
|
73
|
+
safeSrc[index] = safe;
|
|
74
|
+
re[index] = new RegExp(value, isGlobal ? "g" : undefined);
|
|
75
|
+
safeRe[index] = new RegExp(safe, isGlobal ? "g" : undefined);
|
|
76
|
+
};
|
|
77
|
+
createToken("NUMERICIDENTIFIER", "0|[1-9]\\d*");
|
|
78
|
+
createToken("NUMERICIDENTIFIERLOOSE", "\\d+");
|
|
79
|
+
createToken("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${LETTERDASHNUMBER}*`);
|
|
80
|
+
createToken("MAINVERSION", `(${src[t.NUMERICIDENTIFIER]})\\.` + `(${src[t.NUMERICIDENTIFIER]})\\.` + `(${src[t.NUMERICIDENTIFIER]})`);
|
|
81
|
+
createToken("MAINVERSIONLOOSE", `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})\\.` + `(${src[t.NUMERICIDENTIFIERLOOSE]})`);
|
|
82
|
+
createToken("PRERELEASEIDENTIFIER", `(?:${src[t.NONNUMERICIDENTIFIER]}|${src[t.NUMERICIDENTIFIER]})`);
|
|
83
|
+
createToken("PRERELEASEIDENTIFIERLOOSE", `(?:${src[t.NONNUMERICIDENTIFIER]}|${src[t.NUMERICIDENTIFIERLOOSE]})`);
|
|
84
|
+
createToken("PRERELEASE", `(?:-(${src[t.PRERELEASEIDENTIFIER]}(?:\\.${src[t.PRERELEASEIDENTIFIER]})*))`);
|
|
85
|
+
createToken("PRERELEASELOOSE", `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`);
|
|
86
|
+
createToken("BUILDIDENTIFIER", `${LETTERDASHNUMBER}+`);
|
|
87
|
+
createToken("BUILD", `(?:\\+(${src[t.BUILDIDENTIFIER]}(?:\\.${src[t.BUILDIDENTIFIER]})*))`);
|
|
88
|
+
createToken("FULLPLAIN", `v?${src[t.MAINVERSION]}${src[t.PRERELEASE]}?${src[t.BUILD]}?`);
|
|
89
|
+
createToken("FULL", `^${src[t.FULLPLAIN]}$`);
|
|
90
|
+
createToken("LOOSEPLAIN", `[v=\\s]*${src[t.MAINVERSIONLOOSE]}${src[t.PRERELEASELOOSE]}?${src[t.BUILD]}?`);
|
|
91
|
+
createToken("LOOSE", `^${src[t.LOOSEPLAIN]}$`);
|
|
92
|
+
createToken("GTLT", "((?:<|>)?=?)");
|
|
93
|
+
createToken("XRANGEIDENTIFIERLOOSE", `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);
|
|
94
|
+
createToken("XRANGEIDENTIFIER", `${src[t.NUMERICIDENTIFIER]}|x|X|\\*`);
|
|
95
|
+
createToken("XRANGEPLAIN", `[v=\\s]*(${src[t.XRANGEIDENTIFIER]})` + `(?:\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:\\.(${src[t.XRANGEIDENTIFIER]})` + `(?:${src[t.PRERELEASE]})?${src[t.BUILD]}?` + `)?)?`);
|
|
96
|
+
createToken("XRANGEPLAINLOOSE", `[v=\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` + `(?:${src[t.PRERELEASELOOSE]})?${src[t.BUILD]}?` + `)?)?`);
|
|
97
|
+
createToken("XRANGE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAIN]}$`);
|
|
98
|
+
createToken("XRANGELOOSE", `^${src[t.GTLT]}\\s*${src[t.XRANGEPLAINLOOSE]}$`);
|
|
99
|
+
createToken("COERCEPLAIN", `${"(^|[^\\d])" + "(\\d{1,"}${MAX_SAFE_COMPONENT_LENGTH}})` + `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` + `(?:\\.(\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?`);
|
|
100
|
+
createToken("COERCE", `${src[t.COERCEPLAIN]}(?:$|[^\\d])`);
|
|
101
|
+
createToken("COERCEFULL", src[t.COERCEPLAIN] + `(?:${src[t.PRERELEASE]})?` + `(?:${src[t.BUILD]})?` + `(?:$|[^\\d])`);
|
|
102
|
+
createToken("COERCERTL", src[t.COERCE], true);
|
|
103
|
+
createToken("COERCERTLFULL", src[t.COERCEFULL], true);
|
|
104
|
+
createToken("LONETILDE", "(?:~>?)");
|
|
105
|
+
createToken("TILDETRIM", `(\\s*)${src[t.LONETILDE]}\\s+`, true);
|
|
106
|
+
exports.tildeTrimReplace = "$1~";
|
|
107
|
+
createToken("TILDE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`);
|
|
108
|
+
createToken("TILDELOOSE", `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
109
|
+
createToken("LONECARET", "(?:\\^)");
|
|
110
|
+
createToken("CARETTRIM", `(\\s*)${src[t.LONECARET]}\\s+`, true);
|
|
111
|
+
exports.caretTrimReplace = "$1^";
|
|
112
|
+
createToken("CARET", `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`);
|
|
113
|
+
createToken("CARETLOOSE", `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`);
|
|
114
|
+
createToken("COMPARATORLOOSE", `^${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]})$|^$`);
|
|
115
|
+
createToken("COMPARATOR", `^${src[t.GTLT]}\\s*(${src[t.FULLPLAIN]})$|^$`);
|
|
116
|
+
createToken("COMPARATORTRIM", `(\\s*)${src[t.GTLT]}\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true);
|
|
117
|
+
exports.comparatorTrimReplace = "$1$2$3";
|
|
118
|
+
createToken("HYPHENRANGE", `^\\s*(${src[t.XRANGEPLAIN]})` + `\\s+-\\s+` + `(${src[t.XRANGEPLAIN]})` + `\\s*$`);
|
|
119
|
+
createToken("HYPHENRANGELOOSE", `^\\s*(${src[t.XRANGEPLAINLOOSE]})` + `\\s+-\\s+` + `(${src[t.XRANGEPLAINLOOSE]})` + `\\s*$`);
|
|
120
|
+
createToken("STAR", "(<|>)?=?\\s*\\*");
|
|
121
|
+
createToken("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$");
|
|
122
|
+
createToken("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
|
|
123
|
+
});
|
|
124
|
+
|
|
125
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/internal/identifiers.js
|
|
126
|
+
var require_identifiers = __commonJS((exports, module) => {
|
|
127
|
+
var numeric = /^[0-9]+$/;
|
|
128
|
+
var compareIdentifiers = (a, b) => {
|
|
129
|
+
if (typeof a === "number" && typeof b === "number") {
|
|
130
|
+
return a === b ? 0 : a < b ? -1 : 1;
|
|
131
|
+
}
|
|
132
|
+
const anum = numeric.test(a);
|
|
133
|
+
const bnum = numeric.test(b);
|
|
134
|
+
if (anum && bnum) {
|
|
135
|
+
a = +a;
|
|
136
|
+
b = +b;
|
|
137
|
+
}
|
|
138
|
+
return a === b ? 0 : anum && !bnum ? -1 : bnum && !anum ? 1 : a < b ? -1 : 1;
|
|
139
|
+
};
|
|
140
|
+
var rcompareIdentifiers = (a, b) => compareIdentifiers(b, a);
|
|
141
|
+
module.exports = {
|
|
142
|
+
compareIdentifiers,
|
|
143
|
+
rcompareIdentifiers
|
|
144
|
+
};
|
|
145
|
+
});
|
|
146
|
+
|
|
147
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/internal/parse-options.js
|
|
148
|
+
var require_parse_options = __commonJS((exports, module) => {
|
|
149
|
+
var looseOption = Object.freeze({ loose: true });
|
|
150
|
+
var emptyOpts = Object.freeze({});
|
|
151
|
+
var parseOptions = (options) => {
|
|
152
|
+
if (!options) {
|
|
153
|
+
return emptyOpts;
|
|
154
|
+
}
|
|
155
|
+
if (typeof options !== "object") {
|
|
156
|
+
return looseOption;
|
|
157
|
+
}
|
|
158
|
+
return options;
|
|
159
|
+
};
|
|
160
|
+
module.exports = parseOptions;
|
|
161
|
+
});
|
|
162
|
+
|
|
163
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/classes/semver.js
|
|
164
|
+
var require_semver = __commonJS((exports, module) => {
|
|
165
|
+
var debug = require_debug();
|
|
166
|
+
var { MAX_LENGTH, MAX_SAFE_INTEGER } = require_constants();
|
|
167
|
+
var { safeRe: re, t } = require_re();
|
|
168
|
+
var parseOptions = require_parse_options();
|
|
169
|
+
var { compareIdentifiers } = require_identifiers();
|
|
170
|
+
|
|
171
|
+
class SemVer {
|
|
172
|
+
constructor(version, options) {
|
|
173
|
+
options = parseOptions(options);
|
|
174
|
+
if (version instanceof SemVer) {
|
|
175
|
+
if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) {
|
|
176
|
+
return version;
|
|
177
|
+
} else {
|
|
178
|
+
version = version.version;
|
|
179
|
+
}
|
|
180
|
+
} else if (typeof version !== "string") {
|
|
181
|
+
throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
|
|
182
|
+
}
|
|
183
|
+
if (version.length > MAX_LENGTH) {
|
|
184
|
+
throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);
|
|
185
|
+
}
|
|
186
|
+
debug("SemVer", version, options);
|
|
187
|
+
this.options = options;
|
|
188
|
+
this.loose = !!options.loose;
|
|
189
|
+
this.includePrerelease = !!options.includePrerelease;
|
|
190
|
+
const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL]);
|
|
191
|
+
if (!m) {
|
|
192
|
+
throw new TypeError(`Invalid Version: ${version}`);
|
|
193
|
+
}
|
|
194
|
+
this.raw = version;
|
|
195
|
+
this.major = +m[1];
|
|
196
|
+
this.minor = +m[2];
|
|
197
|
+
this.patch = +m[3];
|
|
198
|
+
if (this.major > MAX_SAFE_INTEGER || this.major < 0) {
|
|
199
|
+
throw new TypeError("Invalid major version");
|
|
200
|
+
}
|
|
201
|
+
if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {
|
|
202
|
+
throw new TypeError("Invalid minor version");
|
|
203
|
+
}
|
|
204
|
+
if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {
|
|
205
|
+
throw new TypeError("Invalid patch version");
|
|
206
|
+
}
|
|
207
|
+
if (!m[4]) {
|
|
208
|
+
this.prerelease = [];
|
|
209
|
+
} else {
|
|
210
|
+
this.prerelease = m[4].split(".").map((id) => {
|
|
211
|
+
if (/^[0-9]+$/.test(id)) {
|
|
212
|
+
const num = +id;
|
|
213
|
+
if (num >= 0 && num < MAX_SAFE_INTEGER) {
|
|
214
|
+
return num;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
return id;
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
this.build = m[5] ? m[5].split(".") : [];
|
|
221
|
+
this.format();
|
|
222
|
+
}
|
|
223
|
+
format() {
|
|
224
|
+
this.version = `${this.major}.${this.minor}.${this.patch}`;
|
|
225
|
+
if (this.prerelease.length) {
|
|
226
|
+
this.version += `-${this.prerelease.join(".")}`;
|
|
227
|
+
}
|
|
228
|
+
return this.version;
|
|
229
|
+
}
|
|
230
|
+
toString() {
|
|
231
|
+
return this.version;
|
|
232
|
+
}
|
|
233
|
+
compare(other) {
|
|
234
|
+
debug("SemVer.compare", this.version, this.options, other);
|
|
235
|
+
if (!(other instanceof SemVer)) {
|
|
236
|
+
if (typeof other === "string" && other === this.version) {
|
|
237
|
+
return 0;
|
|
238
|
+
}
|
|
239
|
+
other = new SemVer(other, this.options);
|
|
240
|
+
}
|
|
241
|
+
if (other.version === this.version) {
|
|
242
|
+
return 0;
|
|
243
|
+
}
|
|
244
|
+
return this.compareMain(other) || this.comparePre(other);
|
|
245
|
+
}
|
|
246
|
+
compareMain(other) {
|
|
247
|
+
if (!(other instanceof SemVer)) {
|
|
248
|
+
other = new SemVer(other, this.options);
|
|
249
|
+
}
|
|
250
|
+
if (this.major < other.major) {
|
|
251
|
+
return -1;
|
|
252
|
+
}
|
|
253
|
+
if (this.major > other.major) {
|
|
254
|
+
return 1;
|
|
255
|
+
}
|
|
256
|
+
if (this.minor < other.minor) {
|
|
257
|
+
return -1;
|
|
258
|
+
}
|
|
259
|
+
if (this.minor > other.minor) {
|
|
260
|
+
return 1;
|
|
261
|
+
}
|
|
262
|
+
if (this.patch < other.patch) {
|
|
263
|
+
return -1;
|
|
264
|
+
}
|
|
265
|
+
if (this.patch > other.patch) {
|
|
266
|
+
return 1;
|
|
267
|
+
}
|
|
268
|
+
return 0;
|
|
269
|
+
}
|
|
270
|
+
comparePre(other) {
|
|
271
|
+
if (!(other instanceof SemVer)) {
|
|
272
|
+
other = new SemVer(other, this.options);
|
|
273
|
+
}
|
|
274
|
+
if (this.prerelease.length && !other.prerelease.length) {
|
|
275
|
+
return -1;
|
|
276
|
+
} else if (!this.prerelease.length && other.prerelease.length) {
|
|
277
|
+
return 1;
|
|
278
|
+
} else if (!this.prerelease.length && !other.prerelease.length) {
|
|
279
|
+
return 0;
|
|
280
|
+
}
|
|
281
|
+
let i = 0;
|
|
282
|
+
do {
|
|
283
|
+
const a = this.prerelease[i];
|
|
284
|
+
const b = other.prerelease[i];
|
|
285
|
+
debug("prerelease compare", i, a, b);
|
|
286
|
+
if (a === undefined && b === undefined) {
|
|
287
|
+
return 0;
|
|
288
|
+
} else if (b === undefined) {
|
|
289
|
+
return 1;
|
|
290
|
+
} else if (a === undefined) {
|
|
291
|
+
return -1;
|
|
292
|
+
} else if (a === b) {
|
|
293
|
+
continue;
|
|
294
|
+
} else {
|
|
295
|
+
return compareIdentifiers(a, b);
|
|
296
|
+
}
|
|
297
|
+
} while (++i);
|
|
298
|
+
}
|
|
299
|
+
compareBuild(other) {
|
|
300
|
+
if (!(other instanceof SemVer)) {
|
|
301
|
+
other = new SemVer(other, this.options);
|
|
302
|
+
}
|
|
303
|
+
let i = 0;
|
|
304
|
+
do {
|
|
305
|
+
const a = this.build[i];
|
|
306
|
+
const b = other.build[i];
|
|
307
|
+
debug("build compare", i, a, b);
|
|
308
|
+
if (a === undefined && b === undefined) {
|
|
309
|
+
return 0;
|
|
310
|
+
} else if (b === undefined) {
|
|
311
|
+
return 1;
|
|
312
|
+
} else if (a === undefined) {
|
|
313
|
+
return -1;
|
|
314
|
+
} else if (a === b) {
|
|
315
|
+
continue;
|
|
316
|
+
} else {
|
|
317
|
+
return compareIdentifiers(a, b);
|
|
318
|
+
}
|
|
319
|
+
} while (++i);
|
|
320
|
+
}
|
|
321
|
+
inc(release, identifier, identifierBase) {
|
|
322
|
+
if (release.startsWith("pre")) {
|
|
323
|
+
if (!identifier && identifierBase === false) {
|
|
324
|
+
throw new Error("invalid increment argument: identifier is empty");
|
|
325
|
+
}
|
|
326
|
+
if (identifier) {
|
|
327
|
+
const match = `-${identifier}`.match(this.options.loose ? re[t.PRERELEASELOOSE] : re[t.PRERELEASE]);
|
|
328
|
+
if (!match || match[1] !== identifier) {
|
|
329
|
+
throw new Error(`invalid identifier: ${identifier}`);
|
|
330
|
+
}
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
switch (release) {
|
|
334
|
+
case "premajor":
|
|
335
|
+
this.prerelease.length = 0;
|
|
336
|
+
this.patch = 0;
|
|
337
|
+
this.minor = 0;
|
|
338
|
+
this.major++;
|
|
339
|
+
this.inc("pre", identifier, identifierBase);
|
|
340
|
+
break;
|
|
341
|
+
case "preminor":
|
|
342
|
+
this.prerelease.length = 0;
|
|
343
|
+
this.patch = 0;
|
|
344
|
+
this.minor++;
|
|
345
|
+
this.inc("pre", identifier, identifierBase);
|
|
346
|
+
break;
|
|
347
|
+
case "prepatch":
|
|
348
|
+
this.prerelease.length = 0;
|
|
349
|
+
this.inc("patch", identifier, identifierBase);
|
|
350
|
+
this.inc("pre", identifier, identifierBase);
|
|
351
|
+
break;
|
|
352
|
+
case "prerelease":
|
|
353
|
+
if (this.prerelease.length === 0) {
|
|
354
|
+
this.inc("patch", identifier, identifierBase);
|
|
355
|
+
}
|
|
356
|
+
this.inc("pre", identifier, identifierBase);
|
|
357
|
+
break;
|
|
358
|
+
case "release":
|
|
359
|
+
if (this.prerelease.length === 0) {
|
|
360
|
+
throw new Error(`version ${this.raw} is not a prerelease`);
|
|
361
|
+
}
|
|
362
|
+
this.prerelease.length = 0;
|
|
363
|
+
break;
|
|
364
|
+
case "major":
|
|
365
|
+
if (this.minor !== 0 || this.patch !== 0 || this.prerelease.length === 0) {
|
|
366
|
+
this.major++;
|
|
367
|
+
}
|
|
368
|
+
this.minor = 0;
|
|
369
|
+
this.patch = 0;
|
|
370
|
+
this.prerelease = [];
|
|
371
|
+
break;
|
|
372
|
+
case "minor":
|
|
373
|
+
if (this.patch !== 0 || this.prerelease.length === 0) {
|
|
374
|
+
this.minor++;
|
|
375
|
+
}
|
|
376
|
+
this.patch = 0;
|
|
377
|
+
this.prerelease = [];
|
|
378
|
+
break;
|
|
379
|
+
case "patch":
|
|
380
|
+
if (this.prerelease.length === 0) {
|
|
381
|
+
this.patch++;
|
|
382
|
+
}
|
|
383
|
+
this.prerelease = [];
|
|
384
|
+
break;
|
|
385
|
+
case "pre": {
|
|
386
|
+
const base = Number(identifierBase) ? 1 : 0;
|
|
387
|
+
if (this.prerelease.length === 0) {
|
|
388
|
+
this.prerelease = [base];
|
|
389
|
+
} else {
|
|
390
|
+
let i = this.prerelease.length;
|
|
391
|
+
while (--i >= 0) {
|
|
392
|
+
if (typeof this.prerelease[i] === "number") {
|
|
393
|
+
this.prerelease[i]++;
|
|
394
|
+
i = -2;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
if (i === -1) {
|
|
398
|
+
if (identifier === this.prerelease.join(".") && identifierBase === false) {
|
|
399
|
+
throw new Error("invalid increment argument: identifier already exists");
|
|
400
|
+
}
|
|
401
|
+
this.prerelease.push(base);
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
if (identifier) {
|
|
405
|
+
let prerelease = [identifier, base];
|
|
406
|
+
if (identifierBase === false) {
|
|
407
|
+
prerelease = [identifier];
|
|
408
|
+
}
|
|
409
|
+
if (compareIdentifiers(this.prerelease[0], identifier) === 0) {
|
|
410
|
+
if (isNaN(this.prerelease[1])) {
|
|
411
|
+
this.prerelease = prerelease;
|
|
412
|
+
}
|
|
413
|
+
} else {
|
|
414
|
+
this.prerelease = prerelease;
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
break;
|
|
418
|
+
}
|
|
419
|
+
default:
|
|
420
|
+
throw new Error(`invalid increment argument: ${release}`);
|
|
421
|
+
}
|
|
422
|
+
this.raw = this.format();
|
|
423
|
+
if (this.build.length) {
|
|
424
|
+
this.raw += `+${this.build.join(".")}`;
|
|
425
|
+
}
|
|
426
|
+
return this;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
module.exports = SemVer;
|
|
430
|
+
});
|
|
431
|
+
|
|
432
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/functions/parse.js
|
|
433
|
+
var require_parse = __commonJS((exports, module) => {
|
|
434
|
+
var SemVer = require_semver();
|
|
435
|
+
var parse = (version, options, throwErrors = false) => {
|
|
436
|
+
if (version instanceof SemVer) {
|
|
437
|
+
return version;
|
|
438
|
+
}
|
|
439
|
+
try {
|
|
440
|
+
return new SemVer(version, options);
|
|
441
|
+
} catch (er) {
|
|
442
|
+
if (!throwErrors) {
|
|
443
|
+
return null;
|
|
444
|
+
}
|
|
445
|
+
throw er;
|
|
446
|
+
}
|
|
447
|
+
};
|
|
448
|
+
module.exports = parse;
|
|
449
|
+
});
|
|
450
|
+
|
|
451
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/functions/compare.js
|
|
452
|
+
var require_compare = __commonJS((exports, module) => {
|
|
453
|
+
var SemVer = require_semver();
|
|
454
|
+
var compare = (a, b, loose) => new SemVer(a, loose).compare(new SemVer(b, loose));
|
|
455
|
+
module.exports = compare;
|
|
456
|
+
});
|
|
457
|
+
|
|
458
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/functions/gt.js
|
|
459
|
+
var require_gt = __commonJS((exports, module) => {
|
|
460
|
+
var compare = require_compare();
|
|
461
|
+
var gt = (a, b, loose) => compare(a, b, loose) > 0;
|
|
462
|
+
module.exports = gt;
|
|
463
|
+
});
|
|
464
|
+
|
|
465
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/functions/lt.js
|
|
466
|
+
var require_lt = __commonJS((exports, module) => {
|
|
467
|
+
var compare = require_compare();
|
|
468
|
+
var lt = (a, b, loose) => compare(a, b, loose) < 0;
|
|
469
|
+
module.exports = lt;
|
|
470
|
+
});
|
|
471
|
+
|
|
472
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/functions/eq.js
|
|
473
|
+
var require_eq = __commonJS((exports, module) => {
|
|
474
|
+
var compare = require_compare();
|
|
475
|
+
var eq = (a, b, loose) => compare(a, b, loose) === 0;
|
|
476
|
+
module.exports = eq;
|
|
477
|
+
});
|
|
478
|
+
|
|
479
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/functions/neq.js
|
|
480
|
+
var require_neq = __commonJS((exports, module) => {
|
|
481
|
+
var compare = require_compare();
|
|
482
|
+
var neq = (a, b, loose) => compare(a, b, loose) !== 0;
|
|
483
|
+
module.exports = neq;
|
|
484
|
+
});
|
|
485
|
+
|
|
486
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/functions/gte.js
|
|
487
|
+
var require_gte = __commonJS((exports, module) => {
|
|
488
|
+
var compare = require_compare();
|
|
489
|
+
var gte = (a, b, loose) => compare(a, b, loose) >= 0;
|
|
490
|
+
module.exports = gte;
|
|
491
|
+
});
|
|
492
|
+
|
|
493
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/functions/lte.js
|
|
494
|
+
var require_lte = __commonJS((exports, module) => {
|
|
495
|
+
var compare = require_compare();
|
|
496
|
+
var lte = (a, b, loose) => compare(a, b, loose) <= 0;
|
|
497
|
+
module.exports = lte;
|
|
498
|
+
});
|
|
499
|
+
|
|
500
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/functions/cmp.js
|
|
501
|
+
var require_cmp = __commonJS((exports, module) => {
|
|
502
|
+
var eq = require_eq();
|
|
503
|
+
var neq = require_neq();
|
|
504
|
+
var gt = require_gt();
|
|
505
|
+
var gte = require_gte();
|
|
506
|
+
var lt = require_lt();
|
|
507
|
+
var lte = require_lte();
|
|
508
|
+
var cmp = (a, op, b, loose) => {
|
|
509
|
+
switch (op) {
|
|
510
|
+
case "===":
|
|
511
|
+
if (typeof a === "object") {
|
|
512
|
+
a = a.version;
|
|
513
|
+
}
|
|
514
|
+
if (typeof b === "object") {
|
|
515
|
+
b = b.version;
|
|
516
|
+
}
|
|
517
|
+
return a === b;
|
|
518
|
+
case "!==":
|
|
519
|
+
if (typeof a === "object") {
|
|
520
|
+
a = a.version;
|
|
521
|
+
}
|
|
522
|
+
if (typeof b === "object") {
|
|
523
|
+
b = b.version;
|
|
524
|
+
}
|
|
525
|
+
return a !== b;
|
|
526
|
+
case "":
|
|
527
|
+
case "=":
|
|
528
|
+
case "==":
|
|
529
|
+
return eq(a, b, loose);
|
|
530
|
+
case "!=":
|
|
531
|
+
return neq(a, b, loose);
|
|
532
|
+
case ">":
|
|
533
|
+
return gt(a, b, loose);
|
|
534
|
+
case ">=":
|
|
535
|
+
return gte(a, b, loose);
|
|
536
|
+
case "<":
|
|
537
|
+
return lt(a, b, loose);
|
|
538
|
+
case "<=":
|
|
539
|
+
return lte(a, b, loose);
|
|
540
|
+
default:
|
|
541
|
+
throw new TypeError(`Invalid operator: ${op}`);
|
|
542
|
+
}
|
|
543
|
+
};
|
|
544
|
+
module.exports = cmp;
|
|
545
|
+
});
|
|
546
|
+
|
|
547
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/functions/coerce.js
|
|
548
|
+
var require_coerce = __commonJS((exports, module) => {
|
|
549
|
+
var SemVer = require_semver();
|
|
550
|
+
var parse = require_parse();
|
|
551
|
+
var { safeRe: re, t } = require_re();
|
|
552
|
+
var coerce = (version, options) => {
|
|
553
|
+
if (version instanceof SemVer) {
|
|
554
|
+
return version;
|
|
555
|
+
}
|
|
556
|
+
if (typeof version === "number") {
|
|
557
|
+
version = String(version);
|
|
558
|
+
}
|
|
559
|
+
if (typeof version !== "string") {
|
|
560
|
+
return null;
|
|
561
|
+
}
|
|
562
|
+
options = options || {};
|
|
563
|
+
let match = null;
|
|
564
|
+
if (!options.rtl) {
|
|
565
|
+
match = version.match(options.includePrerelease ? re[t.COERCEFULL] : re[t.COERCE]);
|
|
566
|
+
} else {
|
|
567
|
+
const coerceRtlRegex = options.includePrerelease ? re[t.COERCERTLFULL] : re[t.COERCERTL];
|
|
568
|
+
let next;
|
|
569
|
+
while ((next = coerceRtlRegex.exec(version)) && (!match || match.index + match[0].length !== version.length)) {
|
|
570
|
+
if (!match || next.index + next[0].length !== match.index + match[0].length) {
|
|
571
|
+
match = next;
|
|
572
|
+
}
|
|
573
|
+
coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;
|
|
574
|
+
}
|
|
575
|
+
coerceRtlRegex.lastIndex = -1;
|
|
576
|
+
}
|
|
577
|
+
if (match === null) {
|
|
578
|
+
return null;
|
|
579
|
+
}
|
|
580
|
+
const major = match[2];
|
|
581
|
+
const minor = match[3] || "0";
|
|
582
|
+
const patch = match[4] || "0";
|
|
583
|
+
const prerelease = options.includePrerelease && match[5] ? `-${match[5]}` : "";
|
|
584
|
+
const build = options.includePrerelease && match[6] ? `+${match[6]}` : "";
|
|
585
|
+
return parse(`${major}.${minor}.${patch}${prerelease}${build}`, options);
|
|
586
|
+
};
|
|
587
|
+
module.exports = coerce;
|
|
588
|
+
});
|
|
589
|
+
|
|
590
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/internal/lrucache.js
|
|
591
|
+
var require_lrucache = __commonJS((exports, module) => {
|
|
592
|
+
class LRUCache {
|
|
593
|
+
constructor() {
|
|
594
|
+
this.max = 1000;
|
|
595
|
+
this.map = new Map;
|
|
596
|
+
}
|
|
597
|
+
get(key) {
|
|
598
|
+
const value = this.map.get(key);
|
|
599
|
+
if (value === undefined) {
|
|
600
|
+
return;
|
|
601
|
+
} else {
|
|
602
|
+
this.map.delete(key);
|
|
603
|
+
this.map.set(key, value);
|
|
604
|
+
return value;
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
delete(key) {
|
|
608
|
+
return this.map.delete(key);
|
|
609
|
+
}
|
|
610
|
+
set(key, value) {
|
|
611
|
+
const deleted = this.delete(key);
|
|
612
|
+
if (!deleted && value !== undefined) {
|
|
613
|
+
if (this.map.size >= this.max) {
|
|
614
|
+
const firstKey = this.map.keys().next().value;
|
|
615
|
+
this.delete(firstKey);
|
|
616
|
+
}
|
|
617
|
+
this.map.set(key, value);
|
|
618
|
+
}
|
|
619
|
+
return this;
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
module.exports = LRUCache;
|
|
623
|
+
});
|
|
624
|
+
|
|
625
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/classes/comparator.js
|
|
626
|
+
var require_comparator = __commonJS((exports, module) => {
|
|
627
|
+
var ANY = Symbol("SemVer ANY");
|
|
628
|
+
|
|
629
|
+
class Comparator {
|
|
630
|
+
static get ANY() {
|
|
631
|
+
return ANY;
|
|
632
|
+
}
|
|
633
|
+
constructor(comp, options) {
|
|
634
|
+
options = parseOptions(options);
|
|
635
|
+
if (comp instanceof Comparator) {
|
|
636
|
+
if (comp.loose === !!options.loose) {
|
|
637
|
+
return comp;
|
|
638
|
+
} else {
|
|
639
|
+
comp = comp.value;
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
comp = comp.trim().split(/\s+/).join(" ");
|
|
643
|
+
debug("comparator", comp, options);
|
|
644
|
+
this.options = options;
|
|
645
|
+
this.loose = !!options.loose;
|
|
646
|
+
this.parse(comp);
|
|
647
|
+
if (this.semver === ANY) {
|
|
648
|
+
this.value = "";
|
|
649
|
+
} else {
|
|
650
|
+
this.value = this.operator + this.semver.version;
|
|
651
|
+
}
|
|
652
|
+
debug("comp", this);
|
|
653
|
+
}
|
|
654
|
+
parse(comp) {
|
|
655
|
+
const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR];
|
|
656
|
+
const m = comp.match(r);
|
|
657
|
+
if (!m) {
|
|
658
|
+
throw new TypeError(`Invalid comparator: ${comp}`);
|
|
659
|
+
}
|
|
660
|
+
this.operator = m[1] !== undefined ? m[1] : "";
|
|
661
|
+
if (this.operator === "=") {
|
|
662
|
+
this.operator = "";
|
|
663
|
+
}
|
|
664
|
+
if (!m[2]) {
|
|
665
|
+
this.semver = ANY;
|
|
666
|
+
} else {
|
|
667
|
+
this.semver = new SemVer(m[2], this.options.loose);
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
toString() {
|
|
671
|
+
return this.value;
|
|
672
|
+
}
|
|
673
|
+
test(version) {
|
|
674
|
+
debug("Comparator.test", version, this.options.loose);
|
|
675
|
+
if (this.semver === ANY || version === ANY) {
|
|
676
|
+
return true;
|
|
677
|
+
}
|
|
678
|
+
if (typeof version === "string") {
|
|
679
|
+
try {
|
|
680
|
+
version = new SemVer(version, this.options);
|
|
681
|
+
} catch (er) {
|
|
682
|
+
return false;
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
return cmp(version, this.operator, this.semver, this.options);
|
|
686
|
+
}
|
|
687
|
+
intersects(comp, options) {
|
|
688
|
+
if (!(comp instanceof Comparator)) {
|
|
689
|
+
throw new TypeError("a Comparator is required");
|
|
690
|
+
}
|
|
691
|
+
if (this.operator === "") {
|
|
692
|
+
if (this.value === "") {
|
|
693
|
+
return true;
|
|
694
|
+
}
|
|
695
|
+
return new Range(comp.value, options).test(this.value);
|
|
696
|
+
} else if (comp.operator === "") {
|
|
697
|
+
if (comp.value === "") {
|
|
698
|
+
return true;
|
|
699
|
+
}
|
|
700
|
+
return new Range(this.value, options).test(comp.semver);
|
|
701
|
+
}
|
|
702
|
+
options = parseOptions(options);
|
|
703
|
+
if (options.includePrerelease && (this.value === "<0.0.0-0" || comp.value === "<0.0.0-0")) {
|
|
704
|
+
return false;
|
|
705
|
+
}
|
|
706
|
+
if (!options.includePrerelease && (this.value.startsWith("<0.0.0") || comp.value.startsWith("<0.0.0"))) {
|
|
707
|
+
return false;
|
|
708
|
+
}
|
|
709
|
+
if (this.operator.startsWith(">") && comp.operator.startsWith(">")) {
|
|
710
|
+
return true;
|
|
711
|
+
}
|
|
712
|
+
if (this.operator.startsWith("<") && comp.operator.startsWith("<")) {
|
|
713
|
+
return true;
|
|
714
|
+
}
|
|
715
|
+
if (this.semver.version === comp.semver.version && this.operator.includes("=") && comp.operator.includes("=")) {
|
|
716
|
+
return true;
|
|
717
|
+
}
|
|
718
|
+
if (cmp(this.semver, "<", comp.semver, options) && this.operator.startsWith(">") && comp.operator.startsWith("<")) {
|
|
719
|
+
return true;
|
|
720
|
+
}
|
|
721
|
+
if (cmp(this.semver, ">", comp.semver, options) && this.operator.startsWith("<") && comp.operator.startsWith(">")) {
|
|
722
|
+
return true;
|
|
723
|
+
}
|
|
724
|
+
return false;
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
module.exports = Comparator;
|
|
728
|
+
var parseOptions = require_parse_options();
|
|
729
|
+
var { safeRe: re, t } = require_re();
|
|
730
|
+
var cmp = require_cmp();
|
|
731
|
+
var debug = require_debug();
|
|
732
|
+
var SemVer = require_semver();
|
|
733
|
+
var Range = require_range();
|
|
734
|
+
});
|
|
735
|
+
|
|
736
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/classes/range.js
|
|
737
|
+
var require_range = __commonJS((exports, module) => {
|
|
738
|
+
var SPACE_CHARACTERS = /\s+/g;
|
|
739
|
+
|
|
740
|
+
class Range {
|
|
741
|
+
constructor(range, options) {
|
|
742
|
+
options = parseOptions(options);
|
|
743
|
+
if (range instanceof Range) {
|
|
744
|
+
if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) {
|
|
745
|
+
return range;
|
|
746
|
+
} else {
|
|
747
|
+
return new Range(range.raw, options);
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
if (range instanceof Comparator) {
|
|
751
|
+
this.raw = range.value;
|
|
752
|
+
this.set = [[range]];
|
|
753
|
+
this.formatted = undefined;
|
|
754
|
+
return this;
|
|
755
|
+
}
|
|
756
|
+
this.options = options;
|
|
757
|
+
this.loose = !!options.loose;
|
|
758
|
+
this.includePrerelease = !!options.includePrerelease;
|
|
759
|
+
this.raw = range.trim().replace(SPACE_CHARACTERS, " ");
|
|
760
|
+
this.set = this.raw.split("||").map((r) => this.parseRange(r.trim())).filter((c) => c.length);
|
|
761
|
+
if (!this.set.length) {
|
|
762
|
+
throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
|
|
763
|
+
}
|
|
764
|
+
if (this.set.length > 1) {
|
|
765
|
+
const first = this.set[0];
|
|
766
|
+
this.set = this.set.filter((c) => !isNullSet(c[0]));
|
|
767
|
+
if (this.set.length === 0) {
|
|
768
|
+
this.set = [first];
|
|
769
|
+
} else if (this.set.length > 1) {
|
|
770
|
+
for (const c of this.set) {
|
|
771
|
+
if (c.length === 1 && isAny(c[0])) {
|
|
772
|
+
this.set = [c];
|
|
773
|
+
break;
|
|
774
|
+
}
|
|
775
|
+
}
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
this.formatted = undefined;
|
|
779
|
+
}
|
|
780
|
+
get range() {
|
|
781
|
+
if (this.formatted === undefined) {
|
|
782
|
+
this.formatted = "";
|
|
783
|
+
for (let i = 0;i < this.set.length; i++) {
|
|
784
|
+
if (i > 0) {
|
|
785
|
+
this.formatted += "||";
|
|
786
|
+
}
|
|
787
|
+
const comps = this.set[i];
|
|
788
|
+
for (let k = 0;k < comps.length; k++) {
|
|
789
|
+
if (k > 0) {
|
|
790
|
+
this.formatted += " ";
|
|
791
|
+
}
|
|
792
|
+
this.formatted += comps[k].toString().trim();
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
return this.formatted;
|
|
797
|
+
}
|
|
798
|
+
format() {
|
|
799
|
+
return this.range;
|
|
800
|
+
}
|
|
801
|
+
toString() {
|
|
802
|
+
return this.range;
|
|
803
|
+
}
|
|
804
|
+
parseRange(range) {
|
|
805
|
+
const memoOpts = (this.options.includePrerelease && FLAG_INCLUDE_PRERELEASE) | (this.options.loose && FLAG_LOOSE);
|
|
806
|
+
const memoKey = memoOpts + ":" + range;
|
|
807
|
+
const cached = cache.get(memoKey);
|
|
808
|
+
if (cached) {
|
|
809
|
+
return cached;
|
|
810
|
+
}
|
|
811
|
+
const loose = this.options.loose;
|
|
812
|
+
const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE];
|
|
813
|
+
range = range.replace(hr, hyphenReplace(this.options.includePrerelease));
|
|
814
|
+
debug("hyphen replace", range);
|
|
815
|
+
range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace);
|
|
816
|
+
debug("comparator trim", range);
|
|
817
|
+
range = range.replace(re[t.TILDETRIM], tildeTrimReplace);
|
|
818
|
+
debug("tilde trim", range);
|
|
819
|
+
range = range.replace(re[t.CARETTRIM], caretTrimReplace);
|
|
820
|
+
debug("caret trim", range);
|
|
821
|
+
let rangeList = range.split(" ").map((comp) => parseComparator(comp, this.options)).join(" ").split(/\s+/).map((comp) => replaceGTE0(comp, this.options));
|
|
822
|
+
if (loose) {
|
|
823
|
+
rangeList = rangeList.filter((comp) => {
|
|
824
|
+
debug("loose invalid filter", comp, this.options);
|
|
825
|
+
return !!comp.match(re[t.COMPARATORLOOSE]);
|
|
826
|
+
});
|
|
827
|
+
}
|
|
828
|
+
debug("range list", rangeList);
|
|
829
|
+
const rangeMap = new Map;
|
|
830
|
+
const comparators = rangeList.map((comp) => new Comparator(comp, this.options));
|
|
831
|
+
for (const comp of comparators) {
|
|
832
|
+
if (isNullSet(comp)) {
|
|
833
|
+
return [comp];
|
|
834
|
+
}
|
|
835
|
+
rangeMap.set(comp.value, comp);
|
|
836
|
+
}
|
|
837
|
+
if (rangeMap.size > 1 && rangeMap.has("")) {
|
|
838
|
+
rangeMap.delete("");
|
|
839
|
+
}
|
|
840
|
+
const result = [...rangeMap.values()];
|
|
841
|
+
cache.set(memoKey, result);
|
|
842
|
+
return result;
|
|
843
|
+
}
|
|
844
|
+
intersects(range, options) {
|
|
845
|
+
if (!(range instanceof Range)) {
|
|
846
|
+
throw new TypeError("a Range is required");
|
|
847
|
+
}
|
|
848
|
+
return this.set.some((thisComparators) => {
|
|
849
|
+
return isSatisfiable(thisComparators, options) && range.set.some((rangeComparators) => {
|
|
850
|
+
return isSatisfiable(rangeComparators, options) && thisComparators.every((thisComparator) => {
|
|
851
|
+
return rangeComparators.every((rangeComparator) => {
|
|
852
|
+
return thisComparator.intersects(rangeComparator, options);
|
|
853
|
+
});
|
|
854
|
+
});
|
|
855
|
+
});
|
|
856
|
+
});
|
|
857
|
+
}
|
|
858
|
+
test(version) {
|
|
859
|
+
if (!version) {
|
|
860
|
+
return false;
|
|
861
|
+
}
|
|
862
|
+
if (typeof version === "string") {
|
|
863
|
+
try {
|
|
864
|
+
version = new SemVer(version, this.options);
|
|
865
|
+
} catch (er) {
|
|
866
|
+
return false;
|
|
867
|
+
}
|
|
868
|
+
}
|
|
869
|
+
for (let i = 0;i < this.set.length; i++) {
|
|
870
|
+
if (testSet(this.set[i], version, this.options)) {
|
|
871
|
+
return true;
|
|
872
|
+
}
|
|
873
|
+
}
|
|
874
|
+
return false;
|
|
875
|
+
}
|
|
876
|
+
}
|
|
877
|
+
module.exports = Range;
|
|
878
|
+
var LRU = require_lrucache();
|
|
879
|
+
var cache = new LRU;
|
|
880
|
+
var parseOptions = require_parse_options();
|
|
881
|
+
var Comparator = require_comparator();
|
|
882
|
+
var debug = require_debug();
|
|
883
|
+
var SemVer = require_semver();
|
|
884
|
+
var {
|
|
885
|
+
safeRe: re,
|
|
886
|
+
t,
|
|
887
|
+
comparatorTrimReplace,
|
|
888
|
+
tildeTrimReplace,
|
|
889
|
+
caretTrimReplace
|
|
890
|
+
} = require_re();
|
|
891
|
+
var { FLAG_INCLUDE_PRERELEASE, FLAG_LOOSE } = require_constants();
|
|
892
|
+
var isNullSet = (c) => c.value === "<0.0.0-0";
|
|
893
|
+
var isAny = (c) => c.value === "";
|
|
894
|
+
var isSatisfiable = (comparators, options) => {
|
|
895
|
+
let result = true;
|
|
896
|
+
const remainingComparators = comparators.slice();
|
|
897
|
+
let testComparator = remainingComparators.pop();
|
|
898
|
+
while (result && remainingComparators.length) {
|
|
899
|
+
result = remainingComparators.every((otherComparator) => {
|
|
900
|
+
return testComparator.intersects(otherComparator, options);
|
|
901
|
+
});
|
|
902
|
+
testComparator = remainingComparators.pop();
|
|
903
|
+
}
|
|
904
|
+
return result;
|
|
905
|
+
};
|
|
906
|
+
var parseComparator = (comp, options) => {
|
|
907
|
+
comp = comp.replace(re[t.BUILD], "");
|
|
908
|
+
debug("comp", comp, options);
|
|
909
|
+
comp = replaceCarets(comp, options);
|
|
910
|
+
debug("caret", comp);
|
|
911
|
+
comp = replaceTildes(comp, options);
|
|
912
|
+
debug("tildes", comp);
|
|
913
|
+
comp = replaceXRanges(comp, options);
|
|
914
|
+
debug("xrange", comp);
|
|
915
|
+
comp = replaceStars(comp, options);
|
|
916
|
+
debug("stars", comp);
|
|
917
|
+
return comp;
|
|
918
|
+
};
|
|
919
|
+
var isX = (id) => !id || id.toLowerCase() === "x" || id === "*";
|
|
920
|
+
var replaceTildes = (comp, options) => {
|
|
921
|
+
return comp.trim().split(/\s+/).map((c) => replaceTilde(c, options)).join(" ");
|
|
922
|
+
};
|
|
923
|
+
var replaceTilde = (comp, options) => {
|
|
924
|
+
const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE];
|
|
925
|
+
return comp.replace(r, (_, M, m, p, pr) => {
|
|
926
|
+
debug("tilde", comp, _, M, m, p, pr);
|
|
927
|
+
let ret;
|
|
928
|
+
if (isX(M)) {
|
|
929
|
+
ret = "";
|
|
930
|
+
} else if (isX(m)) {
|
|
931
|
+
ret = `>=${M}.0.0 <${+M + 1}.0.0-0`;
|
|
932
|
+
} else if (isX(p)) {
|
|
933
|
+
ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`;
|
|
934
|
+
} else if (pr) {
|
|
935
|
+
debug("replaceTilde pr", pr);
|
|
936
|
+
ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
|
|
937
|
+
} else {
|
|
938
|
+
ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
|
|
939
|
+
}
|
|
940
|
+
debug("tilde return", ret);
|
|
941
|
+
return ret;
|
|
942
|
+
});
|
|
943
|
+
};
|
|
944
|
+
var replaceCarets = (comp, options) => {
|
|
945
|
+
return comp.trim().split(/\s+/).map((c) => replaceCaret(c, options)).join(" ");
|
|
946
|
+
};
|
|
947
|
+
var replaceCaret = (comp, options) => {
|
|
948
|
+
debug("caret", comp, options);
|
|
949
|
+
const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET];
|
|
950
|
+
const z = options.includePrerelease ? "-0" : "";
|
|
951
|
+
return comp.replace(r, (_, M, m, p, pr) => {
|
|
952
|
+
debug("caret", comp, _, M, m, p, pr);
|
|
953
|
+
let ret;
|
|
954
|
+
if (isX(M)) {
|
|
955
|
+
ret = "";
|
|
956
|
+
} else if (isX(m)) {
|
|
957
|
+
ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;
|
|
958
|
+
} else if (isX(p)) {
|
|
959
|
+
if (M === "0") {
|
|
960
|
+
ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;
|
|
961
|
+
} else {
|
|
962
|
+
ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;
|
|
963
|
+
}
|
|
964
|
+
} else if (pr) {
|
|
965
|
+
debug("replaceCaret pr", pr);
|
|
966
|
+
if (M === "0") {
|
|
967
|
+
if (m === "0") {
|
|
968
|
+
ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;
|
|
969
|
+
} else {
|
|
970
|
+
ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
|
|
971
|
+
}
|
|
972
|
+
} else {
|
|
973
|
+
ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;
|
|
974
|
+
}
|
|
975
|
+
} else {
|
|
976
|
+
debug("no pr");
|
|
977
|
+
if (M === "0") {
|
|
978
|
+
if (m === "0") {
|
|
979
|
+
ret = `>=${M}.${m}.${p}${z} <${M}.${m}.${+p + 1}-0`;
|
|
980
|
+
} else {
|
|
981
|
+
ret = `>=${M}.${m}.${p}${z} <${M}.${+m + 1}.0-0`;
|
|
982
|
+
}
|
|
983
|
+
} else {
|
|
984
|
+
ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
debug("caret return", ret);
|
|
988
|
+
return ret;
|
|
989
|
+
});
|
|
990
|
+
};
|
|
991
|
+
var replaceXRanges = (comp, options) => {
|
|
992
|
+
debug("replaceXRanges", comp, options);
|
|
993
|
+
return comp.split(/\s+/).map((c) => replaceXRange(c, options)).join(" ");
|
|
994
|
+
};
|
|
995
|
+
var replaceXRange = (comp, options) => {
|
|
996
|
+
comp = comp.trim();
|
|
997
|
+
const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE];
|
|
998
|
+
return comp.replace(r, (ret, gtlt, M, m, p, pr) => {
|
|
999
|
+
debug("xRange", comp, ret, gtlt, M, m, p, pr);
|
|
1000
|
+
const xM = isX(M);
|
|
1001
|
+
const xm = xM || isX(m);
|
|
1002
|
+
const xp = xm || isX(p);
|
|
1003
|
+
const anyX = xp;
|
|
1004
|
+
if (gtlt === "=" && anyX) {
|
|
1005
|
+
gtlt = "";
|
|
1006
|
+
}
|
|
1007
|
+
pr = options.includePrerelease ? "-0" : "";
|
|
1008
|
+
if (xM) {
|
|
1009
|
+
if (gtlt === ">" || gtlt === "<") {
|
|
1010
|
+
ret = "<0.0.0-0";
|
|
1011
|
+
} else {
|
|
1012
|
+
ret = "*";
|
|
1013
|
+
}
|
|
1014
|
+
} else if (gtlt && anyX) {
|
|
1015
|
+
if (xm) {
|
|
1016
|
+
m = 0;
|
|
1017
|
+
}
|
|
1018
|
+
p = 0;
|
|
1019
|
+
if (gtlt === ">") {
|
|
1020
|
+
gtlt = ">=";
|
|
1021
|
+
if (xm) {
|
|
1022
|
+
M = +M + 1;
|
|
1023
|
+
m = 0;
|
|
1024
|
+
p = 0;
|
|
1025
|
+
} else {
|
|
1026
|
+
m = +m + 1;
|
|
1027
|
+
p = 0;
|
|
1028
|
+
}
|
|
1029
|
+
} else if (gtlt === "<=") {
|
|
1030
|
+
gtlt = "<";
|
|
1031
|
+
if (xm) {
|
|
1032
|
+
M = +M + 1;
|
|
1033
|
+
} else {
|
|
1034
|
+
m = +m + 1;
|
|
1035
|
+
}
|
|
1036
|
+
}
|
|
1037
|
+
if (gtlt === "<") {
|
|
1038
|
+
pr = "-0";
|
|
1039
|
+
}
|
|
1040
|
+
ret = `${gtlt + M}.${m}.${p}${pr}`;
|
|
1041
|
+
} else if (xm) {
|
|
1042
|
+
ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`;
|
|
1043
|
+
} else if (xp) {
|
|
1044
|
+
ret = `>=${M}.${m}.0${pr} <${M}.${+m + 1}.0-0`;
|
|
1045
|
+
}
|
|
1046
|
+
debug("xRange return", ret);
|
|
1047
|
+
return ret;
|
|
1048
|
+
});
|
|
1049
|
+
};
|
|
1050
|
+
var replaceStars = (comp, options) => {
|
|
1051
|
+
debug("replaceStars", comp, options);
|
|
1052
|
+
return comp.trim().replace(re[t.STAR], "");
|
|
1053
|
+
};
|
|
1054
|
+
var replaceGTE0 = (comp, options) => {
|
|
1055
|
+
debug("replaceGTE0", comp, options);
|
|
1056
|
+
return comp.trim().replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], "");
|
|
1057
|
+
};
|
|
1058
|
+
var hyphenReplace = (incPr) => ($0, from, fM, fm, fp, fpr, fb, to, tM, tm, tp, tpr) => {
|
|
1059
|
+
if (isX(fM)) {
|
|
1060
|
+
from = "";
|
|
1061
|
+
} else if (isX(fm)) {
|
|
1062
|
+
from = `>=${fM}.0.0${incPr ? "-0" : ""}`;
|
|
1063
|
+
} else if (isX(fp)) {
|
|
1064
|
+
from = `>=${fM}.${fm}.0${incPr ? "-0" : ""}`;
|
|
1065
|
+
} else if (fpr) {
|
|
1066
|
+
from = `>=${from}`;
|
|
1067
|
+
} else {
|
|
1068
|
+
from = `>=${from}${incPr ? "-0" : ""}`;
|
|
1069
|
+
}
|
|
1070
|
+
if (isX(tM)) {
|
|
1071
|
+
to = "";
|
|
1072
|
+
} else if (isX(tm)) {
|
|
1073
|
+
to = `<${+tM + 1}.0.0-0`;
|
|
1074
|
+
} else if (isX(tp)) {
|
|
1075
|
+
to = `<${tM}.${+tm + 1}.0-0`;
|
|
1076
|
+
} else if (tpr) {
|
|
1077
|
+
to = `<=${tM}.${tm}.${tp}-${tpr}`;
|
|
1078
|
+
} else if (incPr) {
|
|
1079
|
+
to = `<${tM}.${tm}.${+tp + 1}-0`;
|
|
1080
|
+
} else {
|
|
1081
|
+
to = `<=${to}`;
|
|
1082
|
+
}
|
|
1083
|
+
return `${from} ${to}`.trim();
|
|
1084
|
+
};
|
|
1085
|
+
var testSet = (set, version, options) => {
|
|
1086
|
+
for (let i = 0;i < set.length; i++) {
|
|
1087
|
+
if (!set[i].test(version)) {
|
|
1088
|
+
return false;
|
|
1089
|
+
}
|
|
1090
|
+
}
|
|
1091
|
+
if (version.prerelease.length && !options.includePrerelease) {
|
|
1092
|
+
for (let i = 0;i < set.length; i++) {
|
|
1093
|
+
debug(set[i].semver);
|
|
1094
|
+
if (set[i].semver === Comparator.ANY) {
|
|
1095
|
+
continue;
|
|
1096
|
+
}
|
|
1097
|
+
if (set[i].semver.prerelease.length > 0) {
|
|
1098
|
+
const allowed = set[i].semver;
|
|
1099
|
+
if (allowed.major === version.major && allowed.minor === version.minor && allowed.patch === version.patch) {
|
|
1100
|
+
return true;
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
}
|
|
1104
|
+
return false;
|
|
1105
|
+
}
|
|
1106
|
+
return true;
|
|
1107
|
+
};
|
|
1108
|
+
});
|
|
1109
|
+
|
|
1110
|
+
// node_modules/.bun/semver@7.7.4/node_modules/semver/functions/satisfies.js
|
|
1111
|
+
var require_satisfies = __commonJS((exports, module) => {
|
|
1112
|
+
var Range = require_range();
|
|
1113
|
+
var satisfies = (version, range, options) => {
|
|
1114
|
+
try {
|
|
1115
|
+
range = new Range(range, options);
|
|
1116
|
+
} catch (er) {
|
|
1117
|
+
return false;
|
|
1118
|
+
}
|
|
1119
|
+
return range.test(version);
|
|
1120
|
+
};
|
|
1121
|
+
module.exports = satisfies;
|
|
1122
|
+
});
|
|
1123
|
+
|
|
1124
|
+
export { require_constants, require_re, require_identifiers, require_semver, require_parse, require_compare, require_gt, require_lt, require_eq, require_neq, require_gte, require_lte, require_cmp, require_coerce, require_range, require_comparator, require_satisfies };
|