@design-edito/tools 0.2.37 → 0.2.40
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/dedupe/index.d.ts +7 -0
- package/agnostic/arrays/dedupe/index.js +10 -0
- package/agnostic/arrays/find-duplicates/index.d.ts +14 -0
- package/agnostic/arrays/find-duplicates/index.js +24 -5
- package/agnostic/arrays/find-duplicates/index.test.d.ts +1 -0
- package/agnostic/arrays/is-array-of/index.d.ts +15 -4
- package/agnostic/arrays/is-array-of/index.js +23 -4
- package/agnostic/arrays/is-array-of/index.test.d.ts +1 -0
- package/agnostic/arrays/make/index.d.ts +8 -0
- package/agnostic/arrays/make/index.js +6 -4
- package/agnostic/arrays/make/index.test.d.ts +1 -0
- package/agnostic/arrays/random-pick/index.d.ts +20 -0
- package/agnostic/arrays/random-pick/index.js +2 -10
- package/agnostic/arrays/random-pick/index.test.d.ts +1 -0
- package/agnostic/arrays/shuffle/index.d.ts +8 -0
- package/agnostic/arrays/shuffle/index.js +11 -4
- package/agnostic/arrays/shuffle/index.test.d.ts +1 -0
- package/agnostic/booleans/is-falsy/index.d.ts +17 -0
- package/agnostic/booleans/is-falsy/index.js +1 -1
- package/agnostic/colors/channels/index.d.ts +34 -0
- package/agnostic/colors/channels/index.js +6 -6
- package/agnostic/colors/contrast/index.d.ts +8 -0
- package/agnostic/colors/contrast/index.js +27 -8
- package/agnostic/colors/convert/index.d.ts +144 -0
- package/agnostic/colors/convert/index.js +5 -5
- package/agnostic/colors/distance/index.d.ts +8 -0
- package/agnostic/colors/distance/index.js +50 -7
- package/agnostic/colors/grayscale/index.d.ts +9 -1
- package/agnostic/colors/grayscale/index.js +156 -7
- package/agnostic/colors/invert/index.d.ts +8 -0
- package/agnostic/colors/invert/index.js +45 -7
- package/agnostic/colors/lerp/index.d.ts +12 -1
- package/agnostic/colors/lerp/index.js +97 -7
- package/agnostic/colors/luminance/index.d.ts +7 -0
- package/agnostic/colors/luminance/index.js +6 -6
- package/agnostic/colors/palette/index.d.ts +10 -1
- package/agnostic/colors/palette/index.js +104 -9
- package/agnostic/colors/rotate/index.d.ts +10 -1
- package/agnostic/colors/rotate/index.js +7 -7
- package/agnostic/colors/tidy/index.d.ts +9 -1
- package/agnostic/colors/tidy/index.js +5 -5
- package/agnostic/colors/typechecks/index.d.ts +60 -0
- package/agnostic/colors/typechecks/index.js +3 -3
- package/agnostic/colors/types.d.ts +106 -0
- package/agnostic/colors/types.js +2 -2
- package/agnostic/css/bem/index.d.ts +29 -6
- package/agnostic/css/bem/index.js +155 -6
- package/agnostic/css/generate-nice-color/index.d.ts +8 -2
- package/agnostic/css/generate-nice-color/index.js +70 -5
- package/agnostic/css/is-valid-css-class-name/index.d.ts +11 -0
- package/agnostic/css/is-valid-css-class-name/index.js +1 -1
- package/agnostic/css/styles-set/index.js +167 -15
- package/agnostic/errors/register/index.d.ts +31 -33
- package/agnostic/errors/register/index.js +49 -5
- package/agnostic/errors/unknown-to-string/index.d.ts +6 -0
- package/agnostic/errors/unknown-to-string/index.js +1 -1
- package/agnostic/html/get-node-ancestors/index.d.ts +12 -0
- package/agnostic/html/get-node-ancestors/index.js +1 -1
- package/agnostic/html/get-position-inside-parent/index.d.ts +8 -0
- package/agnostic/html/get-position-inside-parent/index.js +8 -4
- package/agnostic/html/hyper-json/cast/index.js +12 -12
- package/agnostic/html/hyper-json/index.js +40 -16
- package/agnostic/html/hyper-json/method/index.js +1 -1
- package/agnostic/html/hyper-json/serialize/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/hjparse/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.d.ts +4 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +16 -14
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +12 -12
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +12 -12
- package/agnostic/html/hyper-json/transformer/index.d.ts +1 -1
- package/agnostic/html/hyper-json/transformer/index.js +3 -3
- package/agnostic/html/hyper-json/tree/index.js +12 -12
- package/agnostic/html/hyper-json/types/index.d.ts +1 -1
- package/agnostic/html/hyper-json/types/index.js +1 -1
- package/agnostic/html/hyper-json/utils/index.d.ts +1 -1
- package/agnostic/html/hyper-json/utils/index.js +12 -12
- package/agnostic/html/insert-node/index.d.ts +17 -0
- package/agnostic/html/insert-node/index.js +1 -1
- package/agnostic/html/placeholders/index.d.ts +7 -9
- package/agnostic/html/placeholders/index.js +37 -5
- package/agnostic/html/replace-in-element/index.d.ts +14 -0
- package/agnostic/html/replace-in-element/index.js +1 -1
- package/agnostic/html/selector-to-element/index.d.ts +16 -1
- package/agnostic/html/selector-to-element/index.js +29 -11
- package/agnostic/html/string-to-nodes/index.d.ts +14 -7
- package/agnostic/html/string-to-nodes/index.js +14 -12
- package/agnostic/misc/assert/index.d.ts +5 -7
- package/agnostic/misc/assert/index.js +61 -8
- package/agnostic/misc/cast/index.d.ts +81 -10
- package/agnostic/misc/cast/index.js +18 -4
- package/agnostic/misc/connection/index.d.ts +26 -0
- package/agnostic/misc/connection/index.js +39 -0
- package/agnostic/misc/crawler/index.d.ts +63 -16
- package/agnostic/misc/crawler/index.js +36 -5
- package/agnostic/misc/crossenv/detect-runtime/index.d.ts +12 -2
- package/agnostic/misc/crossenv/detect-runtime/index.js +14 -5
- package/agnostic/misc/crossenv/types.d.ts +39 -0
- package/agnostic/misc/crossenv/types.js +7 -0
- package/agnostic/misc/crossenv/window/index.d.ts +28 -7
- package/agnostic/misc/crossenv/window/index.js +10 -4
- package/agnostic/misc/crossenv/window/index.test.d.ts +1 -0
- package/agnostic/misc/data-size/index.d.ts +43 -21
- package/agnostic/misc/data-size/index.js +270 -34
- package/agnostic/misc/data-size/types.d.ts +37 -0
- package/agnostic/misc/elo/index.d.ts +28 -30
- package/agnostic/misc/elo/index.js +27 -30
- package/agnostic/misc/is-constructor-function/index.d.ts +11 -0
- package/agnostic/misc/is-constructor-function/index.js +1 -1
- package/agnostic/misc/is-nullish/index.d.ts +22 -0
- package/agnostic/misc/is-nullish/index.js +1 -1
- package/agnostic/misc/logs/logger/index.js +109 -4
- 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.d.ts +3 -5
- package/agnostic/misc/lorem-ipsum/index.js +187 -23
- package/agnostic/misc/normalize-extension/index.d.ts +10 -0
- package/agnostic/misc/normalize-extension/index.js +1 -1
- package/agnostic/misc/outcome/index.d.ts +56 -15
- package/agnostic/misc/outcome/index.js +8 -4
- package/agnostic/numbers/absolute-modulo/index.d.ts +7 -0
- package/agnostic/numbers/absolute-modulo/index.js +1 -1
- package/agnostic/numbers/clamp/index.d.ts +8 -0
- package/agnostic/numbers/clamp/index.js +1 -1
- package/agnostic/numbers/interpolate/index.d.ts +20 -1
- package/agnostic/numbers/interpolate/index.js +12 -7
- package/agnostic/numbers/responsive-harmonics/index.d.ts +20 -0
- package/agnostic/numbers/responsive-harmonics/index.js +49 -5
- package/agnostic/numbers/round/index.d.ts +24 -3
- package/agnostic/numbers/round/index.js +2 -2
- package/agnostic/objects/deep-get-property/index.d.ts +8 -0
- package/agnostic/objects/deep-get-property/index.js +23 -4
- package/agnostic/objects/enums/is-in-enum/index.d.ts +10 -0
- package/agnostic/objects/enums/is-in-enum/index.js +1 -1
- package/agnostic/objects/flatten-getters/index.d.ts +6 -0
- package/agnostic/objects/flatten-getters/index.js +19 -4
- package/agnostic/objects/is-object/index.d.ts +12 -0
- package/agnostic/objects/is-object/index.js +1 -1
- package/agnostic/objects/is-record/index.d.ts +6 -0
- package/agnostic/objects/is-record/index.js +1 -1
- package/agnostic/objects/record-format/index.d.ts +27 -0
- package/agnostic/objects/record-format/index.js +15 -4
- package/agnostic/objects/record-map/index.d.ts +9 -0
- package/agnostic/objects/record-map/index.js +1 -1
- package/agnostic/objects/validation/index.d.ts +11 -3
- package/agnostic/objects/validation/index.js +9 -5
- package/agnostic/optim/memoize/index.d.ts +10 -1
- package/agnostic/optim/memoize/index.js +16 -4
- package/agnostic/optim/throttle-debounce/index.js +110 -5
- package/agnostic/optim/throttle-debounce/types.d.ts +1 -1
- package/agnostic/random/hex-char/index.d.ts +2 -0
- package/agnostic/random/hex-char/index.js +1 -1
- package/agnostic/random/random/index.d.ts +14 -0
- package/agnostic/random/random/index.js +1 -1
- package/agnostic/random/uuid/index.d.ts +18 -0
- package/agnostic/random/uuid/index.js +1 -1
- package/agnostic/regexps/index.d.ts +95 -24
- package/agnostic/regexps/index.js +86 -5
- package/agnostic/sanitization/file-name/index.d.ts +13 -0
- package/agnostic/sanitization/file-name/index.js +7 -0
- package/agnostic/sanitization/html/index.d.ts +61 -0
- package/agnostic/sanitization/html/index.js +121 -0
- package/agnostic/sanitization/path/index.d.ts +11 -0
- package/agnostic/sanitization/path/index.js +14 -0
- package/agnostic/sanitization/types.d.ts +37 -0
- package/agnostic/sanitization/types.js +0 -0
- package/agnostic/sanitization/user-input/index.d.ts +13 -0
- package/agnostic/sanitization/user-input/index.js +23 -0
- package/agnostic/strings/char-codes/index.d.ts +82 -17
- package/agnostic/strings/char-codes/index.js +68 -5
- package/agnostic/strings/matches/index.d.ts +24 -0
- package/agnostic/strings/matches/index.js +1 -1
- package/agnostic/strings/normalize-indent/index.d.ts +22 -0
- package/agnostic/strings/normalize-indent/index.js +16 -4
- package/agnostic/strings/parse-table/index.d.ts +123 -66
- package/agnostic/strings/parse-table/index.js +83 -4
- package/agnostic/strings/replace-all/index.d.ts +20 -0
- package/agnostic/strings/replace-all/index.js +2 -2
- package/agnostic/strings/to-alphanum/index.d.ts +18 -0
- package/agnostic/strings/to-alphanum/index.js +8 -4
- package/agnostic/strings/trim/index.d.ts +18 -0
- package/agnostic/strings/trim/index.js +1 -1
- package/agnostic/time/dates/format-date/index.d.ts +47 -0
- package/agnostic/time/dates/format-date/index.js +58 -4
- package/agnostic/time/duration/index.d.ts +38 -25
- package/agnostic/time/duration/index.js +110 -5
- package/agnostic/time/timeout/index.d.ts +8 -0
- package/agnostic/time/timeout/index.js +16 -4
- package/agnostic/time/transitions/index.d.ts +73 -40
- package/agnostic/time/transitions/index.js +158 -5
- package/agnostic/time/wait/index.d.ts +6 -0
- package/agnostic/time/wait/index.js +1 -1
- package/chunks/{chunk-CLLJV343.js → chunk-27SSMK5F.js} +8 -7
- package/chunks/{chunk-FNQAF6CQ.js → chunk-2QDYPY2O.js} +5 -5
- package/chunks/{chunk-ON6LC3HE.js → chunk-2WSVYQ5Q.js} +6 -13
- package/chunks/chunk-4WE2WEXL.js +12 -0
- package/chunks/{chunk-QWNWZBIO.js → chunk-53ILYMIY.js} +8 -7
- package/chunks/{chunk-FF5NURFO.js → chunk-54KPQCVI.js} +6 -13
- package/chunks/{chunk-SRXNICSE.js → chunk-5CFQCSKJ.js} +6 -5
- package/chunks/{chunk-FKDPPFHV.js → chunk-5NTPCRFH.js} +1 -11
- package/chunks/{chunk-IV75M3KE.js → chunk-5O52VUI6.js} +6 -13
- package/chunks/{chunk-4XSDRT23.js → chunk-5X76KDYN.js} +7 -14
- package/chunks/{chunk-RHKFMXM3.js → chunk-65BFQP3T.js} +6 -5
- package/chunks/{chunk-7J7CYOXU.js → chunk-66BURDRK.js} +8 -15
- package/chunks/{chunk-ZEZCYPLQ.js → chunk-6BGIDRU5.js} +7 -14
- package/chunks/{chunk-5ZJ3KJPK.js → chunk-6YVXSCRH.js} +7 -14
- package/chunks/{chunk-NMYVJJXV.js → chunk-7B2E2NGH.js} +7 -14
- package/chunks/{chunk-YXLHZ2KW.js → chunk-AKFDKOHE.js} +2 -2
- package/chunks/{chunk-QAVYONH6.js → chunk-AKNR3U25.js} +5 -5
- package/chunks/{chunk-CVDCTI7F.js → chunk-AOEOW5XW.js} +7 -14
- package/chunks/{chunk-QSU3CVGF.js → chunk-ASWI3EO6.js} +6 -5
- package/chunks/{chunk-QWZ4ZNFA.js → chunk-AV373PHY.js} +8 -15
- package/chunks/{chunk-VROZGPC5.js → chunk-AXMAF3J2.js} +7 -14
- package/chunks/{chunk-QTA7ZEVX.js → chunk-AYGAQQXD.js} +6 -5
- package/chunks/chunk-BHGRXDTS.js +28 -0
- package/chunks/{chunk-CNYSX2L2.js → chunk-BQABPH3I.js} +7 -14
- package/chunks/{chunk-WV5N7ESL.js → chunk-BQXTV2GG.js} +9 -16
- package/chunks/{chunk-37TRFYZT.js → chunk-BXFRBV67.js} +6 -13
- package/chunks/{chunk-3LCD73SB.js → chunk-C4VX4TTP.js} +1 -1
- package/chunks/{chunk-3CLGBOHN.js → chunk-DBNCEHTT.js} +6 -13
- package/chunks/{chunk-HRNDUTZE.js → chunk-DBZAJJUF.js} +8 -15
- package/chunks/{chunk-SXRWMH3U.js → chunk-DUCLFPGE.js} +5 -5
- package/chunks/{chunk-UK2F7CWI.js → chunk-EBQRPRRC.js} +6 -13
- package/chunks/{chunk-TGVYEQIA.js → chunk-EEPLTO3E.js} +7 -14
- package/chunks/{chunk-D5CCWCEI.js → chunk-ENOTZXFS.js} +1 -1
- package/chunks/{chunk-ZTDVUXPR.js → chunk-EPUHVR7J.js} +1 -0
- package/chunks/{chunk-NCYE5WML.js → chunk-FAAIUU6V.js} +4 -4
- package/chunks/{chunk-REZC75LB.js → chunk-FH74QWR6.js} +10 -18
- package/chunks/{chunk-FD5WR2A5.js → chunk-FM3HGCFL.js} +8 -15
- package/chunks/{chunk-W3RXHN5I.js → chunk-FSI422YG.js} +6 -13
- package/chunks/{chunk-UT2J62LH.js → chunk-HEY7J6GI.js} +1 -1
- package/chunks/chunk-HOFEVF7T.js +61 -0
- package/chunks/chunk-HYPEWMYZ.js +10 -0
- package/chunks/{chunk-V3L55I2S.js → chunk-IBQQCUYV.js} +6 -13
- package/chunks/{chunk-2HJPX7E3.js → chunk-IK2S6ZYP.js} +6 -5
- package/chunks/{chunk-V3GX7SIJ.js → chunk-ISJONMNA.js} +1 -13
- package/chunks/{chunk-ZJTWDCNZ.js → chunk-J5D4OQ5U.js} +6 -13
- package/chunks/{chunk-67V4BGOB.js → chunk-JDINERKY.js} +1 -1
- package/chunks/{chunk-ZSUG52DO.js → chunk-JFXEMK66.js} +6 -13
- package/chunks/{chunk-RWO53U4X.js → chunk-JN2UETL4.js} +7 -14
- package/chunks/chunk-JU23NBY2.js +22 -0
- package/chunks/{chunk-BKO7GLC2.js → chunk-JVMFT3IT.js} +7 -6
- package/chunks/{chunk-AQBJ6HNB.js → chunk-K5UF634H.js} +1 -5
- package/chunks/{chunk-7UGMWTP5.js → chunk-KRYJVBO5.js} +1 -10
- package/chunks/{chunk-DZ2T5DTY.js → chunk-LFHDJTZJ.js} +1 -1
- package/chunks/{chunk-3G6FOHII.js → chunk-MHNUCHPP.js} +6 -5
- package/chunks/{chunk-P5JJOC5K.js → chunk-MSJ7WDFX.js} +8 -7
- package/chunks/{chunk-5VHFXWFM.js → chunk-NEMHJSNM.js} +6 -13
- package/chunks/{chunk-BWYH445G.js → chunk-NIIAUOBO.js} +6 -13
- package/chunks/{chunk-HFZGH6V2.js → chunk-NR7STUY3.js} +6 -5
- package/chunks/{chunk-2JH4TCT2.js → chunk-O66PEU62.js} +6 -13
- package/chunks/{chunk-QH64MYGA.js → chunk-O7UCJNVF.js} +7 -14
- package/chunks/{chunk-WAHPAZQS.js → chunk-OF2W4ZRG.js} +6 -13
- package/chunks/{chunk-P26Y7YUA.js → chunk-PTJO2TGI.js} +6 -5
- package/chunks/{chunk-BE7OXZRK.js → chunk-PTN2V757.js} +7 -14
- package/chunks/chunk-QEKI6WGQ.js +27 -0
- package/chunks/{chunk-EOE2ODJR.js → chunk-QHEWBOQI.js} +3 -3
- package/chunks/{chunk-N2T672IG.js → chunk-RGQNRTBI.js} +6 -13
- package/chunks/chunk-ROWPCMQY.js +29 -0
- package/chunks/{chunk-KJAEVOIW.js → chunk-S2I77NEE.js} +8 -15
- package/chunks/{chunk-CWZFRUBS.js → chunk-S6ZFFGWH.js} +7 -14
- package/chunks/{chunk-6IYUA43Q.js → chunk-SBBIQ5UH.js} +7 -14
- package/chunks/{chunk-NGIZKJDJ.js → chunk-SGGJJ46D.js} +335 -327
- package/chunks/{chunk-YVKM7N55.js → chunk-U225LGOV.js} +8 -7
- package/chunks/{chunk-HWEGQVBQ.js → chunk-ULYGDEW2.js} +6 -13
- package/chunks/{chunk-QAQZEKIF.js → chunk-USIYKRNX.js} +6 -6
- package/chunks/{chunk-FB3GNE2B.js → chunk-UZ4SWSOZ.js} +8 -15
- package/chunks/{chunk-4XBUJAQU.js → chunk-VU6JYR3W.js} +7 -14
- package/chunks/{chunk-FE4DECBU.js → chunk-VYDUHDXW.js} +7 -14
- package/chunks/{chunk-BSUQNHAM.js → chunk-W5VY535B.js} +7 -14
- package/chunks/{chunk-STPN5KZL.js → chunk-WF2JNQV4.js} +8 -7
- package/chunks/chunk-XCBH6NLF.js +42 -0
- package/chunks/chunk-XIIJYVJZ.js +15 -0
- package/chunks/{chunk-QDVDHFMZ.js → chunk-Y6FD4ASO.js} +7 -14
- package/chunks/{chunk-C6QTHDDM.js → chunk-YOP6WVCF.js} +7 -14
- package/chunks/chunk-ZKIQ753F.js +23 -0
- package/chunks/{chunk-QLDN574K.js → chunk-ZTPRFEPV.js} +7 -14
- package/components/Comp/index.js +7 -4
- package/node/@aws-s3/storage/directory/copy-dir/index.d.ts +4 -12
- package/node/@aws-s3/storage/directory/copy-dir/index.js +3 -3
- package/node/@aws-s3/storage/directory/list/index.d.ts +1 -1
- package/node/@aws-s3/storage/directory/list/index.js +3 -3
- package/node/@aws-s3/storage/directory/move-dir/index.d.ts +1 -1
- package/node/@aws-s3/storage/directory/move-dir/index.js +3 -3
- package/node/@aws-s3/storage/directory/remove-dir/index.d.ts +1 -1
- package/node/@aws-s3/storage/directory/remove-dir/index.js +3 -3
- package/node/@aws-s3/storage/file/copy/index.d.ts +1 -1
- package/node/@aws-s3/storage/file/copy/index.js +3 -3
- package/node/@aws-s3/storage/file/download/index.d.ts +1 -1
- package/node/@aws-s3/storage/file/download/index.js +3 -3
- package/node/@aws-s3/storage/file/exists/index.d.ts +1 -1
- package/node/@aws-s3/storage/file/exists/index.js +3 -3
- package/node/@aws-s3/storage/file/move/index.d.ts +1 -1
- package/node/@aws-s3/storage/file/move/index.js +3 -3
- package/node/@aws-s3/storage/file/remove/index.d.ts +1 -1
- package/node/@aws-s3/storage/file/remove/index.js +3 -3
- package/node/@aws-s3/storage/file/stat/index.d.ts +1 -1
- package/node/@aws-s3/storage/file/stat/index.js +3 -3
- package/node/@aws-s3/storage/file/upload/index.d.ts +1 -1
- package/node/@aws-s3/storage/file/upload/index.js +3 -3
- package/node/@design-edito/index.d.ts +1 -2
- package/node/@design-edito/index.js +0 -8
- package/node/@express/@multer/index.d.ts +34 -1
- package/node/@express/@multer/index.js +43 -5
- package/node/@google-cloud/storage/bucket/get-metadata/index.d.ts +1 -1
- package/node/@google-cloud/storage/bucket/get-metadata/index.js +18 -5
- package/node/@google-cloud/storage/directory/copy-dir/index.d.ts +1 -1
- package/node/@google-cloud/storage/directory/copy-dir/index.js +3 -3
- package/node/@google-cloud/storage/directory/list/index.d.ts +1 -1
- package/node/@google-cloud/storage/directory/list/index.js +3 -3
- package/node/@google-cloud/storage/directory/move-dir/index.d.ts +1 -1
- package/node/@google-cloud/storage/directory/move-dir/index.js +3 -3
- package/node/@google-cloud/storage/directory/remove-dir/index.d.ts +1 -1
- package/node/@google-cloud/storage/directory/remove-dir/index.js +3 -3
- package/node/@google-cloud/storage/file/copy/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/copy/index.js +3 -3
- package/node/@google-cloud/storage/file/download/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/download/index.js +3 -3
- package/node/@google-cloud/storage/file/exists/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/exists/index.js +3 -3
- package/node/@google-cloud/storage/file/generate-signed-url/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/generate-signed-url/index.js +24 -5
- package/node/@google-cloud/storage/file/get-metadata/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/get-metadata/index.js +20 -5
- package/node/@google-cloud/storage/file/get-permissions/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/get-permissions/index.js +20 -5
- package/node/@google-cloud/storage/file/move/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/move/index.js +3 -3
- package/node/@google-cloud/storage/file/remove/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/remove/index.js +3 -3
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +25 -7
- package/node/@google-cloud/storage/file/stat/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/stat/index.js +3 -3
- package/node/@google-cloud/storage/file/update-metadata/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/update-metadata/index.js +20 -5
- package/node/@google-cloud/storage/file/upload/index.d.ts +1 -1
- package/node/@google-cloud/storage/file/upload/index.js +3 -3
- package/node/cloud-storage/clients/index.d.ts +27 -0
- package/node/cloud-storage/clients/index.js +2 -2
- package/node/cloud-storage/operations/copy-dir/index.d.ts +46 -1
- package/node/cloud-storage/operations/copy-dir/index.js +30 -9
- package/node/cloud-storage/operations/copy-file/index.d.ts +46 -1
- package/node/cloud-storage/operations/copy-file/index.js +30 -9
- package/node/cloud-storage/operations/download-file/index.d.ts +50 -1
- package/node/cloud-storage/operations/download-file/index.js +30 -9
- package/node/cloud-storage/operations/exists-file/index.d.ts +44 -1
- package/node/cloud-storage/operations/exists-file/index.js +30 -9
- package/node/cloud-storage/operations/list-dir/index.d.ts +40 -1
- package/node/cloud-storage/operations/list-dir/index.js +30 -9
- package/node/cloud-storage/operations/move-dir/index.d.ts +46 -1
- package/node/cloud-storage/operations/move-dir/index.js +30 -9
- package/node/cloud-storage/operations/move-file/index.d.ts +46 -1
- package/node/cloud-storage/operations/move-file/index.js +30 -9
- package/node/cloud-storage/operations/remove-dir/index.d.ts +42 -1
- package/node/cloud-storage/operations/remove-dir/index.js +30 -9
- package/node/cloud-storage/operations/remove-file/index.d.ts +42 -1
- package/node/cloud-storage/operations/remove-file/index.js +30 -9
- package/node/cloud-storage/operations/stat-file/index.d.ts +40 -1
- package/node/cloud-storage/operations/stat-file/index.js +30 -9
- package/node/cloud-storage/operations/upload-file/index.d.ts +46 -1
- package/node/cloud-storage/operations/upload-file/index.js +30 -9
- package/node/encryption/@aes-256-gcm/buffer/index.d.ts +1 -1
- package/node/encryption/@aes-256-gcm/buffer/index.js +22 -6
- package/node/encryption/@aes-256-gcm/uint8-array/index.d.ts +1 -1
- package/node/encryption/@aes-256-gcm/uint8-array/index.js +3 -3
- package/node/encryption/key/index.js +12 -4
- package/node/files/is-in-directory/index.d.ts +7 -0
- package/node/files/is-in-directory/index.js +8 -4
- package/node/files/read-write/index.d.ts +48 -4
- package/node/files/read-write/index.js +15 -4
- package/node/files/subpaths/index.d.ts +62 -33
- package/node/files/subpaths/index.js +119 -5
- package/node/ftps/directory/copy-dir/index.d.ts +1 -1
- package/node/ftps/directory/copy-dir/index.js +3 -3
- package/node/ftps/directory/list/index.d.ts +1 -1
- package/node/ftps/directory/list/index.js +3 -3
- package/node/ftps/directory/move-dir/index.d.ts +1 -1
- package/node/ftps/directory/move-dir/index.js +3 -3
- package/node/ftps/directory/remove-dir/index.d.ts +1 -1
- package/node/ftps/directory/remove-dir/index.js +3 -3
- package/node/ftps/file/copy/index.d.ts +1 -1
- package/node/ftps/file/copy/index.js +3 -3
- package/node/ftps/file/download/index.d.ts +1 -1
- package/node/ftps/file/download/index.js +3 -3
- package/node/ftps/file/exists/index.d.ts +1 -1
- package/node/ftps/file/exists/index.js +3 -3
- package/node/ftps/file/move/index.d.ts +1 -1
- package/node/ftps/file/move/index.js +3 -3
- package/node/ftps/file/remove/index.d.ts +1 -1
- package/node/ftps/file/remove/index.js +3 -3
- package/node/ftps/file/stat/index.d.ts +1 -1
- package/node/ftps/file/stat/index.js +3 -3
- package/node/ftps/file/upload/index.d.ts +1 -1
- package/node/ftps/file/upload/index.js +3 -3
- package/node/images/create/index.d.ts +6 -0
- package/node/images/create/index.js +13 -18
- package/node/images/format/index.d.ts +36 -1
- package/node/images/format/index.js +241 -44
- package/node/images/metadata/index.d.ts +6 -0
- package/node/images/metadata/index.js +13 -18
- package/node/images/transform/index.d.ts +23 -1
- package/node/images/transform/index.js +199 -39
- package/node/images/transform/operations/blur/index.d.ts +1 -1
- package/node/images/transform/operations/blur/index.js +4 -4
- package/node/images/transform/operations/brighten/index.d.ts +1 -1
- package/node/images/transform/operations/brighten/index.js +4 -4
- package/node/images/transform/operations/extend/index.d.ts +1 -1
- package/node/images/transform/operations/extend/index.js +9 -19
- package/node/images/transform/operations/extract/index.d.ts +1 -1
- package/node/images/transform/operations/extract/index.js +4 -4
- package/node/images/transform/operations/flatten/index.d.ts +1 -1
- package/node/images/transform/operations/flatten/index.js +9 -19
- package/node/images/transform/operations/flip/index.js +1 -1
- package/node/images/transform/operations/flop/index.js +1 -1
- package/node/images/transform/operations/hue/index.d.ts +1 -1
- package/node/images/transform/operations/hue/index.js +4 -4
- package/node/images/transform/operations/level/index.d.ts +1 -1
- package/node/images/transform/operations/level/index.js +4 -4
- package/node/images/transform/operations/lighten/index.d.ts +1 -1
- package/node/images/transform/operations/lighten/index.js +4 -4
- package/node/images/transform/operations/normalize/index.d.ts +1 -1
- package/node/images/transform/operations/normalize/index.js +4 -4
- package/node/images/transform/operations/overlay/index.d.ts +1 -1
- package/node/images/transform/operations/overlay/index.js +9 -19
- package/node/images/transform/operations/resize/index.d.ts +1 -1
- package/node/images/transform/operations/resize/index.js +9 -19
- package/node/images/transform/operations/rotate/index.d.ts +1 -1
- package/node/images/transform/operations/rotate/index.js +9 -19
- package/node/images/transform/operations/saturate/index.d.ts +1 -1
- package/node/images/transform/operations/saturate/index.js +4 -4
- package/node/images/types.d.ts +136 -1
- package/node/images/types.js +2 -2
- package/node/images/utils/index.d.ts +20 -0
- package/node/images/utils/index.js +6 -16
- package/node/process/on-exit/index.d.ts +23 -0
- package/node/process/on-exit/index.js +25 -8
- package/node/process/prompt-continue/index.d.ts +18 -0
- package/node/process/prompt-continue/index.js +1680 -0
- package/node/process/spawner/index.d.ts +18 -0
- package/node/process/spawner/index.js +83 -0
- package/node/sftp/directory/copy-dir/index.d.ts +1 -1
- package/node/sftp/directory/copy-dir/index.js +3 -3
- package/node/sftp/directory/list/index.d.ts +1 -1
- package/node/sftp/directory/list/index.js +3 -3
- package/node/sftp/directory/move-dir/index.d.ts +1 -1
- package/node/sftp/directory/move-dir/index.js +3 -3
- package/node/sftp/directory/remove-dir/index.d.ts +1 -1
- package/node/sftp/directory/remove-dir/index.js +3 -3
- package/node/sftp/file/copy/index.d.ts +1 -1
- package/node/sftp/file/copy/index.js +3 -3
- package/node/sftp/file/download/index.d.ts +1 -1
- package/node/sftp/file/download/index.js +3 -3
- package/node/sftp/file/exists/index.d.ts +1 -1
- package/node/sftp/file/exists/index.js +3 -3
- package/node/sftp/file/move/index.d.ts +1 -1
- package/node/sftp/file/move/index.js +3 -3
- package/node/sftp/file/remove/index.d.ts +1 -1
- package/node/sftp/file/remove/index.js +3 -3
- package/node/sftp/file/stat/index.d.ts +1 -1
- package/node/sftp/file/stat/index.js +3 -3
- package/node/sftp/file/upload/index.d.ts +1 -1
- package/node/sftp/file/upload/index.js +3 -3
- package/package.json +11 -3
- package/agnostic/arrays/index.d.ts +0 -13
- package/agnostic/arrays/index.js +0 -21
- package/agnostic/booleans/index.d.ts +0 -8
- package/agnostic/booleans/index.js +0 -9
- package/agnostic/colors/index.d.ts +0 -14
- package/agnostic/colors/index.js +0 -107
- package/agnostic/css/bem/BEM.d.ts +0 -29
- package/agnostic/css/bem/getNamesArr.d.ts +0 -2
- package/agnostic/css/index.d.ts +0 -14
- package/agnostic/css/index.js +0 -25
- package/agnostic/errors/index.d.ts +0 -6
- package/agnostic/errors/index.js +0 -9
- package/agnostic/html/index.d.ts +0 -19
- package/agnostic/html/index.js +0 -39
- package/agnostic/html/sanitize/index.d.ts +0 -24
- package/agnostic/html/sanitize/index.js +0 -15
- package/agnostic/index.d.ts +0 -26
- package/agnostic/index.js +0 -144
- package/agnostic/misc/crossenv/index.d.ts +0 -8
- package/agnostic/misc/crossenv/index.js +0 -10
- package/agnostic/misc/crossenv/types/index.d.ts +0 -19
- package/agnostic/misc/crossenv/types/index.js +0 -7
- package/agnostic/misc/get-current-downlink/index.d.ts +0 -1
- package/agnostic/misc/get-current-downlink/index.js +0 -7
- package/agnostic/misc/index.d.ts +0 -25
- package/agnostic/misc/index.js +0 -65
- package/agnostic/misc/logs/index.d.ts +0 -17
- package/agnostic/misc/logs/index.js +0 -10
- package/agnostic/numbers/index.d.ts +0 -13
- package/agnostic/numbers/index.js +0 -12
- package/agnostic/objects/enums/index.d.ts +0 -4
- package/agnostic/objects/enums/index.js +0 -8
- package/agnostic/objects/index.d.ts +0 -19
- package/agnostic/objects/index.js +0 -19
- package/agnostic/optim/index.d.ts +0 -7
- package/agnostic/optim/index.js +0 -9
- package/agnostic/random/index.d.ts +0 -12
- package/agnostic/random/index.js +0 -10
- package/agnostic/sanitization/index.d.ts +0 -3
- package/agnostic/sanitization/index.js +0 -35
- package/agnostic/strings/index.d.ts +0 -19
- package/agnostic/strings/index.js +0 -15
- package/agnostic/time/dates/index.d.ts +0 -4
- package/agnostic/time/dates/index.js +0 -8
- package/agnostic/time/index.d.ts +0 -12
- package/agnostic/time/index.js +0 -30
- package/chunks/chunk-34U4HX4V.js +0 -73
- package/chunks/chunk-42K3MQQ5.js +0 -31
- package/chunks/chunk-5CTAKAIP.js +0 -28
- package/chunks/chunk-5ZPVE6NR.js +0 -40
- package/chunks/chunk-63J76ST6.js +0 -191
- package/chunks/chunk-6KM4UT6T.js +0 -34
- package/chunks/chunk-6NYUQXJT.js +0 -109
- package/chunks/chunk-6RGDWX4A.js +0 -24
- package/chunks/chunk-6UXES4W7.js +0 -40
- package/chunks/chunk-6YQGM6N6.js +0 -19
- package/chunks/chunk-73UGWJYI.js +0 -31
- package/chunks/chunk-7AWTHZLY.js +0 -12
- package/chunks/chunk-7DBNMU6N.js +0 -14
- package/chunks/chunk-7NLDR53D.js +0 -16
- package/chunks/chunk-7YJ4BB73.js +0 -20
- package/chunks/chunk-A3CDUWGR.js +0 -73
- package/chunks/chunk-AL7ESVX4.js +0 -42
- package/chunks/chunk-ALAGBHFV.js +0 -42
- package/chunks/chunk-ALFP7OQ3.js +0 -24
- package/chunks/chunk-ANPXBD2G.js +0 -35
- package/chunks/chunk-BDGFY3GP.js +0 -42
- package/chunks/chunk-BGSJ5XCH.js +0 -20
- package/chunks/chunk-BJAYUP7M.js +0 -13
- package/chunks/chunk-BLDUC7TT.js +0 -17
- package/chunks/chunk-BPYICFMX.js +0 -37
- package/chunks/chunk-CKENYYWH.js +0 -28
- package/chunks/chunk-COVPTTAD.js +0 -10
- package/chunks/chunk-DFDH7MGI.js +0 -206
- package/chunks/chunk-DKITT7OT.js +0 -296
- package/chunks/chunk-EDVNAV3G.js +0 -72
- package/chunks/chunk-EGBJXHCW.js +0 -47
- package/chunks/chunk-ENMBK6H7.js +0 -162
- package/chunks/chunk-EZ22Z22X.js +0 -28
- package/chunks/chunk-F3WCF6DL.js +0 -122
- package/chunks/chunk-FHLCPVND.js +0 -23
- package/chunks/chunk-FLE22O3O.js +0 -56
- package/chunks/chunk-FNGETPCZ.js +0 -84
- package/chunks/chunk-FPEW3A27.js +0 -14
- package/chunks/chunk-FR5H2OCV.js +0 -21
- package/chunks/chunk-FZOU4OAW.js +0 -13
- package/chunks/chunk-G4ZB72XY.js +0 -257
- package/chunks/chunk-GL42Q643.js +0 -42
- package/chunks/chunk-GXOIVZUI.js +0 -60
- package/chunks/chunk-GYEO7JZV.js +0 -112
- package/chunks/chunk-HKTNK262.js +0 -23
- package/chunks/chunk-HWVEI3RH.js +0 -31
- package/chunks/chunk-IRTPQATN.js +0 -16
- package/chunks/chunk-JBSS64SA.js +0 -6
- package/chunks/chunk-JMU5PDBD.js +0 -20
- package/chunks/chunk-JQXNEJAP.js +0 -18
- package/chunks/chunk-JTJA7DGW.js +0 -36
- package/chunks/chunk-JWBDZPQG.js +0 -18
- package/chunks/chunk-KIONYWA7.js +0 -168
- package/chunks/chunk-KXIA3YGF.js +0 -54
- package/chunks/chunk-L7PIZQFC.js +0 -51
- package/chunks/chunk-LEXQ6E6L.js +0 -31
- package/chunks/chunk-LGBQWEXH.js +0 -40
- package/chunks/chunk-LV2VMOWR.js +0 -18
- package/chunks/chunk-MFIGSRSO.js +0 -103
- package/chunks/chunk-MJQF3YZO.js +0 -21
- package/chunks/chunk-MVYH3CSJ.js +0 -42
- package/chunks/chunk-NK62JYTD.js +0 -43
- package/chunks/chunk-NRITRUZW.js +0 -10
- package/chunks/chunk-NUPAV2JX.js +0 -20
- package/chunks/chunk-OC4VIF3N.js +0 -42
- package/chunks/chunk-OKFZJ6DJ.js +0 -9
- package/chunks/chunk-OVG5RGI3.js +0 -29
- package/chunks/chunk-OYDCT5KK.js +0 -32
- package/chunks/chunk-PAIUCLVK.js +0 -35
- package/chunks/chunk-PVRYR5KX.js +0 -21
- package/chunks/chunk-QCOO4PV5.js +0 -54
- package/chunks/chunk-QHAB6XYD.js +0 -30
- package/chunks/chunk-QHLQVR3E.js +0 -54
- package/chunks/chunk-QKE2IYT5.js +0 -42
- package/chunks/chunk-QTF7LWGT.js +0 -28
- package/chunks/chunk-QVPS2BCJ.js +0 -29
- package/chunks/chunk-R4DZKWSR.js +0 -42
- package/chunks/chunk-RASMASS4.js +0 -111
- package/chunks/chunk-RLAZR3NL.js +0 -8
- package/chunks/chunk-RLJOYG64.js +0 -33
- package/chunks/chunk-S2NMAH7K.js +0 -19
- package/chunks/chunk-S4VO4PFZ.js +0 -37
- package/chunks/chunk-SKBOSWM2.js +0 -35
- package/chunks/chunk-SKMCIFS3.js +0 -27
- package/chunks/chunk-SNJJII7A.js +0 -65
- package/chunks/chunk-TAUQZCR6.js +0 -41
- package/chunks/chunk-TGDJWP5U.js +0 -20
- package/chunks/chunk-TIER4TF4.js +0 -26
- package/chunks/chunk-U4ORVPZC.js +0 -175
- package/chunks/chunk-UEAMPAHK.js +0 -28
- package/chunks/chunk-UNXRB2AV.js +0 -16
- package/chunks/chunk-V3NHCEO5.js +0 -31
- package/chunks/chunk-VFJYLXCI.js +0 -23
- package/chunks/chunk-VJJIYJMY.js +0 -13
- package/chunks/chunk-VTPRO4NJ.js +0 -10
- package/chunks/chunk-VYW4IADX.js +0 -35
- package/chunks/chunk-VZDUZTW6.js +0 -113
- package/chunks/chunk-WAMSK4A3.js +0 -67
- package/chunks/chunk-WH6BPDAC.js +0 -17
- package/chunks/chunk-WJBQ2BO4.js +0 -16
- package/chunks/chunk-WOAYU6LB.js +0 -13
- package/chunks/chunk-WOYF3N4A.js +0 -31
- package/chunks/chunk-WSC3WODJ.js +0 -157
- package/chunks/chunk-WSFCRVEQ.js +0 -9
- package/chunks/chunk-X53BGT33.js +0 -42
- package/chunks/chunk-XB3EGDBI.js +0 -127
- package/chunks/chunk-XBA26Z7E.js +0 -42
- package/chunks/chunk-XPGAVZGK.js +0 -98
- package/chunks/chunk-XPPOIKJL.js +0 -43
- package/chunks/chunk-XR2LNUGW.js +0 -42
- package/chunks/chunk-YFBIPMXD.js +0 -20
- package/chunks/chunk-YKPA3MQL.js +0 -31
- package/chunks/chunk-YP64J65L.js +0 -17
- package/chunks/chunk-YPTFPS76.js +0 -91
- package/chunks/chunk-YQWZ3EP2.js +0 -60
- package/chunks/chunk-YRZFKMR4.js +0 -20
- package/chunks/chunk-YS6WMSWC.js +0 -15
- package/chunks/chunk-YUP434IY.js +0 -43
- package/chunks/chunk-Z7ZDDBV5.js +0 -18
- package/chunks/chunk-ZBBU2P4D.js +0 -28
- package/chunks/chunk-ZH3QMMVD.js +0 -28
- package/chunks/chunk-ZLBSI4TR.js +0 -21
- package/chunks/chunk-ZNA7SWFK.js +0 -29
- package/components/index.d.ts +0 -4
- package/components/index.js +0 -13
- package/node/@aws-s3/index.d.ts +0 -2
- package/node/@aws-s3/index.js +0 -23
- package/node/@aws-s3/storage/directory/index.d.ts +0 -5
- package/node/@aws-s3/storage/directory/index.js +0 -22
- package/node/@aws-s3/storage/file/index.d.ts +0 -8
- package/node/@aws-s3/storage/file/index.js +0 -34
- package/node/@aws-s3/storage/index.d.ts +0 -3
- package/node/@aws-s3/storage/index.js +0 -25
- package/node/@design-edito/thumbnails/index.js +0 -1
- package/node/@express/index.d.ts +0 -2
- package/node/@express/index.js +0 -10
- package/node/@google-cloud/index.d.ts +0 -2
- package/node/@google-cloud/index.js +0 -30
- package/node/@google-cloud/storage/bucket/index.d.ts +0 -5
- package/node/@google-cloud/storage/bucket/index.js +0 -22
- package/node/@google-cloud/storage/directory/index.d.ts +0 -5
- package/node/@google-cloud/storage/directory/index.js +0 -22
- package/node/@google-cloud/storage/file/index.d.ts +0 -13
- package/node/@google-cloud/storage/file/index.js +0 -54
- package/node/@google-cloud/storage/index.d.ts +0 -4
- package/node/@google-cloud/storage/index.js +0 -35
- package/node/cloud-storage/index.d.ts +0 -3
- package/node/cloud-storage/index.js +0 -69
- package/node/cloud-storage/operations/index.d.ts +0 -12
- package/node/cloud-storage/operations/index.js +0 -95
- package/node/encryption/@aes-256-gcm/index.d.ts +0 -3
- package/node/encryption/@aes-256-gcm/index.js +0 -14
- package/node/encryption/index.d.ts +0 -3
- package/node/encryption/index.js +0 -16
- package/node/files/index.d.ts +0 -7
- package/node/files/index.js +0 -15
- package/node/ftps/directory/index.d.ts +0 -5
- package/node/ftps/directory/index.js +0 -22
- package/node/ftps/file/index.d.ts +0 -8
- package/node/ftps/file/index.js +0 -34
- package/node/ftps/index.d.ts +0 -3
- package/node/ftps/index.js +0 -25
- package/node/images/index.d.ts +0 -6
- package/node/images/index.js +0 -59
- package/node/index.d.ts +0 -12
- package/node/index.js +0 -172
- package/node/process/index.d.ts +0 -6
- package/node/process/index.js +0 -16
- package/node/sftp/directory/index.d.ts +0 -5
- package/node/sftp/directory/index.js +0 -22
- package/node/sftp/file/index.d.ts +0 -8
- package/node/sftp/file/index.js +0 -34
- package/node/sftp/index.d.ts +0 -3
- package/node/sftp/index.js +0 -25
- package/shared/errors/index.d.ts +0 -138
- /package/{node/@design-edito/thumbnails/index.d.ts → agnostic/arrays/dedupe/index.test.d.ts} +0 -0
- /package/{shared/index.d.ts → agnostic/misc/data-size/types.js} +0 -0
|
@@ -1,7 +1,112 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import "../../../chunks/chunk-XCBH6NLF.js";
|
|
2
|
+
|
|
3
|
+
// src/agnostic/time/duration/index.ts
|
|
4
|
+
var Duration = class {
|
|
5
|
+
value;
|
|
6
|
+
type;
|
|
7
|
+
/**
|
|
8
|
+
* Creates a new Duration instance.
|
|
9
|
+
*
|
|
10
|
+
* @param value - The numeric value of the duration.
|
|
11
|
+
* @param type - The unit of the duration, either long or short form.
|
|
12
|
+
*/
|
|
13
|
+
constructor(value, type) {
|
|
14
|
+
this.toMilliseconds = this.toMilliseconds.bind(this);
|
|
15
|
+
this.toMs = this.toMs.bind(this);
|
|
16
|
+
this.toSeconds = this.toSeconds.bind(this);
|
|
17
|
+
this.toMinutes = this.toMinutes.bind(this);
|
|
18
|
+
this.toHours = this.toHours.bind(this);
|
|
19
|
+
this.toDays = this.toDays.bind(this);
|
|
20
|
+
this.toWeeks = this.toWeeks.bind(this);
|
|
21
|
+
this.toMonths = this.toMonths.bind(this);
|
|
22
|
+
this.toYear = this.toYear.bind(this);
|
|
23
|
+
this.value = value;
|
|
24
|
+
if (type === "ms" || type === "milliseconds") {
|
|
25
|
+
this.type = "milliseconds";
|
|
26
|
+
} else if (type === "s" || type === "sec" || type === "seconds") {
|
|
27
|
+
this.type = "seconds";
|
|
28
|
+
} else if (type === "m" || type === "min" || type === "minutes") {
|
|
29
|
+
this.type = "minutes";
|
|
30
|
+
} else if (type === "h" || type === "hours") {
|
|
31
|
+
this.type = "hours";
|
|
32
|
+
} else if (type === "d" || type === "days") {
|
|
33
|
+
this.type = "days";
|
|
34
|
+
} else if (type === "w" || type === "weeks") {
|
|
35
|
+
this.type = "weeks";
|
|
36
|
+
} else if (type === "mo" || type === "mth" || type === "months") {
|
|
37
|
+
this.type = "months";
|
|
38
|
+
} else if (type === "y" || type === "years") {
|
|
39
|
+
this.type = "years";
|
|
40
|
+
} else {
|
|
41
|
+
this.type = "milliseconds";
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
toMilliseconds = this.toMs;
|
|
45
|
+
toMs() {
|
|
46
|
+
if (this.type === "milliseconds") return this.value;
|
|
47
|
+
if (this.type === "seconds") return this.value * 1e3;
|
|
48
|
+
if (this.type === "minutes") return this.value * 1e3 * 60;
|
|
49
|
+
if (this.type === "hours") return this.value * 1e3 * 60 * 60;
|
|
50
|
+
if (this.type === "days") return this.value * 1e3 * 60 * 60 * 24;
|
|
51
|
+
if (this.type === "weeks") return this.value * 1e3 * 60 * 60 * 24 * 7;
|
|
52
|
+
if (this.type === "months") return this.value * 1e3 * 60 * 60 * 24 * 30;
|
|
53
|
+
if (this.type === "years") return this.value * 1e3 * 60 * 60 * 24 * 365;
|
|
54
|
+
return this.value;
|
|
55
|
+
}
|
|
56
|
+
toSeconds() {
|
|
57
|
+
return this.toMs() / 1e3;
|
|
58
|
+
}
|
|
59
|
+
toMinutes() {
|
|
60
|
+
return this.toMs() / (1e3 * 60);
|
|
61
|
+
}
|
|
62
|
+
toHours() {
|
|
63
|
+
return this.toMs() / (1e3 * 60 * 60);
|
|
64
|
+
}
|
|
65
|
+
toDays() {
|
|
66
|
+
return this.toMs() / (1e3 * 60 * 60 * 24);
|
|
67
|
+
}
|
|
68
|
+
toWeeks() {
|
|
69
|
+
return this.toMs() / (1e3 * 60 * 60 * 24 * 7);
|
|
70
|
+
}
|
|
71
|
+
toMonths() {
|
|
72
|
+
return this.toMs() / (1e3 * 60 * 60 * 24 * 30);
|
|
73
|
+
}
|
|
74
|
+
toYear() {
|
|
75
|
+
return this.toMs() / (1e3 * 60 * 60 * 24 * 365);
|
|
76
|
+
}
|
|
77
|
+
};
|
|
78
|
+
function milliseconds(value) {
|
|
79
|
+
return new Duration(value, "milliseconds");
|
|
80
|
+
}
|
|
81
|
+
function seconds(value) {
|
|
82
|
+
return new Duration(value, "seconds");
|
|
83
|
+
}
|
|
84
|
+
function minutes(value) {
|
|
85
|
+
return new Duration(value, "minutes");
|
|
86
|
+
}
|
|
87
|
+
function hours(value) {
|
|
88
|
+
return new Duration(value, "hours");
|
|
89
|
+
}
|
|
90
|
+
function days(value) {
|
|
91
|
+
return new Duration(value, "days");
|
|
92
|
+
}
|
|
93
|
+
function weeks(value) {
|
|
94
|
+
return new Duration(value, "weeks");
|
|
95
|
+
}
|
|
96
|
+
function months(value) {
|
|
97
|
+
return new Duration(value, "months");
|
|
98
|
+
}
|
|
99
|
+
function years(value) {
|
|
100
|
+
return new Duration(value, "years");
|
|
101
|
+
}
|
|
5
102
|
export {
|
|
6
|
-
Duration
|
|
103
|
+
Duration,
|
|
104
|
+
days,
|
|
105
|
+
hours,
|
|
106
|
+
milliseconds,
|
|
107
|
+
minutes,
|
|
108
|
+
months,
|
|
109
|
+
seconds,
|
|
110
|
+
weeks,
|
|
111
|
+
years
|
|
7
112
|
};
|
|
@@ -1 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Executes a callback and rejects if it does not complete within a specified timeout.
|
|
3
|
+
*
|
|
4
|
+
* @template T - The type of the callback's return value.
|
|
5
|
+
* @param timeoutMs - Maximum time in milliseconds to wait for the callback to complete.
|
|
6
|
+
* @param callback - The function to execute. Can be synchronous or return a promise.
|
|
7
|
+
* @returns A promise that resolves with the callback result if completed in time, or rejects with `false` if timed out.
|
|
8
|
+
*/
|
|
1
9
|
export declare function timeout<T>(timeoutMs: number, callback: () => T): Promise<T>;
|
|
@@ -1,7 +1,19 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import "../../../chunks/chunk-XCBH6NLF.js";
|
|
2
|
+
|
|
3
|
+
// src/agnostic/time/timeout/index.ts
|
|
4
|
+
function timeout(timeoutMs, callback) {
|
|
5
|
+
let hasRejected = false;
|
|
6
|
+
return new Promise(async (resolve, reject) => {
|
|
7
|
+
const rejectTimeout = setTimeout(() => {
|
|
8
|
+
reject(false);
|
|
9
|
+
hasRejected = true;
|
|
10
|
+
}, timeoutMs);
|
|
11
|
+
const callbackResult = await callback();
|
|
12
|
+
if (hasRejected) return;
|
|
13
|
+
clearTimeout(rejectTimeout);
|
|
14
|
+
return resolve(callbackResult);
|
|
15
|
+
});
|
|
16
|
+
}
|
|
5
17
|
export {
|
|
6
18
|
timeout
|
|
7
19
|
};
|
|
@@ -1,41 +1,74 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Callback function invoked at each step of a transition.
|
|
3
|
+
*
|
|
4
|
+
* @param val - The current eased value of the transition.
|
|
5
|
+
* @param timeMs - The timestamp (in milliseconds) when this step occurs.
|
|
6
|
+
*/
|
|
7
|
+
export type Callback = (val: number, timeMs: number) => void;
|
|
8
|
+
/**
|
|
9
|
+
* Predefined easing function names for transitions.
|
|
10
|
+
* Used to control the acceleration pattern of a transition.
|
|
11
|
+
*/
|
|
12
|
+
export declare enum Ease {
|
|
13
|
+
LINEAR = "linear",
|
|
14
|
+
EASE_IN_QUAD = "ease-in-quad",
|
|
15
|
+
EASE_OUT_QUAD = "ease-out-quad",
|
|
16
|
+
EASE_IN_OUT_QUAD = "ease-in-out-quad",
|
|
17
|
+
EASE_IN_CUBIC = "ease-in-cubic",
|
|
18
|
+
EASE_OUT_CUBIC = "ease-out-cubic",
|
|
19
|
+
EASE_IN_OUT_CUBIC = "ease-in-out-cubic",
|
|
20
|
+
EASE_IN_QUART = "ease-in-quart",
|
|
21
|
+
EASE_OUT_QUART = "ease-out-quart",
|
|
22
|
+
EASE_IN_OUT_QUART = "ease-in-out-quart",
|
|
23
|
+
EASE_IN_QUINT = "ease-in-quint",
|
|
24
|
+
EASE_OUT_QUINT = "ease-out-quint",
|
|
25
|
+
EASE_IN_OUT_QUINT = "ease-in-out-quint",
|
|
26
|
+
EASE_IN_SINE = "ease-in-sine",
|
|
27
|
+
EASE_OUT_SINE = "ease-out-sine",
|
|
28
|
+
EASE_IN_OUT_SINE = "ease-in-out-sine",
|
|
29
|
+
EASE_IN_EXPO = "ease-in-expo",
|
|
30
|
+
EASE_OUT_EXPO = "ease-out-expo",
|
|
31
|
+
EASE_IN_OUT_EXPO = "ease-in-out-expo",
|
|
32
|
+
EASE_IN_CIRC = "ease-in-circ",
|
|
33
|
+
EASE_OUT_CIRC = "ease-out-circ",
|
|
34
|
+
EASE_IN_OUT_CIRC = "ease-in-out-circ",
|
|
35
|
+
EASE_IN_BACK = "ease-in-back",
|
|
36
|
+
EASE_OUT_BACK = "ease-out-back",
|
|
37
|
+
EASE_IN_OUT_BACK = "ease-in-out-back",
|
|
38
|
+
EASE_IN_ELASTIC = "ease-in-elastic",
|
|
39
|
+
EASE_OUT_ELASTIC = "ease-out-elastic",
|
|
40
|
+
EASE_IN_OUT_ELASTIC = "ease-in-out-elastic",
|
|
41
|
+
EASE_IN_BOUNCE = "ease-in-bounce",
|
|
42
|
+
EASE_OUT_BOUNCE = "ease-out-bounce",
|
|
43
|
+
EASE_IN_OUT_BOUNCE = "ease-in-out-bounce"
|
|
41
44
|
}
|
|
45
|
+
/**
|
|
46
|
+
* A function that maps a progress value between 0 and 1 to an eased progress value.
|
|
47
|
+
*
|
|
48
|
+
* @param progress - Progress of the transition from 0 (start) to 1 (end).
|
|
49
|
+
* @returns The eased progress value.
|
|
50
|
+
*/
|
|
51
|
+
export type EasingFunction = (progress: number) => number;
|
|
52
|
+
/**
|
|
53
|
+
* Dictionary mapping string keys to easing functions.
|
|
54
|
+
*/
|
|
55
|
+
export type EasingDictionary = Record<string, EasingFunction>;
|
|
56
|
+
/**
|
|
57
|
+
* Performs a numeric transition from 0 to `to` over `durationMs` milliseconds.
|
|
58
|
+
* Invokes a callback at each step with the eased value and timestamp.
|
|
59
|
+
*
|
|
60
|
+
* @param to - The number of steps or increments for the transition.
|
|
61
|
+
* @param durationMs - Total duration of the transition in milliseconds.
|
|
62
|
+
* @param callbackOrEase - Either a callback function for each step or a predefined easing name.
|
|
63
|
+
* @param callback - Optional callback if `callbackOrEase` is an easing name.
|
|
64
|
+
* @returns A promise that resolves when the transition is complete.
|
|
65
|
+
*/
|
|
66
|
+
export declare function transition(to: number, durationMs: number, callbackOrEase: Ease | Callback, callback?: Callback): Promise<void>;
|
|
67
|
+
/**
|
|
68
|
+
* Predefined easing functions used internally by transitions.
|
|
69
|
+
*/
|
|
70
|
+
export declare const easingFunctions: EasingDictionary;
|
|
71
|
+
/**
|
|
72
|
+
* Mapping from `Ease` enum values to easing functions.
|
|
73
|
+
*/
|
|
74
|
+
export declare const easings: Record<Ease, ((ratio: number) => number) | undefined>;
|
|
@@ -1,8 +1,161 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../../../chunks/chunk-
|
|
4
|
-
import "../../../chunks/chunk-
|
|
5
|
-
|
|
2
|
+
wait
|
|
3
|
+
} from "../../../chunks/chunk-4CIS3R7T.js";
|
|
4
|
+
import "../../../chunks/chunk-XCBH6NLF.js";
|
|
5
|
+
|
|
6
|
+
// src/agnostic/time/transitions/index.ts
|
|
7
|
+
var Ease = /* @__PURE__ */ ((Ease2) => {
|
|
8
|
+
Ease2["LINEAR"] = "linear";
|
|
9
|
+
Ease2["EASE_IN_QUAD"] = "ease-in-quad";
|
|
10
|
+
Ease2["EASE_OUT_QUAD"] = "ease-out-quad";
|
|
11
|
+
Ease2["EASE_IN_OUT_QUAD"] = "ease-in-out-quad";
|
|
12
|
+
Ease2["EASE_IN_CUBIC"] = "ease-in-cubic";
|
|
13
|
+
Ease2["EASE_OUT_CUBIC"] = "ease-out-cubic";
|
|
14
|
+
Ease2["EASE_IN_OUT_CUBIC"] = "ease-in-out-cubic";
|
|
15
|
+
Ease2["EASE_IN_QUART"] = "ease-in-quart";
|
|
16
|
+
Ease2["EASE_OUT_QUART"] = "ease-out-quart";
|
|
17
|
+
Ease2["EASE_IN_OUT_QUART"] = "ease-in-out-quart";
|
|
18
|
+
Ease2["EASE_IN_QUINT"] = "ease-in-quint";
|
|
19
|
+
Ease2["EASE_OUT_QUINT"] = "ease-out-quint";
|
|
20
|
+
Ease2["EASE_IN_OUT_QUINT"] = "ease-in-out-quint";
|
|
21
|
+
Ease2["EASE_IN_SINE"] = "ease-in-sine";
|
|
22
|
+
Ease2["EASE_OUT_SINE"] = "ease-out-sine";
|
|
23
|
+
Ease2["EASE_IN_OUT_SINE"] = "ease-in-out-sine";
|
|
24
|
+
Ease2["EASE_IN_EXPO"] = "ease-in-expo";
|
|
25
|
+
Ease2["EASE_OUT_EXPO"] = "ease-out-expo";
|
|
26
|
+
Ease2["EASE_IN_OUT_EXPO"] = "ease-in-out-expo";
|
|
27
|
+
Ease2["EASE_IN_CIRC"] = "ease-in-circ";
|
|
28
|
+
Ease2["EASE_OUT_CIRC"] = "ease-out-circ";
|
|
29
|
+
Ease2["EASE_IN_OUT_CIRC"] = "ease-in-out-circ";
|
|
30
|
+
Ease2["EASE_IN_BACK"] = "ease-in-back";
|
|
31
|
+
Ease2["EASE_OUT_BACK"] = "ease-out-back";
|
|
32
|
+
Ease2["EASE_IN_OUT_BACK"] = "ease-in-out-back";
|
|
33
|
+
Ease2["EASE_IN_ELASTIC"] = "ease-in-elastic";
|
|
34
|
+
Ease2["EASE_OUT_ELASTIC"] = "ease-out-elastic";
|
|
35
|
+
Ease2["EASE_IN_OUT_ELASTIC"] = "ease-in-out-elastic";
|
|
36
|
+
Ease2["EASE_IN_BOUNCE"] = "ease-in-bounce";
|
|
37
|
+
Ease2["EASE_OUT_BOUNCE"] = "ease-out-bounce";
|
|
38
|
+
Ease2["EASE_IN_OUT_BOUNCE"] = "ease-in-out-bounce";
|
|
39
|
+
return Ease2;
|
|
40
|
+
})(Ease || {});
|
|
41
|
+
async function transition(to, durationMs, callbackOrEase, callback) {
|
|
42
|
+
const ease = typeof callbackOrEase === "string" ? callbackOrEase : "linear" /* LINEAR */;
|
|
43
|
+
const easing = easings[ease];
|
|
44
|
+
if (easing === void 0) return;
|
|
45
|
+
const actualCallback = callback ?? (typeof callbackOrEase === "function" ? callbackOrEase : void 0);
|
|
46
|
+
if (actualCallback === void 0) return;
|
|
47
|
+
const start = Date.now();
|
|
48
|
+
const timeTable = new Array(to).fill(null).map((_, step) => {
|
|
49
|
+
const progression = (step + 1) / to;
|
|
50
|
+
const eased = easing(progression);
|
|
51
|
+
const time = start + eased * durationMs;
|
|
52
|
+
return { time, step: eased * to };
|
|
53
|
+
});
|
|
54
|
+
for (const { time, step } of timeTable) {
|
|
55
|
+
const now = Date.now();
|
|
56
|
+
const delay = time - now;
|
|
57
|
+
if (delay <= 0) actualCallback(step, time);
|
|
58
|
+
else {
|
|
59
|
+
await wait(delay);
|
|
60
|
+
actualCallback(step, time);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
var pow = Math.pow;
|
|
65
|
+
var sqrt = Math.sqrt;
|
|
66
|
+
var sin = Math.sin;
|
|
67
|
+
var cos = Math.cos;
|
|
68
|
+
var PI = Math.PI;
|
|
69
|
+
var c1 = 1.70158;
|
|
70
|
+
var c2 = c1 * 1.525;
|
|
71
|
+
var c3 = c1 + 1;
|
|
72
|
+
var c4 = 2 * PI / 3;
|
|
73
|
+
var c5 = 2 * PI / 4.5;
|
|
74
|
+
var bounceOut = function(x) {
|
|
75
|
+
const n1 = 7.5625;
|
|
76
|
+
const d1 = 2.75;
|
|
77
|
+
if (x < 1 / d1) return n1 * x * x;
|
|
78
|
+
if (x < 2 / d1) return n1 * (x -= 1.5 / d1) * x + 0.75;
|
|
79
|
+
if (x < 2.5 / d1) return n1 * (x -= 2.25 / d1) * x + 0.9375;
|
|
80
|
+
return n1 * (x -= 2.625 / d1) * x + 0.984375;
|
|
81
|
+
};
|
|
82
|
+
var easingFunctions = {
|
|
83
|
+
linear: (x) => x,
|
|
84
|
+
easeInQuad: (x) => x * x,
|
|
85
|
+
easeOutQuad: (x) => 1 - (1 - x) * (1 - x),
|
|
86
|
+
easeInOutQuad: (x) => x < 0.5 ? 2 * x * x : 1 - pow(-2 * x + 2, 2) / 2,
|
|
87
|
+
easeInCubic: (x) => x * x * x,
|
|
88
|
+
easeOutCubic: (x) => 1 - pow(1 - x, 3),
|
|
89
|
+
easeInOutCubic: (x) => x < 0.5 ? 4 * x * x * x : 1 - pow(-2 * x + 2, 3) / 2,
|
|
90
|
+
easeInQuart: (x) => x * x * x * x,
|
|
91
|
+
easeOutQuart: (x) => 1 - pow(1 - x, 4),
|
|
92
|
+
easeInOutQuart: (x) => x < 0.5 ? 8 * x * x * x * x : 1 - pow(-2 * x + 2, 4) / 2,
|
|
93
|
+
easeInQuint: (x) => x * x * x * x * x,
|
|
94
|
+
easeOutQuint: (x) => 1 - pow(1 - x, 5),
|
|
95
|
+
easeInOutQuint: (x) => x < 0.5 ? 16 * x * x * x * x * x : 1 - pow(-2 * x + 2, 5) / 2,
|
|
96
|
+
easeInSine: (x) => 1 - cos(x * PI / 2),
|
|
97
|
+
easeOutSine: (x) => sin(x * PI / 2),
|
|
98
|
+
easeInOutSine: (x) => -(cos(PI * x) - 1) / 2,
|
|
99
|
+
easeInExpo: (x) => x === 0 ? 0 : pow(2, 10 * x - 10),
|
|
100
|
+
easeOutExpo: (x) => x === 1 ? 1 : 1 - pow(2, -10 * x),
|
|
101
|
+
easeInOutExpo: (x) => {
|
|
102
|
+
return x === 0 ? 0 : x === 1 ? 1 : x < 0.5 ? pow(2, 20 * x - 10) / 2 : (2 - pow(2, -20 * x + 10)) / 2;
|
|
103
|
+
},
|
|
104
|
+
easeInCirc: (x) => 1 - sqrt(1 - pow(x, 2)),
|
|
105
|
+
easeOutCirc: (x) => sqrt(1 - pow(x - 1, 2)),
|
|
106
|
+
easeInOutCirc: (x) => x < 0.5 ? (1 - sqrt(1 - pow(2 * x, 2))) / 2 : (sqrt(1 - pow(-2 * x + 2, 2)) + 1) / 2,
|
|
107
|
+
easeInBack: (x) => c3 * x * x * x - c1 * x * x,
|
|
108
|
+
easeOutBack: (x) => 1 + c3 * pow(x - 1, 3) + c1 * pow(x - 1, 2),
|
|
109
|
+
easeInOutBack: (x) => x < 0.5 ? pow(2 * x, 2) * ((c2 + 1) * 2 * x - c2) / 2 : (pow(2 * x - 2, 2) * ((c2 + 1) * (x * 2 - 2) + c2) + 2) / 2,
|
|
110
|
+
easeInElastic: (x) => {
|
|
111
|
+
return x === 0 ? 0 : x === 1 ? 1 : -pow(2, 10 * x - 10) * sin((x * 10 - 10.75) * c4);
|
|
112
|
+
},
|
|
113
|
+
easeOutElastic: (x) => {
|
|
114
|
+
return x === 0 ? 0 : x === 1 ? 1 : pow(2, -10 * x) * sin((x * 10 - 0.75) * c4) + 1;
|
|
115
|
+
},
|
|
116
|
+
easeInOutElastic: (x) => {
|
|
117
|
+
return x === 0 ? 0 : x === 1 ? 1 : x < 0.5 ? -(pow(2, 20 * x - 10) * sin((20 * x - 11.125) * c5)) / 2 : pow(2, -20 * x + 10) * sin((20 * x - 11.125) * c5) / 2 + 1;
|
|
118
|
+
},
|
|
119
|
+
easeInBounce: (x) => 1 - bounceOut(1 - x),
|
|
120
|
+
easeOutBounce: bounceOut,
|
|
121
|
+
easeInOutBounce: (x) => x < 0.5 ? (1 - bounceOut(1 - 2 * x)) / 2 : (1 + bounceOut(2 * x - 1)) / 2
|
|
122
|
+
};
|
|
123
|
+
var easings = {
|
|
124
|
+
["linear" /* LINEAR */]: easingFunctions.linear,
|
|
125
|
+
["ease-in-quad" /* EASE_IN_QUAD */]: easingFunctions.easeInQuad,
|
|
126
|
+
["ease-out-quad" /* EASE_OUT_QUAD */]: easingFunctions.easeOutQuad,
|
|
127
|
+
["ease-in-out-quad" /* EASE_IN_OUT_QUAD */]: easingFunctions.easeInOutQuad,
|
|
128
|
+
["ease-in-cubic" /* EASE_IN_CUBIC */]: easingFunctions.easeInCubic,
|
|
129
|
+
["ease-out-cubic" /* EASE_OUT_CUBIC */]: easingFunctions.easeOutCubic,
|
|
130
|
+
["ease-in-out-cubic" /* EASE_IN_OUT_CUBIC */]: easingFunctions.easeInOutCubic,
|
|
131
|
+
["ease-in-quart" /* EASE_IN_QUART */]: easingFunctions.easeInQuart,
|
|
132
|
+
["ease-out-quart" /* EASE_OUT_QUART */]: easingFunctions.easeOutQuart,
|
|
133
|
+
["ease-in-out-quart" /* EASE_IN_OUT_QUART */]: easingFunctions.easeInOutQuart,
|
|
134
|
+
["ease-in-quint" /* EASE_IN_QUINT */]: easingFunctions.easeInQuint,
|
|
135
|
+
["ease-out-quint" /* EASE_OUT_QUINT */]: easingFunctions.easeOutQuint,
|
|
136
|
+
["ease-in-out-quint" /* EASE_IN_OUT_QUINT */]: easingFunctions.easeInOutQuint,
|
|
137
|
+
["ease-in-sine" /* EASE_IN_SINE */]: easingFunctions.easeInSine,
|
|
138
|
+
["ease-out-sine" /* EASE_OUT_SINE */]: easingFunctions.easeOutSine,
|
|
139
|
+
["ease-in-out-sine" /* EASE_IN_OUT_SINE */]: easingFunctions.easeInOutSine,
|
|
140
|
+
["ease-in-expo" /* EASE_IN_EXPO */]: easingFunctions.easeInExpo,
|
|
141
|
+
["ease-out-expo" /* EASE_OUT_EXPO */]: easingFunctions.easeOutExpo,
|
|
142
|
+
["ease-in-out-expo" /* EASE_IN_OUT_EXPO */]: easingFunctions.easeInOutExpo,
|
|
143
|
+
["ease-in-circ" /* EASE_IN_CIRC */]: easingFunctions.easeInCirc,
|
|
144
|
+
["ease-out-circ" /* EASE_OUT_CIRC */]: easingFunctions.easeOutCirc,
|
|
145
|
+
["ease-in-out-circ" /* EASE_IN_OUT_CIRC */]: easingFunctions.easeInOutCirc,
|
|
146
|
+
["ease-in-back" /* EASE_IN_BACK */]: easingFunctions.easeInBack,
|
|
147
|
+
["ease-out-back" /* EASE_OUT_BACK */]: easingFunctions.easeOutBack,
|
|
148
|
+
["ease-in-out-back" /* EASE_IN_OUT_BACK */]: easingFunctions.easeInOutBack,
|
|
149
|
+
["ease-in-elastic" /* EASE_IN_ELASTIC */]: easingFunctions.easeInElastic,
|
|
150
|
+
["ease-out-elastic" /* EASE_OUT_ELASTIC */]: easingFunctions.easeOutElastic,
|
|
151
|
+
["ease-in-out-elastic" /* EASE_IN_OUT_ELASTIC */]: easingFunctions.easeInOutElastic,
|
|
152
|
+
["ease-in-bounce" /* EASE_IN_BOUNCE */]: easingFunctions.easeInBounce,
|
|
153
|
+
["ease-out-bounce" /* EASE_OUT_BOUNCE */]: easingFunctions.easeOutBounce,
|
|
154
|
+
["ease-in-out-bounce" /* EASE_IN_OUT_BOUNCE */]: easingFunctions.easeInOutBounce
|
|
155
|
+
};
|
|
6
156
|
export {
|
|
7
|
-
|
|
157
|
+
Ease,
|
|
158
|
+
easingFunctions,
|
|
159
|
+
easings,
|
|
160
|
+
transition
|
|
8
161
|
};
|
|
@@ -1 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns a promise that resolves after the specified duration in milliseconds.
|
|
3
|
+
*
|
|
4
|
+
* @param durationMs - Time to wait in milliseconds.
|
|
5
|
+
* @returns A promise that resolves to `true` after the delay.
|
|
6
|
+
*/
|
|
1
7
|
export declare function wait(durationMs: number): Promise<unknown>;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
zod_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LFHDJTZJ.js";
|
|
4
4
|
import {
|
|
5
5
|
isDuckTypedSharpInstance,
|
|
6
6
|
toSharpInstance
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ENOTZXFS.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
9
|
+
makeFailure,
|
|
10
|
+
makeSuccess
|
|
11
|
+
} from "./chunk-QEKI6WGQ.js";
|
|
11
12
|
import {
|
|
12
13
|
isColor
|
|
13
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JDINERKY.js";
|
|
14
15
|
|
|
15
16
|
// src/node/images/transform/operations/overlay/index.ts
|
|
16
17
|
import sharp from "sharp";
|
|
@@ -85,8 +86,8 @@ function isOverlayOperationParams(obj) {
|
|
|
85
86
|
]).optional()
|
|
86
87
|
});
|
|
87
88
|
const result = schema.safeParse(obj);
|
|
88
|
-
if (!result.success) return
|
|
89
|
-
return
|
|
89
|
+
if (!result.success) return makeFailure(result.error.message);
|
|
90
|
+
return makeSuccess(result.data);
|
|
90
91
|
}
|
|
91
92
|
async function overlay(sharpInstance, params) {
|
|
92
93
|
const inputBuffer = params.input instanceof Buffer ? params.input : await (await toSharpInstance(params.input)).toBuffer();
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
absoluteModulo
|
|
3
|
-
} from "./chunk-DNIOWD7K.js";
|
|
4
1
|
import {
|
|
5
2
|
clamp
|
|
6
3
|
} from "./chunk-OSAXBA7G.js";
|
|
@@ -14,10 +11,13 @@ import {
|
|
|
14
11
|
isLch,
|
|
15
12
|
isRgb,
|
|
16
13
|
isXyz
|
|
17
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JDINERKY.js";
|
|
15
|
+
import {
|
|
16
|
+
absoluteModulo
|
|
17
|
+
} from "./chunk-DNIOWD7K.js";
|
|
18
18
|
import {
|
|
19
19
|
cssColors
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KRYJVBO5.js";
|
|
21
21
|
|
|
22
22
|
// src/agnostic/colors/convert/index.ts
|
|
23
23
|
function _hex2rgb(hex) {
|
|
@@ -1,18 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
makeFailure,
|
|
3
|
+
makeSuccess
|
|
4
|
+
} from "./chunk-QEKI6WGQ.js";
|
|
4
5
|
import {
|
|
5
6
|
unknownToString
|
|
6
7
|
} from "./chunk-FENXVJYO.js";
|
|
7
|
-
import {
|
|
8
|
-
__export
|
|
9
|
-
} from "./chunk-WSFCRVEQ.js";
|
|
10
8
|
|
|
11
9
|
// src/node/@aws-s3/storage/directory/move-dir/index.ts
|
|
12
|
-
var move_dir_exports = {};
|
|
13
|
-
__export(move_dir_exports, {
|
|
14
|
-
moveDir: () => moveDir
|
|
15
|
-
});
|
|
16
10
|
import {
|
|
17
11
|
ListObjectsV2Command,
|
|
18
12
|
CopyObjectCommand,
|
|
@@ -72,13 +66,12 @@ async function moveDir(client, bucketName, sourceDir, targetDir, options) {
|
|
|
72
66
|
}
|
|
73
67
|
token = listResp.IsTruncated ? listResp.NextContinuationToken : void 0;
|
|
74
68
|
} while (token);
|
|
75
|
-
return
|
|
69
|
+
return makeSuccess(true);
|
|
76
70
|
} catch (err) {
|
|
77
|
-
return
|
|
71
|
+
return makeFailure(unknownToString(err));
|
|
78
72
|
}
|
|
79
73
|
}
|
|
80
74
|
|
|
81
75
|
export {
|
|
82
|
-
moveDir
|
|
83
|
-
move_dir_exports
|
|
76
|
+
moveDir
|
|
84
77
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
// node_modules/ansi-regex/index.js
|
|
2
|
+
function ansiRegex({ onlyFirst = false } = {}) {
|
|
3
|
+
const ST = "(?:\\u0007|\\u001B\\u005C|\\u009C)";
|
|
4
|
+
const osc = `(?:\\u001B\\][\\s\\S]*?${ST})`;
|
|
5
|
+
const csi = "[\\u001B\\u009B][[\\]()#;?]*(?:\\d{1,4}(?:[;:]\\d{0,4})*)?[\\dA-PR-TZcf-nq-uy=><~]";
|
|
6
|
+
const pattern = `${osc}|${csi}`;
|
|
7
|
+
return new RegExp(pattern, onlyFirst ? void 0 : "g");
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
ansiRegex
|
|
12
|
+
};
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
zod_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LFHDJTZJ.js";
|
|
4
4
|
import {
|
|
5
5
|
toSharpColor
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ENOTZXFS.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
makeFailure,
|
|
9
|
+
makeSuccess
|
|
10
|
+
} from "./chunk-QEKI6WGQ.js";
|
|
10
11
|
import {
|
|
11
12
|
isColor
|
|
12
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JDINERKY.js";
|
|
13
14
|
|
|
14
15
|
// src/node/images/transform/operations/rotate/index.ts
|
|
15
16
|
function isRotateOperationParams(obj) {
|
|
@@ -18,8 +19,8 @@ function isRotateOperationParams(obj) {
|
|
|
18
19
|
background: zod_default.custom(isColor).optional()
|
|
19
20
|
});
|
|
20
21
|
const result = schema.safeParse(obj);
|
|
21
|
-
if (!result.success) return
|
|
22
|
-
return
|
|
22
|
+
if (!result.success) return makeFailure(result.error.message);
|
|
23
|
+
return makeSuccess(result.data);
|
|
23
24
|
}
|
|
24
25
|
async function rotate(sharpInstance, params) {
|
|
25
26
|
return sharpInstance.rotate(params.angleDeg, {
|
|
@@ -1,32 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
makeFailure,
|
|
3
|
+
makeSuccess
|
|
4
|
+
} from "./chunk-QEKI6WGQ.js";
|
|
4
5
|
import {
|
|
5
6
|
unknownToString
|
|
6
7
|
} from "./chunk-FENXVJYO.js";
|
|
7
|
-
import {
|
|
8
|
-
__export
|
|
9
|
-
} from "./chunk-WSFCRVEQ.js";
|
|
10
8
|
|
|
11
9
|
// src/node/ftps/file/download/index.ts
|
|
12
|
-
var download_exports = {};
|
|
13
|
-
__export(download_exports, {
|
|
14
|
-
download: () => download
|
|
15
|
-
});
|
|
16
10
|
import { PassThrough } from "node:stream";
|
|
17
11
|
async function download(ftpClient, sourcePath, options) {
|
|
18
12
|
const { startAt } = options ?? {};
|
|
19
13
|
const stream = new PassThrough();
|
|
20
14
|
try {
|
|
21
15
|
await ftpClient.downloadTo(stream, sourcePath, startAt);
|
|
22
|
-
return
|
|
16
|
+
return makeSuccess(stream);
|
|
23
17
|
} catch (err) {
|
|
24
18
|
const errStr = unknownToString(err);
|
|
25
|
-
return
|
|
19
|
+
return makeFailure(errStr);
|
|
26
20
|
}
|
|
27
21
|
}
|
|
28
22
|
|
|
29
23
|
export {
|
|
30
|
-
download
|
|
31
|
-
download_exports
|
|
24
|
+
download
|
|
32
25
|
};
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
zod_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LFHDJTZJ.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
makeFailure,
|
|
6
|
+
makeSuccess
|
|
7
|
+
} from "./chunk-QEKI6WGQ.js";
|
|
7
8
|
|
|
8
9
|
// src/node/images/transform/operations/brighten/index.ts
|
|
9
10
|
function isBrightenOperationParams(obj) {
|
|
10
11
|
const schema = zod_default.object({ factor: zod_default.number() });
|
|
11
12
|
const result = schema.safeParse(obj);
|
|
12
|
-
if (!result.success) return
|
|
13
|
-
return
|
|
13
|
+
if (!result.success) return makeFailure(result.error.message);
|
|
14
|
+
return makeSuccess(result.data);
|
|
14
15
|
}
|
|
15
16
|
async function brighten(sharpInstance, params) {
|
|
16
17
|
return sharpInstance.modulate({ brightness: params.factor });
|