claude-code-best 1.4.4 → 1.5.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.
- package/README.md +1 -0
- package/dist/{chunk-n18n51gd.js → chunk-07hgsrrj.js} +61 -65
- package/dist/{chunk-10cw48wr.js → chunk-08s2vf8j.js} +51 -52
- package/dist/{chunk-8zx2v88n.js → chunk-099vkedx.js} +2 -2
- package/dist/{chunk-bvzn7axc.js → chunk-0bbrkswa.js} +1 -1
- package/dist/{chunk-9k46vkdf.js → chunk-0bqtrr6h.js} +55 -56
- package/dist/{chunk-kbzh54rh.js → chunk-0g5qnby7.js} +6 -6
- package/dist/{chunk-g558vggk.js → chunk-0h1mmmrb.js} +15 -15
- package/dist/{chunk-z2e401ww.js → chunk-0j7426hg.js} +2 -2
- package/dist/{chunk-0z0m6mm5.js → chunk-0k1jmtw9.js} +2 -2
- package/dist/{chunk-478xh8c9.js → chunk-0k5v3m41.js} +49 -50
- package/dist/chunk-0kd8mq8j.js +36 -0
- package/dist/{chunk-3fp4s54c.js → chunk-0n0ca69d.js} +8 -8
- package/dist/{chunk-zn7egynp.js → chunk-0qakcnby.js} +47 -48
- package/dist/chunk-0s7za42b.js +14 -0
- package/dist/{chunk-xf0t82rg.js → chunk-0tmg91b1.js} +47 -48
- package/dist/{chunk-hrg9vq6p.js → chunk-0v20v2af.js} +3 -3
- package/dist/{chunk-d9280rcs.js → chunk-0v2awzd5.js} +1 -1
- package/dist/{chunk-8cx4mvde.js → chunk-0v590295.js} +148 -148
- package/dist/{chunk-g540y6p8.js → chunk-0va3y97h.js} +50 -51
- package/dist/{chunk-r26enj81.js → chunk-0vcpjqz5.js} +18 -18
- package/dist/{chunk-ay9nh032.js → chunk-0vvk6tv4.js} +15 -15
- package/dist/{chunk-76qapcaf.js → chunk-0w957a33.js} +50 -51
- package/dist/{chunk-rygn25nx.js → chunk-0wtwnyvg.js} +1 -1
- package/dist/chunk-0xereag4.js +173 -0
- package/dist/{chunk-00xx1rmz.js → chunk-0z5j99bj.js} +16 -16
- package/dist/{chunk-6bd8brc4.js → chunk-0zkw14gq.js} +3 -3
- package/dist/{chunk-jfhmk1c6.js → chunk-13zdd5e6.js} +38 -32
- package/dist/{chunk-xm9ccpyh.js → chunk-16gq8x0y.js} +49 -50
- package/dist/{chunk-cxqaz5vr.js → chunk-19gdjrk6.js} +3 -3
- package/dist/{chunk-strvbymz.js → chunk-1dym9vfh.js} +37 -31
- package/dist/chunk-1g68v32a.js +17 -0
- package/dist/{chunk-w0tvdc6h.js → chunk-1k83dgjb.js} +49 -50
- package/dist/{chunk-k9cthr5h.js → chunk-1kr4x0ec.js} +16 -16
- package/dist/chunk-1v0q0tce.js +104 -0
- package/dist/{chunk-f84rfz6r.js → chunk-1y0w6mjw.js} +48 -49
- package/dist/{chunk-gjfa8v40.js → chunk-1ymrygy1.js} +3 -3
- package/dist/{chunk-3ckfamg7.js → chunk-1zzfvmmk.js} +47 -48
- package/dist/{chunk-305t7jww.js → chunk-23j983cf.js} +48 -49
- package/dist/{chunk-2885j676.js → chunk-25xrykpm.js} +47 -48
- package/dist/{chunk-cjbw6hsq.js → chunk-26yzm962.js} +47 -48
- package/dist/{chunk-p6zhv3fj.js → chunk-279m39zm.js} +2 -2
- package/dist/chunk-27an25fd.js +118 -0
- package/dist/{chunk-c9js3490.js → chunk-2br81xts.js} +13 -13
- package/dist/chunk-2eftymgs.js +70 -0
- package/dist/{chunk-4th8hz38.js → chunk-2n53zm0g.js} +1 -1
- package/dist/{chunk-xt73r8zj.js → chunk-2ppy5p0x.js} +1 -1
- package/dist/chunk-2rhny2td.js +542 -0
- package/dist/{chunk-f3gcmncr.js → chunk-2s2z24wm.js} +47 -48
- package/dist/{chunk-mkq4vynt.js → chunk-2tt7xc2t.js} +2 -2
- package/dist/{chunk-ar1mw8p5.js → chunk-2wy13rhe.js} +14 -14
- package/dist/{chunk-1y0e25vy.js → chunk-2xx8f4qv.js} +4 -4
- package/dist/{chunk-sqmb5zqp.js → chunk-32mtrtm4.js} +48 -49
- package/dist/{chunk-wjhhetv4.js → chunk-32vdb088.js} +208 -202
- package/dist/{chunk-03qpgz7e.js → chunk-36yypykx.js} +2151 -2124
- package/dist/{chunk-8vs3nfx4.js → chunk-381w6mma.js} +1 -1
- package/dist/{chunk-5hd0n4kc.js → chunk-3cghr0yw.js} +47 -48
- package/dist/chunk-3dpdscmt.js +5332 -0
- package/dist/{chunk-x8s52epd.js → chunk-3dv5ctj4.js} +48 -49
- package/dist/{chunk-wcjz1zkw.js → chunk-3es5r0dx.js} +48 -49
- package/dist/chunk-3fapt8z5.js +3686 -0
- package/dist/{chunk-9eq853s5.js → chunk-3gpxmzz8.js} +3 -3
- package/dist/{chunk-jg2ngavx.js → chunk-3xh6v618.js} +47 -48
- package/dist/{chunk-9n28jzta.js → chunk-3xw21x85.js} +2 -2
- package/dist/{chunk-0wj5655r.js → chunk-3zyt28ea.js} +14 -14
- package/dist/{chunk-6k55dfby.js → chunk-40d286da.js} +5 -5
- package/dist/{chunk-d0ss5j5q.js → chunk-42k22r18.js} +1 -1
- package/dist/{chunk-5dvmrn7n.js → chunk-456m81he.js} +47 -48
- package/dist/{chunk-cm7cxa22.js → chunk-46bqcdpf.js} +5 -5
- package/dist/{chunk-w61znt0r.js → chunk-4b5peb6p.js} +7 -7
- package/dist/chunk-4cfcpzb1.js +25 -0
- package/dist/chunk-4ch5vxv6.js +55 -0
- package/dist/chunk-4drj3c7m.js +9 -0
- package/dist/{chunk-6ara055f.js → chunk-4h5zefyh.js} +48 -49
- package/dist/{chunk-65149q8s.js → chunk-4n6tnssg.js} +75 -50
- package/dist/{chunk-tj662ss5.js → chunk-4pr3ph3g.js} +14 -14
- package/dist/{chunk-kxht28q6.js → chunk-4sahp0qz.js} +93 -101
- package/dist/{chunk-sxceea76.js → chunk-4ymyjjq9.js} +6 -6
- package/dist/{chunk-9q2y2zh1.js → chunk-50ykc5qt.js} +2 -2
- package/dist/{chunk-m751vrjc.js → chunk-53dr4k73.js} +3 -3
- package/dist/chunk-58fwsj1y.js +718 -0
- package/dist/chunk-59dp4z1p.js +157 -0
- package/dist/chunk-5b4v2zkf.js +1095 -0
- package/dist/{chunk-d16pe6q0.js → chunk-5c62s229.js} +14 -14
- package/dist/{chunk-pvvn6rs5.js → chunk-5f4n0ywb.js} +48 -49
- package/dist/{chunk-dx7e3yvb.js → chunk-5gv4sshz.js} +47 -48
- package/dist/{chunk-xerkzn28.js → chunk-5m6942nd.js} +5 -5
- package/dist/{chunk-ykr5qx9v.js → chunk-5nccnh01.js} +123 -103
- package/dist/{chunk-5n479b51.js → chunk-5q5xcm1a.js} +47 -48
- package/dist/{chunk-9x6kxrmf.js → chunk-5wq9nsdc.js} +3 -3
- package/dist/{chunk-tfsfw21c.js → chunk-5x2nq6b9.js} +55 -58
- package/dist/{chunk-br2fc21h.js → chunk-5y6k4xrs.js} +2 -2
- package/dist/{chunk-yvt4w0wr.js → chunk-63q03fkn.js} +47 -48
- package/dist/{chunk-6ybnndcm.js → chunk-65w3ek1a.js} +17 -17
- package/dist/{chunk-c81b5e4c.js → chunk-67w1zken.js} +16 -16
- package/dist/{chunk-xq9xqjsc.js → chunk-6ccsyy1d.js} +1 -1
- package/dist/{chunk-fhfp2q8c.js → chunk-6ct7fh1v.js} +3 -3
- package/dist/{chunk-4nv4wh05.js → chunk-6d1y8a8t.js} +2 -2
- package/dist/{chunk-4t6p7q4x.js → chunk-6dcmw81a.js} +22 -22
- package/dist/{chunk-25x89wym.js → chunk-6eb1nz6v.js} +3 -3
- package/dist/{chunk-z2zk7g57.js → chunk-6frqd366.js} +50 -51
- package/dist/chunk-6m81e182.js +81 -0
- package/dist/{chunk-j6k3zjb5.js → chunk-6ns89pft.js} +25 -17
- package/dist/chunk-6vqkv5g7.js +256 -0
- package/dist/{chunk-qk1txvrw.js → chunk-6weddn5h.js} +49 -50
- package/dist/{chunk-3n6xcqc2.js → chunk-7a6r0k3m.js} +47 -48
- package/dist/{chunk-e4an0rhr.js → chunk-7b2e9e81.js} +15 -17
- package/dist/{chunk-d5qv71vm.js → chunk-7bc12031.js} +14 -12
- package/dist/{chunk-cjjq2j2b.js → chunk-7brvkna2.js} +53 -54
- package/dist/{chunk-yqy9m4km.js → chunk-7bs8swa2.js} +7 -7
- package/dist/{chunk-t53aq97s.js → chunk-7dgqzj7h.js} +50 -51
- package/dist/{chunk-maf8nerb.js → chunk-7dk4m49a.js} +48 -49
- package/dist/{chunk-y7py934d.js → chunk-7e9hc8ce.js} +52 -53
- package/dist/{chunk-90wp6wez.js → chunk-7ebcff63.js} +2 -2
- package/dist/{chunk-t5dxb7t7.js → chunk-7ecg65mr.js} +1 -1
- package/dist/{chunk-zttmdag3.js → chunk-7fht54sw.js} +1 -1
- package/dist/{chunk-j5kvrt9y.js → chunk-7j845cqe.js} +47 -48
- package/dist/chunk-7jk88vww.js +782 -0
- package/dist/{chunk-rwzm45v5.js → chunk-7kfb7tqj.js} +2 -2
- package/dist/{chunk-rbkhemh9.js → chunk-7p437ydk.js} +37 -31
- package/dist/{chunk-a9zh40sj.js → chunk-7q7h7msb.js} +3 -3
- package/dist/{chunk-rpp3r30z.js → chunk-7ye0arvq.js} +1 -1
- package/dist/{chunk-db7qenhh.js → chunk-7z17cw4h.js} +47 -48
- package/dist/{chunk-hxc8e6wd.js → chunk-7zrkp054.js} +2 -2
- package/dist/chunk-82jkr65n.js +16 -0
- package/dist/{chunk-xh0gfn3x.js → chunk-838naekw.js} +2 -2
- package/dist/{chunk-5wsvwc5e.js → chunk-879maaae.js} +47 -48
- package/dist/chunk-87zgmycv.js +65 -0
- package/dist/{chunk-qfbttb4x.js → chunk-8shx4hgv.js} +48 -49
- package/dist/{chunk-eh2p7txn.js → chunk-8vt2rmzz.js} +52 -53
- package/dist/{chunk-ndq2y6sc.js → chunk-8wmyjwn2.js} +2 -2
- package/dist/{chunk-27ezf4tc.js → chunk-8wq0z465.js} +1 -1
- package/dist/{chunk-p74998st.js → chunk-8ym1t31g.js} +53 -54
- package/dist/{chunk-vazn9zr8.js → chunk-8z33fy5n.js} +49 -50
- package/dist/chunk-91abjr1g.js +29 -0
- package/dist/{chunk-g649rtg8.js → chunk-9230kmx2.js} +7 -6
- package/dist/{chunk-s39ksgef.js → chunk-93qhgq6p.js} +1 -1
- package/dist/{chunk-m0pkp5ga.js → chunk-9629mtdz.js} +1 -1
- package/dist/{chunk-kttp77s8.js → chunk-9b04n6d1.js} +1 -1
- package/dist/{chunk-pw8kw48d.js → chunk-9fpha2xv.js} +6 -6
- package/dist/{chunk-469hyn07.js → chunk-9stsxjba.js} +4 -4
- package/dist/{chunk-0mvnb624.js → chunk-9t7nxd80.js} +1 -1
- package/dist/{chunk-b9xq4536.js → chunk-9vebtp7v.js} +52 -53
- package/dist/{chunk-3ktg0bfz.js → chunk-a7kdj8mj.js} +54 -55
- package/dist/{chunk-6jpdf1q6.js → chunk-acts7vdr.js} +10 -10
- package/dist/{chunk-2p4y0dj6.js → chunk-adgamch7.js} +57 -60
- package/dist/{chunk-hnq3w6tx.js → chunk-ahebrd5y.js} +5 -5
- package/dist/{chunk-fngdgt2f.js → chunk-am5cn48y.js} +4 -4
- package/dist/{chunk-5q056cze.js → chunk-apwjfffr.js} +1 -1
- package/dist/{chunk-wv700xtn.js → chunk-ayn250r2.js} +16 -16
- package/dist/chunk-b0bk6bxs.js +742 -0
- package/dist/{chunk-c358prbg.js → chunk-b0yyp8et.js} +4210 -253
- package/dist/{chunk-ce0sqtyk.js → chunk-bg3zs6s3.js} +1 -1
- package/dist/chunk-btnvjcc5.js +15 -0
- package/dist/{chunk-32gxxymn.js → chunk-by7nh2js.js} +18 -18
- package/dist/{chunk-3g4s34f4.js → chunk-c0yhh86m.js} +3 -3
- package/dist/{chunk-d7zw0dtv.js → chunk-c68754tz.js} +5 -5
- package/dist/chunk-cga5sq7g.js +41 -0
- package/dist/{chunk-jstky2ff.js → chunk-cjzk6t5c.js} +1 -1
- package/dist/chunk-ck06sqpy.js +220 -0
- package/dist/{chunk-mffjgywd.js → chunk-ck3q71vq.js} +2 -2
- package/dist/{chunk-gtzjdd18.js → chunk-cqbkd5ec.js} +3 -3
- package/dist/{chunk-3sbbxqm9.js → chunk-cqym51bf.js} +6 -6
- package/dist/{chunk-8rd1b3jk.js → chunk-cvqjhmqj.js} +56 -57
- package/dist/{chunk-5re3kwbc.js → chunk-cxy1ed0h.js} +3 -3
- package/dist/{chunk-a4c4m0nx.js → chunk-czjvd1xh.js} +91 -1806
- package/dist/{chunk-91fs1ha7.js → chunk-d0hj14fq.js} +65 -66
- package/dist/{chunk-66a2h4gk.js → chunk-d2kj6nek.js} +2 -2
- package/dist/{chunk-dtxakwbd.js → chunk-d37y1qja.js} +53 -54
- package/dist/{chunk-j6e8g1ms.js → chunk-d4x13kaa.js} +53 -54
- package/dist/{chunk-1npsp555.js → chunk-d6kw0esk.js} +1200 -161
- package/dist/{chunk-f7qkp4ha.js → chunk-d7jqw171.js} +47 -48
- package/dist/{chunk-f4htq4m4.js → chunk-d7xarb4w.js} +50 -51
- package/dist/{chunk-mq1c3epq.js → chunk-db3pr49y.js} +1 -1
- package/dist/{chunk-f3absj1f.js → chunk-dbfg6qhf.js} +2 -2
- package/dist/{chunk-evv7sxhw.js → chunk-dcs7myc3.js} +7 -7
- package/dist/{chunk-796a9b0z.js → chunk-ddyjgjpq.js} +47 -48
- package/dist/chunk-dgv19cce.js +183 -0
- package/dist/{chunk-t7v7can7.js → chunk-djrgjmyj.js} +1 -1
- package/dist/{chunk-sj43vmjm.js → chunk-djye5k50.js} +56 -59
- package/dist/{chunk-zkskmsjq.js → chunk-dknvhgkn.js} +3 -3
- package/dist/{chunk-s2t3qrte.js → chunk-drth8ce0.js} +1 -1
- package/dist/{chunk-p20wvv03.js → chunk-dt26hy6y.js} +1 -1
- package/dist/{chunk-xxr3cssg.js → chunk-dw5n6pr6.js} +47 -48
- package/dist/{chunk-ze6zvkg6.js → chunk-dxcr07z5.js} +4 -4
- package/dist/{chunk-szxy7bkh.js → chunk-dz32qcdd.js} +1 -1
- package/dist/chunk-e2cwk4hm.js +1185 -0
- package/dist/{chunk-52008rca.js → chunk-e50jgy7e.js} +14 -14
- package/dist/{chunk-xcmxx87m.js → chunk-e6trsfsm.js} +47 -48
- package/dist/{chunk-kfxyghyf.js → chunk-e6x5rpgx.js} +2 -2
- package/dist/{chunk-gkjcnxfe.js → chunk-e84ydbsq.js} +49 -50
- package/dist/{chunk-s9wgk88b.js → chunk-e96pr3z1.js} +48 -49
- package/dist/{chunk-7b9jrkee.js → chunk-eaawf61a.js} +47 -48
- package/dist/{chunk-hfntc659.js → chunk-eck5mjcw.js} +47 -48
- package/dist/{chunk-vtnfq4vf.js → chunk-egtb28zm.js} +233 -256
- package/dist/chunk-enhtm7h3.js +1731 -0
- package/dist/{chunk-47agtw2e.js → chunk-ep3h3f40.js} +47 -48
- package/dist/{chunk-8x8n4xxy.js → chunk-eqrxxgwx.js} +47 -48
- package/dist/chunk-es6y15pn.js +42 -0
- package/dist/{chunk-g9rvvqdy.js → chunk-etjwrq2s.js} +27 -27
- package/dist/{chunk-5der176s.js → chunk-ezbeckn3.js} +74 -51
- package/dist/{chunk-3fqxcp51.js → chunk-f109n77b.js} +14 -12
- package/dist/{chunk-kw1hpgh9.js → chunk-f29erv6g.js} +1 -1
- package/dist/{chunk-wvpvhk63.js → chunk-f3hyhcgd.js} +48 -49
- package/dist/{chunk-tcwv6fd9.js → chunk-fc9we717.js} +57 -60
- package/dist/{chunk-djydtvkr.js → chunk-fekynwj1.js} +505 -211
- package/dist/{chunk-tjr7qjpt.js → chunk-fks8ej56.js} +49 -50
- package/dist/{chunk-q56tkhgr.js → chunk-frwxzq55.js} +47 -48
- package/dist/{chunk-tkvg1xnr.js → chunk-ftdfvq1w.js} +4 -4
- package/dist/{chunk-w4pyvjtz.js → chunk-fx0xd0ex.js} +4 -4
- package/dist/{chunk-xpsb3jm8.js → chunk-fx52a9s2.js} +1 -1
- package/dist/{chunk-94xzz1fg.js → chunk-fxgt3m0a.js} +47 -48
- package/dist/{chunk-rh6936pj.js → chunk-fxm5s7sf.js} +15 -15
- package/dist/{chunk-j08qxq0d.js → chunk-fy2qr4hw.js} +48 -49
- package/dist/{chunk-5aw4k8fc.js → chunk-fz395yre.js} +1 -1
- package/dist/{chunk-hxy8h592.js → chunk-g0pmcggh.js} +2 -2
- package/dist/{chunk-20dbexrf.js → chunk-g45rr3sj.js} +1 -1
- package/dist/{chunk-q27bsq0y.js → chunk-g5kf8gsq.js} +4 -4
- package/dist/{chunk-7578r1rd.js → chunk-g9p7fypd.js} +47 -48
- package/dist/{chunk-ep17krqe.js → chunk-gbjhmjds.js} +9 -35
- package/dist/chunk-gd1ye7ef.js +168 -0
- package/dist/{chunk-y9pjq9h1.js → chunk-gfmss0fm.js} +15 -15
- package/dist/{chunk-ez10rk09.js → chunk-gg7ay6js.js} +47 -48
- package/dist/{chunk-777vk9pb.js → chunk-gk6v4y3r.js} +36 -32
- package/dist/{chunk-6hb097d3.js → chunk-gpgcar7e.js} +49 -50
- package/dist/{chunk-vtvxtdmq.js → chunk-gps4nmr6.js} +47 -48
- package/dist/{chunk-20n52jxv.js → chunk-gsa7bq8w.js} +6 -8
- package/dist/{chunk-7e7cb0t6.js → chunk-gsh55gb1.js} +2 -2
- package/dist/{chunk-094n6jd6.js → chunk-gv7bchnx.js} +47 -48
- package/dist/{chunk-fmadtbcm.js → chunk-gvg7arvr.js} +47 -48
- package/dist/chunk-gxnyeps9.js +3 -3
- package/dist/{chunk-xw38vjj4.js → chunk-gy5rfgd4.js} +6 -6
- package/dist/{chunk-ma9s7ycf.js → chunk-gzsnwa2e.js} +2 -2
- package/dist/{chunk-4qqswajh.js → chunk-h2vxyvpa.js} +12 -14
- package/dist/{chunk-f8ad6drq.js → chunk-h9dtsc52.js} +51 -53
- package/dist/{chunk-xha58rh2.js → chunk-hjr7tc1g.js} +1 -1
- package/dist/{chunk-9dhy1ekj.js → chunk-hkfat5cj.js} +50 -51
- package/dist/{chunk-dgrwcrwx.js → chunk-hkk80362.js} +1 -1
- package/dist/{chunk-p523ftrq.js → chunk-hkqvtcn2.js} +1 -1
- package/dist/{chunk-tszkvvnq.js → chunk-hs7sxtea.js} +2 -2
- package/dist/{chunk-8ymf4e6z.js → chunk-hxc5rbra.js} +3 -3
- package/dist/{chunk-h7xct2p1.js → chunk-hz9ty6jz.js} +50 -51
- package/dist/{chunk-x9rddxdt.js → chunk-hzk6nn1a.js} +47 -48
- package/dist/{chunk-ptdf4e9y.js → chunk-hzq56eee.js} +15 -15
- package/dist/{chunk-bt64sq5y.js → chunk-j04z48rw.js} +2 -2
- package/dist/chunk-j99epwtm.js +703 -0
- package/dist/{chunk-zs5b1dgr.js → chunk-jdq8jgyg.js} +1 -1
- package/dist/chunk-jdx93dh4.js +412 -0
- package/dist/chunk-jfqdw43z.js +14 -0
- package/dist/{chunk-ej1wwrcw.js → chunk-jvwa5w8w.js} +440 -654
- package/dist/{chunk-krgdryc0.js → chunk-jxzrapdr.js} +47 -48
- package/dist/{chunk-q76tj8p6.js → chunk-k7qqw0mj.js} +4 -4
- package/dist/{chunk-a8ejc632.js → chunk-k97s93n9.js} +1 -1
- package/dist/{chunk-dc0zwsyd.js → chunk-kcewk85p.js} +2 -2
- package/dist/{chunk-5xbvemsj.js → chunk-kdbbs50z.js} +3 -3
- package/dist/{chunk-2qsaxjnq.js → chunk-ke0bvd5n.js} +48 -49
- package/dist/{chunk-qc94x3p3.js → chunk-kggr6n4m.js} +60 -63
- package/dist/{chunk-8yxajf0d.js → chunk-km3ssf62.js} +19 -19
- package/dist/{chunk-kbeyhztj.js → chunk-kmh848ar.js} +19 -19
- package/dist/{chunk-ptn9f3na.js → chunk-kmy230xj.js} +50 -51
- package/dist/{chunk-acn3w259.js → chunk-kpyj9z78.js} +1 -1
- package/dist/{chunk-ywc2acy0.js → chunk-kwrep6kh.js} +2 -2
- package/dist/chunk-kxqjncxw.js +35 -0
- package/dist/{chunk-gfex5hb6.js → chunk-kyddexms.js} +13 -19
- package/dist/{chunk-04tphv07.js → chunk-kyefv6ng.js} +16 -16
- package/dist/{chunk-4faf9wd3.js → chunk-kz44a3qf.js} +3 -3
- package/dist/{chunk-dy8tttdp.js → chunk-m0vj33nj.js} +3 -3
- package/dist/chunk-m2rg2m7x.js +910 -0
- package/dist/{chunk-pps04vej.js → chunk-mbg1aw69.js} +10 -10
- package/dist/{chunk-5v45gvyx.js → chunk-mbkp0n55.js} +25 -25
- package/dist/{chunk-cajvbw85.js → chunk-mc41nrsy.js} +15 -15
- package/dist/{chunk-x94fchq0.js → chunk-me5gz5wa.js} +14 -14
- package/dist/{chunk-yz8h8hk3.js → chunk-mg8jtbwg.js} +50 -51
- package/dist/{chunk-ve9cwe9g.js → chunk-mgkaqb94.js} +47 -48
- package/dist/{chunk-ajzahsxn.js → chunk-mhygj95j.js} +48 -49
- package/dist/{chunk-0vkx14y7.js → chunk-mjqazs3m.js} +2 -2
- package/dist/{chunk-wgxsm74y.js → chunk-mnfb10tx.js} +3 -3
- package/dist/{chunk-t138q38h.js → chunk-mp72s5hc.js} +1 -1
- package/dist/{chunk-v2jb74tk.js → chunk-mp7bn9nx.js} +47 -48
- package/dist/{chunk-2afqgmq4.js → chunk-ms5agen7.js} +47 -48
- package/dist/{chunk-1xw41svw.js → chunk-msehbnjp.js} +59 -60
- package/dist/{chunk-yy13r4f1.js → chunk-my9dkgm8.js} +118 -4
- package/dist/{chunk-n6gs8dkk.js → chunk-n7pwac8p.js} +15 -15
- package/dist/{chunk-5d2nad7e.js → chunk-n8fxmey8.js} +1 -1
- package/dist/{chunk-w51ffctd.js → chunk-nd8hhtqz.js} +1 -1
- package/dist/{chunk-s0kbrpnn.js → chunk-nehajf9x.js} +3 -5
- package/dist/{chunk-fz0ch109.js → chunk-ng6s8w0e.js} +2 -2
- package/dist/{chunk-1n3pvcxm.js → chunk-ngryd7gy.js} +1 -1
- package/dist/{chunk-0sge3cez.js → chunk-nhxygcn1.js} +49 -50
- package/dist/chunk-nv7eb4pc.js +22 -0
- package/dist/{chunk-f8mc5g94.js → chunk-p6bws1a4.js} +16 -16
- package/dist/{chunk-y5x8wqe5.js → chunk-p8c4512d.js} +1 -1
- package/dist/{chunk-2xyp6pwt.js → chunk-pa4m8fka.js} +14 -14
- package/dist/{chunk-kzfj5mnk.js → chunk-pd9q9fd7.js} +47 -48
- package/dist/chunk-pf1dekdv.js +26 -0
- package/dist/{chunk-r2wcdqy9.js → chunk-pj5wk9qe.js} +47 -48
- package/dist/{chunk-zwv360y2.js → chunk-pkaehdm6.js} +859 -942
- package/dist/{chunk-ta1191a6.js → chunk-pp4kq0fa.js} +47 -48
- package/dist/{chunk-1je9wp7r.js → chunk-ptnf75rg.js} +47 -48
- package/dist/{chunk-27mj2w02.js → chunk-q09zbxk4.js} +15 -15
- package/dist/{chunk-5htp89xt.js → chunk-q1e46gk8.js} +55 -56
- package/dist/{chunk-rxep4zes.js → chunk-q1e7t6tz.js} +15 -128
- package/dist/{chunk-exv8n1za.js → chunk-q2jeezb4.js} +3 -3
- package/dist/{chunk-v69kxnen.js → chunk-q6vk37f0.js} +47 -48
- package/dist/chunk-q95b9wrd.js +40 -0
- package/dist/{chunk-ktmr2qew.js → chunk-qcvyd3y4.js} +3 -3
- package/dist/{chunk-08ap04th.js → chunk-qd97hcgd.js} +5 -5
- package/dist/{chunk-dpfjphps.js → chunk-qgx9mc6p.js} +5 -5
- package/dist/{chunk-15yxvxxm.js → chunk-qkp3ytva.js} +108 -111
- package/dist/{chunk-gfe3e4ce.js → chunk-qkymv6n8.js} +6 -6
- package/dist/{chunk-rc5r5t8e.js → chunk-qrz3b0e1.js} +4 -4
- package/dist/{chunk-3e1p9kv7.js → chunk-qzjk4vpq.js} +4 -4
- package/dist/{chunk-dnkd9ckw.js → chunk-r35b43p4.js} +17 -17
- package/dist/{chunk-6gg2cvm2.js → chunk-r4j2h4yp.js} +1 -1
- package/dist/{chunk-0s5m8nkk.js → chunk-r651whr2.js} +15 -15
- package/dist/{chunk-fhwpgyvw.js → chunk-r70h7x48.js} +50 -51
- package/dist/{chunk-xs7e9ynx.js → chunk-r8yzzrsp.js} +55 -56
- package/dist/{chunk-wkqf9whj.js → chunk-rdgrfsjm.js} +47 -48
- package/dist/{chunk-dps4gfm1.js → chunk-rfmf8jw2.js} +1 -1
- package/dist/{chunk-b623tcjz.js → chunk-rhdgt3c8.js} +4 -4
- package/dist/{chunk-dq4ckzab.js → chunk-rqwcz7mf.js} +16 -16
- package/dist/{chunk-73pxnrgv.js → chunk-rvb54w68.js} +2 -2
- package/dist/{chunk-jy1nhwr3.js → chunk-rwa1xxqk.js} +4 -4
- package/dist/{chunk-fgcxrx4c.js → chunk-s3k2jajp.js} +47 -48
- package/dist/{chunk-p1z86trg.js → chunk-s5cvaf0y.js} +3 -3
- package/dist/{chunk-wve68bf5.js → chunk-s8tq4y70.js} +2 -2
- package/dist/{chunk-2t5ncw9x.js → chunk-sa2gzt2m.js} +2 -2
- package/dist/chunk-scyjb4rw.js +42 -0
- package/dist/{chunk-nsndts3z.js → chunk-sfem4v24.js} +14 -14
- package/dist/{chunk-2z01s54n.js → chunk-sjc21xag.js} +4 -4
- package/dist/{chunk-400zp41r.js → chunk-snkt46ca.js} +1 -1
- package/dist/{chunk-xfnekqkc.js → chunk-sqk9ayam.js} +5 -7
- package/dist/chunk-swjfjpja.js +3213 -0
- package/dist/{chunk-c7qxrffg.js → chunk-swyr0ze5.js} +5 -5
- package/dist/{chunk-y6n3fdt2.js → chunk-t0rxmbvz.js} +17 -17
- package/dist/{chunk-eskw6xkv.js → chunk-t260g32y.js} +4 -4
- package/dist/{chunk-fg46hc6d.js → chunk-t6kym3nr.js} +38 -32
- package/dist/{chunk-bwv73k9n.js → chunk-t79jmj3c.js} +5 -5
- package/dist/chunk-t7vqt78m.js +32 -0
- package/dist/chunk-t8sg0wf3.js +23 -0
- package/dist/{chunk-kqe7861c.js → chunk-tc92qnj1.js} +77 -50
- package/dist/{chunk-dd60e5wj.js → chunk-temv6q01.js} +4 -4
- package/dist/chunk-th1cykx3.js +494 -0
- package/dist/chunk-tp6bgx9r.js +90 -0
- package/dist/{chunk-d1dkt8pf.js → chunk-tq61s8re.js} +48 -49
- package/dist/chunk-tsycknnm.js +887 -0
- package/dist/{chunk-45kw3kmb.js → chunk-tv3n7nyr.js} +47 -48
- package/dist/{chunk-swd4vhn1.js → chunk-v3a3d8qr.js} +48 -49
- package/dist/{chunk-4z3yrp6y.js → chunk-v6q8mas6.js} +48 -49
- package/dist/{chunk-1zvd49vg.js → chunk-v9xtwnkn.js} +4 -4
- package/dist/{chunk-emgk6xvg.js → chunk-vecm4b7g.js} +1 -1
- package/dist/{chunk-h6gm2k0d.js → chunk-vhjrpmd7.js} +48 -49
- package/dist/{chunk-rbwfpwps.js → chunk-vmp1tr7b.js} +2 -2
- package/dist/{chunk-amdb0grz.js → chunk-vn9dpw7e.js} +50 -51
- package/dist/{chunk-vxstb12h.js → chunk-vnhhnca0.js} +1 -1
- package/dist/{chunk-rj8p3f8w.js → chunk-vqf0cwfx.js} +48 -49
- package/dist/chunk-vqm2wda9.js +46 -0
- package/dist/{chunk-3h1nhq6f.js → chunk-vrbtdakb.js} +1 -1
- package/dist/{chunk-422fx6t4.js → chunk-vrdp6hk3.js} +50 -51
- package/dist/{chunk-ght1jhcp.js → chunk-vzn6172q.js} +56 -58
- package/dist/chunk-w0b04y7r.js +609 -0
- package/dist/{chunk-w49cma0z.js → chunk-w20437bg.js} +47 -48
- package/dist/{chunk-139bbdnz.js → chunk-w54rzd0a.js} +50 -51
- package/dist/{chunk-dq6gsxma.js → chunk-w7eccwbe.js} +15 -15
- package/dist/{chunk-mas3fz1d.js → chunk-wa3arctj.js} +12 -12
- package/dist/{chunk-w8am6ta4.js → chunk-wa7rnp49.js} +1 -1
- package/dist/{chunk-vagfnqc6.js → chunk-waazrpce.js} +2 -2
- package/dist/{chunk-0h3t3pg2.js → chunk-wbh9ydpk.js} +19 -19
- package/dist/{chunk-vdtdq74g.js → chunk-wc7s61fq.js} +15 -15
- package/dist/{chunk-2e6t5g22.js → chunk-wgmkhbe4.js} +2 -2
- package/dist/{chunk-j5xh6s8y.js → chunk-wh23fnfe.js} +11 -11
- package/dist/{chunk-wys7e7qz.js → chunk-whvpa72n.js} +4 -4
- package/dist/chunk-wkyyghn6.js +184 -0
- package/dist/{chunk-ebnp9s5b.js → chunk-wngtt6cw.js} +2 -2
- package/dist/chunk-wp35dfwp.js +15 -0
- package/dist/{chunk-6gr3c3w9.js → chunk-wpqynh28.js} +2 -2
- package/dist/{chunk-fykf8xpq.js → chunk-wtje1bzc.js} +48 -49
- package/dist/{chunk-fpgevc9q.js → chunk-wwjb9kpr.js} +48 -49
- package/dist/{chunk-78bk581m.js → chunk-wzarjbqs.js} +47 -48
- package/dist/{chunk-0r9ed6vz.js → chunk-wzyspdkz.js} +54 -55
- package/dist/chunk-x3atm9a1.js +864 -0
- package/dist/{chunk-rkmwx1yz.js → chunk-x52qkhng.js} +1 -1
- package/dist/{chunk-xcg8gj4z.js → chunk-xpecr6a1.js} +5 -7
- package/dist/{chunk-re56c4sb.js → chunk-xt3x0wrj.js} +1 -1
- package/dist/{chunk-8avpe537.js → chunk-xvwv91w4.js} +47 -48
- package/dist/{chunk-8c32awe2.js → chunk-xwh3q911.js} +2 -2
- package/dist/{chunk-26p2hgat.js → chunk-xydbqr0b.js} +47 -48
- package/dist/{chunk-npmd1tms.js → chunk-xzmas4y8.js} +47 -48
- package/dist/{chunk-vr9rckk8.js → chunk-y4dgbkb3.js} +290 -261
- package/dist/{chunk-2f1f034j.js → chunk-y5phkfvf.js} +3 -3
- package/dist/{chunk-gqvdqmgm.js → chunk-y689dg14.js} +14 -14
- package/dist/{chunk-0t1bd4sb.js → chunk-yevw8ttf.js} +15 -15
- package/dist/{chunk-9wev49x3.js → chunk-yhqcnq80.js} +50 -51
- package/dist/{chunk-9mh13mnf.js → chunk-yk4t7kxm.js} +1 -1
- package/dist/{chunk-7r2k7qes.js → chunk-ykbz8f85.js} +3 -3
- package/dist/{chunk-h3p151fx.js → chunk-ykcqa4mj.js} +1 -1
- package/dist/{chunk-d90bhmt1.js → chunk-ysj2gfxe.js} +48 -47
- package/dist/{chunk-0t80kx3c.js → chunk-z51fyxdw.js} +55 -56
- package/dist/{chunk-vmc31gbm.js → chunk-z86pzxdm.js} +48 -49
- package/dist/chunk-z88f5181.js +258 -0
- package/dist/{chunk-8epxe23k.js → chunk-zd6w7gc2.js} +5 -5
- package/dist/{chunk-ebrc3yf3.js → chunk-zv0txvbs.js} +4 -4
- package/dist/{chunk-196500e9.js → chunk-zvkkjep6.js} +12 -12
- package/dist/{chunk-phf40t3n.js → chunk-zx2xx5ek.js} +20 -20
- package/dist/{chunk-trt2sfjg.js → chunk-zzz4ny7p.js} +1 -1
- package/dist/cli.js +24 -24
- package/package.json +28 -28
- package/dist/chunk-0mf8c3kx.js +0 -8
- package/dist/chunk-5vvqe088.js +0 -946
- package/dist/chunk-6c5zyga7.js +0 -12
- package/dist/chunk-f9tjvhq5.js +0 -186
- package/dist/chunk-k97ze3a8.js +0 -524
- package/dist/chunk-pps45448.js +0 -159
- package/dist/chunk-qqvaem6g.js +0 -68
- package/dist/chunk-shvjqnv4.js +0 -53
- package/dist/chunk-z0b7xfwn.js +0 -47
- package/dist/download-ripgrep.js +0 -24837
- package/dist/{chunk-y3jmpqat.js → chunk-5vdpbk46.js} +3 -3
- package/dist/{chunk-vest0y6x.js → chunk-6h6kzvyd.js} +3 -3
- package/dist/{chunk-f5ma3nh5.js → chunk-7a31vc3r.js} +0 -0
- package/dist/{chunk-tbas522c.js → chunk-ftbf37y7.js} +1 -1
- package/dist/{chunk-pfgwfg55.js → chunk-xexnht94.js} +3 -3
- package/dist/{chunk-0fnpkgd6.js → chunk-ybebarb1.js} +10 -10
|
@@ -0,0 +1,887 @@
|
|
|
1
|
+
// @bun
|
|
2
|
+
import {
|
|
3
|
+
require_protocols,
|
|
4
|
+
require_schema,
|
|
5
|
+
require_serde
|
|
6
|
+
} from "./chunk-swjfjpja.js";
|
|
7
|
+
import {
|
|
8
|
+
require_dist_cjs
|
|
9
|
+
} from "./chunk-tp6bgx9r.js";
|
|
10
|
+
import {
|
|
11
|
+
__commonJS
|
|
12
|
+
} from "./chunk-qp2qdcda.js";
|
|
13
|
+
|
|
14
|
+
// node_modules/.bun/@smithy+middleware-stack@4.2.14/node_modules/@smithy/middleware-stack/dist-cjs/index.js
|
|
15
|
+
var require_dist_cjs2 = __commonJS((exports) => {
|
|
16
|
+
var getAllAliases = (name, aliases) => {
|
|
17
|
+
const _aliases = [];
|
|
18
|
+
if (name) {
|
|
19
|
+
_aliases.push(name);
|
|
20
|
+
}
|
|
21
|
+
if (aliases) {
|
|
22
|
+
for (const alias of aliases) {
|
|
23
|
+
_aliases.push(alias);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
return _aliases;
|
|
27
|
+
};
|
|
28
|
+
var getMiddlewareNameWithAliases = (name, aliases) => {
|
|
29
|
+
return `${name || "anonymous"}${aliases && aliases.length > 0 ? ` (a.k.a. ${aliases.join(",")})` : ""}`;
|
|
30
|
+
};
|
|
31
|
+
var constructStack = () => {
|
|
32
|
+
let absoluteEntries = [];
|
|
33
|
+
let relativeEntries = [];
|
|
34
|
+
let identifyOnResolve = false;
|
|
35
|
+
const entriesNameSet = new Set;
|
|
36
|
+
const sort = (entries) => entries.sort((a, b) => stepWeights[b.step] - stepWeights[a.step] || priorityWeights[b.priority || "normal"] - priorityWeights[a.priority || "normal"]);
|
|
37
|
+
const removeByName = (toRemove) => {
|
|
38
|
+
let isRemoved = false;
|
|
39
|
+
const filterCb = (entry) => {
|
|
40
|
+
const aliases = getAllAliases(entry.name, entry.aliases);
|
|
41
|
+
if (aliases.includes(toRemove)) {
|
|
42
|
+
isRemoved = true;
|
|
43
|
+
for (const alias of aliases) {
|
|
44
|
+
entriesNameSet.delete(alias);
|
|
45
|
+
}
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
return true;
|
|
49
|
+
};
|
|
50
|
+
absoluteEntries = absoluteEntries.filter(filterCb);
|
|
51
|
+
relativeEntries = relativeEntries.filter(filterCb);
|
|
52
|
+
return isRemoved;
|
|
53
|
+
};
|
|
54
|
+
const removeByReference = (toRemove) => {
|
|
55
|
+
let isRemoved = false;
|
|
56
|
+
const filterCb = (entry) => {
|
|
57
|
+
if (entry.middleware === toRemove) {
|
|
58
|
+
isRemoved = true;
|
|
59
|
+
for (const alias of getAllAliases(entry.name, entry.aliases)) {
|
|
60
|
+
entriesNameSet.delete(alias);
|
|
61
|
+
}
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
return true;
|
|
65
|
+
};
|
|
66
|
+
absoluteEntries = absoluteEntries.filter(filterCb);
|
|
67
|
+
relativeEntries = relativeEntries.filter(filterCb);
|
|
68
|
+
return isRemoved;
|
|
69
|
+
};
|
|
70
|
+
const cloneTo = (toStack) => {
|
|
71
|
+
absoluteEntries.forEach((entry) => {
|
|
72
|
+
toStack.add(entry.middleware, { ...entry });
|
|
73
|
+
});
|
|
74
|
+
relativeEntries.forEach((entry) => {
|
|
75
|
+
toStack.addRelativeTo(entry.middleware, { ...entry });
|
|
76
|
+
});
|
|
77
|
+
toStack.identifyOnResolve?.(stack.identifyOnResolve());
|
|
78
|
+
return toStack;
|
|
79
|
+
};
|
|
80
|
+
const expandRelativeMiddlewareList = (from) => {
|
|
81
|
+
const expandedMiddlewareList = [];
|
|
82
|
+
from.before.forEach((entry) => {
|
|
83
|
+
if (entry.before.length === 0 && entry.after.length === 0) {
|
|
84
|
+
expandedMiddlewareList.push(entry);
|
|
85
|
+
} else {
|
|
86
|
+
expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry));
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
expandedMiddlewareList.push(from);
|
|
90
|
+
from.after.reverse().forEach((entry) => {
|
|
91
|
+
if (entry.before.length === 0 && entry.after.length === 0) {
|
|
92
|
+
expandedMiddlewareList.push(entry);
|
|
93
|
+
} else {
|
|
94
|
+
expandedMiddlewareList.push(...expandRelativeMiddlewareList(entry));
|
|
95
|
+
}
|
|
96
|
+
});
|
|
97
|
+
return expandedMiddlewareList;
|
|
98
|
+
};
|
|
99
|
+
const getMiddlewareList = (debug = false) => {
|
|
100
|
+
const normalizedAbsoluteEntries = [];
|
|
101
|
+
const normalizedRelativeEntries = [];
|
|
102
|
+
const normalizedEntriesNameMap = {};
|
|
103
|
+
absoluteEntries.forEach((entry) => {
|
|
104
|
+
const normalizedEntry = {
|
|
105
|
+
...entry,
|
|
106
|
+
before: [],
|
|
107
|
+
after: []
|
|
108
|
+
};
|
|
109
|
+
for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) {
|
|
110
|
+
normalizedEntriesNameMap[alias] = normalizedEntry;
|
|
111
|
+
}
|
|
112
|
+
normalizedAbsoluteEntries.push(normalizedEntry);
|
|
113
|
+
});
|
|
114
|
+
relativeEntries.forEach((entry) => {
|
|
115
|
+
const normalizedEntry = {
|
|
116
|
+
...entry,
|
|
117
|
+
before: [],
|
|
118
|
+
after: []
|
|
119
|
+
};
|
|
120
|
+
for (const alias of getAllAliases(normalizedEntry.name, normalizedEntry.aliases)) {
|
|
121
|
+
normalizedEntriesNameMap[alias] = normalizedEntry;
|
|
122
|
+
}
|
|
123
|
+
normalizedRelativeEntries.push(normalizedEntry);
|
|
124
|
+
});
|
|
125
|
+
normalizedRelativeEntries.forEach((entry) => {
|
|
126
|
+
if (entry.toMiddleware) {
|
|
127
|
+
const toMiddleware = normalizedEntriesNameMap[entry.toMiddleware];
|
|
128
|
+
if (toMiddleware === undefined) {
|
|
129
|
+
if (debug) {
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
throw new Error(`${entry.toMiddleware} is not found when adding ` + `${getMiddlewareNameWithAliases(entry.name, entry.aliases)} ` + `middleware ${entry.relation} ${entry.toMiddleware}`);
|
|
133
|
+
}
|
|
134
|
+
if (entry.relation === "after") {
|
|
135
|
+
toMiddleware.after.push(entry);
|
|
136
|
+
}
|
|
137
|
+
if (entry.relation === "before") {
|
|
138
|
+
toMiddleware.before.push(entry);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
const mainChain = sort(normalizedAbsoluteEntries).map(expandRelativeMiddlewareList).reduce((wholeList, expandedMiddlewareList) => {
|
|
143
|
+
wholeList.push(...expandedMiddlewareList);
|
|
144
|
+
return wholeList;
|
|
145
|
+
}, []);
|
|
146
|
+
return mainChain;
|
|
147
|
+
};
|
|
148
|
+
const stack = {
|
|
149
|
+
add: (middleware, options = {}) => {
|
|
150
|
+
const { name, override, aliases: _aliases } = options;
|
|
151
|
+
const entry = {
|
|
152
|
+
step: "initialize",
|
|
153
|
+
priority: "normal",
|
|
154
|
+
middleware,
|
|
155
|
+
...options
|
|
156
|
+
};
|
|
157
|
+
const aliases = getAllAliases(name, _aliases);
|
|
158
|
+
if (aliases.length > 0) {
|
|
159
|
+
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
|
160
|
+
if (!override)
|
|
161
|
+
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
162
|
+
for (const alias of aliases) {
|
|
163
|
+
const toOverrideIndex = absoluteEntries.findIndex((entry2) => entry2.name === alias || entry2.aliases?.some((a) => a === alias));
|
|
164
|
+
if (toOverrideIndex === -1) {
|
|
165
|
+
continue;
|
|
166
|
+
}
|
|
167
|
+
const toOverride = absoluteEntries[toOverrideIndex];
|
|
168
|
+
if (toOverride.step !== entry.step || entry.priority !== toOverride.priority) {
|
|
169
|
+
throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware with ` + `${toOverride.priority} priority in ${toOverride.step} step cannot ` + `be overridden by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware with ` + `${entry.priority} priority in ${entry.step} step.`);
|
|
170
|
+
}
|
|
171
|
+
absoluteEntries.splice(toOverrideIndex, 1);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
for (const alias of aliases) {
|
|
175
|
+
entriesNameSet.add(alias);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
absoluteEntries.push(entry);
|
|
179
|
+
},
|
|
180
|
+
addRelativeTo: (middleware, options) => {
|
|
181
|
+
const { name, override, aliases: _aliases } = options;
|
|
182
|
+
const entry = {
|
|
183
|
+
middleware,
|
|
184
|
+
...options
|
|
185
|
+
};
|
|
186
|
+
const aliases = getAllAliases(name, _aliases);
|
|
187
|
+
if (aliases.length > 0) {
|
|
188
|
+
if (aliases.some((alias) => entriesNameSet.has(alias))) {
|
|
189
|
+
if (!override)
|
|
190
|
+
throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(name, _aliases)}'`);
|
|
191
|
+
for (const alias of aliases) {
|
|
192
|
+
const toOverrideIndex = relativeEntries.findIndex((entry2) => entry2.name === alias || entry2.aliases?.some((a) => a === alias));
|
|
193
|
+
if (toOverrideIndex === -1) {
|
|
194
|
+
continue;
|
|
195
|
+
}
|
|
196
|
+
const toOverride = relativeEntries[toOverrideIndex];
|
|
197
|
+
if (toOverride.toMiddleware !== entry.toMiddleware || toOverride.relation !== entry.relation) {
|
|
198
|
+
throw new Error(`"${getMiddlewareNameWithAliases(toOverride.name, toOverride.aliases)}" middleware ` + `${toOverride.relation} "${toOverride.toMiddleware}" middleware cannot be overridden ` + `by "${getMiddlewareNameWithAliases(name, _aliases)}" middleware ${entry.relation} ` + `"${entry.toMiddleware}" middleware.`);
|
|
199
|
+
}
|
|
200
|
+
relativeEntries.splice(toOverrideIndex, 1);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
for (const alias of aliases) {
|
|
204
|
+
entriesNameSet.add(alias);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
relativeEntries.push(entry);
|
|
208
|
+
},
|
|
209
|
+
clone: () => cloneTo(constructStack()),
|
|
210
|
+
use: (plugin) => {
|
|
211
|
+
plugin.applyToStack(stack);
|
|
212
|
+
},
|
|
213
|
+
remove: (toRemove) => {
|
|
214
|
+
if (typeof toRemove === "string")
|
|
215
|
+
return removeByName(toRemove);
|
|
216
|
+
else
|
|
217
|
+
return removeByReference(toRemove);
|
|
218
|
+
},
|
|
219
|
+
removeByTag: (toRemove) => {
|
|
220
|
+
let isRemoved = false;
|
|
221
|
+
const filterCb = (entry) => {
|
|
222
|
+
const { tags, name, aliases: _aliases } = entry;
|
|
223
|
+
if (tags && tags.includes(toRemove)) {
|
|
224
|
+
const aliases = getAllAliases(name, _aliases);
|
|
225
|
+
for (const alias of aliases) {
|
|
226
|
+
entriesNameSet.delete(alias);
|
|
227
|
+
}
|
|
228
|
+
isRemoved = true;
|
|
229
|
+
return false;
|
|
230
|
+
}
|
|
231
|
+
return true;
|
|
232
|
+
};
|
|
233
|
+
absoluteEntries = absoluteEntries.filter(filterCb);
|
|
234
|
+
relativeEntries = relativeEntries.filter(filterCb);
|
|
235
|
+
return isRemoved;
|
|
236
|
+
},
|
|
237
|
+
concat: (from) => {
|
|
238
|
+
const cloned = cloneTo(constructStack());
|
|
239
|
+
cloned.use(from);
|
|
240
|
+
cloned.identifyOnResolve(identifyOnResolve || cloned.identifyOnResolve() || (from.identifyOnResolve?.() ?? false));
|
|
241
|
+
return cloned;
|
|
242
|
+
},
|
|
243
|
+
applyToStack: cloneTo,
|
|
244
|
+
identify: () => {
|
|
245
|
+
return getMiddlewareList(true).map((mw) => {
|
|
246
|
+
const step = mw.step ?? mw.relation + " " + mw.toMiddleware;
|
|
247
|
+
return getMiddlewareNameWithAliases(mw.name, mw.aliases) + " - " + step;
|
|
248
|
+
});
|
|
249
|
+
},
|
|
250
|
+
identifyOnResolve(toggle) {
|
|
251
|
+
if (typeof toggle === "boolean")
|
|
252
|
+
identifyOnResolve = toggle;
|
|
253
|
+
return identifyOnResolve;
|
|
254
|
+
},
|
|
255
|
+
resolve: (handler, context) => {
|
|
256
|
+
for (const middleware of getMiddlewareList().map((entry) => entry.middleware).reverse()) {
|
|
257
|
+
handler = middleware(handler, context);
|
|
258
|
+
}
|
|
259
|
+
if (identifyOnResolve) {
|
|
260
|
+
console.log(stack.identify());
|
|
261
|
+
}
|
|
262
|
+
return handler;
|
|
263
|
+
}
|
|
264
|
+
};
|
|
265
|
+
return stack;
|
|
266
|
+
};
|
|
267
|
+
var stepWeights = {
|
|
268
|
+
initialize: 5,
|
|
269
|
+
serialize: 4,
|
|
270
|
+
build: 3,
|
|
271
|
+
finalizeRequest: 2,
|
|
272
|
+
deserialize: 1
|
|
273
|
+
};
|
|
274
|
+
var priorityWeights = {
|
|
275
|
+
high: 3,
|
|
276
|
+
normal: 2,
|
|
277
|
+
low: 1
|
|
278
|
+
};
|
|
279
|
+
exports.constructStack = constructStack;
|
|
280
|
+
});
|
|
281
|
+
|
|
282
|
+
// node_modules/.bun/@smithy+smithy-client@4.12.11/node_modules/@smithy/smithy-client/dist-cjs/index.js
|
|
283
|
+
var require_dist_cjs3 = __commonJS((exports) => {
|
|
284
|
+
var middlewareStack = require_dist_cjs2();
|
|
285
|
+
var types = require_dist_cjs();
|
|
286
|
+
var schema = require_schema();
|
|
287
|
+
var serde = require_serde();
|
|
288
|
+
var protocols = require_protocols();
|
|
289
|
+
|
|
290
|
+
class Client {
|
|
291
|
+
config;
|
|
292
|
+
middlewareStack = middlewareStack.constructStack();
|
|
293
|
+
initConfig;
|
|
294
|
+
handlers;
|
|
295
|
+
constructor(config) {
|
|
296
|
+
this.config = config;
|
|
297
|
+
const { protocol, protocolSettings } = config;
|
|
298
|
+
if (protocolSettings) {
|
|
299
|
+
if (typeof protocol === "function") {
|
|
300
|
+
config.protocol = new protocol(protocolSettings);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
send(command, optionsOrCb, cb) {
|
|
305
|
+
const options = typeof optionsOrCb !== "function" ? optionsOrCb : undefined;
|
|
306
|
+
const callback = typeof optionsOrCb === "function" ? optionsOrCb : cb;
|
|
307
|
+
const useHandlerCache = options === undefined && this.config.cacheMiddleware === true;
|
|
308
|
+
let handler;
|
|
309
|
+
if (useHandlerCache) {
|
|
310
|
+
if (!this.handlers) {
|
|
311
|
+
this.handlers = new WeakMap;
|
|
312
|
+
}
|
|
313
|
+
const handlers = this.handlers;
|
|
314
|
+
if (handlers.has(command.constructor)) {
|
|
315
|
+
handler = handlers.get(command.constructor);
|
|
316
|
+
} else {
|
|
317
|
+
handler = command.resolveMiddleware(this.middlewareStack, this.config, options);
|
|
318
|
+
handlers.set(command.constructor, handler);
|
|
319
|
+
}
|
|
320
|
+
} else {
|
|
321
|
+
delete this.handlers;
|
|
322
|
+
handler = command.resolveMiddleware(this.middlewareStack, this.config, options);
|
|
323
|
+
}
|
|
324
|
+
if (callback) {
|
|
325
|
+
handler(command).then((result) => callback(null, result.output), (err) => callback(err)).catch(() => {});
|
|
326
|
+
} else {
|
|
327
|
+
return handler(command).then((result) => result.output);
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
destroy() {
|
|
331
|
+
this.config?.requestHandler?.destroy?.();
|
|
332
|
+
delete this.handlers;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
var SENSITIVE_STRING$1 = "***SensitiveInformation***";
|
|
336
|
+
function schemaLogFilter(schema$1, data) {
|
|
337
|
+
if (data == null) {
|
|
338
|
+
return data;
|
|
339
|
+
}
|
|
340
|
+
const ns = schema.NormalizedSchema.of(schema$1);
|
|
341
|
+
if (ns.getMergedTraits().sensitive) {
|
|
342
|
+
return SENSITIVE_STRING$1;
|
|
343
|
+
}
|
|
344
|
+
if (ns.isListSchema()) {
|
|
345
|
+
const isSensitive = !!ns.getValueSchema().getMergedTraits().sensitive;
|
|
346
|
+
if (isSensitive) {
|
|
347
|
+
return SENSITIVE_STRING$1;
|
|
348
|
+
}
|
|
349
|
+
} else if (ns.isMapSchema()) {
|
|
350
|
+
const isSensitive = !!ns.getKeySchema().getMergedTraits().sensitive || !!ns.getValueSchema().getMergedTraits().sensitive;
|
|
351
|
+
if (isSensitive) {
|
|
352
|
+
return SENSITIVE_STRING$1;
|
|
353
|
+
}
|
|
354
|
+
} else if (ns.isStructSchema() && typeof data === "object") {
|
|
355
|
+
const object = data;
|
|
356
|
+
const newObject = {};
|
|
357
|
+
for (const [member, memberNs] of ns.structIterator()) {
|
|
358
|
+
if (object[member] != null) {
|
|
359
|
+
newObject[member] = schemaLogFilter(memberNs, object[member]);
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
return newObject;
|
|
363
|
+
}
|
|
364
|
+
return data;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
class Command {
|
|
368
|
+
middlewareStack = middlewareStack.constructStack();
|
|
369
|
+
schema;
|
|
370
|
+
static classBuilder() {
|
|
371
|
+
return new ClassBuilder;
|
|
372
|
+
}
|
|
373
|
+
resolveMiddlewareWithContext(clientStack, configuration, options, { middlewareFn, clientName, commandName, inputFilterSensitiveLog, outputFilterSensitiveLog, smithyContext, additionalContext, CommandCtor }) {
|
|
374
|
+
for (const mw of middlewareFn.bind(this)(CommandCtor, clientStack, configuration, options)) {
|
|
375
|
+
this.middlewareStack.use(mw);
|
|
376
|
+
}
|
|
377
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
378
|
+
const { logger } = configuration;
|
|
379
|
+
const handlerExecutionContext = {
|
|
380
|
+
logger,
|
|
381
|
+
clientName,
|
|
382
|
+
commandName,
|
|
383
|
+
inputFilterSensitiveLog,
|
|
384
|
+
outputFilterSensitiveLog,
|
|
385
|
+
[types.SMITHY_CONTEXT_KEY]: {
|
|
386
|
+
commandInstance: this,
|
|
387
|
+
...smithyContext
|
|
388
|
+
},
|
|
389
|
+
...additionalContext
|
|
390
|
+
};
|
|
391
|
+
const { requestHandler } = configuration;
|
|
392
|
+
let requestOptions = options ?? {};
|
|
393
|
+
if (smithyContext.eventStream) {
|
|
394
|
+
requestOptions = {
|
|
395
|
+
isEventStream: true,
|
|
396
|
+
...requestOptions
|
|
397
|
+
};
|
|
398
|
+
}
|
|
399
|
+
return stack.resolve((request) => requestHandler.handle(request.request, requestOptions), handlerExecutionContext);
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
class ClassBuilder {
|
|
404
|
+
_init = () => {};
|
|
405
|
+
_ep = {};
|
|
406
|
+
_middlewareFn = () => [];
|
|
407
|
+
_commandName = "";
|
|
408
|
+
_clientName = "";
|
|
409
|
+
_additionalContext = {};
|
|
410
|
+
_smithyContext = {};
|
|
411
|
+
_inputFilterSensitiveLog = undefined;
|
|
412
|
+
_outputFilterSensitiveLog = undefined;
|
|
413
|
+
_serializer = null;
|
|
414
|
+
_deserializer = null;
|
|
415
|
+
_operationSchema;
|
|
416
|
+
init(cb) {
|
|
417
|
+
this._init = cb;
|
|
418
|
+
}
|
|
419
|
+
ep(endpointParameterInstructions) {
|
|
420
|
+
this._ep = endpointParameterInstructions;
|
|
421
|
+
return this;
|
|
422
|
+
}
|
|
423
|
+
m(middlewareSupplier) {
|
|
424
|
+
this._middlewareFn = middlewareSupplier;
|
|
425
|
+
return this;
|
|
426
|
+
}
|
|
427
|
+
s(service, operation, smithyContext = {}) {
|
|
428
|
+
this._smithyContext = {
|
|
429
|
+
service,
|
|
430
|
+
operation,
|
|
431
|
+
...smithyContext
|
|
432
|
+
};
|
|
433
|
+
return this;
|
|
434
|
+
}
|
|
435
|
+
c(additionalContext = {}) {
|
|
436
|
+
this._additionalContext = additionalContext;
|
|
437
|
+
return this;
|
|
438
|
+
}
|
|
439
|
+
n(clientName, commandName) {
|
|
440
|
+
this._clientName = clientName;
|
|
441
|
+
this._commandName = commandName;
|
|
442
|
+
return this;
|
|
443
|
+
}
|
|
444
|
+
f(inputFilter = (_) => _, outputFilter = (_) => _) {
|
|
445
|
+
this._inputFilterSensitiveLog = inputFilter;
|
|
446
|
+
this._outputFilterSensitiveLog = outputFilter;
|
|
447
|
+
return this;
|
|
448
|
+
}
|
|
449
|
+
ser(serializer) {
|
|
450
|
+
this._serializer = serializer;
|
|
451
|
+
return this;
|
|
452
|
+
}
|
|
453
|
+
de(deserializer) {
|
|
454
|
+
this._deserializer = deserializer;
|
|
455
|
+
return this;
|
|
456
|
+
}
|
|
457
|
+
sc(operation) {
|
|
458
|
+
this._operationSchema = operation;
|
|
459
|
+
this._smithyContext.operationSchema = operation;
|
|
460
|
+
return this;
|
|
461
|
+
}
|
|
462
|
+
build() {
|
|
463
|
+
const closure = this;
|
|
464
|
+
let CommandRef;
|
|
465
|
+
return CommandRef = class extends Command {
|
|
466
|
+
input;
|
|
467
|
+
static getEndpointParameterInstructions() {
|
|
468
|
+
return closure._ep;
|
|
469
|
+
}
|
|
470
|
+
constructor(...[input]) {
|
|
471
|
+
super();
|
|
472
|
+
this.input = input ?? {};
|
|
473
|
+
closure._init(this);
|
|
474
|
+
this.schema = closure._operationSchema;
|
|
475
|
+
}
|
|
476
|
+
resolveMiddleware(stack, configuration, options) {
|
|
477
|
+
const op = closure._operationSchema;
|
|
478
|
+
const input = op?.[4] ?? op?.input;
|
|
479
|
+
const output = op?.[5] ?? op?.output;
|
|
480
|
+
return this.resolveMiddlewareWithContext(stack, configuration, options, {
|
|
481
|
+
CommandCtor: CommandRef,
|
|
482
|
+
middlewareFn: closure._middlewareFn,
|
|
483
|
+
clientName: closure._clientName,
|
|
484
|
+
commandName: closure._commandName,
|
|
485
|
+
inputFilterSensitiveLog: closure._inputFilterSensitiveLog ?? (op ? schemaLogFilter.bind(null, input) : (_) => _),
|
|
486
|
+
outputFilterSensitiveLog: closure._outputFilterSensitiveLog ?? (op ? schemaLogFilter.bind(null, output) : (_) => _),
|
|
487
|
+
smithyContext: closure._smithyContext,
|
|
488
|
+
additionalContext: closure._additionalContext
|
|
489
|
+
});
|
|
490
|
+
}
|
|
491
|
+
serialize = closure._serializer;
|
|
492
|
+
deserialize = closure._deserializer;
|
|
493
|
+
};
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
var SENSITIVE_STRING = "***SensitiveInformation***";
|
|
497
|
+
var createAggregatedClient = (commands, Client2, options) => {
|
|
498
|
+
for (const [command, CommandCtor] of Object.entries(commands)) {
|
|
499
|
+
const methodImpl = async function(args, optionsOrCb, cb) {
|
|
500
|
+
const command2 = new CommandCtor(args);
|
|
501
|
+
if (typeof optionsOrCb === "function") {
|
|
502
|
+
this.send(command2, optionsOrCb);
|
|
503
|
+
} else if (typeof cb === "function") {
|
|
504
|
+
if (typeof optionsOrCb !== "object")
|
|
505
|
+
throw new Error(`Expected http options but got ${typeof optionsOrCb}`);
|
|
506
|
+
this.send(command2, optionsOrCb || {}, cb);
|
|
507
|
+
} else {
|
|
508
|
+
return this.send(command2, optionsOrCb);
|
|
509
|
+
}
|
|
510
|
+
};
|
|
511
|
+
const methodName = (command[0].toLowerCase() + command.slice(1)).replace(/Command$/, "");
|
|
512
|
+
Client2.prototype[methodName] = methodImpl;
|
|
513
|
+
}
|
|
514
|
+
const { paginators = {}, waiters = {} } = options ?? {};
|
|
515
|
+
for (const [paginatorName, paginatorFn] of Object.entries(paginators)) {
|
|
516
|
+
if (Client2.prototype[paginatorName] === undefined) {
|
|
517
|
+
Client2.prototype[paginatorName] = function(commandInput = {}, paginationConfiguration, ...rest) {
|
|
518
|
+
return paginatorFn({
|
|
519
|
+
...paginationConfiguration,
|
|
520
|
+
client: this
|
|
521
|
+
}, commandInput, ...rest);
|
|
522
|
+
};
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
for (const [waiterName, waiterFn] of Object.entries(waiters)) {
|
|
526
|
+
if (Client2.prototype[waiterName] === undefined) {
|
|
527
|
+
Client2.prototype[waiterName] = async function(commandInput = {}, waiterConfiguration, ...rest) {
|
|
528
|
+
let config = waiterConfiguration;
|
|
529
|
+
if (typeof waiterConfiguration === "number") {
|
|
530
|
+
config = {
|
|
531
|
+
maxWaitTime: waiterConfiguration
|
|
532
|
+
};
|
|
533
|
+
}
|
|
534
|
+
return waiterFn({
|
|
535
|
+
...config,
|
|
536
|
+
client: this
|
|
537
|
+
}, commandInput, ...rest);
|
|
538
|
+
};
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
};
|
|
542
|
+
|
|
543
|
+
class ServiceException extends Error {
|
|
544
|
+
$fault;
|
|
545
|
+
$response;
|
|
546
|
+
$retryable;
|
|
547
|
+
$metadata;
|
|
548
|
+
constructor(options) {
|
|
549
|
+
super(options.message);
|
|
550
|
+
Object.setPrototypeOf(this, Object.getPrototypeOf(this).constructor.prototype);
|
|
551
|
+
this.name = options.name;
|
|
552
|
+
this.$fault = options.$fault;
|
|
553
|
+
this.$metadata = options.$metadata;
|
|
554
|
+
}
|
|
555
|
+
static isInstance(value) {
|
|
556
|
+
if (!value)
|
|
557
|
+
return false;
|
|
558
|
+
const candidate = value;
|
|
559
|
+
return ServiceException.prototype.isPrototypeOf(candidate) || Boolean(candidate.$fault) && Boolean(candidate.$metadata) && (candidate.$fault === "client" || candidate.$fault === "server");
|
|
560
|
+
}
|
|
561
|
+
static [Symbol.hasInstance](instance) {
|
|
562
|
+
if (!instance)
|
|
563
|
+
return false;
|
|
564
|
+
const candidate = instance;
|
|
565
|
+
if (this === ServiceException) {
|
|
566
|
+
return ServiceException.isInstance(instance);
|
|
567
|
+
}
|
|
568
|
+
if (ServiceException.isInstance(instance)) {
|
|
569
|
+
if (candidate.name && this.name) {
|
|
570
|
+
return this.prototype.isPrototypeOf(instance) || candidate.name === this.name;
|
|
571
|
+
}
|
|
572
|
+
return this.prototype.isPrototypeOf(instance);
|
|
573
|
+
}
|
|
574
|
+
return false;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
var decorateServiceException = (exception, additions = {}) => {
|
|
578
|
+
Object.entries(additions).filter(([, v]) => v !== undefined).forEach(([k, v]) => {
|
|
579
|
+
if (exception[k] == undefined || exception[k] === "") {
|
|
580
|
+
exception[k] = v;
|
|
581
|
+
}
|
|
582
|
+
});
|
|
583
|
+
const message = exception.message || exception.Message || "UnknownError";
|
|
584
|
+
exception.message = message;
|
|
585
|
+
delete exception.Message;
|
|
586
|
+
return exception;
|
|
587
|
+
};
|
|
588
|
+
var throwDefaultError = ({ output, parsedBody, exceptionCtor, errorCode }) => {
|
|
589
|
+
const $metadata = deserializeMetadata(output);
|
|
590
|
+
const statusCode = $metadata.httpStatusCode ? $metadata.httpStatusCode + "" : undefined;
|
|
591
|
+
const response = new exceptionCtor({
|
|
592
|
+
name: parsedBody?.code || parsedBody?.Code || errorCode || statusCode || "UnknownError",
|
|
593
|
+
$fault: "client",
|
|
594
|
+
$metadata
|
|
595
|
+
});
|
|
596
|
+
throw decorateServiceException(response, parsedBody);
|
|
597
|
+
};
|
|
598
|
+
var withBaseException = (ExceptionCtor) => {
|
|
599
|
+
return ({ output, parsedBody, errorCode }) => {
|
|
600
|
+
throwDefaultError({ output, parsedBody, exceptionCtor: ExceptionCtor, errorCode });
|
|
601
|
+
};
|
|
602
|
+
};
|
|
603
|
+
var deserializeMetadata = (output) => ({
|
|
604
|
+
httpStatusCode: output.statusCode,
|
|
605
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
606
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
607
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
608
|
+
});
|
|
609
|
+
var loadConfigsForDefaultMode = (mode) => {
|
|
610
|
+
switch (mode) {
|
|
611
|
+
case "standard":
|
|
612
|
+
return {
|
|
613
|
+
retryMode: "standard",
|
|
614
|
+
connectionTimeout: 3100
|
|
615
|
+
};
|
|
616
|
+
case "in-region":
|
|
617
|
+
return {
|
|
618
|
+
retryMode: "standard",
|
|
619
|
+
connectionTimeout: 1100
|
|
620
|
+
};
|
|
621
|
+
case "cross-region":
|
|
622
|
+
return {
|
|
623
|
+
retryMode: "standard",
|
|
624
|
+
connectionTimeout: 3100
|
|
625
|
+
};
|
|
626
|
+
case "mobile":
|
|
627
|
+
return {
|
|
628
|
+
retryMode: "standard",
|
|
629
|
+
connectionTimeout: 30000
|
|
630
|
+
};
|
|
631
|
+
default:
|
|
632
|
+
return {};
|
|
633
|
+
}
|
|
634
|
+
};
|
|
635
|
+
var warningEmitted = false;
|
|
636
|
+
var emitWarningIfUnsupportedVersion = (version) => {
|
|
637
|
+
if (version && !warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 16) {
|
|
638
|
+
warningEmitted = true;
|
|
639
|
+
}
|
|
640
|
+
};
|
|
641
|
+
var knownAlgorithms = Object.values(types.AlgorithmId);
|
|
642
|
+
var getChecksumConfiguration = (runtimeConfig) => {
|
|
643
|
+
const checksumAlgorithms = [];
|
|
644
|
+
for (const id in types.AlgorithmId) {
|
|
645
|
+
const algorithmId = types.AlgorithmId[id];
|
|
646
|
+
if (runtimeConfig[algorithmId] === undefined) {
|
|
647
|
+
continue;
|
|
648
|
+
}
|
|
649
|
+
checksumAlgorithms.push({
|
|
650
|
+
algorithmId: () => algorithmId,
|
|
651
|
+
checksumConstructor: () => runtimeConfig[algorithmId]
|
|
652
|
+
});
|
|
653
|
+
}
|
|
654
|
+
for (const [id, ChecksumCtor] of Object.entries(runtimeConfig.checksumAlgorithms ?? {})) {
|
|
655
|
+
checksumAlgorithms.push({
|
|
656
|
+
algorithmId: () => id,
|
|
657
|
+
checksumConstructor: () => ChecksumCtor
|
|
658
|
+
});
|
|
659
|
+
}
|
|
660
|
+
return {
|
|
661
|
+
addChecksumAlgorithm(algo) {
|
|
662
|
+
runtimeConfig.checksumAlgorithms = runtimeConfig.checksumAlgorithms ?? {};
|
|
663
|
+
const id = algo.algorithmId();
|
|
664
|
+
const ctor = algo.checksumConstructor();
|
|
665
|
+
if (knownAlgorithms.includes(id)) {
|
|
666
|
+
runtimeConfig.checksumAlgorithms[id.toUpperCase()] = ctor;
|
|
667
|
+
} else {
|
|
668
|
+
runtimeConfig.checksumAlgorithms[id] = ctor;
|
|
669
|
+
}
|
|
670
|
+
checksumAlgorithms.push(algo);
|
|
671
|
+
},
|
|
672
|
+
checksumAlgorithms() {
|
|
673
|
+
return checksumAlgorithms;
|
|
674
|
+
}
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
var resolveChecksumRuntimeConfig = (clientConfig) => {
|
|
678
|
+
const runtimeConfig = {};
|
|
679
|
+
clientConfig.checksumAlgorithms().forEach((checksumAlgorithm) => {
|
|
680
|
+
const id = checksumAlgorithm.algorithmId();
|
|
681
|
+
if (knownAlgorithms.includes(id)) {
|
|
682
|
+
runtimeConfig[id] = checksumAlgorithm.checksumConstructor();
|
|
683
|
+
}
|
|
684
|
+
});
|
|
685
|
+
return runtimeConfig;
|
|
686
|
+
};
|
|
687
|
+
var getRetryConfiguration = (runtimeConfig) => {
|
|
688
|
+
return {
|
|
689
|
+
setRetryStrategy(retryStrategy) {
|
|
690
|
+
runtimeConfig.retryStrategy = retryStrategy;
|
|
691
|
+
},
|
|
692
|
+
retryStrategy() {
|
|
693
|
+
return runtimeConfig.retryStrategy;
|
|
694
|
+
}
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
var resolveRetryRuntimeConfig = (retryStrategyConfiguration) => {
|
|
698
|
+
const runtimeConfig = {};
|
|
699
|
+
runtimeConfig.retryStrategy = retryStrategyConfiguration.retryStrategy();
|
|
700
|
+
return runtimeConfig;
|
|
701
|
+
};
|
|
702
|
+
var getDefaultExtensionConfiguration = (runtimeConfig) => {
|
|
703
|
+
return Object.assign(getChecksumConfiguration(runtimeConfig), getRetryConfiguration(runtimeConfig));
|
|
704
|
+
};
|
|
705
|
+
var getDefaultClientConfiguration = getDefaultExtensionConfiguration;
|
|
706
|
+
var resolveDefaultRuntimeConfig = (config) => {
|
|
707
|
+
return Object.assign(resolveChecksumRuntimeConfig(config), resolveRetryRuntimeConfig(config));
|
|
708
|
+
};
|
|
709
|
+
var getArrayIfSingleItem = (mayBeArray) => Array.isArray(mayBeArray) ? mayBeArray : [mayBeArray];
|
|
710
|
+
var getValueFromTextNode = (obj) => {
|
|
711
|
+
const textNodeName = "#text";
|
|
712
|
+
for (const key in obj) {
|
|
713
|
+
if (obj.hasOwnProperty(key) && obj[key][textNodeName] !== undefined) {
|
|
714
|
+
obj[key] = obj[key][textNodeName];
|
|
715
|
+
} else if (typeof obj[key] === "object" && obj[key] !== null) {
|
|
716
|
+
obj[key] = getValueFromTextNode(obj[key]);
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
return obj;
|
|
720
|
+
};
|
|
721
|
+
var isSerializableHeaderValue = (value) => {
|
|
722
|
+
return value != null;
|
|
723
|
+
};
|
|
724
|
+
|
|
725
|
+
class NoOpLogger {
|
|
726
|
+
trace() {}
|
|
727
|
+
debug() {}
|
|
728
|
+
info() {}
|
|
729
|
+
warn() {}
|
|
730
|
+
error() {}
|
|
731
|
+
}
|
|
732
|
+
function map(arg0, arg1, arg2) {
|
|
733
|
+
let target;
|
|
734
|
+
let filter;
|
|
735
|
+
let instructions;
|
|
736
|
+
if (typeof arg1 === "undefined" && typeof arg2 === "undefined") {
|
|
737
|
+
target = {};
|
|
738
|
+
instructions = arg0;
|
|
739
|
+
} else {
|
|
740
|
+
target = arg0;
|
|
741
|
+
if (typeof arg1 === "function") {
|
|
742
|
+
filter = arg1;
|
|
743
|
+
instructions = arg2;
|
|
744
|
+
return mapWithFilter(target, filter, instructions);
|
|
745
|
+
} else {
|
|
746
|
+
instructions = arg1;
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
for (const key of Object.keys(instructions)) {
|
|
750
|
+
if (!Array.isArray(instructions[key])) {
|
|
751
|
+
target[key] = instructions[key];
|
|
752
|
+
continue;
|
|
753
|
+
}
|
|
754
|
+
applyInstruction(target, null, instructions, key);
|
|
755
|
+
}
|
|
756
|
+
return target;
|
|
757
|
+
}
|
|
758
|
+
var convertMap = (target) => {
|
|
759
|
+
const output = {};
|
|
760
|
+
for (const [k, v] of Object.entries(target || {})) {
|
|
761
|
+
output[k] = [, v];
|
|
762
|
+
}
|
|
763
|
+
return output;
|
|
764
|
+
};
|
|
765
|
+
var take = (source, instructions) => {
|
|
766
|
+
const out = {};
|
|
767
|
+
for (const key in instructions) {
|
|
768
|
+
applyInstruction(out, source, instructions, key);
|
|
769
|
+
}
|
|
770
|
+
return out;
|
|
771
|
+
};
|
|
772
|
+
var mapWithFilter = (target, filter, instructions) => {
|
|
773
|
+
return map(target, Object.entries(instructions).reduce((_instructions, [key, value]) => {
|
|
774
|
+
if (Array.isArray(value)) {
|
|
775
|
+
_instructions[key] = value;
|
|
776
|
+
} else {
|
|
777
|
+
if (typeof value === "function") {
|
|
778
|
+
_instructions[key] = [filter, value()];
|
|
779
|
+
} else {
|
|
780
|
+
_instructions[key] = [filter, value];
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
return _instructions;
|
|
784
|
+
}, {}));
|
|
785
|
+
};
|
|
786
|
+
var applyInstruction = (target, source, instructions, targetKey) => {
|
|
787
|
+
if (source !== null) {
|
|
788
|
+
let instruction = instructions[targetKey];
|
|
789
|
+
if (typeof instruction === "function") {
|
|
790
|
+
instruction = [, instruction];
|
|
791
|
+
}
|
|
792
|
+
const [filter2 = nonNullish, valueFn = pass, sourceKey = targetKey] = instruction;
|
|
793
|
+
if (typeof filter2 === "function" && filter2(source[sourceKey]) || typeof filter2 !== "function" && !!filter2) {
|
|
794
|
+
target[targetKey] = valueFn(source[sourceKey]);
|
|
795
|
+
}
|
|
796
|
+
return;
|
|
797
|
+
}
|
|
798
|
+
let [filter, value] = instructions[targetKey];
|
|
799
|
+
if (typeof value === "function") {
|
|
800
|
+
let _value;
|
|
801
|
+
const defaultFilterPassed = filter === undefined && (_value = value()) != null;
|
|
802
|
+
const customFilterPassed = typeof filter === "function" && !!filter(undefined) || typeof filter !== "function" && !!filter;
|
|
803
|
+
if (defaultFilterPassed) {
|
|
804
|
+
target[targetKey] = _value;
|
|
805
|
+
} else if (customFilterPassed) {
|
|
806
|
+
target[targetKey] = value();
|
|
807
|
+
}
|
|
808
|
+
} else {
|
|
809
|
+
const defaultFilterPassed = filter === undefined && value != null;
|
|
810
|
+
const customFilterPassed = typeof filter === "function" && !!filter(value) || typeof filter !== "function" && !!filter;
|
|
811
|
+
if (defaultFilterPassed || customFilterPassed) {
|
|
812
|
+
target[targetKey] = value;
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
};
|
|
816
|
+
var nonNullish = (_) => _ != null;
|
|
817
|
+
var pass = (_) => _;
|
|
818
|
+
var serializeFloat = (value) => {
|
|
819
|
+
if (value !== value) {
|
|
820
|
+
return "NaN";
|
|
821
|
+
}
|
|
822
|
+
switch (value) {
|
|
823
|
+
case Infinity:
|
|
824
|
+
return "Infinity";
|
|
825
|
+
case -Infinity:
|
|
826
|
+
return "-Infinity";
|
|
827
|
+
default:
|
|
828
|
+
return value;
|
|
829
|
+
}
|
|
830
|
+
};
|
|
831
|
+
var serializeDateTime = (date) => date.toISOString().replace(".000Z", "Z");
|
|
832
|
+
var _json = (obj) => {
|
|
833
|
+
if (obj == null) {
|
|
834
|
+
return {};
|
|
835
|
+
}
|
|
836
|
+
if (Array.isArray(obj)) {
|
|
837
|
+
return obj.filter((_) => _ != null).map(_json);
|
|
838
|
+
}
|
|
839
|
+
if (typeof obj === "object") {
|
|
840
|
+
const target = {};
|
|
841
|
+
for (const key of Object.keys(obj)) {
|
|
842
|
+
if (obj[key] == null) {
|
|
843
|
+
continue;
|
|
844
|
+
}
|
|
845
|
+
target[key] = _json(obj[key]);
|
|
846
|
+
}
|
|
847
|
+
return target;
|
|
848
|
+
}
|
|
849
|
+
return obj;
|
|
850
|
+
};
|
|
851
|
+
exports.collectBody = protocols.collectBody;
|
|
852
|
+
exports.extendedEncodeURIComponent = protocols.extendedEncodeURIComponent;
|
|
853
|
+
exports.resolvedPath = protocols.resolvedPath;
|
|
854
|
+
exports.Client = Client;
|
|
855
|
+
exports.Command = Command;
|
|
856
|
+
exports.NoOpLogger = NoOpLogger;
|
|
857
|
+
exports.SENSITIVE_STRING = SENSITIVE_STRING;
|
|
858
|
+
exports.ServiceException = ServiceException;
|
|
859
|
+
exports._json = _json;
|
|
860
|
+
exports.convertMap = convertMap;
|
|
861
|
+
exports.createAggregatedClient = createAggregatedClient;
|
|
862
|
+
exports.decorateServiceException = decorateServiceException;
|
|
863
|
+
exports.emitWarningIfUnsupportedVersion = emitWarningIfUnsupportedVersion;
|
|
864
|
+
exports.getArrayIfSingleItem = getArrayIfSingleItem;
|
|
865
|
+
exports.getDefaultClientConfiguration = getDefaultClientConfiguration;
|
|
866
|
+
exports.getDefaultExtensionConfiguration = getDefaultExtensionConfiguration;
|
|
867
|
+
exports.getValueFromTextNode = getValueFromTextNode;
|
|
868
|
+
exports.isSerializableHeaderValue = isSerializableHeaderValue;
|
|
869
|
+
exports.loadConfigsForDefaultMode = loadConfigsForDefaultMode;
|
|
870
|
+
exports.map = map;
|
|
871
|
+
exports.resolveDefaultRuntimeConfig = resolveDefaultRuntimeConfig;
|
|
872
|
+
exports.serializeDateTime = serializeDateTime;
|
|
873
|
+
exports.serializeFloat = serializeFloat;
|
|
874
|
+
exports.take = take;
|
|
875
|
+
exports.throwDefaultError = throwDefaultError;
|
|
876
|
+
exports.withBaseException = withBaseException;
|
|
877
|
+
Object.prototype.hasOwnProperty.call(serde, "__proto__") && !Object.prototype.hasOwnProperty.call(exports, "__proto__") && Object.defineProperty(exports, "__proto__", {
|
|
878
|
+
enumerable: true,
|
|
879
|
+
value: serde["__proto__"]
|
|
880
|
+
});
|
|
881
|
+
Object.keys(serde).forEach(function(k) {
|
|
882
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
883
|
+
exports[k] = serde[k];
|
|
884
|
+
});
|
|
885
|
+
});
|
|
886
|
+
|
|
887
|
+
export { require_dist_cjs3 as require_dist_cjs };
|