@design-edito/tools 0.1.70 → 0.1.72
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 +10 -10
- 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 +5 -5
- 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 +10 -10
- 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 +1 -1
- package/agnostic/css/generate-nice-color/index.js +1 -1
- package/agnostic/css/index.js +14 -14
- package/agnostic/css/is-valid-css-class-name/index.js +1 -1
- package/agnostic/css/styles-set/index.js +5 -5
- 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 +7 -7
- package/agnostic/html/hyper-json/index.js +8 -8
- 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 +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.d.ts +4 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperties/index.js +21 -0
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +7 -7
- 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 +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +1 -1
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +7 -7
- package/agnostic/html/hyper-json/transformer/index.js +1 -1
- package/agnostic/html/hyper-json/tree/index.js +7 -7
- package/agnostic/html/hyper-json/types/index.js +1 -1
- package/agnostic/html/hyper-json/utils/index.js +7 -7
- package/agnostic/html/index.js +17 -17
- 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 +5 -5
- package/agnostic/html/selector-to-element/index.js +5 -5
- package/agnostic/html/string-to-nodes/index.js +6 -6
- 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/get-document/index.d.ts +2 -0
- package/agnostic/misc/crossenv/get-document/index.js +7 -0
- package/agnostic/misc/crossenv/get-window/browser.d.ts +2 -0
- package/agnostic/misc/crossenv/get-window/index.d.ts +2 -0
- package/agnostic/misc/crossenv/get-window/index.js +6 -0
- package/agnostic/misc/crossenv/index.js +3 -3
- package/agnostic/misc/crossenv/types/index.js +1 -1
- package/agnostic/misc/crossenv/types.d.ts +3 -0
- 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 +20 -20
- 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 +11 -11
- 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 +17 -17
- 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 +1 -1
- package/agnostic/strings/char-codes/index.js +1 -1
- package/agnostic/strings/index.js +4 -4
- 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-GSZSM3BU.js → chunk-24O4C4HG.js} +4 -4
- package/chunks/chunk-26V5RC4U.js +29 -0
- package/chunks/chunk-2ALVFCSP.js +211 -0
- package/chunks/chunk-2DYDNCZK.js +56 -0
- package/chunks/chunk-2NXYSAFE.js +67 -0
- package/chunks/chunk-2RFYHF6F.js +36 -0
- package/chunks/chunk-2UPQ73EE.js +83 -0
- package/chunks/{chunk-UUU6DWRQ.js → chunk-2YGNPA2R.js} +5 -5
- package/chunks/{chunk-4PJWXOLA.js → chunk-34C35EX6.js} +3 -3
- package/chunks/{chunk-6Z6GDMOR.js → chunk-36CTYZYA.js} +2 -2
- package/chunks/chunk-3G4NTP23.js +53 -0
- package/chunks/chunk-3J4WAVX6.js +28 -0
- package/chunks/{chunk-U7R6TPHR.js → chunk-45S766KF.js} +1 -1
- package/chunks/chunk-4GUDL44X.js +13 -0
- package/chunks/chunk-4IHBBNAG.js +32 -0
- package/chunks/chunk-4MLQ42IU.js +42 -0
- package/chunks/chunk-4PAHEIPV.js +42 -0
- package/chunks/chunk-4QQBKBYH.js +59 -0
- package/chunks/chunk-4XS5UIQF.js +41 -0
- package/chunks/chunk-54B7VIY6.js +46 -0
- package/chunks/chunk-5CYREVPP.js +42 -0
- package/chunks/chunk-5HE6JLK7.js +42 -0
- package/chunks/{chunk-KL6EJPC3.js → chunk-5HW7QLTB.js} +3 -3
- package/chunks/chunk-5IR2PWO6.js +211 -0
- package/chunks/{chunk-V4S34MIM.js → chunk-5RA25FYM.js} +2 -2
- package/chunks/chunk-5WARYKLO.js +71 -0
- package/chunks/{chunk-EM37BFXO.js → chunk-6NZOSESD.js} +2 -2
- package/chunks/chunk-6RJY3F7A.js +28 -0
- package/chunks/chunk-6SSGHEQX.js +39 -0
- package/chunks/{chunk-KFMYB672.js → chunk-6STIUASQ.js} +2 -2
- package/chunks/{chunk-AZOSX3LU.js → chunk-73FTH5T3.js} +22 -2
- package/chunks/chunk-73V5RDSG.js +13 -0
- package/chunks/{chunk-W6JPRXQ4.js → chunk-7647NLB2.js} +1 -1
- package/chunks/chunk-7WUVBSIC.js +29 -0
- package/chunks/chunk-A3VTK5UF.js +62 -0
- package/chunks/{chunk-2M5P5V6U.js → chunk-AOWLA5T2.js} +25 -21
- package/chunks/chunk-AVVDAISH.js +28 -0
- package/chunks/chunk-AXTDGCSY.js +56 -0
- package/chunks/{chunk-MW3KNVTG.js → chunk-B446JIN3.js} +1 -1
- package/chunks/{chunk-JJ7PBKSG.js → chunk-B5OUYMUU.js} +1 -1
- package/chunks/chunk-B7E3DQ4Z.js +34 -0
- package/chunks/chunk-BEZTX3QU.js +1 -0
- package/chunks/{chunk-7JUKBN7P.js → chunk-BOJEVEPB.js} +1 -1
- package/chunks/{chunk-5VHFXWFM.js → chunk-BTJ2JXDV.js} +1 -1
- package/chunks/{chunk-U5WEI3QA.js → chunk-BVCNQIKY.js} +3 -3
- package/chunks/chunk-BW5CY5YB.js +1 -0
- package/chunks/chunk-CEY7OIFX.js +35 -0
- package/chunks/{chunk-WC2LQPQP.js → chunk-CHUOCTRP.js} +1 -1
- package/chunks/{chunk-REZC75LB.js → chunk-CXU3QPN2.js} +1 -1
- package/chunks/chunk-DIPJ73JH.js +1 -0
- package/chunks/chunk-DJ7ABCYK.js +42 -0
- package/chunks/{chunk-MTT7TVR3.js → chunk-DRH7Q4FL.js} +1 -1
- package/chunks/chunk-E3NHW6J4.js +211 -0
- package/chunks/{chunk-BGSJ5XCH.js → chunk-EAV5YDBD.js} +3 -3
- package/chunks/chunk-EAY65ZP6.js +22 -0
- package/chunks/chunk-EEZ3NV4Q.js +42 -0
- package/chunks/chunk-EFFU6KXJ.js +1 -0
- package/chunks/chunk-EHLTUOGZ.js +44 -0
- package/chunks/{chunk-5OBHNGEH.js → chunk-ESUBE7BB.js} +7 -3
- package/chunks/chunk-EW46EXFB.js +8 -0
- package/chunks/chunk-EWQZUF22.js +211 -0
- package/chunks/{chunk-GOTTGEXI.js → chunk-EZW6DNPL.js} +4 -4
- package/chunks/chunk-FCU6IHKD.js +15 -0
- package/chunks/{chunk-7SZ3QPTM.js → chunk-FNIJLHH2.js} +1 -1
- package/chunks/chunk-FR3BXMR5.js +38 -0
- package/chunks/chunk-FTDA7PRI.js +2405 -0
- package/chunks/{chunk-E3GK7YZ7.js → chunk-FTGHUU73.js} +1 -1
- package/chunks/{chunk-ADTQQNIQ.js → chunk-FTOEQNF6.js} +3 -3
- package/chunks/{chunk-DPBYDWV3.js → chunk-FVPFKY5G.js} +57 -35
- package/chunks/chunk-FWR7ZA4M.js +44 -0
- package/chunks/{chunk-JBDWHJ4Q.js → chunk-G2XDDBWE.js} +3 -3
- package/chunks/chunk-GDYVCEWA.js +38 -0
- package/chunks/chunk-GKTDEHC6.js +39 -0
- package/chunks/{chunk-3LPD7IXF.js → chunk-GZWZ5SSG.js} +24 -20
- package/chunks/chunk-H4NHF72W.js +40 -0
- package/chunks/{chunk-FVFYLT5T.js → chunk-H5HM5EBO.js} +7 -7
- package/chunks/chunk-HCNRPWKW.js +63 -0
- package/chunks/chunk-HDGHODNO.js +28 -0
- package/chunks/chunk-HEJV6JIO.js +133 -0
- package/chunks/chunk-HGDSHJEX.js +60 -0
- package/chunks/chunk-HL6LO6QF.js +28 -0
- package/chunks/chunk-HLUWFMD7.js +67 -0
- package/chunks/{chunk-D47ZPEUU.js → chunk-HNFSETMT.js} +1 -1
- package/chunks/chunk-HP722G2E.js +211 -0
- package/chunks/chunk-HRWQ4TUA.js +2405 -0
- package/chunks/chunk-HY7RNBYE.js +28 -0
- package/chunks/chunk-HZJY7N36.js +2405 -0
- package/chunks/chunk-IIXTJZ6G.js +47 -0
- package/chunks/{chunk-4HLAM4RP.js → chunk-IJIE2SLT.js} +23 -3
- package/chunks/{chunk-45WKBXSF.js → chunk-IOZR2LGL.js} +3 -3
- package/chunks/chunk-IPB3U2PD.js +278 -0
- package/chunks/chunk-IQUEVQBN.js +28 -0
- package/chunks/{chunk-X244JGZD.js → chunk-IY44AG73.js} +5 -5
- package/chunks/chunk-IZP4VIFZ.js +35933 -0
- package/chunks/chunk-J467ZNXE.js +35 -0
- package/chunks/chunk-J5TWVAJJ.js +28 -0
- package/chunks/chunk-JEYO7UP7.js +44 -0
- package/chunks/{chunk-7OK5NZTY.js → chunk-JFWEEBSR.js} +3 -3
- package/chunks/chunk-JJA4KGAD.js +42 -0
- package/chunks/chunk-JKAHSFJD.js +38 -0
- package/chunks/chunk-JKISSFTR.js +211 -0
- package/chunks/chunk-JWF5EKM2.js +127 -0
- package/chunks/{chunk-MAE5XZGF.js → chunk-JZ6Z7V7F.js} +1 -1
- package/chunks/{chunk-TP6V6CBV.js → chunk-KBOL3LMK.js} +42 -42
- package/chunks/{chunk-NZLE2WMY.js → chunk-KH45J4DC.js} +15 -2
- package/chunks/chunk-KNE7WIIW.js +1 -0
- package/chunks/{chunk-5TRAENM3.js → chunk-KOBZRZBX.js} +4 -8
- package/chunks/chunk-KPYPESIY.js +40 -0
- package/chunks/chunk-LBDZQNBM.js +44 -0
- package/chunks/chunk-LCFDDWJR.js +278 -0
- package/chunks/chunk-LCLAV6Q2.js +1 -0
- package/chunks/chunk-LF4VYSOT.js +68 -0
- package/chunks/{chunk-2JKV6KXE.js → chunk-LUETT72P.js} +1 -1
- package/chunks/chunk-LUZ7ZWWJ.js +40 -0
- package/chunks/{chunk-5B7VSD44.js → chunk-LVPFSXKA.js} +4 -4
- package/chunks/chunk-LYMZZ4BB.js +22 -0
- package/chunks/{chunk-7U5NS3AR.js → chunk-M6B5J46K.js} +3 -3
- package/chunks/{chunk-SJFY537W.js → chunk-ME7RF24X.js} +58 -1
- package/chunks/chunk-MF56TTC5.js +15 -0
- package/chunks/{chunk-KH5JTC2N.js → chunk-MP6CL7F7.js} +3 -4
- package/chunks/{chunk-6WVNJVBE.js → chunk-MPYCQ5IF.js} +2 -2
- package/chunks/{chunk-4QHGUANF.js → chunk-MQ4Y3GBI.js} +3 -3
- package/chunks/{chunk-HALUZA2X.js → chunk-MYCT3HYF.js} +6 -2
- package/chunks/{chunk-6IZ5HUJJ.js → chunk-N4EJZLME.js} +1 -1
- package/chunks/{chunk-YCSC7QNV.js → chunk-N7FA7QJK.js} +1 -1
- package/chunks/{chunk-HKTNK262.js → chunk-NCLB3UH3.js} +1 -1
- package/chunks/chunk-NHMEZ6ZP.js +45 -0
- package/chunks/{chunk-JTJA7DGW.js → chunk-NP5UEOSJ.js} +2 -2
- package/chunks/{chunk-LSOHLSF5.js → chunk-NQNEYA4Z.js} +2 -2
- package/chunks/chunk-NX2FQWHA.js +42 -0
- package/chunks/{chunk-GXICX4F6.js → chunk-NXV33ZSC.js} +2 -2
- package/chunks/{chunk-XQMUFSLU.js → chunk-O4AEYNFT.js} +3 -3
- package/chunks/{chunk-2HU2AWWJ.js → chunk-OO5SJJDW.js} +1 -1
- package/chunks/chunk-OSZCNQBA.js +40 -0
- package/chunks/chunk-OYUM24PM.js +42 -0
- package/chunks/{chunk-4DNPGCIM.js → chunk-P5CBBXGK.js} +1 -1
- package/chunks/chunk-P5TKDJ4T.js +37 -0
- package/chunks/chunk-PCAKH6ZJ.js +1 -0
- package/chunks/chunk-PO3V3I57.js +23 -0
- package/chunks/chunk-PPJYUWHH.js +38 -0
- package/chunks/{chunk-RCWLMVSZ.js → chunk-PUPASUMS.js} +4 -4
- package/chunks/chunk-Q7XL3D4H.js +37 -0
- package/chunks/{chunk-UJN2WZGO.js → chunk-QKK6WQDI.js} +2 -2
- package/chunks/chunk-QP5GNEJY.js +42 -0
- package/chunks/chunk-QQAPFSMW.js +63 -0
- package/chunks/chunk-QQRJPDR7.js +1 -0
- package/chunks/chunk-R2H52CYP.js +44 -0
- package/chunks/chunk-R6KCN6CK.js +40 -0
- package/chunks/{chunk-LOAOXFA2.js → chunk-RUCTSKYQ.js} +59 -37
- package/chunks/chunk-S23WCXQK.js +211 -0
- package/chunks/{chunk-UNHNZAVP.js → chunk-S4FNXSMM.js} +1 -1
- package/chunks/chunk-SA2IY5LN.js +35 -0
- package/chunks/{chunk-3XNFVOJF.js → chunk-SCOY7PVB.js} +7 -3
- package/chunks/chunk-SQZGZ3VT.js +15 -0
- package/chunks/chunk-SSJ5YQMJ.js +45 -0
- package/chunks/{chunk-YE67BQQN.js → chunk-T4KFB6QN.js} +1 -1
- package/chunks/chunk-TEQE3HY3.js +40 -0
- package/chunks/{chunk-Z4PVE6SR.js → chunk-TLYXVMR5.js} +2 -2
- package/chunks/chunk-TOGOF74B.js +42 -0
- package/chunks/chunk-TQZ46CBX.js +43 -0
- package/chunks/{chunk-LXZULGNN.js → chunk-UBJACMOZ.js} +12 -12
- package/chunks/chunk-UOWPJDWO.js +37 -0
- package/chunks/{chunk-GVS2ZPGJ.js → chunk-UQVDRQ77.js} +88 -153
- package/chunks/chunk-UU35YSBK.js +40 -0
- package/chunks/chunk-UWAMSJ2X.js +28 -0
- package/chunks/chunk-V4YB22WN.js +28 -0
- package/chunks/chunk-V7FJOKAC.js +40 -0
- package/chunks/{chunk-W5LE6YQ5.js → chunk-V7JZNA6N.js} +6 -2
- package/chunks/chunk-VA6HXRX4.js +211 -0
- package/chunks/chunk-VDNIN3V5.js +23 -0
- package/chunks/{chunk-HUC2IRGW.js → chunk-VSYAOEKE.js} +1 -1
- package/chunks/chunk-W3MRYBZJ.js +37 -0
- package/chunks/chunk-W7YBGJ4H.js +28 -0
- package/chunks/chunk-WECTUHS5.js +127 -0
- package/chunks/{chunk-WRRA3BN4.js → chunk-WHGU2Q46.js} +2 -2
- package/chunks/chunk-WQD2VKTO.js +42 -0
- package/chunks/chunk-WTAMA5WX.js +37 -0
- package/chunks/chunk-WZ2EV5JB.js +211 -0
- package/chunks/chunk-WZBNXYN3.js +1 -0
- package/chunks/chunk-X2DODW4G.js +211 -0
- package/chunks/chunk-XCKXCF4A.js +1 -0
- package/chunks/{chunk-FCLAFRIW.js → chunk-XDTFPTMG.js} +40 -40
- package/chunks/chunk-XI2XIH6L.js +2391 -0
- package/chunks/chunk-XIMUZN5X.js +43 -0
- package/chunks/{chunk-D33KC6NN.js → chunk-XKMSDS3Z.js} +1 -1
- package/chunks/chunk-XYNIGHGL.js +654 -0
- package/chunks/chunk-YCNUTWOG.js +43 -0
- package/chunks/chunk-YCX3R64F.js +211 -0
- package/chunks/{chunk-C3ZKLONL.js → chunk-YMPNQJ4Z.js} +1 -1
- package/chunks/chunk-YQ7FI6RT.js +28 -0
- package/chunks/{chunk-7UDN6KBA.js → chunk-YU5NILJC.js} +3 -3
- package/chunks/{chunk-JQRLQUMJ.js → chunk-YVUJ4WBL.js} +3 -3
- package/chunks/chunk-YXIFWOKO.js +42 -0
- package/chunks/chunk-YYE2MVZO.js +211 -0
- package/chunks/chunk-Z2VDSEND.js +47 -0
- package/chunks/{chunk-FTT6ZCCS.js → chunk-Z566RJUU.js} +1 -1
- package/chunks/chunk-ZAIWJI6A.js +42 -0
- package/chunks/chunk-ZB73RE7P.js +35 -0
- package/chunks/chunk-ZO5FRL3M.js +29 -0
- package/chunks/chunk-ZONKYNKA.js +28 -0
- package/chunks/chunk-ZUWQPR2N.js +37 -0
- package/chunks/chunk-ZVJO36JU.js +1 -0
- package/chunks/chunk-ZWWJ52EY.js +42 -0
- package/components/Comp/index.js +1 -1
- package/index.d.ts +3 -0
- package/index.js +96 -0
- package/node/@aws-s3/index.js +16 -5
- package/node/@aws-s3/storage/directory/copy-dir/index.d.ts +35 -0
- package/node/@aws-s3/storage/directory/copy-dir/index.js +10 -0
- package/node/@aws-s3/storage/directory/index.d.ts +5 -0
- package/node/@aws-s3/storage/directory/index.js +23 -0
- package/node/@aws-s3/storage/directory/list/index.d.ts +17 -0
- package/node/@aws-s3/storage/directory/list/index.js +10 -0
- package/node/@aws-s3/storage/directory/move-dir/index.d.ts +33 -0
- package/node/@aws-s3/storage/directory/move-dir/index.js +10 -0
- package/node/@aws-s3/storage/directory/remove-dir/index.d.ts +31 -0
- package/node/@aws-s3/storage/directory/remove-dir/index.js +10 -0
- package/node/@aws-s3/storage/file/copy/index.d.ts +30 -0
- package/node/@aws-s3/storage/file/copy/index.js +10 -0
- package/node/@aws-s3/storage/file/download/index.d.ts +15 -15
- package/node/@aws-s3/storage/file/download/index.js +3 -2
- package/node/@aws-s3/storage/file/exists/index.d.ts +23 -0
- package/node/@aws-s3/storage/file/exists/index.js +10 -0
- package/node/@aws-s3/storage/file/index.d.ts +6 -1
- package/node/@aws-s3/storage/file/index.js +26 -5
- package/node/@aws-s3/storage/file/move/index.d.ts +33 -0
- package/node/@aws-s3/storage/file/move/index.js +10 -0
- package/node/@aws-s3/storage/file/remove/index.d.ts +17 -0
- package/node/@aws-s3/storage/file/remove/index.js +10 -0
- package/node/@aws-s3/storage/file/stat/index.d.ts +24 -0
- package/node/@aws-s3/storage/file/stat/index.js +10 -0
- package/node/@aws-s3/storage/file/upload/index.d.ts +13 -19
- package/node/@aws-s3/storage/file/upload/index.js +3 -2
- package/node/@aws-s3/storage/index.d.ts +2 -1
- package/node/@aws-s3/storage/index.js +19 -5
- 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 -17
- package/node/@google-cloud/storage/bucket/get-metadata/index.js +2 -2
- package/node/@google-cloud/storage/bucket/index.d.ts +4 -2
- package/node/@google-cloud/storage/bucket/index.js +13 -5
- package/node/@google-cloud/storage/directory/copy-dir/index.d.ts +22 -0
- package/node/@google-cloud/storage/directory/copy-dir/index.js +9 -0
- package/node/@google-cloud/storage/directory/index.d.ts +5 -0
- package/node/@google-cloud/storage/directory/index.js +22 -0
- package/node/@google-cloud/storage/directory/list/index.d.ts +17 -0
- package/node/@google-cloud/storage/{bucket → directory}/list/index.js +2 -2
- package/node/@google-cloud/storage/directory/move-dir/index.d.ts +31 -0
- package/node/@google-cloud/storage/directory/move-dir/index.js +9 -0
- package/node/@google-cloud/storage/directory/remove-dir/index.d.ts +31 -0
- package/node/@google-cloud/storage/directory/remove-dir/index.js +9 -0
- package/node/@google-cloud/storage/file/copy/index.d.ts +21 -10
- package/node/@google-cloud/storage/file/copy/index.js +2 -2
- package/node/@google-cloud/storage/file/download/index.d.ts +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.d.ts +2 -2
- package/node/@google-cloud/storage/file/generate-signed-url/index.js +2 -2
- package/node/@google-cloud/storage/file/get-metadata/index.d.ts +2 -2
- package/node/@google-cloud/storage/file/get-metadata/index.js +2 -2
- package/node/@google-cloud/storage/file/get-permissions/index.d.ts +2 -2
- package/node/@google-cloud/storage/file/get-permissions/index.js +2 -2
- package/node/@google-cloud/storage/file/index.d.ts +3 -2
- package/node/@google-cloud/storage/file/index.js +25 -21
- package/node/@google-cloud/storage/file/move/index.d.ts +24 -12
- package/node/@google-cloud/storage/file/move/index.js +2 -2
- package/node/@google-cloud/storage/file/remove/index.d.ts +24 -0
- package/node/@google-cloud/storage/file/remove/index.js +9 -0
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.d.ts +6 -6
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +5 -5
- package/node/@google-cloud/storage/file/stat/index.d.ts +25 -0
- package/node/@google-cloud/storage/file/{erase → stat}/index.js +4 -4
- package/node/@google-cloud/storage/file/update-metadata/index.d.ts +3 -3
- package/node/@google-cloud/storage/file/update-metadata/index.js +2 -2
- package/node/@google-cloud/storage/file/upload/index.d.ts +5 -6
- package/node/@google-cloud/storage/file/upload/index.js +2 -2
- package/node/@google-cloud/storage/index.d.ts +2 -1
- package/node/@google-cloud/storage/index.js +25 -17
- package/node/cloud-storage/clients/index.d.ts +13 -0
- package/node/cloud-storage/clients/index.js +14 -0
- package/node/cloud-storage/index.d.ts +2 -4
- package/node/cloud-storage/index.js +61 -24
- package/node/cloud-storage/operations/copy-dir/index.d.ts +15 -0
- package/node/cloud-storage/operations/copy-dir/index.js +15 -0
- package/node/cloud-storage/operations/copy-file/index.d.ts +15 -0
- package/node/cloud-storage/operations/copy-file/index.js +15 -0
- package/node/cloud-storage/operations/download-file/index.d.ts +16 -0
- package/node/cloud-storage/operations/download-file/index.js +15 -0
- package/node/cloud-storage/operations/exists-file/index.d.ts +13 -0
- package/node/cloud-storage/operations/exists-file/index.js +15 -0
- package/node/cloud-storage/operations/index.d.ts +12 -3
- package/node/cloud-storage/operations/index.js +92 -19
- package/node/cloud-storage/operations/list-dir/index.d.ts +13 -0
- package/node/cloud-storage/operations/list-dir/index.js +15 -0
- package/node/cloud-storage/operations/move-dir/index.d.ts +15 -0
- package/node/cloud-storage/operations/move-dir/index.js +15 -0
- package/node/cloud-storage/operations/move-file/index.d.ts +15 -0
- package/node/cloud-storage/operations/move-file/index.js +15 -0
- package/node/cloud-storage/operations/remove-dir/index.d.ts +15 -0
- package/node/cloud-storage/operations/remove-dir/index.js +15 -0
- package/node/cloud-storage/operations/remove-file/index.d.ts +15 -0
- package/node/cloud-storage/operations/remove-file/index.js +15 -0
- package/node/cloud-storage/operations/stat-file/index.d.ts +15 -0
- package/node/cloud-storage/operations/stat-file/index.js +15 -0
- package/node/cloud-storage/operations/upload-file/index.d.ts +16 -0
- package/node/cloud-storage/operations/upload-file/index.js +15 -0
- 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 +7 -7
- package/node/encryption/key/index.js +2 -2
- package/node/files/index.js +4 -4
- 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.d.ts +28 -0
- package/node/ftps/directory/copy-dir/index.js +9 -0
- package/node/ftps/directory/index.d.ts +5 -0
- package/node/ftps/directory/index.js +22 -0
- package/node/ftps/directory/list/index.d.ts +12 -0
- package/node/ftps/directory/list/index.js +9 -0
- package/node/ftps/directory/move-dir/index.d.ts +26 -0
- package/node/ftps/directory/move-dir/index.js +9 -0
- package/node/ftps/directory/remove-dir/index.d.ts +25 -0
- package/node/ftps/directory/remove-dir/index.js +9 -0
- package/node/ftps/file/copy/index.d.ts +28 -0
- package/node/ftps/file/copy/index.js +9 -0
- package/node/ftps/file/download/index.d.ts +2 -2
- package/node/ftps/file/download/index.js +2 -2
- package/node/ftps/file/exists/index.d.ts +21 -0
- package/node/ftps/file/exists/index.js +9 -0
- package/node/ftps/file/index.d.ts +6 -1
- package/node/ftps/file/index.js +25 -5
- package/node/ftps/file/move/index.d.ts +38 -0
- package/node/ftps/file/move/index.js +9 -0
- package/node/ftps/file/remove/index.d.ts +20 -0
- package/node/ftps/file/remove/index.js +9 -0
- package/node/ftps/file/stat/index.d.ts +17 -0
- package/node/ftps/file/stat/index.js +9 -0
- package/node/ftps/file/upload/index.d.ts +3 -3
- package/node/ftps/file/upload/index.js +2 -2
- package/node/ftps/index.d.ts +2 -1
- package/node/ftps/index.js +17 -4
- package/node/images/format/index.d.ts +9 -0
- package/node/images/format/index.js +21 -2
- package/node/images/index.js +36 -36
- package/node/images/prepare/index.js +36 -36
- 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.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 +2 -2
- 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 +2 -2
- 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 +34 -34
- 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.d.ts +28 -0
- package/node/sftp/directory/copy-dir/index.js +9 -0
- package/node/sftp/directory/index.d.ts +5 -0
- package/node/sftp/directory/index.js +22 -0
- package/node/sftp/directory/list/index.d.ts +12 -0
- package/node/sftp/directory/list/index.js +9 -0
- package/node/sftp/directory/move-dir/index.d.ts +26 -0
- package/node/sftp/directory/move-dir/index.js +9 -0
- package/node/sftp/directory/remove-dir/index.d.ts +25 -0
- package/node/sftp/directory/remove-dir/index.js +9 -0
- package/node/sftp/file/copy/index.d.ts +28 -0
- package/node/sftp/file/copy/index.js +9 -0
- package/node/sftp/file/download/index.d.ts +2 -2
- package/node/sftp/file/download/index.js +2 -2
- package/node/sftp/file/exists/index.d.ts +21 -0
- package/node/sftp/file/exists/index.js +9 -0
- package/node/sftp/file/index.d.ts +6 -1
- package/node/sftp/file/index.js +25 -5
- package/node/sftp/file/move/index.d.ts +38 -0
- package/node/sftp/file/move/index.js +9 -0
- package/node/sftp/file/remove/index.d.ts +20 -0
- package/node/sftp/file/remove/index.js +9 -0
- package/node/sftp/file/stat/index.d.ts +18 -0
- package/node/sftp/file/stat/index.js +9 -0
- package/node/sftp/file/upload/index.d.ts +3 -3
- package/node/sftp/file/upload/index.js +2 -2
- package/node/sftp/index.d.ts +2 -1
- package/node/sftp/index.js +17 -4
- package/package.json +3 -2
- package/utils/agnostic/absolute-modulo/index.d.ts +1 -0
- package/utils/agnostic/absolute-modulo/index.js +1 -0
- package/utils/agnostic/array/index.d.ts +7 -0
- package/utils/agnostic/array/index.js +1 -0
- package/utils/agnostic/assert/index.d.ts +3 -0
- package/utils/agnostic/assert/index.js +1 -0
- package/utils/agnostic/await-timeout/index.d.ts +2 -0
- package/utils/agnostic/await-timeout/index.js +1 -0
- package/utils/agnostic/bem/BEM.d.ts +29 -0
- package/utils/agnostic/bem/getNamesArr.d.ts +2 -0
- package/utils/agnostic/bem/index.d.ts +5 -0
- package/utils/agnostic/bem/index.js +1 -0
- package/utils/agnostic/cast/index.d.ts +7 -0
- package/utils/agnostic/cast/index.js +1 -0
- package/utils/agnostic/charcode-string/index.d.ts +2 -0
- package/utils/agnostic/charcode-string/index.js +1 -0
- package/utils/agnostic/clamp/index.d.ts +1 -0
- package/utils/agnostic/clamp/index.js +1 -0
- package/utils/agnostic/clientside-html-sanitizer/index.d.ts +22 -0
- package/utils/agnostic/clientside-html-sanitizer/index.js +1 -0
- package/utils/agnostic/crossenv/index.d.ts +11 -0
- package/utils/agnostic/crossenv/index.js +1 -0
- package/utils/agnostic/flatten-getters/index.d.ts +1 -0
- package/utils/agnostic/flatten-getters/index.js +1 -0
- package/utils/agnostic/generate-html-placeholders/index.d.ts +7 -0
- package/utils/agnostic/generate-html-placeholders/index.js +5 -0
- package/utils/agnostic/generate-nice-color/index.d.ts +3 -0
- package/utils/agnostic/generate-nice-color/index.js +1 -0
- package/utils/agnostic/insert-node/index.d.ts +2 -0
- package/utils/agnostic/insert-node/index.js +1 -0
- package/utils/agnostic/interpolate/index.d.ts +3 -0
- package/utils/agnostic/interpolate/index.js +1 -0
- package/utils/agnostic/is-array-of/index.d.ts +5 -0
- package/utils/agnostic/is-array-of/index.js +1 -0
- package/utils/agnostic/is-constructor-function/index.d.ts +2 -0
- package/utils/agnostic/is-constructor-function/index.js +1 -0
- package/utils/agnostic/is-falsy/index.d.ts +8 -0
- package/utils/agnostic/is-falsy/index.js +1 -0
- package/utils/agnostic/is-in-enum/index.d.ts +1 -0
- package/utils/agnostic/is-in-enum/index.js +1 -0
- package/utils/agnostic/is-nullish/index.d.ts +5 -0
- package/utils/agnostic/is-nullish/index.js +1 -0
- package/utils/agnostic/is-object/index.d.ts +1 -0
- package/utils/agnostic/is-object/index.js +1 -0
- package/utils/agnostic/is-record/index.d.ts +1 -0
- package/utils/agnostic/is-record/index.js +1 -0
- package/utils/agnostic/is-valid-css-class-name/index.d.ts +2 -0
- package/utils/agnostic/is-valid-css-class-name/index.js +1 -0
- package/utils/agnostic/memoize/index.d.ts +3 -0
- package/utils/agnostic/memoize/index.js +1 -0
- package/utils/agnostic/object-validate-from-partial/index.d.ts +1 -0
- package/utils/agnostic/object-validate-from-partial/index.js +1 -0
- package/utils/agnostic/random/index.d.ts +9 -0
- package/utils/agnostic/random/index.js +1 -0
- package/utils/agnostic/record-format/index.d.ts +11 -0
- package/utils/agnostic/record-format/index.js +1 -0
- package/utils/agnostic/regexp/index.d.ts +21 -0
- package/utils/agnostic/regexp/index.js +1 -0
- package/utils/agnostic/replace-all/index.d.ts +1 -0
- package/utils/agnostic/replace-all/index.js +1 -0
- package/utils/agnostic/responsive-harmonics/index.d.ts +10 -0
- package/utils/agnostic/responsive-harmonics/index.js +1 -0
- package/utils/agnostic/round-numbers/index.d.ts +1 -0
- package/utils/agnostic/round-numbers/index.js +1 -0
- package/utils/agnostic/selector-to-element/index.d.ts +1 -0
- package/utils/agnostic/selector-to-element/index.js +1 -0
- package/utils/agnostic/silent-log/index.d.ts +53 -0
- package/utils/agnostic/silent-log/index.js +9 -0
- package/utils/agnostic/str-to-nodes/index.d.ts +7 -0
- package/utils/agnostic/str-to-nodes/index.js +1 -0
- package/utils/agnostic/string-matches/index.d.ts +4 -0
- package/utils/agnostic/string-matches/index.js +1 -0
- package/utils/agnostic/string-normalize-indent/index.d.ts +1 -0
- package/utils/agnostic/string-normalize-indent/index.js +3 -0
- package/utils/agnostic/throttle-debounce/index.d.ts +30 -0
- package/utils/agnostic/throttle-debounce/index.js +1 -0
- package/utils/agnostic/throttle-debounce/types.d.ts +3 -0
- package/utils/agnostic/to-alphanum/index.d.ts +1 -0
- package/utils/agnostic/to-alphanum/index.js +1 -0
- package/utils/agnostic/transition/index.d.ts +39 -0
- package/utils/agnostic/transition/index.js +1 -0
- package/utils/agnostic/wait/index.d.ts +1 -0
- package/utils/agnostic/wait/index.js +1 -0
- package/utils/browser/dynamic-css/index.d.ts +4 -0
- package/utils/browser/dynamic-css/index.js +2 -0
- package/utils/browser/get-current-downlink/index.d.ts +1 -0
- package/utils/browser/get-current-downlink/index.js +1 -0
- package/utils/browser/get-node-ancestors/index.d.ts +1 -0
- package/utils/browser/get-node-ancestors/index.js +1 -0
- package/utils/node/is-in-directory/index.d.ts +1 -0
- package/utils/node/is-in-directory/index.js +1 -0
- package/utils/node/list-subpaths/index.d.ts +33 -0
- package/utils/node/list-subpaths/index.js +1 -0
- package/utils/node/process-exit/index.d.ts +5 -0
- package/utils/node/process-exit/index.js +1 -0
- package/utils/node/read-write-file/index.d.ts +12 -0
- package/utils/node/read-write-file/index.js +1 -0
- package/chunks/chunk-26QQ56SS.js +0 -36
- package/chunks/chunk-2H5RIOJO.js +0 -16
- package/chunks/chunk-2PNFMIXN.js +0 -20
- package/chunks/chunk-334MFRHI.js +0 -56
- package/chunks/chunk-336RBB5E.js +0 -151
- package/chunks/chunk-33YK4WOA.js +0 -18
- package/chunks/chunk-3CQON3DO.js +0 -56
- package/chunks/chunk-3CZNTEF7.js +0 -151
- package/chunks/chunk-3KN4IIQU.js +0 -23
- package/chunks/chunk-3UM5CZA5.js +0 -18
- package/chunks/chunk-422KBDRV.js +0 -203
- package/chunks/chunk-454MZ5UE.js +0 -239
- package/chunks/chunk-46HTGOCE.js +0 -56
- package/chunks/chunk-4ARTWFW5.js +0 -164
- package/chunks/chunk-4CAHGPFA.js +0 -32
- package/chunks/chunk-4OCP2WZM.js +0 -100
- package/chunks/chunk-4TGRV2AB.js +0 -18
- package/chunks/chunk-4WZEYD3R.js +0 -56
- package/chunks/chunk-55MT7BMY.js +0 -16
- package/chunks/chunk-5GBYBDYQ.js +0 -36
- package/chunks/chunk-5IPSIDXB.js +0 -31
- package/chunks/chunk-5J7H5WYC.js +0 -82
- package/chunks/chunk-5JAITHS2.js +0 -48
- package/chunks/chunk-5JNJVGDX.js +0 -20
- package/chunks/chunk-5M7ZTA56.js +0 -43
- package/chunks/chunk-5RGHYFQH.js +0 -70
- package/chunks/chunk-5SWBMXLR.js +0 -98
- package/chunks/chunk-662SOZWA.js +0 -19
- package/chunks/chunk-6EIF24H5.js +0 -35
- package/chunks/chunk-6HPXM6ED.js +0 -20
- package/chunks/chunk-6V7VQ32U.js +0 -56
- package/chunks/chunk-6Y7RZ5WD.js +0 -48
- package/chunks/chunk-6ZBDBWLW.js +0 -164
- package/chunks/chunk-76QORXDC.js +0 -19
- package/chunks/chunk-7BCQCDGQ.js +0 -31
- package/chunks/chunk-7DDXALPH.js +0 -49
- package/chunks/chunk-7DV4CM2Z.js +0 -205
- package/chunks/chunk-7FJKDVBE.js +0 -49
- package/chunks/chunk-7KCMLH6B.js +0 -22
- package/chunks/chunk-7N7BJA6C.js +0 -36
- package/chunks/chunk-7SS2R4B6.js +0 -82
- package/chunks/chunk-7YSTZ7GY.js +0 -31
- package/chunks/chunk-7Z7CKAOH.js +0 -98
- package/chunks/chunk-A6OSVHIK.js +0 -20
- package/chunks/chunk-AIESW26U.js +0 -47
- package/chunks/chunk-AMXIZUFB.js +0 -16
- package/chunks/chunk-AZLVQV5A.js +0 -39
- package/chunks/chunk-B4XUXE7E.js +0 -18
- package/chunks/chunk-B5XLWFTJ.js +0 -20
- package/chunks/chunk-BANYGSW4.js +0 -20
- package/chunks/chunk-BGZ5OVVN.js +0 -20
- package/chunks/chunk-BONBND7I.js +0 -239
- package/chunks/chunk-BPBWY4OT.js +0 -191
- package/chunks/chunk-BWKM2VQJ.js +0 -191
- package/chunks/chunk-BWXVJB4I.js +0 -20
- package/chunks/chunk-BZHH4R64.js +0 -20
- package/chunks/chunk-CHA42BGS.js +0 -48
- package/chunks/chunk-CKCTYZF7.js +0 -48
- package/chunks/chunk-CM6AHRTS.js +0 -16
- package/chunks/chunk-CMWR77VW.js +0 -54
- package/chunks/chunk-CSZFW4R5.js +0 -69
- package/chunks/chunk-CYIUZX2T.js +0 -31
- package/chunks/chunk-D5E2CIDK.js +0 -20
- package/chunks/chunk-DEQ5N53D.js +0 -21
- package/chunks/chunk-DW4ILX77.js +0 -28
- package/chunks/chunk-E2BDKTLL.js +0 -48
- package/chunks/chunk-E6HDM2M4.js +0 -191
- package/chunks/chunk-E7J4E6OB.js +0 -65
- package/chunks/chunk-EA4L7AGZ.js +0 -48
- package/chunks/chunk-EBVYO2TY.js +0 -48
- package/chunks/chunk-ECGOI4MT.js +0 -20
- package/chunks/chunk-ECWDSMDZ.js +0 -20
- package/chunks/chunk-FFNIZRZU.js +0 -31
- package/chunks/chunk-FHHXI6WC.js +0 -31
- package/chunks/chunk-FIVB3FON.js +0 -56
- package/chunks/chunk-FMRPJBUC.js +0 -20
- package/chunks/chunk-FRP47Y6H.js +0 -2456
- package/chunks/chunk-FZJUZYTP.js +0 -177
- package/chunks/chunk-G2M3VECP.js +0 -20
- package/chunks/chunk-G3HAKMUB.js +0 -79
- package/chunks/chunk-G66DWXF3.js +0 -31
- package/chunks/chunk-GCHQD7MH.js +0 -63
- package/chunks/chunk-GD6Y5QJV.js +0 -98
- package/chunks/chunk-GE7DNPF6.js +0 -63
- package/chunks/chunk-H73SGDQI.js +0 -20
- package/chunks/chunk-H7LDIXVY.js +0 -48
- package/chunks/chunk-HBKSSDSX.js +0 -20
- package/chunks/chunk-HDK7W7GS.js +0 -20
- package/chunks/chunk-HFIE4SBE.js +0 -16
- package/chunks/chunk-HGQGQLLC.js +0 -4430
- package/chunks/chunk-HV2AHV5R.js +0 -164
- package/chunks/chunk-I37MGRCT.js +0 -20
- package/chunks/chunk-IARWH6LC.js +0 -34
- package/chunks/chunk-IH25CV3F.js +0 -20
- package/chunks/chunk-IJAFLBHD.js +0 -16
- package/chunks/chunk-ISFXCV7D.js +0 -20
- package/chunks/chunk-IXM6DCIE.js +0 -151
- package/chunks/chunk-IYV3EEYX.js +0 -20
- package/chunks/chunk-J35QFU6O.js +0 -21
- package/chunks/chunk-JBUM5Q5C.js +0 -48
- package/chunks/chunk-JBZR6R5B.js +0 -15
- package/chunks/chunk-JJWKHBXD.js +0 -68
- package/chunks/chunk-JLXITDAV.js +0 -48
- package/chunks/chunk-JR76DLSV.js +0 -151
- package/chunks/chunk-JS3NE4VI.js +0 -2456
- package/chunks/chunk-JSKVNOTW.js +0 -56
- package/chunks/chunk-JYYW4KOZ.js +0 -72
- package/chunks/chunk-K4Q2MG65.js +0 -56
- package/chunks/chunk-K66UXFDQ.js +0 -63
- package/chunks/chunk-KBCULP7X.js +0 -177
- package/chunks/chunk-KC76PUJY.js +0 -48
- package/chunks/chunk-KDTKA3SG.js +0 -31
- package/chunks/chunk-KN23H4CI.js +0 -20
- package/chunks/chunk-KTK3BMX2.js +0 -56
- package/chunks/chunk-L7EUEQZP.js +0 -0
- package/chunks/chunk-LH6Z6NJY.js +0 -191
- package/chunks/chunk-LOY7C5BP.js +0 -151
- package/chunks/chunk-LVBXPZUO.js +0 -104
- package/chunks/chunk-MDVYILPB.js +0 -56
- package/chunks/chunk-MFK63FMI.js +0 -31
- package/chunks/chunk-MFWKY3DT.js +0 -32
- package/chunks/chunk-MKHTR43Q.js +0 -231
- package/chunks/chunk-MOBGB2PH.js +0 -54
- package/chunks/chunk-MTGZYBK2.js +0 -129
- package/chunks/chunk-MV2LDBDF.js +0 -164
- package/chunks/chunk-MVNQWIVH.js +0 -151
- package/chunks/chunk-MXGGOCLX.js +0 -56
- package/chunks/chunk-MZKZI6JL.js +0 -37
- package/chunks/chunk-MZZOFFFT.js +0 -21
- package/chunks/chunk-N5QAGJXV.js +0 -49
- package/chunks/chunk-NA3M6VUU.js +0 -20
- package/chunks/chunk-NA7PT2KE.js +0 -21
- package/chunks/chunk-NAP2XNYN.js +0 -23
- package/chunks/chunk-NFIEXASV.js +0 -164
- package/chunks/chunk-NJ4ANCLV.js +0 -65
- package/chunks/chunk-NOBTN4IW.js +0 -4471
- package/chunks/chunk-O7UEQQ6H.js +0 -49
- package/chunks/chunk-OD33BN4K.js +0 -32
- package/chunks/chunk-OPU4CANL.js +0 -35
- package/chunks/chunk-OSCBZIZF.js +0 -28
- package/chunks/chunk-OSZ4BWDE.js +0 -32
- package/chunks/chunk-OUJTDMHK.js +0 -16
- package/chunks/chunk-OWCPJD6O.js +0 -16
- package/chunks/chunk-OXV3LVNK.js +0 -191
- package/chunks/chunk-P3QFJTAE.js +0 -129
- package/chunks/chunk-P5OGBBGM.js +0 -37
- package/chunks/chunk-PCTJ7TUG.js +0 -191
- package/chunks/chunk-PDHAMES3.js +0 -20
- package/chunks/chunk-PENYZ6S7.js +0 -31
- package/chunks/chunk-PEUWFUEZ.js +0 -98
- package/chunks/chunk-PLIJVLAB.js +0 -173
- package/chunks/chunk-PSP2DKDH.js +0 -151
- package/chunks/chunk-Q2ZS3QNB.js +0 -151
- package/chunks/chunk-Q4MSGUKR.js +0 -37
- package/chunks/chunk-QAE3OWOI.js +0 -79
- package/chunks/chunk-QHQPS7EU.js +0 -31
- package/chunks/chunk-QN3UAKIU.js +0 -21
- package/chunks/chunk-QPT6R6CL.js +0 -100
- package/chunks/chunk-QSSQOTGV.js +0 -20
- package/chunks/chunk-QUDIXNB2.js +0 -18
- package/chunks/chunk-QVIRBFMQ.js +0 -31
- package/chunks/chunk-R6F2MFZZ.js +0 -173
- package/chunks/chunk-R7J7Q2UL.js +0 -20
- package/chunks/chunk-REN2I723.js +0 -98
- package/chunks/chunk-RGGOIE34.js +0 -20
- package/chunks/chunk-RLTBF5FT.js +0 -23
- package/chunks/chunk-RPWYARS3.js +0 -18
- package/chunks/chunk-RQECU6DI.js +0 -56
- package/chunks/chunk-RVZ32GPI.js +0 -55
- package/chunks/chunk-S2PB2PLY.js +0 -191
- package/chunks/chunk-SARTUWB5.js +0 -20
- package/chunks/chunk-SC54OKBX.js +0 -43
- package/chunks/chunk-SDFTYOAK.js +0 -20
- package/chunks/chunk-SLCGLOYM.js +0 -37
- package/chunks/chunk-SNRRHDIZ.js +0 -31
- package/chunks/chunk-SUWMOLXI.js +0 -191
- package/chunks/chunk-SZQHLC4K.js +0 -31
- package/chunks/chunk-T2T5BYTW.js +0 -18
- package/chunks/chunk-T55QIYYV.js +0 -32
- package/chunks/chunk-T6IC7JVI.js +0 -37
- package/chunks/chunk-TC7A4P5S.js +0 -34
- package/chunks/chunk-TDOBYMTK.js +0 -56
- package/chunks/chunk-TPMYILTC.js +0 -191
- package/chunks/chunk-TXGV4KJD.js +0 -31
- package/chunks/chunk-TZ7MNWDS.js +0 -20
- package/chunks/chunk-U3L3X27Q.js +0 -177
- package/chunks/chunk-U4UHXVMV.js +0 -37
- package/chunks/chunk-U7CF7IDN.js +0 -35
- package/chunks/chunk-UERX6XGZ.js +0 -21
- package/chunks/chunk-UODICVLG.js +0 -173
- package/chunks/chunk-UUSZJMJB.js +0 -37
- package/chunks/chunk-UVSTFYSD.js +0 -28
- package/chunks/chunk-UYRX3PTS.js +0 -2456
- package/chunks/chunk-UZPXYAJR.js +0 -177
- package/chunks/chunk-V4KSJHTU.js +0 -20
- package/chunks/chunk-VDT6ODFV.js +0 -20
- package/chunks/chunk-VHAGPTVR.js +0 -37
- package/chunks/chunk-VHPX7UA3.js +0 -177
- package/chunks/chunk-VLC7LRED.js +0 -191
- package/chunks/chunk-VLHSIIPO.js +0 -20
- package/chunks/chunk-VQUF2TSY.js +0 -191
- package/chunks/chunk-VR5JHUKK.js +0 -32
- package/chunks/chunk-VSBRIQPH.js +0 -48
- package/chunks/chunk-VWLJ5IEE.js +0 -31
- package/chunks/chunk-WDXNM5YB.js +0 -20
- package/chunks/chunk-WGQHXHXS.js +0 -31
- package/chunks/chunk-WH5V6GK7.js +0 -56
- package/chunks/chunk-WIJBRYJ6.js +0 -20
- package/chunks/chunk-WLGIDY6A.js +0 -2456
- package/chunks/chunk-WMSE5GRO.js +0 -63
- package/chunks/chunk-WO2R3QFK.js +0 -20
- package/chunks/chunk-WOGRENMM.js +0 -31
- package/chunks/chunk-WQKFVIUF.js +0 -37
- package/chunks/chunk-WR64YJNW.js +0 -20
- package/chunks/chunk-WSFCRVEQ.js +0 -9
- package/chunks/chunk-WTILPGGX.js +0 -69
- package/chunks/chunk-WU3JQC7W.js +0 -164
- package/chunks/chunk-X24BLY5H.js +0 -31
- package/chunks/chunk-X34YXAEL.js +0 -31
- package/chunks/chunk-X4XXZ44B.js +0 -37
- package/chunks/chunk-X5FAZBWL.js +0 -130
- package/chunks/chunk-X6WCMUOP.js +0 -18
- package/chunks/chunk-XAZT2MME.js +0 -56
- package/chunks/chunk-XB3YCG6I.js +0 -48
- package/chunks/chunk-XB3ZOIHH.js +0 -2456
- package/chunks/chunk-XEAHMN2T.js +0 -4063
- package/chunks/chunk-XEMFIV2W.js +0 -177
- package/chunks/chunk-XF5QBETN.js +0 -48
- package/chunks/chunk-XJ23DJY4.js +0 -173
- package/chunks/chunk-XN44EWRS.js +0 -21
- package/chunks/chunk-XSVBWVVC.js +0 -20
- package/chunks/chunk-XTOAQTLP.js +0 -98
- package/chunks/chunk-XVYKCWPR.js +0 -48
- package/chunks/chunk-XZ7II65Z.js +0 -31
- package/chunks/chunk-Y5GGIBPI.js +0 -31
- package/chunks/chunk-Y7YEYHRZ.js +0 -69
- package/chunks/chunk-YEYXAV23.js +0 -16
- package/chunks/chunk-YLJBKSLO.js +0 -56
- package/chunks/chunk-YLKBLE6G.js +0 -30
- package/chunks/chunk-YMF7CUJA.js +0 -20
- package/chunks/chunk-YMRAUWRW.js +0 -20
- package/chunks/chunk-YMRGCRQ4.js +0 -48
- package/chunks/chunk-YRQ7LODK.js +0 -177
- package/chunks/chunk-YSDPTGYO.js +0 -31
- package/chunks/chunk-YUJJEKYY.js +0 -144
- package/chunks/chunk-YVEMIEOT.js +0 -203
- package/chunks/chunk-YW5ASSIQ.js +0 -31
- package/chunks/chunk-YXJXNTCV.js +0 -65
- package/chunks/chunk-YYA5VRE4.js +0 -177
- package/chunks/chunk-YZYA7LFK.js +0 -20
- package/chunks/chunk-Z2CU55CF.js +0 -20
- package/chunks/chunk-Z6ZTRJ67.js +0 -177
- package/chunks/chunk-ZBQEB3X7.js +0 -4430
- package/chunks/chunk-ZLNDBNP4.js +0 -31
- package/chunks/chunk-ZMMNN3QA.js +0 -16
- package/chunks/chunk-ZNA7SWFK.js +0 -29
- package/chunks/chunk-ZQ7ZC7TZ.js +0 -56
- package/chunks/chunk-ZVBMPJLH.js +0 -48
- package/chunks/chunk-ZVZAGTIT.js +0 -151
- package/chunks/chunk-ZZH6RUS3.js +0 -48
- package/node/@design-edito/thumbnails/colors/index.d.ts +0 -38
- package/node/@design-edito/thumbnails/colors/index.js +0 -33
- package/node/@design-edito/thumbnails/common/index.d.ts +0 -5
- package/node/@design-edito/thumbnails/common/index.js +0 -15
- package/node/@design-edito/thumbnails/easings/index.d.ts +0 -8
- package/node/@design-edito/thumbnails/easings/index.js +0 -21
- package/node/@design-edito/thumbnails/layout/index.d.ts +0 -63
- package/node/@design-edito/thumbnails/layout/index.js +0 -31
- package/node/@google-cloud/storage/bucket/list/index.d.ts +0 -17
- package/node/@google-cloud/storage/file/erase/index.d.ts +0 -20
- package/node/cloud-storage/client/index.d.ts +0 -14
- package/node/cloud-storage/client/index.js +0 -20
- package/node/cloud-storage/credentials/index.d.ts +0 -39
- package/node/cloud-storage/credentials/index.js +0 -18
- package/node/cloud-storage/endpoint/index.d.ts +0 -24
- package/node/cloud-storage/endpoint/index.js +0 -13
- package/node/cloud-storage/operations/download/index.d.ts +0 -5
- package/node/cloud-storage/operations/download/index.js +0 -14
- package/node/cloud-storage/operations/upload/index.d.ts +0 -5
- package/node/cloud-storage/operations/upload/index.js +0 -14
- package/node/images/exports/index.d.ts +0 -15
- package/node/images/exports/index.js +0 -9
- package/node/images/transform/area-composition/index.d.ts +0 -60
- package/node/images/transform/area-composition/index.js +0 -15
- package/node/images/transform/operations/area-composition/area-line-composition/index.d.ts +0 -19
- package/node/images/transform/operations/area-composition/area-line-composition/index.js +0 -14
- package/node/images/transform/operations/area-composition/area-tile-composition/index.d.ts +0 -30
- package/node/images/transform/operations/area-composition/area-tile-composition/index.js +0 -15
- package/node/images/transform/operations/area-composition/index.d.ts +0 -31
- package/node/images/transform/operations/area-composition/index.js +0 -15
- package/node/images/transform/operations/inner-resize/index.d.ts +0 -25
- package/node/images/transform/operations/inner-resize/index.js +0 -13
- package/chunks/{chunk-SAFV7TBT.js → chunk-2COSSNOE.js} +6 -6
- package/chunks/{chunk-4Y5XR6WC.js → chunk-33GNX62K.js} +13 -13
- package/chunks/{chunk-HFH6DXXC.js → chunk-6LY5FJXY.js} +14 -14
- package/chunks/{chunk-OVG5RGI3.js → chunk-DCKTGQOX.js} +4 -4
- package/chunks/{chunk-236C4IHT.js → chunk-LMF52IW7.js} +6 -6
- package/chunks/{chunk-HZGGYNZ5.js → chunk-S3GEV44K.js} +15 -15
- package/chunks/{chunk-JX45LILQ.js → chunk-XFMKYZKH.js} +3 -3
@@ -1,3 +1,8 @@
|
|
1
|
+
import * as Copy from './copy';
|
1
2
|
import * as Download from './download';
|
3
|
+
import * as Exists from './exists';
|
4
|
+
import * as Move from './move';
|
5
|
+
import * as Remove from './remove';
|
6
|
+
import * as Stat from './stat';
|
2
7
|
import * as Upload from './upload';
|
3
|
-
export { Download, Upload };
|
8
|
+
export { Copy, Download, Exists, Move, Remove, Stat, Upload };
|
package/node/sftp/file/index.js
CHANGED
@@ -1,14 +1,34 @@
|
|
1
|
-
import "../../../chunks/chunk-
|
1
|
+
import "../../../chunks/chunk-KPYPESIY.js";
|
2
2
|
import {
|
3
|
-
|
4
|
-
} from "../../../chunks/chunk-
|
3
|
+
move_exports
|
4
|
+
} from "../../../chunks/chunk-NX2FQWHA.js";
|
5
|
+
import {
|
6
|
+
remove_exports
|
7
|
+
} from "../../../chunks/chunk-J467ZNXE.js";
|
5
8
|
import {
|
6
9
|
upload_exports
|
7
|
-
} from "../../../chunks/chunk-
|
10
|
+
} from "../../../chunks/chunk-IOZR2LGL.js";
|
11
|
+
import {
|
12
|
+
stat_exports
|
13
|
+
} from "../../../chunks/chunk-PPJYUWHH.js";
|
14
|
+
import {
|
15
|
+
download_exports
|
16
|
+
} from "../../../chunks/chunk-5RA25FYM.js";
|
17
|
+
import {
|
18
|
+
copy_exports
|
19
|
+
} from "../../../chunks/chunk-SSJ5YQMJ.js";
|
20
|
+
import {
|
21
|
+
exists_exports
|
22
|
+
} from "../../../chunks/chunk-ZO5FRL3M.js";
|
8
23
|
import "../../../chunks/chunk-JMU5PDBD.js";
|
9
24
|
import "../../../chunks/chunk-FENXVJYO.js";
|
10
|
-
import "../../../chunks/chunk-
|
25
|
+
import "../../../chunks/chunk-KH45J4DC.js";
|
11
26
|
export {
|
27
|
+
copy_exports as Copy,
|
12
28
|
download_exports as Download,
|
29
|
+
exists_exports as Exists,
|
30
|
+
move_exports as Move,
|
31
|
+
remove_exports as Remove,
|
32
|
+
stat_exports as Stat,
|
13
33
|
upload_exports as Upload
|
14
34
|
};
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import Client from 'ssh2-sftp-client';
|
2
|
+
import { Outcome } from '../../../../agnostic/misc/outcome';
|
3
|
+
export type MoveOptions = {
|
4
|
+
/**
|
5
|
+
* When `true`, ensures that the parent directory of `targetPath` exists
|
6
|
+
* before attempting the rename (`mkdir` with the recursive flag).
|
7
|
+
* @default true
|
8
|
+
*/
|
9
|
+
ensureDir?: boolean;
|
10
|
+
/**
|
11
|
+
* When `false` (default) and `targetPath` already exists, the move is aborted
|
12
|
+
* and a failure is returned.
|
13
|
+
* @default false
|
14
|
+
*/
|
15
|
+
overwrite?: boolean;
|
16
|
+
};
|
17
|
+
/**
|
18
|
+
* Moves (renames) a file on an SFTP server.
|
19
|
+
*
|
20
|
+
* The function uses `rename`, which atomically moves the file from
|
21
|
+
* `sourcePath` to `targetPath`. It supports two safety features:
|
22
|
+
*
|
23
|
+
* 1. **ensureDir** – If enabled, the parent directory of `targetPath`
|
24
|
+
* is created with `mkdir -p` semantics before the rename.
|
25
|
+
* 2. **overwrite** – If disabled (default) the function first checks whether
|
26
|
+
* something already exists at `targetPath`; if so, it aborts.
|
27
|
+
*
|
28
|
+
* @param {Client} sftp - The ssh2‑sftp‑client instance.
|
29
|
+
* @param {string} sourcePath - The full path of the source file.
|
30
|
+
* @param {string} targetPath - The full destination path.
|
31
|
+
* @param {MoveOptions} [options] - Optional move configuration.
|
32
|
+
* @param {boolean} [options.ensureDir=true] - Whether to create missing parent directories.
|
33
|
+
* @param {boolean} [options.overwrite=false] - Whether to overwrite an existing destination.
|
34
|
+
* @returns {Promise<Outcome.Either<true, string>>}
|
35
|
+
* - On success: `Outcome.makeSuccess(true)`.
|
36
|
+
* - On failure: `Outcome.makeFailure(errStr)`.
|
37
|
+
*/
|
38
|
+
export declare function move(sftp: Client, sourcePath: string, targetPath: string, options?: MoveOptions): Promise<Outcome.Either<true, string>>;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import SftpClient from 'ssh2-sftp-client';
|
2
|
+
import { Outcome } from '../../../../agnostic/misc/outcome';
|
3
|
+
export type RemoveOptions = {
|
4
|
+
ignoreMissing?: boolean;
|
5
|
+
};
|
6
|
+
/**
|
7
|
+
* Deletes a file from a specified SFTP server.
|
8
|
+
*
|
9
|
+
* This function removes the file located at the given path on the SFTP server.
|
10
|
+
* The deletion process can be customized using optional delete options.
|
11
|
+
* If the `ignoreMissing` option is true, it does not treat a missing file as an error.
|
12
|
+
*
|
13
|
+
* @param {SftpClient} sftp - The ssh2-sftp-client instance used to interact with the SFTP server.
|
14
|
+
* @param {string} targetPath - The path of the file to delete on the SFTP server.
|
15
|
+
* @param {RemoveOptions} [options] - Optional settings for configuring the deletion process.
|
16
|
+
* @returns {Promise<Outcome.Either<true, string>>} A promise that resolves to an Outcome.Either.
|
17
|
+
* - On success: Outcome.makeSuccess(true) indicating the deletion was successful.
|
18
|
+
* - On failure: Outcome.makeFailure(errStr) with an error message if the deletion fails.
|
19
|
+
*/
|
20
|
+
export declare function remove(sftp: SftpClient, targetPath: string, options?: RemoveOptions): Promise<Outcome.Either<true, string>>;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import SftpClient from 'ssh2-sftp-client';
|
2
|
+
import { Outcome } from '../../../../agnostic/misc/outcome';
|
3
|
+
export interface Stat {
|
4
|
+
size?: number;
|
5
|
+
modifiedAt?: Date;
|
6
|
+
mode?: number;
|
7
|
+
uid?: number;
|
8
|
+
gid?: number;
|
9
|
+
raw: SftpClient.FileStats;
|
10
|
+
}
|
11
|
+
/**
|
12
|
+
* Retrieves metadata for a file on an SFTP server.
|
13
|
+
*
|
14
|
+
* @param {SftpClient} sftp – ssh2-sftp-client.
|
15
|
+
* @param {string} path – Remote file path.
|
16
|
+
* @returns {Promise<Outcome.Either<Stat, string>>}
|
17
|
+
*/
|
18
|
+
export declare function stat(sftp: SftpClient, path: string): Promise<Outcome.Either<Stat, string>>;
|
@@ -13,12 +13,12 @@ export type UploadOptions = TransferOptions & {
|
|
13
13
|
* If the `ensureDir` option is true, it ensures that the target directory exists before uploading.
|
14
14
|
* If the `overwrite` option is false and a file already exists at the target path, the upload is aborted.
|
15
15
|
*
|
16
|
-
* @param {Readable} fileStream - The file content to be uploaded.
|
17
|
-
* @param {string} targetPath - The target path where the file will be stored on the SFTP server.
|
18
16
|
* @param {Client} sftp - The ssh2-sftp-client instance used to interact with the SFTP server.
|
17
|
+
* @param {string} targetPath - The target path where the file will be stored on the SFTP server.
|
18
|
+
* @param {Readable} fileStream - The file content to be uploaded.
|
19
19
|
* @param {UploadOptions} [options] - Optional settings for configuring the upload process.
|
20
20
|
* @returns {Promise<Outcome.Either<true, string>>} A promise that resolves to an Outcome.Either.
|
21
21
|
* - On success: Outcome.makeSuccess(true) indicating the upload was successful.
|
22
22
|
* - On failure: Outcome.makeFailure(errStr) with an error message if the upload fails.
|
23
23
|
*/
|
24
|
-
export declare function upload(
|
24
|
+
export declare function upload(sftp: Client, targetPath: string, fileStream: Readable, options?: UploadOptions): Promise<Outcome.Either<true, string>>;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import {
|
2
2
|
upload
|
3
|
-
} from "../../../../chunks/chunk-
|
3
|
+
} from "../../../../chunks/chunk-IOZR2LGL.js";
|
4
4
|
import "../../../../chunks/chunk-JMU5PDBD.js";
|
5
5
|
import "../../../../chunks/chunk-FENXVJYO.js";
|
6
|
-
import "../../../../chunks/chunk-
|
6
|
+
import "../../../../chunks/chunk-KH45J4DC.js";
|
7
7
|
export {
|
8
8
|
upload
|
9
9
|
};
|
package/node/sftp/index.d.ts
CHANGED
package/node/sftp/index.js
CHANGED
@@ -1,11 +1,24 @@
|
|
1
|
+
import {
|
2
|
+
directory_exports
|
3
|
+
} from "../../chunks/chunk-AVVDAISH.js";
|
1
4
|
import {
|
2
5
|
file_exports
|
3
|
-
} from "../../chunks/chunk-
|
4
|
-
import "../../chunks/chunk-
|
5
|
-
import "../../chunks/chunk-
|
6
|
+
} from "../../chunks/chunk-KPYPESIY.js";
|
7
|
+
import "../../chunks/chunk-NX2FQWHA.js";
|
8
|
+
import "../../chunks/chunk-J467ZNXE.js";
|
9
|
+
import "../../chunks/chunk-7WUVBSIC.js";
|
10
|
+
import "../../chunks/chunk-FWR7ZA4M.js";
|
11
|
+
import "../../chunks/chunk-IOZR2LGL.js";
|
12
|
+
import "../../chunks/chunk-PPJYUWHH.js";
|
13
|
+
import "../../chunks/chunk-HGDSHJEX.js";
|
14
|
+
import "../../chunks/chunk-5RA25FYM.js";
|
15
|
+
import "../../chunks/chunk-SSJ5YQMJ.js";
|
16
|
+
import "../../chunks/chunk-GKTDEHC6.js";
|
17
|
+
import "../../chunks/chunk-ZO5FRL3M.js";
|
6
18
|
import "../../chunks/chunk-JMU5PDBD.js";
|
7
19
|
import "../../chunks/chunk-FENXVJYO.js";
|
8
|
-
import "../../chunks/chunk-
|
20
|
+
import "../../chunks/chunk-KH45J4DC.js";
|
9
21
|
export {
|
22
|
+
directory_exports as Directory,
|
10
23
|
file_exports as File
|
11
24
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@design-edito/tools",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.72",
|
4
4
|
"description": "",
|
5
5
|
"author": "Maxime Fabas",
|
6
6
|
"license": "ISC",
|
@@ -12,9 +12,10 @@
|
|
12
12
|
"main": "index.js",
|
13
13
|
"module": "index.js",
|
14
14
|
"peerDependencies": {
|
15
|
+
"@aws-sdk/client-s3": "^3.842.0",
|
16
|
+
"@aws-sdk/lib-storage": "^3.842.0",
|
15
17
|
"@google-cloud/storage": "^7.16.0",
|
16
18
|
"archiver": "^7.0.1",
|
17
|
-
"aws-sdk": "^2.1692.0",
|
18
19
|
"basic-ftp": "^5.0.5",
|
19
20
|
"chalk": "^5.4.1",
|
20
21
|
"express": "^5.1.0",
|
@@ -0,0 +1 @@
|
|
1
|
+
export default function absoluteModulo(nbr: number, modulo: number): number;
|
@@ -0,0 +1 @@
|
|
1
|
+
function r(n,e){return(n%e+e)%e}export{r as default};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
type Filler<T = any> = (pos?: number) => T;
|
2
|
+
export declare function make<T>(filler: Filler<T>, length: number): T[];
|
3
|
+
export declare function findDuplicates<T>(arr: T[], stopAtFirst?: boolean): T[];
|
4
|
+
export declare const randomPickErrorSybol: unique symbol;
|
5
|
+
export type RandomPickErrorSymbol = typeof randomPickErrorSybol;
|
6
|
+
export default function randomPick<T>(arr: T[], exclude?: T[]): T | RandomPickErrorSymbol;
|
7
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
function f(e,t){return new Array(t).fill(null).map((r,o)=>e(o))}function s(e,t=!1){let r=new Set,o=new Set;for(let n of e){if(r.has(n)&&t)return[n];r.has(n)&&o.add(n),r.add(n)}return Array.from(o)}var a=Symbol();function i(e,t=[]){let r=[...e].filter(l=>!t.includes(l)),o=r.length;if(o===0)return a;let n=Math.floor(Math.random()*o);return r[n]}export{i as default,s as findDuplicates,f as make,a as randomPickErrorSybol};
|
@@ -0,0 +1 @@
|
|
1
|
+
function o(e){console.info(`\u2705 SUCCESS: "${e}"`)}function n(e){throw new Error(`\u{1F6AB} FAILURE: "${e}""`)}function s(e,r){if(Array.isArray(r))r.forEach((t,f)=>s(`${e} (${f})`,t));else if(typeof r=="function")try{r()===!1?n(e):o(e)}catch(t){n(`${t}`)}else r===!1?n(e):o(e)}export{s as default};
|
@@ -0,0 +1 @@
|
|
1
|
+
function o(e,t){return new Promise(async(a,n)=>{let c=setTimeout(()=>n(!1),t),l=await e();return clearTimeout(c),a(l)})}export{o as default};
|
@@ -0,0 +1,29 @@
|
|
1
|
+
export interface Block {
|
2
|
+
name: string;
|
3
|
+
modifiers: string[];
|
4
|
+
}
|
5
|
+
declare class BEM {
|
6
|
+
constructor();
|
7
|
+
addBlock(blockNameArg: any): BEM;
|
8
|
+
addElement(elementNameArg: any): BEM;
|
9
|
+
addModifier(modifierNameArg: any): BEM;
|
10
|
+
copy(): BEM;
|
11
|
+
block(blockNameArg: any): BEM;
|
12
|
+
element(elementNameArg: any): BEM;
|
13
|
+
modifier(modifierNameArg: any): BEM;
|
14
|
+
blk(blockNameArg: any): BEM;
|
15
|
+
elt(elementNameArg: any): BEM;
|
16
|
+
mod(modifierNameArg: any): BEM;
|
17
|
+
cp(): BEM;
|
18
|
+
get value(): string;
|
19
|
+
get val(): string;
|
20
|
+
private blocks;
|
21
|
+
private findBlockByName;
|
22
|
+
private addSingleBlock;
|
23
|
+
private addSingleElement;
|
24
|
+
private addSingleModifier;
|
25
|
+
private setCurrentBlockByName;
|
26
|
+
private createBlockByName;
|
27
|
+
private getCurrentBlock;
|
28
|
+
}
|
29
|
+
export default BEM;
|
@@ -0,0 +1 @@
|
|
1
|
+
import{b as c}from"../../../chunks/chunk-WZBNXYN3.js";import{d as h}from"../../../chunks/chunk-XCKXCF4A.js";import"../../../chunks/chunk-ZVJO36JU.js";function r(e){let i=[];return typeof e=="string"?e.trim().split(/\s+/gm).forEach(t=>{c(t)&&i.push(t)}):Array.isArray(e)?e.forEach(t=>i.push(...r(t))):typeof e=="object"&&e!==null&&Object.entries(e).forEach(([t,s])=>{h(s)||i.push(...r(t))}),i}var n=r;var o=class e{constructor(){this.findBlockByName=this.findBlockByName.bind(this),this.addBlock=this.addBlock.bind(this),this.addElement=this.addElement.bind(this),this.addModifier=this.addModifier.bind(this),this.copy=this.copy.bind(this),this.block=this.block.bind(this),this.element=this.element.bind(this),this.modifier=this.modifier.bind(this),this.blk=this.blk.bind(this),this.elt=this.elt.bind(this),this.mod=this.mod.bind(this),this.cp=this.cp.bind(this),this.addSingleBlock=this.addSingleBlock.bind(this),this.addSingleElement=this.addSingleElement.bind(this),this.addSingleModifier=this.addSingleModifier.bind(this),this.setCurrentBlockByName=this.setCurrentBlockByName.bind(this),this.createBlockByName=this.createBlockByName.bind(this),this.getCurrentBlock=this.getCurrentBlock.bind(this)}addBlock(i){return n(i).forEach(this.addSingleBlock),this}addElement(i){return n(i).forEach(this.addSingleElement),this}addModifier(i){return this.getCurrentBlock()===void 0?this:(n(i).forEach(this.addSingleModifier),this)}copy(){let i=new e;return this.blocks.forEach(t=>{i.addBlock(t.name),t.modifiers.forEach(i.addModifier)}),i}block(i){return this.copy().addBlock(i)}element(i){return this.copy().addElement(i)}modifier(i){return this.copy().addModifier(i)}blk(i){return this.block(i)}elt(i){return this.element(i)}mod(i){return this.modifier(i)}cp(){return this.copy()}get value(){return this.blocks.map(i=>[i.name,...i.modifiers.map(t=>`${i.name}_${t}`)].join(" ")).join(" ")}get val(){return this.value}blocks=[];findBlockByName(i){return this.blocks.find(t=>t.name===i)}addSingleBlock(i){if(this.findBlockByName(i)!==void 0)this.setCurrentBlockByName(i);else{let t=this.createBlockByName(i);this.blocks.push(t)}return this}addSingleElement(i){let t=this.getCurrentBlock();return t===void 0?this.addBlock(i):t.name=t.name+"__"+i,this}addSingleModifier(i){let t=this.getCurrentBlock();return t!==void 0&&t.modifiers.push(i),this}setCurrentBlockByName(i){let t=this.findBlockByName(i);if(t!==void 0){let s=this.blocks.indexOf(t);this.blocks=[...this.blocks.slice(0,s),...this.blocks.slice(s+1),t]}return this}createBlockByName(i){return{name:i,modifiers:[]}}getCurrentBlock(){return this.blocks.slice(-1)[0]}},d=o;function l(e){let i=new d;return e instanceof d?e.copy():i.addBlock(e)}var y=l;export{d as BEM,l as bem,y as default,n as getNamesArr};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export declare function toBoolean(value: unknown): boolean;
|
2
|
+
export declare function toNumber(value: unknown): number;
|
3
|
+
export declare function toString(value: unknown): string;
|
4
|
+
export declare function toNull(_value: unknown): null;
|
5
|
+
export declare function toArray(value: unknown): any[];
|
6
|
+
export declare function toNumberArr(value: unknown): number[];
|
7
|
+
export declare function toRecord(value: unknown): Record<string, unknown>;
|
@@ -0,0 +1 @@
|
|
1
|
+
import{a,b,c,d,e,f,g}from"../../../chunks/chunk-BEZTX3QU.js";import"../../../chunks/chunk-XCKXCF4A.js";import"../../../chunks/chunk-ZVJO36JU.js";export{e as toArray,a as toBoolean,d as toNull,b as toNumber,f as toNumberArr,g as toRecord,c as toString};
|
@@ -0,0 +1 @@
|
|
1
|
+
function t(r){if(r.length!==1)return console.error("input char length must be of one");let n=r.charCodeAt(0);return Number.isInteger(n)?n.toString(36):console.error(`Input "${r}" charCode is not an integer: ${n}`)}function e(r){let n=parseInt(r,36);return Number.isInteger(n)?String.fromCharCode(n):console.error(`Input "${r}" parsing did not return an integer: ${n}`)}function o(r){return r.split("").map(t).join(",")}function i(r){return r.split(",").map(e).join("")}export{o as toCharcodes36,i as toString};
|
@@ -0,0 +1 @@
|
|
1
|
+
export default function clamp(num: number, bound1: number, bound2: number): number;
|
@@ -0,0 +1 @@
|
|
1
|
+
function r(t,m,n){let a=Math.min(m,n),e=Math.max(m,n);return Math.min(Math.max(t,a),e)}export{r as default};
|
@@ -0,0 +1,22 @@
|
|
1
|
+
export type AttributeNameValPair = {
|
2
|
+
attributeName: string | RegExp;
|
3
|
+
attributeValues?: Array<string | RegExp>;
|
4
|
+
};
|
5
|
+
export type Options = {
|
6
|
+
inputFreeTransform?: (input: string) => string;
|
7
|
+
keepComments?: boolean;
|
8
|
+
allowedTags?: string[];
|
9
|
+
forbiddenTags?: string[];
|
10
|
+
allowedAttributes?: {
|
11
|
+
[tagName: string]: AttributeNameValPair[];
|
12
|
+
};
|
13
|
+
forbiddenAttributes?: {
|
14
|
+
[tagName: string]: AttributeNameValPair[];
|
15
|
+
};
|
16
|
+
depth?: number;
|
17
|
+
verbose?: boolean;
|
18
|
+
documentObj?: Document;
|
19
|
+
};
|
20
|
+
export declare const defaultOptions: Options;
|
21
|
+
export default function sanitize(inputStr: string, options?: Options): Promise<string>;
|
22
|
+
export declare function sanitizeElement(element: Element, options?: Options): Element | null;
|
@@ -0,0 +1 @@
|
|
1
|
+
import{a,b,c}from"../../../chunks/chunk-EFFU6KXJ.js";import"../../../chunks/chunk-LCLAV6Q2.js";export{b as default,a as defaultOptions,c as sanitizeElement};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare enum RuntimeName {
|
2
|
+
NODE = "Node.js",
|
3
|
+
BROWSER = "Browser",
|
4
|
+
DENO = "Deno",
|
5
|
+
REACT_NATIVE = "React Native",
|
6
|
+
ELECTRON = "Electron",
|
7
|
+
CLOUDFLARE = "Cloudflare Workers",
|
8
|
+
AWS_LAMBDA = "AWS Lambda"
|
9
|
+
}
|
10
|
+
export declare function detectRuntime(): RuntimeName | null;
|
11
|
+
export declare function getDocument(): Promise<Document>;
|
@@ -0,0 +1 @@
|
|
1
|
+
import{a,b,c}from"../../../chunks/chunk-LCLAV6Q2.js";export{a as RuntimeName,b as detectRuntime,c as getDocument};
|
@@ -0,0 +1 @@
|
|
1
|
+
export default function flattenGetters(obj: unknown): Record<string, unknown>;
|
@@ -0,0 +1 @@
|
|
1
|
+
import{g as o}from"../../../chunks/chunk-BEZTX3QU.js";import"../../../chunks/chunk-XCKXCF4A.js";import"../../../chunks/chunk-ZVJO36JU.js";function f(r){try{let{entries:n,getOwnPropertyDescriptors:c}=Object,s=o(r),i=n(c(r)).filter(([t,u])=>typeof u.get=="function").map(([t])=>t),e={...s};return i.forEach(t=>{e[t]=r[t]}),e}catch{return{}}}export{f as default};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export declare const EightKiloByteOfLoremIpsumSentences: string[];
|
2
|
+
export declare const generateSentence: () => string | undefined;
|
3
|
+
export declare const generateSentences: (amount?: number) => (string | undefined)[];
|
4
|
+
export declare const generateTitle: () => string;
|
5
|
+
export declare const generateIntertitle: () => string;
|
6
|
+
export declare const generateParagraph: () => string;
|
7
|
+
export declare const generateContentPage: (len?: number) => string;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
var u="Etiam consequat interdum elit eu interdum. Nunc eu nulla vel arcu mattis venenatis sit amet gravida sem. Mauris pretium aliquam augue vitae tempor. Interdum et malesuada fames ac ante ipsum primis in faucibus. Nam mollis in ipsum nec efficitur. Nullam imperdiet et urna vitae suscipit. In hac habitasse platea dictumst. Nullam lacinia commodo enim non iaculis. Nam elementum tellus ac lectus aliquam porta. Mauris ut lorem nec magna porttitor efficitur sed sed odio. Ut in dapibus nulla, non eleifend elit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Maecenas posuere leo neque, a luctus quam feugiat in. Phasellus lobortis egestas cursus. In sit amet massa et sem scelerisque facilisis quis fringilla felis. Praesent purus velit, vehicula id orci ac, placerat congue quam. Cras vulputate nisi eu justo accumsan malesuada. Vestibulum ex urna, volutpat non quam in, vulputate pellentesque est. Pellentesque interdum orci in quam finibus faucibus. In eget lectus augue. Vestibulum lobortis vulputate odio. Nam vitae felis in lorem dignissim venenatis. Curabitur bibendum, est quis tempor efficitur, magna orci facilisis erat, id rhoncus massa ante non tellus. Etiam id gravida elit. Mauris ut semper risus. Nulla sed interdum lorem. Nullam eu consectetur purus. Praesent ut enim diam. Nulla hendrerit dapibus eros, sit amet rhoncus eros consequat aliquam. Duis viverra erat vel commodo facilisis. Quisque hendrerit posuere sapien, id cursus ligula rhoncus vitae. Ut et turpis augue. Aliquam augue lorem, fringilla at magna eu, egestas sagittis ex. Vestibulum elementum diam facilisis elit ultrices, eget viverra massa venenatis. Nullam finibus ligula est. Interdum et malesuada fames ac ante ipsum primis in faucibus. Nam condimentum, justo pulvinar posuere tincidunt, mi libero convallis sapien, id consectetur nunc tellus eget nisi. Fusce tincidunt sit amet enim vitae feugiat. Etiam in nulla vitae orci consequat vulputate. Vestibulum sodales urna sit amet velit elementum, vel fringilla eros iaculis. Vestibulum gravida tempus nulla, at vulputate nunc aliquam vitae. Phasellus ac augue et augue finibus congue ut nec nunc. Ut in dictum lectus, eget efficitur dui. Suspendisse bibendum congue arcu, sit amet maximus felis dictum sit amet. Morbi scelerisque feugiat risus, id pellentesque elit cursus nec. Vivamus at erat id magna sagittis cursus vitae eu magna. Integer pretium nec lorem at consectetur. Integer id justo vitae nunc gravida posuere eu vel magna. Donec ex nunc, condimentum id laoreet et, scelerisque nec enim. Sed venenatis, augue vel posuere ullamcorper, lorem velit auctor erat, a auctor mi odio id velit. Donec justo erat, tempor ut diam sed, scelerisque aliquam dolor. Donec erat dui, dictum a tortor sit amet, pellentesque blandit risus. Donec tincidunt ligula ex, vel tincidunt leo posuere sit amet. Curabitur lacinia blandit pellentesque. Donec fringilla aliquam purus ac porta. Fusce faucibus convallis leo, ut aliquet libero maximus nec. Morbi ac magna lorem. Quisque suscipit quis nisi interdum condimentum. Pellentesque imperdiet lorem diam, eu molestie ipsum scelerisque vel. Vivamus hendrerit, ipsum id sollicitudin pharetra, justo justo laoreet lorem, ac scelerisque turpis justo vitae augue. Nullam lacinia magna nec neque auctor scelerisque. Nunc sit amet lacus condimentum, interdum nisl eu, pharetra lorem. Morbi consectetur eros ac nisi facilisis, facilisis placerat magna aliquet. Donec bibendum leo ac est aliquam dictum. Quisque commodo magna risus, ut rhoncus ex feugiat nec. Sed vel tellus porta, feugiat sem quis, facilisis enim. Quisque accumsan imperdiet felis id laoreet. Etiam condimentum at ligula nec vehicula. Phasellus eget placerat quam. Cras efficitur mauris id ex tempus porttitor. Quisque pulvinar tellus id tempus ultricies. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In non erat justo. Nulla blandit placerat hendrerit. Sed blandit mattis magna eget sodales. Morbi eget accumsan sapien. Sed ornare interdum tortor iaculis volutpat. Maecenas vel tortor quis urna placerat mollis. Mauris ultrices, magna sit amet molestie sagittis, libero mi tincidunt diam, eu scelerisque nulla est vel dolor. Aenean congue congue eros bibendum elementum. Phasellus lobortis faucibus eros, et cursus lectus ultricies et. Vivamus augue metus, iaculis eget egestas in, tincidunt et lectus. Mauris varius arcu at cursus auctor. Curabitur eget nunc tellus. In eget tempor odio, vitae dictum massa. Proin in cursus est. Curabitur lobortis, velit eu accumsan sollicitudin, orci orci aliquam velit, ac iaculis massa justo sit amet massa. Duis a mauris iaculis, aliquam ipsum vel, vulputate mauris. Sed ex augue, cursus a dapibus sed, iaculis lacinia quam. Vivamus sit amet justo tellus. Nunc ac neque mattis, euismod velit id, feugiat massa. Etiam vitae auctor orci. Pellentesque sollicitudin est nibh, vitae scelerisque lacus sagittis eu. Morbi convallis metus eu enim gravida, non finibus enim accumsan. In quis pharetra justo, et tempor nibh. Duis non interdum diam. Vestibulum nec felis rhoncus, pharetra ipsum eu, rutrum magna. Integer dignissim odio eu mi finibus sollicitudin. Sed ut magna a nulla porttitor lobortis in id nibh. Pellentesque in lobortis ligula, vel malesuada neque. Aenean commodo arcu nunc, et posuere eros vulputate et. Mauris vestibulum euismod molestie. Vestibulum luctus sapien sollicitudin, cursus ante vel, varius massa. Mauris non magna pharetra, luctus felis sed, dapibus massa. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Donec posuere sapien diam, vitae porttitor nisi dictum sed. Maecenas sit amet eleifend odio. In luctus, neque eget eleifend ultricies, neque ante vestibulum leo, non ullamcorper enim orci vestibulum erat. Phasellus bibendum urna at aliquet elementum. Nulla facilisi. Sed porttitor lacus id hendrerit iaculis. Vivamus facilisis ex eget odio malesuada bibendum. Vestibulum fermentum at sem nec dignissim. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nunc faucibus augue id odio ornare, et maximus quam placerat. Nullam rutrum enim justo, id hendrerit felis faucibus sed. Aenean id nulla arcu. Nulla vitae eleifend ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Quisque ipsum risus, cursus at ligula convallis, interdum fringilla quam. Curabitur libero sapien, mollis in consectetur sit amet, accumsan vel justo. Nulla a eros sit amet nibh pharetra ultricies. Proin et dapibus mauris. Maecenas at lacinia felis. Vestibulum consectetur vestibulum ante. Interdum et malesuada fames ac ante ipsum primis in faucibus. In imperdiet ipsum ac facilisis interdum. Nullam vestibulum dictum vestibulum. Cras pharetra vehicula neque.".split(".").map(e=>e.trim()),i=()=>{let e=Math.floor(Math.random()*u.length);return u[e]},r=(e=1)=>new Array(e).fill(null).map(i),n=()=>`<h1 class="title">${i()}</h1>`,l=()=>`<h2 class="intertitle">${i()}</h2>`,t=()=>{let e=Math.floor(Math.random()*5)+3;return`<p class="paragraph">${new Array(e).fill(null).map(i).join(". ")}</p>`},m=(e=1)=>{let a=(Math.floor(Math.random()*3)+3)*Math.round(e),s=new Array(a).fill(null).map(()=>Math.random()<.2?l():t()).join("");return`<div class="content-page">
|
2
|
+
${n()}
|
3
|
+
${s}
|
4
|
+
${t()}
|
5
|
+
</div>`};export{u as EightKiloByteOfLoremIpsumSentences,m as generateContentPage,l as generateIntertitle,t as generateParagraph,i as generateSentence,r as generateSentences,n as generateTitle};
|
@@ -0,0 +1 @@
|
|
1
|
+
var e=["fuchsia","teal","aliceblue","bisque","blueviolet","burlywood","chocolate","coral","cornflowerblue","crimson","darkblue","darkgoldenrod","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkslateblue","darkslategray","darkviolet","deeppink","deepskyblue","dodgerblue","firebrick","floralwhite","gainsboro","gold","hotpink","indianred","indigo","khaki","lavender","lightcoral","lightgreen","lightsalmon","lightsteelblue","limegreen","magenta","mediumseagreen","mediumspringgreen","mediumvioletred","moccasin","orangered","orchid","palegoldenrod","palevioletred","peachpuff","peru","plum","royalblue","sandybrown","springgreen","tan","thistle","tomato","violet","wheat","yellowgreen"],o=()=>{let r=Math.floor(Math.random()*e.length);return e[r]},a=o;export{a as default,o as generateNiceColor,e as niceColors};
|
@@ -0,0 +1 @@
|
|
1
|
+
function o(t,l,i){l==="after"?i.nextSibling!==null?i.parentNode?.insertBefore(t,i.nextSibling):i.parentNode?.appendChild(t):l==="before"?i.parentNode?.insertBefore(t,i):l==="startof"&&i.firstChild!==null?i.insertBefore(t,i.firstChild):i.appendChild(t)}export{o as default};
|
@@ -0,0 +1 @@
|
|
1
|
+
function t(e,r,n){return r+e*(n-r)}function u(e,r,n){return n===void 0?e/r:(e-r)/(n-r)}export{t as default,u as ratio};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { ConstructorFunction } from '~/utils/agnostic/is-constructor-function';
|
2
|
+
type TypeCheckerFunction = (input: unknown) => boolean;
|
3
|
+
type TypeChecker = ConstructorFunction | TypeCheckerFunction;
|
4
|
+
export default function isArrayOf<T extends unknown = unknown>(input: unknown, _types?: TypeChecker | TypeChecker[]): input is T[];
|
5
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
import{a as i}from"../../../chunks/chunk-DIPJ73JH.js";function f(t,o=[]){if(!Array.isArray(t))return!1;let u=Array.isArray(o)?o:[o];return u.length===0?!0:t.every(r=>u.some(n=>{let e=i(n);if(!e)return n(r);if(n===Number)return typeof r=="number";if(n===String)return typeof r=="string";if(n===Boolean)return typeof r=="boolean";if(e)return r instanceof n}))}export{f as default};
|
@@ -0,0 +1 @@
|
|
1
|
+
import{a}from"../../../chunks/chunk-DIPJ73JH.js";export{a as default};
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { Nullish } from '~/utils/agnostic/is-nullish';
|
2
|
+
export type Falsy = Nullish | false | '' | 0 | -0 | typeof NaN | 0n;
|
3
|
+
export type NotFalsy<T> = Exclude<T, Exclude<Falsy, number>>;
|
4
|
+
declare const falsyValues: Falsy[];
|
5
|
+
export { falsyValues };
|
6
|
+
export declare function isFalsy<T>(val: T | Falsy): val is Falsy;
|
7
|
+
export declare function isNotFalsy<T>(val: T): val is NotFalsy<T>;
|
8
|
+
export default isFalsy;
|
@@ -0,0 +1 @@
|
|
1
|
+
import{a,b,c,d}from"../../../chunks/chunk-XCKXCF4A.js";import"../../../chunks/chunk-ZVJO36JU.js";export{d as default,a as falsyValues,b as isFalsy,c as isNotFalsy};
|
@@ -0,0 +1 @@
|
|
1
|
+
export default function isInEnum<E extends Record<string, string | number>>(enumObj: E, value: string | number): value is E[keyof E];
|
@@ -0,0 +1 @@
|
|
1
|
+
function l(s,n){let t=Object.keys(s),c=Object.values(s).filter(e=>typeof e=="number");return t.filter(e=>!c.includes(parseInt(e,10))).map(e=>s[e]).includes(n)}export{l as default};
|
@@ -0,0 +1,5 @@
|
|
1
|
+
export declare const nullishValues: (null | undefined)[];
|
2
|
+
export type Nullish = null | undefined;
|
3
|
+
export declare function isNullish<T>(val: T | Nullish): val is Nullish;
|
4
|
+
export declare function isNotNullish<T>(val: T): val is Exclude<T, Nullish>;
|
5
|
+
export default isNullish;
|
@@ -0,0 +1 @@
|
|
1
|
+
import{a,b,c,d}from"../../../chunks/chunk-ZVJO36JU.js";export{d as default,c as isNotNullish,b as isNullish,a as nullishValues};
|
@@ -0,0 +1 @@
|
|
1
|
+
export default function isObject(unk: unknown): unk is object;
|
@@ -0,0 +1 @@
|
|
1
|
+
import{a}from"../../../chunks/chunk-QQRJPDR7.js";export{a as default};
|
@@ -0,0 +1 @@
|
|
1
|
+
export default function isRecord(input: unknown): input is Record<string, unknown>;
|
@@ -0,0 +1 @@
|
|
1
|
+
function r(e){return typeof e!="object"||e===null?!1:Object.keys(e).every(n=>typeof n=="string")}export{r as default};
|
@@ -0,0 +1 @@
|
|
1
|
+
import{a,b}from"../../../chunks/chunk-WZBNXYN3.js";export{b as default,a as regex};
|
@@ -0,0 +1 @@
|
|
1
|
+
function i(c){let e,t;return function(...n){let s=e!==void 0&&n.every((r,a)=>e[a]===r),d=e!==void 0&&e.every((r,a)=>n[a]===r);if(s&&d)return t;let u=c(...n);return t=u,u}}export{i as default};
|
@@ -0,0 +1 @@
|
|
1
|
+
export default function validateScheme<T>(obj: T, scheme: Partial<T>): boolean;
|
@@ -0,0 +1 @@
|
|
1
|
+
import{a as r}from"../../../chunks/chunk-QQRJPDR7.js";function n(e,t){return r(e)?Object.entries(t).every(([a,i])=>e[a]===i):!1}export{n as default};
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export declare function random(bound1?: number): number | undefined;
|
2
|
+
export declare function random(bound1?: number, bound2?: number | undefined): number | undefined;
|
3
|
+
export default random;
|
4
|
+
export declare function randomInt(...args: Parameters<typeof random>): number | undefined;
|
5
|
+
export declare const hexChars: string[];
|
6
|
+
export declare function randomHexChar(): string;
|
7
|
+
export declare function randomHash(length?: number): string;
|
8
|
+
export declare function randomHashPattern(pattern: number[], joiner?: string): string;
|
9
|
+
export declare function randomUUID(): string;
|
@@ -0,0 +1 @@
|
|
1
|
+
function o(n=1,r){let e=r===void 0?0:n,t=r===void 0?n:r;if(e===t||e>t)return;let u=t-e;return Math.random()*u+e}var f=o;function c(...n){let r=o(...n);return r!==void 0?Math.floor(r):void 0}var d=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function a(){let n=Math.floor(Math.random()*16);return d[n]}function i(n=4){return new Array(n).fill(null).map(a).join("")}function m(n,r="-"){return n.map(i).join(r)}function s(){return m([8,4,4,4,12])}export{f as default,d as hexChars,o as random,i as randomHash,m as randomHashPattern,a as randomHexChar,c as randomInt,s as randomUUID};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export type FormatKey<Input extends {} = any> = keyof Input | string;
|
2
|
+
export type InputValue<Input extends {}, Key extends FormatKey<Input>> = Input extends Record<Key, infer V> ? V : undefined;
|
3
|
+
export type FormatterFunc<I, O> = (val: I) => O | Promise<O>;
|
4
|
+
export type Format<Input extends {} = any> = {
|
5
|
+
[Key in FormatKey<Input>]: FormatterFunc<InputValue<Input, Key>, any>;
|
6
|
+
};
|
7
|
+
export type UnwrapPromise<PromiseOrNot> = PromiseOrNot extends Promise<infer Resolved> ? Resolved : PromiseOrNot;
|
8
|
+
export type Formatted<F extends Format<{}>> = {
|
9
|
+
[Key in keyof F]: UnwrapPromise<ReturnType<F[Key]>>;
|
10
|
+
};
|
11
|
+
export default function recordFormat<I extends {}, F extends Format<I>>(input: I, format: F): Promise<Formatted<F>>;
|
@@ -0,0 +1 @@
|
|
1
|
+
async function a(o,n){let t={};for(let e in n){let r=n[e];typeof r=="function"?t[e]=await r(o[e]):t[e]=r}return t}export{a as default};
|