@design-edito/tools 0.1.72 → 0.2.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/agnostic/arrays/find-duplicates/index.js +1 -1
- package/agnostic/arrays/index.js +6 -6
- package/agnostic/arrays/is-array-of/index.js +1 -1
- package/agnostic/arrays/make/index.js +1 -1
- package/agnostic/arrays/random-pick/index.js +1 -1
- package/agnostic/arrays/shuffle/index.js +1 -1
- package/agnostic/booleans/index.js +1 -1
- package/agnostic/booleans/is-falsy/index.js +1 -1
- package/agnostic/colors/complement-color/index.js +1 -1
- package/agnostic/colors/hex-to-rgb/index.js +1 -1
- package/agnostic/colors/hsl-to-rgb/index.js +1 -1
- package/agnostic/colors/index.js +12 -12
- package/agnostic/colors/lighten-color/index.js +3 -3
- package/agnostic/colors/rgb-to-hex/index.js +1 -1
- package/agnostic/colors/rgb-to-hsl/index.js +1 -1
- package/agnostic/colors/saturate-color/index.js +3 -3
- package/agnostic/css/bem/index.js +3 -3
- package/agnostic/css/generate-nice-color/index.js +1 -1
- package/agnostic/css/index.js +12 -12
- package/agnostic/css/is-valid-css-class-name/index.js +1 -1
- package/agnostic/css/styles-set/index.js +1 -1
- package/agnostic/errors/index.js +1 -1
- package/agnostic/errors/register/index.js +1 -1
- package/agnostic/errors/unknown-to-string/index.js +1 -1
- package/agnostic/html/get-node-ancestors/index.js +1 -1
- package/agnostic/html/get-position-inside-parent/index.js +1 -1
- package/agnostic/html/hyper-json/cast/index.js +3 -3
- package/agnostic/html/hyper-json/index.js +4 -4
- package/agnostic/html/hyper-json/method/index.js +1 -1
- package/agnostic/html/hyper-json/serialize/index.js +1 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/index.js +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +3 -3
- package/agnostic/html/hyper-json/transformer/index.js +1 -1
- package/agnostic/html/hyper-json/tree/index.js +3 -3
- package/agnostic/html/hyper-json/types/index.js +1 -1
- package/agnostic/html/hyper-json/utils/index.js +3 -3
- package/agnostic/html/index.js +10 -10
- package/agnostic/html/insert-node/index.js +1 -1
- package/agnostic/html/placeholders/index.js +1 -1
- package/agnostic/html/replace-in-element/index.js +1 -1
- package/agnostic/html/sanitize/index.js +1 -1
- package/agnostic/html/selector-to-element/index.js +1 -1
- package/agnostic/html/string-to-nodes/index.js +1 -1
- package/agnostic/misc/assert/index.js +1 -1
- package/agnostic/misc/cast/index.js +1 -1
- package/agnostic/misc/crawler/index.js +1 -1
- package/agnostic/misc/crossenv/detect-runtime/index.js +1 -1
- package/agnostic/misc/crossenv/index.js +1 -1
- package/agnostic/misc/crossenv/types/index.js +1 -1
- package/agnostic/misc/crossenv/window/index.js +1 -1
- package/agnostic/misc/data-size/index.js +2 -2
- package/agnostic/misc/elo/index.js +1 -1
- package/agnostic/misc/get-current-downlink/index.js +1 -1
- package/agnostic/misc/index.js +17 -17
- package/agnostic/misc/is-constructor-function/index.js +1 -1
- package/agnostic/misc/is-nullish/index.js +1 -1
- package/agnostic/misc/logs/index.js +1 -1
- package/agnostic/misc/logs/logger/index.js +1 -1
- package/agnostic/misc/logs/make-text-block/index.js +1 -1
- package/agnostic/misc/logs/styles/index.js +1 -1
- package/agnostic/misc/lorem-ipsum/index.js +7 -7
- package/agnostic/misc/normalize-extension/index.js +1 -1
- package/agnostic/misc/outcome/index.js +1 -1
- package/agnostic/numbers/absolute-modulo/index.js +1 -1
- package/agnostic/numbers/clamp/index.js +1 -1
- package/agnostic/numbers/index.js +4 -4
- package/agnostic/numbers/interpolate/index.js +1 -1
- package/agnostic/numbers/responsive-harmonics/index.js +1 -1
- package/agnostic/numbers/round/index.js +1 -1
- package/agnostic/objects/deep-get-property/index.js +1 -1
- package/agnostic/objects/enums/index.js +1 -1
- package/agnostic/objects/enums/is-in-enum/index.js +1 -1
- package/agnostic/objects/flatten-getters/index.js +1 -1
- package/agnostic/objects/index.js +11 -11
- package/agnostic/objects/is-object/index.js +1 -1
- package/agnostic/objects/is-record/index.js +1 -1
- package/agnostic/objects/record-format/index.js +1 -1
- package/agnostic/objects/record-map/index.js +1 -1
- package/agnostic/objects/validation/index.js +1 -1
- package/agnostic/optim/index.js +1 -1
- package/agnostic/optim/memoize/index.js +1 -1
- package/agnostic/optim/throttle-debounce/index.js +1 -1
- package/agnostic/random/hex-char/index.js +1 -1
- package/agnostic/random/index.js +1 -1
- package/agnostic/random/random/index.js +1 -1
- package/agnostic/random/uuid/index.js +1 -1
- package/agnostic/regexps/index.js +1 -1
- package/agnostic/sanitization/index.js +4 -1280
- package/agnostic/strings/char-codes/index.js +1 -1
- package/agnostic/strings/index.js +12 -12
- package/agnostic/strings/matches/index.js +1 -1
- package/agnostic/strings/normalize-indent/index.js +1 -1
- package/agnostic/strings/replace-all/index.js +1 -1
- package/agnostic/strings/to-alphanum/index.js +1 -1
- package/agnostic/strings/trim/index.js +1 -1
- package/agnostic/time/dates/format-date/index.js +1 -1
- package/agnostic/time/dates/index.js +1 -1
- package/agnostic/time/duration/index.js +1 -1
- package/agnostic/time/index.js +4 -4
- package/agnostic/time/timeout/index.js +1 -1
- package/agnostic/time/transitions/index.js +1 -1
- package/agnostic/time/wait/index.js +1 -1
- package/chunks/chunk-24MJDYQE.js +18 -0
- package/chunks/{chunk-OYUM24PM.js → chunk-24ZUWYIR.js} +6 -6
- package/chunks/{chunk-MPYCQ5IF.js → chunk-2JH4TCT2.js} +1 -1
- package/chunks/{chunk-HNFSETMT.js → chunk-2V7TLVCV.js} +6 -6
- package/chunks/{chunk-6RJY3F7A.js → chunk-2VJ4QISD.js} +7 -7
- package/chunks/{chunk-CEY7OIFX.js → chunk-37TRFYZT.js} +1 -1
- package/chunks/{chunk-26V5RC4U.js → chunk-3CLGBOHN.js} +1 -1
- package/chunks/{chunk-UU35YSBK.js → chunk-3RLCDQOJ.js} +12 -12
- package/chunks/{chunk-LBDZQNBM.js → chunk-3TKBCG7Y.js} +5 -9
- package/chunks/{chunk-XFMKYZKH.js → chunk-3XRPOHUB.js} +1 -1
- package/chunks/{chunk-6STIUASQ.js → chunk-42K3MQQ5.js} +1 -1
- package/chunks/{chunk-AOWLA5T2.js → chunk-4BPSIDYW.js} +19 -19
- package/chunks/{chunk-KOBZRZBX.js → chunk-4EFX53Y4.js} +10 -6
- package/chunks/chunk-4KNB7WYD.js +19 -0
- package/chunks/{chunk-3J4WAVX6.js → chunk-4OK2UH4M.js} +7 -7
- package/chunks/{chunk-24O4C4HG.js → chunk-4W7NAQMC.js} +4 -4
- package/chunks/{chunk-5WARYKLO.js → chunk-4XBUJAQU.js} +10 -10
- package/chunks/{chunk-LF4VYSOT.js → chunk-4XSDRT23.js} +8 -9
- package/chunks/chunk-5BQFHNTR.js +21 -0
- package/chunks/chunk-5KVGIG6J.js +31 -0
- package/chunks/chunk-5PAFOSWF.js +16 -0
- package/chunks/{chunk-BTJ2JXDV.js → chunk-5VHFXWFM.js} +1 -1
- package/chunks/chunk-5XBCPKNW.js +18 -0
- package/chunks/{chunk-FWR7ZA4M.js → chunk-5ZJ3KJPK.js} +1 -1
- package/chunks/{chunk-QP5GNEJY.js → chunk-646R6BQZ.js} +6 -6
- package/chunks/chunk-6FMANHGH.js +15 -0
- package/chunks/{chunk-XIMUZN5X.js → chunk-6IYUA43Q.js} +1 -1
- package/chunks/{chunk-V7FJOKAC.js → chunk-6LDTWID7.js} +10 -10
- package/chunks/{chunk-YXIFWOKO.js → chunk-6NLNUGBI.js} +6 -6
- package/chunks/{chunk-AVVDAISH.js → chunk-74CFPDKM.js} +7 -7
- package/chunks/{chunk-KBOL3LMK.js → chunk-7CHYRYXJ.js} +34 -34
- package/chunks/{chunk-VSYAOEKE.js → chunk-7DV4CM2Z.js} +1 -1
- package/chunks/chunk-7HSB4A2G.js +31 -0
- package/chunks/{chunk-GZWZ5SSG.js → chunk-7J2AUDU2.js} +19 -19
- package/chunks/{chunk-2RFYHF6F.js → chunk-7J7CYOXU.js} +1 -1
- package/chunks/{chunk-HL6LO6QF.js → chunk-7KSMK42F.js} +7 -7
- package/chunks/chunk-ABQMMHCL.js +16 -0
- package/chunks/{chunk-J5TWVAJJ.js → chunk-AIC5YAJU.js} +7 -7
- package/chunks/{chunk-XDTFPTMG.js → chunk-AKCO3SNC.js} +33 -33
- package/chunks/{chunk-J467ZNXE.js → chunk-ANPXBD2G.js} +1 -1
- package/chunks/{chunk-M6B5J46K.js → chunk-AU6JLO5B.js} +3 -3
- package/chunks/chunk-AW3I75FU.js +79 -0
- package/chunks/{chunk-OSZCNQBA.js → chunk-AY7SJG3R.js} +11 -11
- package/chunks/chunk-B5C6VXNI.js +18 -0
- package/chunks/{chunk-HY7RNBYE.js → chunk-BD56ZAYF.js} +7 -7
- package/chunks/{chunk-5HE6JLK7.js → chunk-BE7OXZRK.js} +1 -1
- package/chunks/{chunk-EAV5YDBD.js → chunk-BGSJ5XCH.js} +3 -3
- package/chunks/chunk-BN4MCFBZ.js +35 -0
- package/chunks/{chunk-YQ7FI6RT.js → chunk-BP3KL5L2.js} +9 -9
- package/chunks/chunk-BSLVDJVW.js +32 -0
- package/chunks/{chunk-EHLTUOGZ.js → chunk-BSUQNHAM.js} +1 -1
- package/chunks/chunk-BVPHULMY.js +21 -0
- package/chunks/{chunk-TQZ46CBX.js → chunk-BWYH445G.js} +1 -1
- package/chunks/{chunk-ME7RF24X.js → chunk-C2MFLI7A.js} +16 -16
- package/chunks/{chunk-3G4NTP23.js → chunk-C6QTHDDM.js} +8 -9
- package/chunks/{chunk-WQD2VKTO.js → chunk-CA3UPHYO.js} +6 -6
- package/chunks/{chunk-AXTDGCSY.js → chunk-CAV4FNVR.js} +19 -19
- package/chunks/chunk-CGITTQIW.js +42 -0
- package/chunks/{chunk-HP722G2E.js → chunk-CHKEZ72M.js} +4 -24
- package/chunks/chunk-CKENYYWH.js +28 -0
- package/chunks/{chunk-FR3BXMR5.js → chunk-CNYSX2L2.js} +1 -1
- package/chunks/{chunk-FTOEQNF6.js → chunk-CVDCTI7F.js} +1 -1
- package/chunks/{chunk-4XS5UIQF.js → chunk-CWZFRUBS.js} +1 -1
- package/chunks/{chunk-TLYXVMR5.js → chunk-CXUWFKJG.js} +6 -6
- package/chunks/{chunk-7WYDM5OX.js → chunk-CYBPWE5F.js} +1 -1
- package/chunks/chunk-D67AGMZF.js +23 -0
- package/chunks/{chunk-ZWWJ52EY.js → chunk-D7PZ7633.js} +8 -8
- package/chunks/{chunk-4MLQ42IU.js → chunk-DPQRXSZH.js} +6 -6
- package/chunks/chunk-ELPQUBKJ.js +30 -0
- package/chunks/chunk-EOTOFHUR.js +42 -0
- package/chunks/chunk-EWQDQMIO.js +22 -0
- package/chunks/{chunk-V4YB22WN.js → chunk-EZ22Z22X.js} +7 -7
- package/chunks/chunk-F4GFAM6X.js +31 -0
- package/chunks/{chunk-MP6CL7F7.js → chunk-FB3GNE2B.js} +1 -1
- package/chunks/chunk-FCB366FH.js +40 -0
- package/chunks/chunk-FD5WR2A5.js +63 -0
- package/chunks/{chunk-NX2FQWHA.js → chunk-FE4DECBU.js} +1 -1
- package/chunks/{chunk-QKK6WQDI.js → chunk-FF5NURFO.js} +1 -1
- package/chunks/chunk-FI675VZO.js +11609 -0
- package/chunks/chunk-FRJBHV4A.js +21 -0
- package/chunks/{chunk-JJA4KGAD.js → chunk-FS6LRTDK.js} +6 -6
- package/chunks/chunk-G4Y2EOVP.js +18 -0
- package/chunks/{chunk-UBJACMOZ.js → chunk-G5RRNREY.js} +4 -4
- package/chunks/chunk-GE7DNPF6.js +63 -0
- package/chunks/chunk-GGYWRA4A.js +231 -0
- package/chunks/chunk-GKCKBPY2.js +16 -0
- package/chunks/chunk-GZIEUPBF.js +18 -0
- package/chunks/{chunk-DJ7ABCYK.js → chunk-H4LW6FP3.js} +6 -6
- package/chunks/{chunk-HDGHODNO.js → chunk-H5O26IRG.js} +7 -7
- package/chunks/{chunk-LUZ7ZWWJ.js → chunk-HD7QU6D6.js} +11 -11
- package/chunks/{chunk-NCLB3UH3.js → chunk-HKTNK262.js} +1 -1
- package/chunks/{chunk-54B7VIY6.js → chunk-HRNDUTZE.js} +1 -1
- package/chunks/{chunk-TEQE3HY3.js → chunk-HRWQVASA.js} +14 -14
- package/chunks/{chunk-5RA25FYM.js → chunk-HWEGQVBQ.js} +1 -1
- package/chunks/{chunk-G2XDDBWE.js → chunk-HWVEI3RH.js} +1 -1
- package/chunks/chunk-HX5PHI2P.js +42 -0
- package/chunks/{chunk-2DYDNCZK.js → chunk-HY4V3SPP.js} +22 -22
- package/chunks/chunk-IFZ4CMF4.js +16 -0
- package/chunks/{chunk-H4NHF72W.js → chunk-IV75M3KE.js} +6 -8
- package/chunks/chunk-JAENHN5Z.js +42 -0
- package/chunks/chunk-JNQPNZTB.js +42 -0
- package/chunks/{chunk-B5OUYMUU.js → chunk-JQAOGZPV.js} +4 -4
- package/chunks/{chunk-NP5UEOSJ.js → chunk-JTJA7DGW.js} +2 -2
- package/chunks/chunk-JV6I54AC.js +16 -0
- package/chunks/{chunk-5CYREVPP.js → chunk-KJAEVOIW.js} +1 -1
- package/chunks/chunk-KOD5LUT3.js +28 -0
- package/chunks/{chunk-ESUBE7BB.js → chunk-KQCU3AXU.js} +6 -6
- package/chunks/{chunk-SCOY7PVB.js → chunk-KRICEY6O.js} +4 -4
- package/chunks/chunk-KUT7FQGS.js +16 -0
- package/chunks/chunk-LJO4SDD2.js +79 -0
- package/chunks/{chunk-KPYPESIY.js → chunk-LNL6TUDC.js} +14 -14
- package/chunks/chunk-LQ2H2YVS.js +60 -0
- package/chunks/chunk-LQ3PCG4Z.js +18 -0
- package/chunks/chunk-LRBVQNQI.js +40 -0
- package/chunks/chunk-LSZVKXDZ.js +37 -0
- package/chunks/chunk-LV4WOREW.js +40 -0
- package/chunks/chunk-LVCQ3CSC.js +21 -0
- package/chunks/chunk-M32C4GP2.js +15 -0
- package/chunks/{chunk-MYCT3HYF.js → chunk-MJFB3YE6.js} +3 -3
- package/chunks/chunk-MJMBDBEH.js +69 -0
- package/chunks/chunk-MKHTR43Q.js +231 -0
- package/chunks/{chunk-A3VTK5UF.js → chunk-N2T672IG.js} +1 -1
- package/chunks/chunk-NFSRT4ED.js +18 -0
- package/chunks/chunk-NHKKX4F7.js +18 -0
- package/chunks/{chunk-JZ6Z7V7F.js → chunk-NJVVOZVZ.js} +4 -4
- package/chunks/{chunk-Z2VDSEND.js → chunk-NMYVJJXV.js} +1 -1
- package/chunks/{chunk-4PAHEIPV.js → chunk-NOLQR5RW.js} +6 -6
- package/chunks/{chunk-YU5NILJC.js → chunk-NWGNIT4B.js} +3 -3
- package/chunks/chunk-O3V5DTNL.js +40 -0
- package/chunks/chunk-O6TWC4IK.js +56 -0
- package/chunks/{chunk-TOGOF74B.js → chunk-OA7Y2A5T.js} +6 -6
- package/chunks/chunk-OAGKCS7I.js +24 -0
- package/chunks/chunk-OMLGI3Y2.js +16 -0
- package/chunks/{chunk-2UPQ73EE.js → chunk-ON6LC3HE.js} +12 -11
- package/chunks/chunk-OT4SVHDX.js +11609 -0
- package/chunks/{chunk-6NZOSESD.js → chunk-PAIUCLVK.js} +1 -1
- package/chunks/chunk-PFYLNAAX.js +24 -0
- package/chunks/{chunk-HUT6SDJH.js → chunk-PGT5NXPS.js} +129 -42
- package/chunks/chunk-Q2SKOY7I.js +37 -0
- package/chunks/{chunk-BOJEVEPB.js → chunk-QCOO4PV5.js} +1 -1
- package/chunks/{chunk-IOZR2LGL.js → chunk-QDVDHFMZ.js} +1 -1
- package/chunks/{chunk-SSJ5YQMJ.js → chunk-QH64MYGA.js} +1 -1
- package/chunks/{chunk-6SSGHEQX.js → chunk-QLDN574K.js} +1 -1
- package/chunks/chunk-QTF7LWGT.js +28 -0
- package/chunks/{chunk-FTGHUU73.js → chunk-QTPSR7ZJ.js} +15 -15
- package/chunks/{chunk-ZO5FRL3M.js → chunk-QVPS2BCJ.js} +1 -1
- package/chunks/{chunk-QQAPFSMW.js → chunk-QWZ4ZNFA.js} +10 -10
- package/chunks/chunk-R4BWUNSM.js +28 -0
- package/chunks/chunk-REXT5ZMP.js +32 -0
- package/chunks/{chunk-CXU3QPN2.js → chunk-REZC75LB.js} +1 -1
- package/chunks/chunk-RNLVCCL2.js +151 -0
- package/chunks/{chunk-GKTDEHC6.js → chunk-RWO53U4X.js} +1 -1
- package/chunks/chunk-RXBMGIPJ.js +42 -0
- package/chunks/chunk-SEYXG56Q.js +23 -0
- package/chunks/{chunk-PUPASUMS.js → chunk-SHXOKSK3.js} +2 -2
- package/chunks/chunk-SP7EOGMF.js +30 -0
- package/chunks/chunk-SX2M5777.js +177 -0
- package/chunks/{chunk-PPJYUWHH.js → chunk-TGVYEQIA.js} +1 -1
- package/chunks/chunk-TQHR6A2P.js +40 -0
- package/chunks/chunk-TSAR3HF6.js +35 -0
- package/chunks/chunk-U2KKX7UV.js +19 -0
- package/chunks/{chunk-IQUEVQBN.js → chunk-UEAMPAHK.js} +7 -7
- package/chunks/{chunk-LUETT72P.js → chunk-UJ5LGWZL.js} +1 -1
- package/chunks/{chunk-7WUVBSIC.js → chunk-UK2F7CWI.js} +1 -1
- package/chunks/{chunk-EEZ3NV4Q.js → chunk-UK4HNSEJ.js} +6 -6
- package/chunks/chunk-UX2O74SG.js +42 -0
- package/chunks/chunk-UXEKCYL7.js +28 -0
- package/chunks/{chunk-4IHBBNAG.js → chunk-V3GX7SIJ.js} +4 -8
- package/chunks/{chunk-YCNUTWOG.js → chunk-V3L55I2S.js} +1 -1
- package/chunks/chunk-VEKKX6Z5.js +173 -0
- package/chunks/chunk-VISMB7RN.js +60 -0
- package/chunks/chunk-VJHE6WHS.js +164 -0
- package/chunks/{chunk-IIXTJZ6G.js → chunk-VROZGPC5.js} +6 -8
- package/chunks/chunk-VSM742EZ.js +40 -0
- package/chunks/{chunk-FNIJLHH2.js → chunk-W3G73JUU.js} +3 -3
- package/chunks/{chunk-JKAHSFJD.js → chunk-W3RXHN5I.js} +1 -1
- package/chunks/{chunk-HGDSHJEX.js → chunk-WAHPAZQS.js} +1 -1
- package/chunks/{chunk-V7JZNA6N.js → chunk-WG56WT6T.js} +3 -3
- package/chunks/chunk-WHLM3KTR.js +20 -0
- package/chunks/chunk-WJ3XV35I.js +28 -0
- package/chunks/chunk-WKGSTVTK.js +28 -0
- package/chunks/chunk-WMDZHUBQ.js +56 -0
- package/chunks/chunk-WS3JRFP7.js +69 -0
- package/chunks/chunk-WSFCRVEQ.js +9 -0
- package/chunks/chunk-X33GT7VY.js +28 -0
- package/chunks/chunk-XJ23DJY4.js +173 -0
- package/chunks/chunk-XNJYYULL.js +177 -0
- package/chunks/chunk-XNWEMAIP.js +42 -0
- package/chunks/chunk-XOUITWSM.js +21 -0
- package/chunks/{chunk-P5CBBXGK.js → chunk-XOXH4XNN.js} +3 -3
- package/chunks/chunk-XQ4V4LVP.js +28 -0
- package/chunks/chunk-Y6EREGHZ.js +20 -0
- package/chunks/chunk-YB2KZLMN.js +65 -0
- package/chunks/chunk-YDIFL3IZ.js +151 -0
- package/chunks/chunk-YJE3G6BE.js +16 -0
- package/chunks/{chunk-NXV33ZSC.js → chunk-YKPA3MQL.js} +1 -1
- package/chunks/chunk-YVWQXQTE.js +42 -0
- package/chunks/{chunk-S3GEV44K.js → chunk-Z4B2Z7QO.js} +124 -37
- package/chunks/{chunk-NHMEZ6ZP.js → chunk-ZEZCYPLQ.js} +6 -8
- package/chunks/chunk-ZH3QMMVD.js +28 -0
- package/chunks/{chunk-B7E3DQ4Z.js → chunk-ZJTWDCNZ.js} +1 -1
- package/chunks/chunk-ZKAK6JOS.js +98 -0
- package/chunks/chunk-ZN6IQRZT.js +141 -0
- package/chunks/{chunk-Z566RJUU.js → chunk-ZNA7SWFK.js} +1 -1
- package/chunks/chunk-ZQY2MR66.js +42 -0
- package/chunks/{chunk-ZAIWJI6A.js → chunk-ZSUG52DO.js} +6 -8
- package/chunks/chunk-ZUQEHFGL.js +42 -0
- package/components/Comp/index.js +1 -1
- package/node/@aws-s3/index.js +15 -16
- package/node/@aws-s3/storage/directory/copy-dir/index.js +2 -3
- package/node/@aws-s3/storage/directory/index.js +8 -9
- package/node/@aws-s3/storage/directory/list/index.js +2 -3
- package/node/@aws-s3/storage/directory/move-dir/index.js +2 -3
- package/node/@aws-s3/storage/directory/remove-dir/index.js +2 -3
- package/node/@aws-s3/storage/file/copy/index.js +2 -3
- package/node/@aws-s3/storage/file/download/index.js +2 -3
- package/node/@aws-s3/storage/file/exists/index.js +2 -3
- package/node/@aws-s3/storage/file/index.js +11 -12
- package/node/@aws-s3/storage/file/move/index.js +2 -3
- package/node/@aws-s3/storage/file/remove/index.js +2 -3
- package/node/@aws-s3/storage/file/stat/index.js +2 -3
- package/node/@aws-s3/storage/file/upload/index.js +2 -3
- package/node/@aws-s3/storage/index.js +15 -16
- package/node/@design-edito/index.js +1 -1
- package/node/@express/@multer/index.js +2 -2
- package/node/@express/index.js +2 -2
- package/node/@google-cloud/index.js +22 -22
- package/node/@google-cloud/storage/bucket/get-metadata/index.js +2 -2
- package/node/@google-cloud/storage/bucket/index.js +8 -8
- package/node/@google-cloud/storage/directory/copy-dir/index.js +2 -2
- package/node/@google-cloud/storage/directory/index.js +8 -8
- package/node/@google-cloud/storage/directory/list/index.js +2 -2
- package/node/@google-cloud/storage/directory/move-dir/index.js +2 -2
- package/node/@google-cloud/storage/directory/remove-dir/index.js +2 -2
- package/node/@google-cloud/storage/file/copy/index.js +2 -2
- package/node/@google-cloud/storage/file/download/index.js +2 -2
- package/node/@google-cloud/storage/file/exists/index.js +2 -2
- package/node/@google-cloud/storage/file/generate-signed-url/index.js +2 -2
- package/node/@google-cloud/storage/file/get-metadata/index.js +2 -2
- package/node/@google-cloud/storage/file/get-permissions/index.js +2 -2
- package/node/@google-cloud/storage/file/index.js +19 -19
- package/node/@google-cloud/storage/file/move/index.js +2 -2
- package/node/@google-cloud/storage/file/remove/index.js +2 -2
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +5 -5
- package/node/@google-cloud/storage/file/stat/index.js +2 -2
- package/node/@google-cloud/storage/file/update-metadata/index.js +2 -2
- package/node/@google-cloud/storage/file/upload/index.js +2 -2
- package/node/@google-cloud/storage/index.js +24 -24
- package/node/cloud-storage/clients/index.js +2 -3
- package/node/cloud-storage/index.js +58 -59
- package/node/cloud-storage/operations/copy-dir/index.js +7 -8
- package/node/cloud-storage/operations/copy-file/index.js +7 -8
- package/node/cloud-storage/operations/download-file/index.js +7 -8
- package/node/cloud-storage/operations/exists-file/index.js +7 -8
- package/node/cloud-storage/operations/index.js +63 -64
- package/node/cloud-storage/operations/list-dir/index.js +7 -8
- package/node/cloud-storage/operations/move-dir/index.js +7 -8
- package/node/cloud-storage/operations/move-file/index.js +7 -8
- package/node/cloud-storage/operations/remove-dir/index.js +7 -8
- package/node/cloud-storage/operations/remove-file/index.js +7 -8
- package/node/cloud-storage/operations/stat-file/index.js +7 -8
- package/node/cloud-storage/operations/upload-file/index.js +7 -8
- package/node/encryption/@aes-256-gcm/buffer/index.js +3 -3
- package/node/encryption/@aes-256-gcm/index.js +4 -4
- package/node/encryption/@aes-256-gcm/uint8-array/index.js +2 -2
- package/node/encryption/index.js +5 -5
- package/node/encryption/key/index.js +2 -2
- package/node/files/index.js +5 -5
- package/node/files/is-in-directory/index.js +1 -1
- package/node/files/read-write/index.js +1 -1
- package/node/files/subpaths/index.js +1 -1
- package/node/ftps/directory/copy-dir/index.js +2 -2
- package/node/ftps/directory/index.js +8 -8
- package/node/ftps/directory/list/index.js +2 -2
- package/node/ftps/directory/move-dir/index.js +2 -2
- package/node/ftps/directory/remove-dir/index.js +2 -2
- package/node/ftps/file/copy/index.js +2 -2
- package/node/ftps/file/download/index.js +2 -2
- package/node/ftps/file/exists/index.js +2 -2
- package/node/ftps/file/index.js +11 -11
- package/node/ftps/file/move/index.js +2 -2
- package/node/ftps/file/remove/index.js +2 -2
- package/node/ftps/file/stat/index.js +2 -2
- package/node/ftps/file/upload/index.js +2 -2
- package/node/ftps/index.js +14 -14
- package/node/images/format/index.js +3 -3
- package/node/images/index.js +35 -35
- package/node/images/prepare/index.js +35 -35
- package/node/images/transform/_utils/color-schema/index.js +3 -3
- package/node/images/transform/_utils/operation-names/index.js +1 -1
- package/node/images/transform/_utils/positions/index.d.ts +8 -22
- package/node/images/transform/_utils/positions/index.js +3 -3
- package/node/images/transform/blur/index.js +3 -3
- package/node/images/transform/brighten/index.js +3 -3
- package/node/images/transform/compose/index.js +5 -5
- package/node/images/transform/extend/index.js +4 -4
- package/node/images/transform/extract/index.js +3 -3
- package/node/images/transform/flatten/index.js +4 -4
- package/node/images/transform/flip/index.js +3 -3
- package/node/images/transform/flop/index.js +3 -3
- package/node/images/transform/frame/backgrounds/create-line-background/index.d.ts +34 -127
- package/node/images/transform/frame/backgrounds/create-line-background/index.js +3 -3
- package/node/images/transform/frame/backgrounds/create-tile-background/index.d.ts +75 -76
- package/node/images/transform/frame/backgrounds/create-tile-background/index.js +3 -3
- package/node/images/transform/frame/index.js +7 -7
- package/node/images/transform/hue-rotate/index.js +3 -3
- package/node/images/transform/index.js +33 -33
- package/node/images/transform/lighten/index.js +3 -3
- package/node/images/transform/lineate-levels/index.js +3 -3
- package/node/images/transform/modulate/index.js +3 -3
- package/node/images/transform/normalize/index.js +3 -3
- package/node/images/transform/operations/_utils/compose/index.js +1 -1
- package/node/images/transform/operations/_utils/frame/backgrounds/create-line-background/index.js +5 -5
- package/node/images/transform/operations/_utils/frame/backgrounds/create-tile-background/index.js +1 -1
- package/node/images/transform/operations/_utils/frame/create-color-palette/index.js +5 -5
- package/node/images/transform/operations/_utils/frame/extract-colors-from-image/index.js +1 -1
- package/node/images/transform/operations/_utils/frame/index.js +8 -8
- package/node/images/transform/operations/_utils/positions/index.js +1 -1
- package/node/images/transform/operations/_utils/scale/index.js +1 -1
- package/node/images/transform/resize/index.js +4 -4
- package/node/images/transform/rotate/index.js +3 -3
- package/node/images/transform/saturate/index.js +3 -3
- package/node/images/transform/scale/index.js +4 -4
- package/node/process/index.js +1 -1
- package/node/process/on-exit/index.js +1 -1
- package/node/sftp/directory/copy-dir/index.js +2 -2
- package/node/sftp/directory/index.js +8 -8
- package/node/sftp/directory/list/index.js +2 -2
- package/node/sftp/directory/move-dir/index.js +2 -2
- package/node/sftp/directory/remove-dir/index.js +2 -2
- package/node/sftp/file/copy/index.js +2 -2
- package/node/sftp/file/download/index.js +2 -2
- package/node/sftp/file/exists/index.js +2 -2
- package/node/sftp/file/index.js +11 -11
- package/node/sftp/file/move/index.js +2 -2
- package/node/sftp/file/remove/index.js +2 -2
- package/node/sftp/file/stat/index.js +2 -2
- package/node/sftp/file/upload/index.js +2 -2
- package/node/sftp/index.js +14 -14
- package/package.json +9 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.js +0 -21
- package/agnostic/misc/crossenv/get-document/index.d.ts +0 -2
- package/agnostic/misc/crossenv/get-document/index.js +0 -7
- package/agnostic/misc/crossenv/get-window/browser.d.ts +0 -2
- package/agnostic/misc/crossenv/get-window/index.d.ts +0 -2
- package/agnostic/misc/crossenv/get-window/index.js +0 -6
- package/agnostic/misc/crossenv/types.d.ts +0 -3
- package/chunks/chunk-2ALVFCSP.js +0 -211
- package/chunks/chunk-2NXYSAFE.js +0 -67
- package/chunks/chunk-2YGNPA2R.js +0 -79
- package/chunks/chunk-34C35EX6.js +0 -16
- package/chunks/chunk-36CTYZYA.js +0 -28
- package/chunks/chunk-45S766KF.js +0 -15
- package/chunks/chunk-4GUDL44X.js +0 -13
- package/chunks/chunk-4QQBKBYH.js +0 -59
- package/chunks/chunk-5HW7QLTB.js +0 -35
- package/chunks/chunk-5IR2PWO6.js +0 -211
- package/chunks/chunk-73FTH5T3.js +0 -211
- package/chunks/chunk-73V5RDSG.js +0 -13
- package/chunks/chunk-7647NLB2.js +0 -16
- package/chunks/chunk-B446JIN3.js +0 -29
- package/chunks/chunk-BEZTX3QU.js +0 -1
- package/chunks/chunk-BVCNQIKY.js +0 -18
- package/chunks/chunk-BW5CY5YB.js +0 -1
- package/chunks/chunk-CHUOCTRP.js +0 -26
- package/chunks/chunk-DIPJ73JH.js +0 -1
- package/chunks/chunk-DRH7Q4FL.js +0 -127
- package/chunks/chunk-E3NHW6J4.js +0 -211
- package/chunks/chunk-EAY65ZP6.js +0 -22
- package/chunks/chunk-EFFU6KXJ.js +0 -1
- package/chunks/chunk-EW46EXFB.js +0 -8
- package/chunks/chunk-EWQZUF22.js +0 -211
- package/chunks/chunk-EZW6DNPL.js +0 -23
- package/chunks/chunk-FCU6IHKD.js +0 -15
- package/chunks/chunk-FTDA7PRI.js +0 -2405
- package/chunks/chunk-FVPFKY5G.js +0 -2391
- package/chunks/chunk-GDYVCEWA.js +0 -38
- package/chunks/chunk-HCNRPWKW.js +0 -63
- package/chunks/chunk-HEJV6JIO.js +0 -133
- package/chunks/chunk-HLUWFMD7.js +0 -67
- package/chunks/chunk-HRWQ4TUA.js +0 -2405
- package/chunks/chunk-HZJY7N36.js +0 -2405
- package/chunks/chunk-IJIE2SLT.js +0 -211
- package/chunks/chunk-IPB3U2PD.js +0 -278
- package/chunks/chunk-IY44AG73.js +0 -69
- package/chunks/chunk-IZP4VIFZ.js +0 -35933
- package/chunks/chunk-JEYO7UP7.js +0 -44
- package/chunks/chunk-JFWEEBSR.js +0 -18
- package/chunks/chunk-JKISSFTR.js +0 -211
- package/chunks/chunk-JWF5EKM2.js +0 -127
- package/chunks/chunk-KH45J4DC.js +0 -48
- package/chunks/chunk-KNE7WIIW.js +0 -1
- package/chunks/chunk-LCFDDWJR.js +0 -278
- package/chunks/chunk-LCLAV6Q2.js +0 -1
- package/chunks/chunk-LVPFSXKA.js +0 -37
- package/chunks/chunk-LYMZZ4BB.js +0 -22
- package/chunks/chunk-MF56TTC5.js +0 -15
- package/chunks/chunk-MQ4Y3GBI.js +0 -19
- package/chunks/chunk-N4EJZLME.js +0 -21
- package/chunks/chunk-N7FA7QJK.js +0 -30
- package/chunks/chunk-NQNEYA4Z.js +0 -32
- package/chunks/chunk-O4AEYNFT.js +0 -16
- package/chunks/chunk-OO5SJJDW.js +0 -35
- package/chunks/chunk-P5TKDJ4T.js +0 -37
- package/chunks/chunk-PCAKH6ZJ.js +0 -1
- package/chunks/chunk-PO3V3I57.js +0 -23
- package/chunks/chunk-Q7XL3D4H.js +0 -37
- package/chunks/chunk-QQRJPDR7.js +0 -1
- package/chunks/chunk-R2H52CYP.js +0 -44
- package/chunks/chunk-R6KCN6CK.js +0 -40
- package/chunks/chunk-RUCTSKYQ.js +0 -2391
- package/chunks/chunk-S23WCXQK.js +0 -211
- package/chunks/chunk-S4FNXSMM.js +0 -18
- package/chunks/chunk-SA2IY5LN.js +0 -35
- package/chunks/chunk-SQZGZ3VT.js +0 -15
- package/chunks/chunk-T4KFB6QN.js +0 -4072
- package/chunks/chunk-UFKH5WD2.js +0 -21
- package/chunks/chunk-UOWPJDWO.js +0 -37
- package/chunks/chunk-UQVDRQ77.js +0 -2391
- package/chunks/chunk-UWAMSJ2X.js +0 -28
- package/chunks/chunk-VA6HXRX4.js +0 -211
- package/chunks/chunk-VDNIN3V5.js +0 -23
- package/chunks/chunk-W3MRYBZJ.js +0 -37
- package/chunks/chunk-W7YBGJ4H.js +0 -28
- package/chunks/chunk-WECTUHS5.js +0 -127
- package/chunks/chunk-WHGU2Q46.js +0 -31
- package/chunks/chunk-WTAMA5WX.js +0 -37
- package/chunks/chunk-WZ2EV5JB.js +0 -211
- package/chunks/chunk-WZBNXYN3.js +0 -1
- package/chunks/chunk-X2DODW4G.js +0 -211
- package/chunks/chunk-X7KWB2VQ.js +0 -21
- package/chunks/chunk-XCKXCF4A.js +0 -1
- package/chunks/chunk-XI2XIH6L.js +0 -2391
- package/chunks/chunk-XKMSDS3Z.js +0 -18
- package/chunks/chunk-XYNIGHGL.js +0 -654
- package/chunks/chunk-YCX3R64F.js +0 -211
- package/chunks/chunk-YMPNQJ4Z.js +0 -21
- package/chunks/chunk-YVUJ4WBL.js +0 -16
- package/chunks/chunk-YYE2MVZO.js +0 -211
- package/chunks/chunk-ZB73RE7P.js +0 -35
- package/chunks/chunk-ZONKYNKA.js +0 -28
- package/chunks/chunk-ZUWQPR2N.js +0 -37
- package/chunks/chunk-ZVJO36JU.js +0 -1
- package/index.d.ts +0 -3
- package/index.js +0 -96
- package/utils/agnostic/absolute-modulo/index.d.ts +0 -1
- package/utils/agnostic/absolute-modulo/index.js +0 -1
- package/utils/agnostic/array/index.d.ts +0 -7
- package/utils/agnostic/array/index.js +0 -1
- package/utils/agnostic/assert/index.d.ts +0 -3
- package/utils/agnostic/assert/index.js +0 -1
- package/utils/agnostic/await-timeout/index.d.ts +0 -2
- package/utils/agnostic/await-timeout/index.js +0 -1
- package/utils/agnostic/bem/BEM.d.ts +0 -29
- package/utils/agnostic/bem/getNamesArr.d.ts +0 -2
- package/utils/agnostic/bem/index.d.ts +0 -5
- package/utils/agnostic/bem/index.js +0 -1
- package/utils/agnostic/cast/index.d.ts +0 -7
- package/utils/agnostic/cast/index.js +0 -1
- package/utils/agnostic/charcode-string/index.d.ts +0 -2
- package/utils/agnostic/charcode-string/index.js +0 -1
- package/utils/agnostic/clamp/index.d.ts +0 -1
- package/utils/agnostic/clamp/index.js +0 -1
- package/utils/agnostic/clientside-html-sanitizer/index.d.ts +0 -22
- package/utils/agnostic/clientside-html-sanitizer/index.js +0 -1
- package/utils/agnostic/crossenv/index.d.ts +0 -11
- package/utils/agnostic/crossenv/index.js +0 -1
- package/utils/agnostic/flatten-getters/index.d.ts +0 -1
- package/utils/agnostic/flatten-getters/index.js +0 -1
- package/utils/agnostic/generate-html-placeholders/index.d.ts +0 -7
- package/utils/agnostic/generate-html-placeholders/index.js +0 -5
- package/utils/agnostic/generate-nice-color/index.d.ts +0 -3
- package/utils/agnostic/generate-nice-color/index.js +0 -1
- package/utils/agnostic/insert-node/index.d.ts +0 -2
- package/utils/agnostic/insert-node/index.js +0 -1
- package/utils/agnostic/interpolate/index.d.ts +0 -3
- package/utils/agnostic/interpolate/index.js +0 -1
- package/utils/agnostic/is-array-of/index.d.ts +0 -5
- package/utils/agnostic/is-array-of/index.js +0 -1
- package/utils/agnostic/is-constructor-function/index.d.ts +0 -2
- package/utils/agnostic/is-constructor-function/index.js +0 -1
- package/utils/agnostic/is-falsy/index.d.ts +0 -8
- package/utils/agnostic/is-falsy/index.js +0 -1
- package/utils/agnostic/is-in-enum/index.d.ts +0 -1
- package/utils/agnostic/is-in-enum/index.js +0 -1
- package/utils/agnostic/is-nullish/index.d.ts +0 -5
- package/utils/agnostic/is-nullish/index.js +0 -1
- package/utils/agnostic/is-object/index.d.ts +0 -1
- package/utils/agnostic/is-object/index.js +0 -1
- package/utils/agnostic/is-record/index.d.ts +0 -1
- package/utils/agnostic/is-record/index.js +0 -1
- package/utils/agnostic/is-valid-css-class-name/index.d.ts +0 -2
- package/utils/agnostic/is-valid-css-class-name/index.js +0 -1
- package/utils/agnostic/memoize/index.d.ts +0 -3
- package/utils/agnostic/memoize/index.js +0 -1
- package/utils/agnostic/object-validate-from-partial/index.d.ts +0 -1
- package/utils/agnostic/object-validate-from-partial/index.js +0 -1
- package/utils/agnostic/random/index.d.ts +0 -9
- package/utils/agnostic/random/index.js +0 -1
- package/utils/agnostic/record-format/index.d.ts +0 -11
- package/utils/agnostic/record-format/index.js +0 -1
- package/utils/agnostic/regexp/index.d.ts +0 -21
- package/utils/agnostic/regexp/index.js +0 -1
- package/utils/agnostic/replace-all/index.d.ts +0 -1
- package/utils/agnostic/replace-all/index.js +0 -1
- package/utils/agnostic/responsive-harmonics/index.d.ts +0 -10
- package/utils/agnostic/responsive-harmonics/index.js +0 -1
- package/utils/agnostic/round-numbers/index.d.ts +0 -1
- package/utils/agnostic/round-numbers/index.js +0 -1
- package/utils/agnostic/selector-to-element/index.d.ts +0 -1
- package/utils/agnostic/selector-to-element/index.js +0 -1
- package/utils/agnostic/silent-log/index.d.ts +0 -53
- package/utils/agnostic/silent-log/index.js +0 -9
- package/utils/agnostic/str-to-nodes/index.d.ts +0 -7
- package/utils/agnostic/str-to-nodes/index.js +0 -1
- package/utils/agnostic/string-matches/index.d.ts +0 -4
- package/utils/agnostic/string-matches/index.js +0 -1
- package/utils/agnostic/string-normalize-indent/index.d.ts +0 -1
- package/utils/agnostic/string-normalize-indent/index.js +0 -3
- package/utils/agnostic/throttle-debounce/index.d.ts +0 -30
- package/utils/agnostic/throttle-debounce/index.js +0 -1
- package/utils/agnostic/throttle-debounce/types.d.ts +0 -3
- package/utils/agnostic/to-alphanum/index.d.ts +0 -1
- package/utils/agnostic/to-alphanum/index.js +0 -1
- package/utils/agnostic/transition/index.d.ts +0 -39
- package/utils/agnostic/transition/index.js +0 -1
- package/utils/agnostic/wait/index.d.ts +0 -1
- package/utils/agnostic/wait/index.js +0 -1
- package/utils/browser/dynamic-css/index.d.ts +0 -4
- package/utils/browser/dynamic-css/index.js +0 -2
- package/utils/browser/get-current-downlink/index.d.ts +0 -1
- package/utils/browser/get-current-downlink/index.js +0 -1
- package/utils/browser/get-node-ancestors/index.d.ts +0 -1
- package/utils/browser/get-node-ancestors/index.js +0 -1
- package/utils/node/is-in-directory/index.d.ts +0 -1
- package/utils/node/is-in-directory/index.js +0 -1
- package/utils/node/list-subpaths/index.d.ts +0 -33
- package/utils/node/list-subpaths/index.js +0 -1
- package/utils/node/process-exit/index.d.ts +0 -5
- package/utils/node/process-exit/index.js +0 -1
- package/utils/node/read-write-file/index.d.ts +0 -12
- package/utils/node/read-write-file/index.js +0 -1
- package/chunks/{chunk-33GNX62K.js → chunk-3BSVGWTK.js} +6 -6
- package/chunks/{chunk-H5HM5EBO.js → chunk-6V6SYSHX.js} +5 -5
- package/chunks/{chunk-6LY5FJXY.js → chunk-OL4JB46K.js} +11 -11
- package/chunks/{chunk-DCKTGQOX.js → chunk-OVG5RGI3.js} +4 -4
- package/chunks/{chunk-2COSSNOE.js → chunk-SAFV7TBT.js} +6 -6
- package/chunks/{chunk-LMF52IW7.js → chunk-XTOAQTLP.js} +4 -4
package/chunks/chunk-XKMSDS3Z.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
OperationNames
|
3
|
-
} from "./chunk-MOVLLUDL.js";
|
4
|
-
import {
|
5
|
-
esm_default
|
6
|
-
} from "./chunk-T4KFB6QN.js";
|
7
|
-
|
8
|
-
// src/node/images/transform/rotate/index.ts
|
9
|
-
var rotateSchema = esm_default.object({
|
10
|
-
name: esm_default.literal(OperationNames.Rotate),
|
11
|
-
params: esm_default.object({
|
12
|
-
angle: esm_default.number()
|
13
|
-
})
|
14
|
-
});
|
15
|
-
|
16
|
-
export {
|
17
|
-
rotateSchema
|
18
|
-
};
|
package/chunks/chunk-XYNIGHGL.js
DELETED
@@ -1,654 +0,0 @@
|
|
1
|
-
import {
|
2
|
-
require_dist_cjs,
|
3
|
-
require_dist_cjs2,
|
4
|
-
require_dist_cjs3,
|
5
|
-
require_dist_cjs4
|
6
|
-
} from "./chunk-IZP4VIFZ.js";
|
7
|
-
import {
|
8
|
-
Outcome
|
9
|
-
} from "./chunk-JMU5PDBD.js";
|
10
|
-
import {
|
11
|
-
unknownToString
|
12
|
-
} from "./chunk-FENXVJYO.js";
|
13
|
-
import {
|
14
|
-
__commonJS,
|
15
|
-
__export,
|
16
|
-
__require,
|
17
|
-
__toESM
|
18
|
-
} from "./chunk-KH45J4DC.js";
|
19
|
-
|
20
|
-
// node_modules/@smithy/abort-controller/dist-cjs/index.js
|
21
|
-
var require_dist_cjs5 = __commonJS({
|
22
|
-
"node_modules/@smithy/abort-controller/dist-cjs/index.js"(exports, module) {
|
23
|
-
var __defProp = Object.defineProperty;
|
24
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
25
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
26
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
27
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
28
|
-
var __export2 = (target, all) => {
|
29
|
-
for (var name in all)
|
30
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
31
|
-
};
|
32
|
-
var __copyProps = (to, from, except, desc) => {
|
33
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
34
|
-
for (let key of __getOwnPropNames(from))
|
35
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
36
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
37
|
-
}
|
38
|
-
return to;
|
39
|
-
};
|
40
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
41
|
-
var src_exports = {};
|
42
|
-
__export2(src_exports, {
|
43
|
-
AbortController: () => AbortController,
|
44
|
-
AbortHandler: () => import_types.AbortHandler,
|
45
|
-
AbortSignal: () => AbortSignal,
|
46
|
-
IAbortController: () => import_types.AbortController,
|
47
|
-
IAbortSignal: () => import_types.AbortSignal
|
48
|
-
});
|
49
|
-
module.exports = __toCommonJS(src_exports);
|
50
|
-
var import_types = require_dist_cjs();
|
51
|
-
var AbortSignal = class {
|
52
|
-
constructor() {
|
53
|
-
this.onabort = null;
|
54
|
-
this._aborted = false;
|
55
|
-
Object.defineProperty(this, "_aborted", {
|
56
|
-
value: false,
|
57
|
-
writable: true
|
58
|
-
});
|
59
|
-
}
|
60
|
-
static {
|
61
|
-
__name(this, "AbortSignal");
|
62
|
-
}
|
63
|
-
/**
|
64
|
-
* Whether the associated operation has already been cancelled.
|
65
|
-
*/
|
66
|
-
get aborted() {
|
67
|
-
return this._aborted;
|
68
|
-
}
|
69
|
-
/**
|
70
|
-
* @internal
|
71
|
-
*/
|
72
|
-
abort() {
|
73
|
-
this._aborted = true;
|
74
|
-
if (this.onabort) {
|
75
|
-
this.onabort(this);
|
76
|
-
this.onabort = null;
|
77
|
-
}
|
78
|
-
}
|
79
|
-
};
|
80
|
-
var AbortController = class {
|
81
|
-
constructor() {
|
82
|
-
this.signal = new AbortSignal();
|
83
|
-
}
|
84
|
-
static {
|
85
|
-
__name(this, "AbortController");
|
86
|
-
}
|
87
|
-
abort() {
|
88
|
-
this.signal.abort();
|
89
|
-
}
|
90
|
-
};
|
91
|
-
}
|
92
|
-
});
|
93
|
-
|
94
|
-
// node_modules/@aws-sdk/lib-storage/dist-cjs/runtimeConfig.shared.js
|
95
|
-
var require_runtimeConfig_shared = __commonJS({
|
96
|
-
"node_modules/@aws-sdk/lib-storage/dist-cjs/runtimeConfig.shared.js"(exports) {
|
97
|
-
"use strict";
|
98
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
99
|
-
exports.ClientSharedValues = void 0;
|
100
|
-
exports.ClientSharedValues = {
|
101
|
-
lstatSync: () => {
|
102
|
-
}
|
103
|
-
};
|
104
|
-
}
|
105
|
-
});
|
106
|
-
|
107
|
-
// node_modules/@aws-sdk/lib-storage/dist-cjs/runtimeConfig.js
|
108
|
-
var require_runtimeConfig = __commonJS({
|
109
|
-
"node_modules/@aws-sdk/lib-storage/dist-cjs/runtimeConfig.js"(exports) {
|
110
|
-
"use strict";
|
111
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
112
|
-
exports.ClientDefaultValues = void 0;
|
113
|
-
var fs_1 = __require("fs");
|
114
|
-
var runtimeConfig_shared_1 = require_runtimeConfig_shared();
|
115
|
-
exports.ClientDefaultValues = {
|
116
|
-
...runtimeConfig_shared_1.ClientSharedValues,
|
117
|
-
runtime: "node",
|
118
|
-
lstatSync: fs_1.lstatSync
|
119
|
-
};
|
120
|
-
}
|
121
|
-
});
|
122
|
-
|
123
|
-
// node_modules/@aws-sdk/lib-storage/dist-cjs/index.js
|
124
|
-
var require_dist_cjs6 = __commonJS({
|
125
|
-
"node_modules/@aws-sdk/lib-storage/dist-cjs/index.js"(exports, module) {
|
126
|
-
"use strict";
|
127
|
-
var __defProp = Object.defineProperty;
|
128
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
129
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
130
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
131
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
132
|
-
var __export2 = (target, all) => {
|
133
|
-
for (var name in all)
|
134
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
135
|
-
};
|
136
|
-
var __copyProps = (to, from, except, desc) => {
|
137
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
138
|
-
for (let key of __getOwnPropNames(from))
|
139
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
140
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
141
|
-
}
|
142
|
-
return to;
|
143
|
-
};
|
144
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
145
|
-
var index_exports = {};
|
146
|
-
__export2(index_exports, {
|
147
|
-
Upload: () => Upload2
|
148
|
-
});
|
149
|
-
module.exports = __toCommonJS(index_exports);
|
150
|
-
var import_client_s32 = require_dist_cjs4();
|
151
|
-
var import_abort_controller = require_dist_cjs5();
|
152
|
-
var import_middleware_endpoint = require_dist_cjs3();
|
153
|
-
var import_smithy_client = require_dist_cjs2();
|
154
|
-
var import_events = __require("events");
|
155
|
-
var import_buffer = __require("buffer");
|
156
|
-
var import_runtimeConfig = require_runtimeConfig();
|
157
|
-
var byteLength = /* @__PURE__ */ __name((input) => {
|
158
|
-
if (input === null || input === void 0) return 0;
|
159
|
-
if (typeof input === "string") {
|
160
|
-
return import_buffer.Buffer.byteLength(input);
|
161
|
-
}
|
162
|
-
if (typeof input.byteLength === "number") {
|
163
|
-
return input.byteLength;
|
164
|
-
} else if (typeof input.length === "number") {
|
165
|
-
return input.length;
|
166
|
-
} else if (typeof input.size === "number") {
|
167
|
-
return input.size;
|
168
|
-
} else if (typeof input.path === "string") {
|
169
|
-
try {
|
170
|
-
return import_runtimeConfig.ClientDefaultValues.lstatSync(input.path).size;
|
171
|
-
} catch (error) {
|
172
|
-
return void 0;
|
173
|
-
}
|
174
|
-
}
|
175
|
-
return void 0;
|
176
|
-
}, "byteLength");
|
177
|
-
var import_stream = __require("stream");
|
178
|
-
async function* getChunkStream(data, partSize, getNextData) {
|
179
|
-
let partNumber = 1;
|
180
|
-
const currentBuffer = { chunks: [], length: 0 };
|
181
|
-
for await (const datum of getNextData(data)) {
|
182
|
-
currentBuffer.chunks.push(datum);
|
183
|
-
currentBuffer.length += datum.byteLength;
|
184
|
-
while (currentBuffer.length > partSize) {
|
185
|
-
const dataChunk = currentBuffer.chunks.length > 1 ? import_buffer.Buffer.concat(currentBuffer.chunks) : currentBuffer.chunks[0];
|
186
|
-
yield {
|
187
|
-
partNumber,
|
188
|
-
data: dataChunk.subarray(0, partSize)
|
189
|
-
};
|
190
|
-
currentBuffer.chunks = [dataChunk.subarray(partSize)];
|
191
|
-
currentBuffer.length = currentBuffer.chunks[0].byteLength;
|
192
|
-
partNumber += 1;
|
193
|
-
}
|
194
|
-
}
|
195
|
-
yield {
|
196
|
-
partNumber,
|
197
|
-
data: currentBuffer.chunks.length !== 1 ? import_buffer.Buffer.concat(currentBuffer.chunks) : currentBuffer.chunks[0],
|
198
|
-
lastPart: true
|
199
|
-
};
|
200
|
-
}
|
201
|
-
__name(getChunkStream, "getChunkStream");
|
202
|
-
async function* getChunkUint8Array(data, partSize) {
|
203
|
-
let partNumber = 1;
|
204
|
-
let startByte = 0;
|
205
|
-
let endByte = partSize;
|
206
|
-
while (endByte < data.byteLength) {
|
207
|
-
yield {
|
208
|
-
partNumber,
|
209
|
-
data: data.subarray(startByte, endByte)
|
210
|
-
};
|
211
|
-
partNumber += 1;
|
212
|
-
startByte = endByte;
|
213
|
-
endByte = startByte + partSize;
|
214
|
-
}
|
215
|
-
yield {
|
216
|
-
partNumber,
|
217
|
-
data: data.subarray(startByte),
|
218
|
-
lastPart: true
|
219
|
-
};
|
220
|
-
}
|
221
|
-
__name(getChunkUint8Array, "getChunkUint8Array");
|
222
|
-
async function* getDataReadable(data) {
|
223
|
-
for await (const chunk of data) {
|
224
|
-
if (import_buffer.Buffer.isBuffer(chunk) || chunk instanceof Uint8Array) {
|
225
|
-
yield chunk;
|
226
|
-
} else {
|
227
|
-
yield import_buffer.Buffer.from(chunk);
|
228
|
-
}
|
229
|
-
}
|
230
|
-
}
|
231
|
-
__name(getDataReadable, "getDataReadable");
|
232
|
-
async function* getDataReadableStream(data) {
|
233
|
-
const reader = data.getReader();
|
234
|
-
try {
|
235
|
-
while (true) {
|
236
|
-
const { done, value } = await reader.read();
|
237
|
-
if (done) {
|
238
|
-
return;
|
239
|
-
}
|
240
|
-
if (import_buffer.Buffer.isBuffer(value) || value instanceof Uint8Array) {
|
241
|
-
yield value;
|
242
|
-
} else {
|
243
|
-
yield import_buffer.Buffer.from(value);
|
244
|
-
}
|
245
|
-
}
|
246
|
-
} catch (e) {
|
247
|
-
throw e;
|
248
|
-
} finally {
|
249
|
-
reader.releaseLock();
|
250
|
-
}
|
251
|
-
}
|
252
|
-
__name(getDataReadableStream, "getDataReadableStream");
|
253
|
-
var getChunk = /* @__PURE__ */ __name((data, partSize) => {
|
254
|
-
if (data instanceof Uint8Array) {
|
255
|
-
return getChunkUint8Array(data, partSize);
|
256
|
-
}
|
257
|
-
if (data instanceof import_stream.Readable) {
|
258
|
-
return getChunkStream(data, partSize, getDataReadable);
|
259
|
-
}
|
260
|
-
if (data instanceof String || typeof data === "string") {
|
261
|
-
return getChunkUint8Array(import_buffer.Buffer.from(data), partSize);
|
262
|
-
}
|
263
|
-
if (typeof data.stream === "function") {
|
264
|
-
return getChunkStream(data.stream(), partSize, getDataReadableStream);
|
265
|
-
}
|
266
|
-
if (data instanceof ReadableStream) {
|
267
|
-
return getChunkStream(data, partSize, getDataReadableStream);
|
268
|
-
}
|
269
|
-
throw new Error(
|
270
|
-
"Body Data is unsupported format, expected data to be one of: string | Uint8Array | Buffer | Readable | ReadableStream | Blob;."
|
271
|
-
);
|
272
|
-
}, "getChunk");
|
273
|
-
var Upload2 = class _Upload extends import_events.EventEmitter {
|
274
|
-
static {
|
275
|
-
__name(this, "Upload");
|
276
|
-
}
|
277
|
-
/**
|
278
|
-
* @internal
|
279
|
-
* modified in testing only.
|
280
|
-
*/
|
281
|
-
static MIN_PART_SIZE = 1024 * 1024 * 5;
|
282
|
-
/**
|
283
|
-
* S3 multipart upload does not allow more than 10,000 parts.
|
284
|
-
*/
|
285
|
-
MAX_PARTS = 1e4;
|
286
|
-
// Defaults.
|
287
|
-
queueSize = 4;
|
288
|
-
partSize = _Upload.MIN_PART_SIZE;
|
289
|
-
leavePartsOnError = false;
|
290
|
-
tags = [];
|
291
|
-
client;
|
292
|
-
params;
|
293
|
-
// used for reporting progress.
|
294
|
-
totalBytes;
|
295
|
-
bytesUploadedSoFar;
|
296
|
-
// used in the upload.
|
297
|
-
abortController;
|
298
|
-
concurrentUploaders = [];
|
299
|
-
createMultiPartPromise;
|
300
|
-
abortMultipartUploadCommand = null;
|
301
|
-
uploadedParts = [];
|
302
|
-
uploadEnqueuedPartsCount = 0;
|
303
|
-
/**
|
304
|
-
* Last UploadId if the upload was done with MultipartUpload and not PutObject.
|
305
|
-
*/
|
306
|
-
uploadId;
|
307
|
-
uploadEvent;
|
308
|
-
isMultiPart = true;
|
309
|
-
singleUploadResult;
|
310
|
-
sent = false;
|
311
|
-
constructor(options) {
|
312
|
-
super();
|
313
|
-
this.queueSize = options.queueSize || this.queueSize;
|
314
|
-
this.partSize = options.partSize || this.partSize;
|
315
|
-
this.leavePartsOnError = options.leavePartsOnError || this.leavePartsOnError;
|
316
|
-
this.tags = options.tags || this.tags;
|
317
|
-
this.client = options.client;
|
318
|
-
this.params = options.params;
|
319
|
-
this.__validateInput();
|
320
|
-
this.totalBytes = byteLength(this.params.Body);
|
321
|
-
this.bytesUploadedSoFar = 0;
|
322
|
-
this.abortController = options.abortController ?? new import_abort_controller.AbortController();
|
323
|
-
}
|
324
|
-
async abort() {
|
325
|
-
this.abortController.abort();
|
326
|
-
}
|
327
|
-
async done() {
|
328
|
-
if (this.sent) {
|
329
|
-
throw new Error(
|
330
|
-
"@aws-sdk/lib-storage: this instance of Upload has already executed .done(). Create a new instance."
|
331
|
-
);
|
332
|
-
}
|
333
|
-
this.sent = true;
|
334
|
-
return await Promise.race([this.__doMultipartUpload(), this.__abortTimeout(this.abortController.signal)]);
|
335
|
-
}
|
336
|
-
on(event, listener) {
|
337
|
-
this.uploadEvent = event;
|
338
|
-
return super.on(event, listener);
|
339
|
-
}
|
340
|
-
async __uploadUsingPut(dataPart) {
|
341
|
-
this.isMultiPart = false;
|
342
|
-
const params = { ...this.params, Body: dataPart.data };
|
343
|
-
const clientConfig = this.client.config;
|
344
|
-
const requestHandler = clientConfig.requestHandler;
|
345
|
-
const eventEmitter = requestHandler instanceof import_events.EventEmitter ? requestHandler : null;
|
346
|
-
const uploadEventListener = /* @__PURE__ */ __name((event) => {
|
347
|
-
this.bytesUploadedSoFar = event.loaded;
|
348
|
-
this.totalBytes = event.total;
|
349
|
-
this.__notifyProgress({
|
350
|
-
loaded: this.bytesUploadedSoFar,
|
351
|
-
total: this.totalBytes,
|
352
|
-
part: dataPart.partNumber,
|
353
|
-
Key: this.params.Key,
|
354
|
-
Bucket: this.params.Bucket
|
355
|
-
});
|
356
|
-
}, "uploadEventListener");
|
357
|
-
if (eventEmitter !== null) {
|
358
|
-
eventEmitter.on("xhr.upload.progress", uploadEventListener);
|
359
|
-
}
|
360
|
-
const resolved = await Promise.all([this.client.send(new import_client_s32.PutObjectCommand(params)), clientConfig?.endpoint?.()]);
|
361
|
-
const putResult = resolved[0];
|
362
|
-
let endpoint = resolved[1];
|
363
|
-
if (!endpoint) {
|
364
|
-
endpoint = (0, import_middleware_endpoint.toEndpointV1)(
|
365
|
-
await (0, import_middleware_endpoint.getEndpointFromInstructions)(params, import_client_s32.PutObjectCommand, {
|
366
|
-
...clientConfig
|
367
|
-
})
|
368
|
-
);
|
369
|
-
}
|
370
|
-
if (!endpoint) {
|
371
|
-
throw new Error('Could not resolve endpoint from S3 "client.config.endpoint()" nor EndpointsV2.');
|
372
|
-
}
|
373
|
-
if (eventEmitter !== null) {
|
374
|
-
eventEmitter.off("xhr.upload.progress", uploadEventListener);
|
375
|
-
}
|
376
|
-
const locationKey = this.params.Key.split("/").map((segment) => (0, import_smithy_client.extendedEncodeURIComponent)(segment)).join("/");
|
377
|
-
const locationBucket = (0, import_smithy_client.extendedEncodeURIComponent)(this.params.Bucket);
|
378
|
-
const Location = (() => {
|
379
|
-
const endpointHostnameIncludesBucket = endpoint.hostname.startsWith(`${locationBucket}.`);
|
380
|
-
const forcePathStyle = this.client.config.forcePathStyle;
|
381
|
-
const optionalPort = endpoint.port ? `:${endpoint.port}` : ``;
|
382
|
-
if (forcePathStyle) {
|
383
|
-
return `${endpoint.protocol}//${endpoint.hostname}${optionalPort}/${locationBucket}/${locationKey}`;
|
384
|
-
}
|
385
|
-
if (endpointHostnameIncludesBucket) {
|
386
|
-
return `${endpoint.protocol}//${endpoint.hostname}${optionalPort}/${locationKey}`;
|
387
|
-
}
|
388
|
-
return `${endpoint.protocol}//${locationBucket}.${endpoint.hostname}${optionalPort}/${locationKey}`;
|
389
|
-
})();
|
390
|
-
this.singleUploadResult = {
|
391
|
-
...putResult,
|
392
|
-
Bucket: this.params.Bucket,
|
393
|
-
Key: this.params.Key,
|
394
|
-
Location
|
395
|
-
};
|
396
|
-
const totalSize = byteLength(dataPart.data);
|
397
|
-
this.__notifyProgress({
|
398
|
-
loaded: totalSize,
|
399
|
-
total: totalSize,
|
400
|
-
part: 1,
|
401
|
-
Key: this.params.Key,
|
402
|
-
Bucket: this.params.Bucket
|
403
|
-
});
|
404
|
-
}
|
405
|
-
async __createMultipartUpload() {
|
406
|
-
const requestChecksumCalculation = await this.client.config.requestChecksumCalculation();
|
407
|
-
if (!this.createMultiPartPromise) {
|
408
|
-
const createCommandParams = { ...this.params, Body: void 0 };
|
409
|
-
if (requestChecksumCalculation === "WHEN_SUPPORTED") {
|
410
|
-
createCommandParams.ChecksumAlgorithm = this.params.ChecksumAlgorithm || import_client_s32.ChecksumAlgorithm.CRC32;
|
411
|
-
}
|
412
|
-
this.createMultiPartPromise = this.client.send(new import_client_s32.CreateMultipartUploadCommand(createCommandParams)).then((createMpuResponse) => {
|
413
|
-
this.abortMultipartUploadCommand = new import_client_s32.AbortMultipartUploadCommand({
|
414
|
-
Bucket: this.params.Bucket,
|
415
|
-
Key: this.params.Key,
|
416
|
-
UploadId: createMpuResponse.UploadId
|
417
|
-
});
|
418
|
-
return createMpuResponse;
|
419
|
-
});
|
420
|
-
}
|
421
|
-
return this.createMultiPartPromise;
|
422
|
-
}
|
423
|
-
async __doConcurrentUpload(dataFeeder) {
|
424
|
-
for await (const dataPart of dataFeeder) {
|
425
|
-
if (this.uploadEnqueuedPartsCount > this.MAX_PARTS) {
|
426
|
-
throw new Error(
|
427
|
-
`Exceeded ${this.MAX_PARTS} parts in multipart upload to Bucket: ${this.params.Bucket} Key: ${this.params.Key}.`
|
428
|
-
);
|
429
|
-
}
|
430
|
-
if (this.abortController.signal.aborted) {
|
431
|
-
return;
|
432
|
-
}
|
433
|
-
if (dataPart.partNumber === 1 && dataPart.lastPart) {
|
434
|
-
return await this.__uploadUsingPut(dataPart);
|
435
|
-
}
|
436
|
-
if (!this.uploadId) {
|
437
|
-
const { UploadId } = await this.__createMultipartUpload();
|
438
|
-
this.uploadId = UploadId;
|
439
|
-
if (this.abortController.signal.aborted) {
|
440
|
-
return;
|
441
|
-
}
|
442
|
-
}
|
443
|
-
const partSize = byteLength(dataPart.data) || 0;
|
444
|
-
const requestHandler = this.client.config.requestHandler;
|
445
|
-
const eventEmitter = requestHandler instanceof import_events.EventEmitter ? requestHandler : null;
|
446
|
-
let lastSeenBytes = 0;
|
447
|
-
const uploadEventListener = /* @__PURE__ */ __name((event, request) => {
|
448
|
-
const requestPartSize = Number(request.query["partNumber"]) || -1;
|
449
|
-
if (requestPartSize !== dataPart.partNumber) {
|
450
|
-
return;
|
451
|
-
}
|
452
|
-
if (event.total && partSize) {
|
453
|
-
this.bytesUploadedSoFar += event.loaded - lastSeenBytes;
|
454
|
-
lastSeenBytes = event.loaded;
|
455
|
-
}
|
456
|
-
this.__notifyProgress({
|
457
|
-
loaded: this.bytesUploadedSoFar,
|
458
|
-
total: this.totalBytes,
|
459
|
-
part: dataPart.partNumber,
|
460
|
-
Key: this.params.Key,
|
461
|
-
Bucket: this.params.Bucket
|
462
|
-
});
|
463
|
-
}, "uploadEventListener");
|
464
|
-
if (eventEmitter !== null) {
|
465
|
-
eventEmitter.on("xhr.upload.progress", uploadEventListener);
|
466
|
-
}
|
467
|
-
this.uploadEnqueuedPartsCount += 1;
|
468
|
-
const partResult = await this.client.send(
|
469
|
-
new import_client_s32.UploadPartCommand({
|
470
|
-
...this.params,
|
471
|
-
// dataPart.data is chunked into a non-streaming buffer
|
472
|
-
// so the ContentLength from the input should not be used for MPU.
|
473
|
-
ContentLength: void 0,
|
474
|
-
UploadId: this.uploadId,
|
475
|
-
Body: dataPart.data,
|
476
|
-
PartNumber: dataPart.partNumber
|
477
|
-
})
|
478
|
-
);
|
479
|
-
if (eventEmitter !== null) {
|
480
|
-
eventEmitter.off("xhr.upload.progress", uploadEventListener);
|
481
|
-
}
|
482
|
-
if (this.abortController.signal.aborted) {
|
483
|
-
return;
|
484
|
-
}
|
485
|
-
if (!partResult.ETag) {
|
486
|
-
throw new Error(
|
487
|
-
`Part ${dataPart.partNumber} is missing ETag in UploadPart response. Missing Bucket CORS configuration for ETag header?`
|
488
|
-
);
|
489
|
-
}
|
490
|
-
this.uploadedParts.push({
|
491
|
-
PartNumber: dataPart.partNumber,
|
492
|
-
ETag: partResult.ETag,
|
493
|
-
...partResult.ChecksumCRC32 && { ChecksumCRC32: partResult.ChecksumCRC32 },
|
494
|
-
...partResult.ChecksumCRC32C && { ChecksumCRC32C: partResult.ChecksumCRC32C },
|
495
|
-
...partResult.ChecksumSHA1 && { ChecksumSHA1: partResult.ChecksumSHA1 },
|
496
|
-
...partResult.ChecksumSHA256 && { ChecksumSHA256: partResult.ChecksumSHA256 }
|
497
|
-
});
|
498
|
-
if (eventEmitter === null) {
|
499
|
-
this.bytesUploadedSoFar += partSize;
|
500
|
-
}
|
501
|
-
this.__notifyProgress({
|
502
|
-
loaded: this.bytesUploadedSoFar,
|
503
|
-
total: this.totalBytes,
|
504
|
-
part: dataPart.partNumber,
|
505
|
-
Key: this.params.Key,
|
506
|
-
Bucket: this.params.Bucket
|
507
|
-
});
|
508
|
-
}
|
509
|
-
}
|
510
|
-
async __doMultipartUpload() {
|
511
|
-
const dataFeeder = getChunk(this.params.Body, this.partSize);
|
512
|
-
const concurrentUploaderFailures = [];
|
513
|
-
for (let index = 0; index < this.queueSize; index++) {
|
514
|
-
const currentUpload = this.__doConcurrentUpload(dataFeeder).catch((err) => {
|
515
|
-
concurrentUploaderFailures.push(err);
|
516
|
-
});
|
517
|
-
this.concurrentUploaders.push(currentUpload);
|
518
|
-
}
|
519
|
-
await Promise.all(this.concurrentUploaders);
|
520
|
-
if (concurrentUploaderFailures.length >= 1) {
|
521
|
-
await this.markUploadAsAborted();
|
522
|
-
throw concurrentUploaderFailures[0];
|
523
|
-
}
|
524
|
-
if (this.abortController.signal.aborted) {
|
525
|
-
await this.markUploadAsAborted();
|
526
|
-
throw Object.assign(new Error("Upload aborted."), { name: "AbortError" });
|
527
|
-
}
|
528
|
-
let result;
|
529
|
-
if (this.isMultiPart) {
|
530
|
-
this.uploadedParts.sort((a, b) => a.PartNumber - b.PartNumber);
|
531
|
-
const uploadCompleteParams = {
|
532
|
-
...this.params,
|
533
|
-
Body: void 0,
|
534
|
-
UploadId: this.uploadId,
|
535
|
-
MultipartUpload: {
|
536
|
-
Parts: this.uploadedParts
|
537
|
-
}
|
538
|
-
};
|
539
|
-
result = await this.client.send(new import_client_s32.CompleteMultipartUploadCommand(uploadCompleteParams));
|
540
|
-
if (typeof result?.Location === "string" && result.Location.includes("%2F")) {
|
541
|
-
result.Location = result.Location.replace(/%2F/g, "/");
|
542
|
-
}
|
543
|
-
} else {
|
544
|
-
result = this.singleUploadResult;
|
545
|
-
}
|
546
|
-
this.abortMultipartUploadCommand = null;
|
547
|
-
if (this.tags.length) {
|
548
|
-
await this.client.send(
|
549
|
-
new import_client_s32.PutObjectTaggingCommand({
|
550
|
-
...this.params,
|
551
|
-
Tagging: {
|
552
|
-
TagSet: this.tags
|
553
|
-
}
|
554
|
-
})
|
555
|
-
);
|
556
|
-
}
|
557
|
-
return result;
|
558
|
-
}
|
559
|
-
/**
|
560
|
-
* Abort the last multipart upload in progress
|
561
|
-
* if we know the upload id, the user did not specify to leave the parts, and
|
562
|
-
* we have a prepared AbortMultipartUpload command.
|
563
|
-
*/
|
564
|
-
async markUploadAsAborted() {
|
565
|
-
if (this.uploadId && !this.leavePartsOnError && null !== this.abortMultipartUploadCommand) {
|
566
|
-
await this.client.send(this.abortMultipartUploadCommand);
|
567
|
-
this.abortMultipartUploadCommand = null;
|
568
|
-
}
|
569
|
-
}
|
570
|
-
__notifyProgress(progress) {
|
571
|
-
if (this.uploadEvent) {
|
572
|
-
this.emit(this.uploadEvent, progress);
|
573
|
-
}
|
574
|
-
}
|
575
|
-
async __abortTimeout(abortSignal) {
|
576
|
-
return new Promise((resolve, reject) => {
|
577
|
-
abortSignal.onabort = () => {
|
578
|
-
const abortError = new Error("Upload aborted.");
|
579
|
-
abortError.name = "AbortError";
|
580
|
-
reject(abortError);
|
581
|
-
};
|
582
|
-
});
|
583
|
-
}
|
584
|
-
__validateInput() {
|
585
|
-
if (!this.params) {
|
586
|
-
throw new Error(`InputError: Upload requires params to be passed to upload.`);
|
587
|
-
}
|
588
|
-
if (!this.client) {
|
589
|
-
throw new Error(`InputError: Upload requires a AWS client to do uploads with.`);
|
590
|
-
}
|
591
|
-
if (this.partSize < _Upload.MIN_PART_SIZE) {
|
592
|
-
throw new Error(
|
593
|
-
`EntityTooSmall: Your proposed upload partsize [${this.partSize}] is smaller than the minimum allowed size [${_Upload.MIN_PART_SIZE}] (5MB)`
|
594
|
-
);
|
595
|
-
}
|
596
|
-
if (this.queueSize < 1) {
|
597
|
-
throw new Error(`Queue size: Must have at least one uploading queue.`);
|
598
|
-
}
|
599
|
-
}
|
600
|
-
};
|
601
|
-
}
|
602
|
-
});
|
603
|
-
|
604
|
-
// src/node/@aws-s3/storage/file/upload/index.ts
|
605
|
-
var upload_exports = {};
|
606
|
-
__export(upload_exports, {
|
607
|
-
upload: () => upload
|
608
|
-
});
|
609
|
-
var import_client_s3 = __toESM(require_dist_cjs4(), 1);
|
610
|
-
var import_lib_storage = __toESM(require_dist_cjs6(), 1);
|
611
|
-
async function upload(s3, bucketName, targetPath, fileStream, options) {
|
612
|
-
const {
|
613
|
-
uploadSettings,
|
614
|
-
fileMetadata,
|
615
|
-
overwrite = false
|
616
|
-
} = options ?? {};
|
617
|
-
if (!overwrite) {
|
618
|
-
try {
|
619
|
-
const headCommand = new import_client_s3.HeadObjectCommand({
|
620
|
-
Bucket: bucketName,
|
621
|
-
Key: targetPath
|
622
|
-
});
|
623
|
-
await s3.send(headCommand);
|
624
|
-
return Outcome.makeFailure(`File already exists at ${targetPath}.`);
|
625
|
-
} catch (err) {
|
626
|
-
const code = err?.name ?? err?.$metadata?.httpStatusCode;
|
627
|
-
if (code !== "NotFound" && code !== 404) {
|
628
|
-
return Outcome.makeFailure(unknownToString(err));
|
629
|
-
}
|
630
|
-
}
|
631
|
-
}
|
632
|
-
const params = {
|
633
|
-
...fileMetadata,
|
634
|
-
Bucket: bucketName,
|
635
|
-
Key: targetPath,
|
636
|
-
Body: fileStream
|
637
|
-
};
|
638
|
-
try {
|
639
|
-
const upload2 = new import_lib_storage.Upload({
|
640
|
-
client: s3,
|
641
|
-
params,
|
642
|
-
...uploadSettings
|
643
|
-
});
|
644
|
-
await upload2.done();
|
645
|
-
return Outcome.makeSuccess(true);
|
646
|
-
} catch (err) {
|
647
|
-
return Outcome.makeFailure(unknownToString(err));
|
648
|
-
}
|
649
|
-
}
|
650
|
-
|
651
|
-
export {
|
652
|
-
upload,
|
653
|
-
upload_exports
|
654
|
-
};
|