@design-edito/tools 0.2.39 → 0.2.41
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/booleans/is-falsy/index.test.d.ts +1 -0
- package/agnostic/colors/channels/index.d.ts +34 -0
- package/agnostic/colors/channels/index.js +5 -5
- package/agnostic/colors/channels/index.test.d.ts +1 -0
- package/agnostic/colors/contrast/index.d.ts +8 -0
- package/agnostic/colors/contrast/index.js +26 -7
- package/agnostic/colors/contrast/index.test.d.ts +1 -0
- package/agnostic/colors/convert/index.d.ts +144 -0
- package/agnostic/colors/convert/index.js +4 -4
- package/agnostic/colors/convert/index.test.d.ts +1 -0
- package/agnostic/colors/distance/index.d.ts +8 -0
- package/agnostic/colors/distance/index.js +49 -6
- package/agnostic/colors/distance/index.test.d.ts +1 -0
- package/agnostic/colors/grayscale/index.d.ts +9 -1
- package/agnostic/colors/grayscale/index.js +155 -6
- package/agnostic/colors/grayscale/index.test.d.ts +1 -0
- package/agnostic/colors/invert/index.d.ts +8 -0
- package/agnostic/colors/invert/index.js +45 -7
- package/agnostic/colors/invert/index.test.d.ts +1 -0
- package/agnostic/colors/lerp/index.d.ts +12 -1
- package/agnostic/colors/lerp/index.js +96 -6
- package/agnostic/colors/lerp/index.test.d.ts +1 -0
- package/agnostic/colors/luminance/index.d.ts +7 -0
- package/agnostic/colors/luminance/index.js +5 -5
- package/agnostic/colors/luminance/index.test.d.ts +1 -0
- package/agnostic/colors/palette/index.d.ts +10 -1
- package/agnostic/colors/palette/index.js +103 -8
- package/agnostic/colors/palette/index.test.d.ts +1 -0
- package/agnostic/colors/rotate/index.d.ts +10 -1
- package/agnostic/colors/rotate/index.js +6 -6
- package/agnostic/colors/rotate/index.test.d.ts +1 -0
- package/agnostic/colors/tidy/index.d.ts +9 -1
- package/agnostic/colors/tidy/index.js +4 -4
- package/agnostic/colors/tidy/index.test.d.ts +1 -0
- package/agnostic/colors/typechecks/index.d.ts +60 -0
- package/agnostic/colors/typechecks/index.js +3 -3
- package/agnostic/colors/typechecks/index.test.d.ts +1 -0
- 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/generate-nice-color/index.test.d.ts +1 -0
- 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/is-valid-css-class-name/index.test.d.ts +1 -0
- 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/errors/unknown-to-string/index.test.d.ts +1 -0
- package/agnostic/html/get-node-ancestors/index.d.ts +12 -0
- package/agnostic/html/get-node-ancestors/index.js +3 -2
- package/agnostic/html/get-node-ancestors/index.test.d.ts +1 -0
- 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/get-position-inside-parent/index.test.d.ts +1 -0
- package/agnostic/html/hyper-json/cast/index.js +13 -13
- package/agnostic/html/hyper-json/index.js +41 -17
- 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 +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/hjparse/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +13 -13
- 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 +13 -13
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +13 -13
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +13 -13
- 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 +13 -13
- 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 +13 -13
- package/agnostic/html/insert-node/index.d.ts +17 -0
- package/agnostic/html/insert-node/index.js +1 -1
- package/agnostic/html/insert-node/index.test.d.ts +1 -0
- 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 +3 -2
- package/agnostic/html/replace-in-element/index.test.d.ts +1 -0
- package/agnostic/html/selector-to-element/index.d.ts +16 -1
- package/agnostic/html/selector-to-element/index.js +30 -11
- package/agnostic/html/selector-to-element/index.test.d.ts +1 -0
- package/agnostic/html/string-to-nodes/index.d.ts +14 -7
- package/agnostic/html/string-to-nodes/index.js +16 -12
- package/agnostic/html/string-to-nodes/index.test.d.ts +1 -0
- 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/cast/index.test.d.ts +1 -0
- package/agnostic/misc/connection/index.d.ts +26 -0
- package/agnostic/misc/connection/index.js +39 -0
- package/agnostic/misc/connection/index.test.d.ts +1 -0
- package/agnostic/misc/crawler/index.d.ts +63 -16
- package/agnostic/misc/crawler/index.js +32 -5
- package/agnostic/misc/crawler/index.test.d.ts +1 -0
- 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/detect-runtime/index.test.d.ts +1 -0
- package/agnostic/misc/crossenv/types.d.ts +40 -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/index.test.d.ts +1 -0
- 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-constructor-function/index.test.d.ts +1 -0
- package/agnostic/misc/is-nullish/index.d.ts +22 -0
- package/agnostic/misc/is-nullish/index.js +1 -1
- package/agnostic/misc/is-nullish/index.test.d.ts +1 -0
- 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/lorem-ipsum/index.test.d.ts +1 -0
- package/agnostic/misc/normalize-extension/index.d.ts +10 -0
- package/agnostic/misc/normalize-extension/index.js +1 -1
- package/agnostic/misc/normalize-extension/index.test.d.ts +1 -0
- package/agnostic/misc/outcome/index.d.ts +56 -15
- package/agnostic/misc/outcome/index.js +8 -4
- package/agnostic/misc/outcome/index.test.d.ts +1 -0
- package/agnostic/numbers/absolute-modulo/index.d.ts +7 -0
- package/agnostic/numbers/absolute-modulo/index.js +1 -1
- package/agnostic/numbers/absolute-modulo/index.test.d.ts +1 -0
- package/agnostic/numbers/approximate-rational/index.d.ts +22 -0
- package/agnostic/numbers/approximate-rational/index.js +72 -0
- package/agnostic/numbers/approximate-rational/index.test.d.ts +1 -0
- package/agnostic/numbers/clamp/index.d.ts +8 -0
- package/agnostic/numbers/clamp/index.js +1 -1
- package/agnostic/numbers/clamp/index.test.d.ts +1 -0
- package/agnostic/numbers/interpolate/index.d.ts +20 -1
- package/agnostic/numbers/interpolate/index.js +12 -7
- package/agnostic/numbers/interpolate/index.test.d.ts +1 -0
- 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/numbers/round/index.test.d.ts +1 -0
- 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/agnostic/typescript/types.d.ts +37 -0
- package/agnostic/typescript/types.js +0 -0
- package/chunks/{chunk-ON6LC3HE.js → chunk-2WSVYQ5Q.js} +6 -13
- package/chunks/{chunk-LUPVHC73.js → chunk-3MPXVP4L.js} +11 -3
- package/chunks/chunk-4WE2WEXL.js +12 -0
- 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-D5CCWCEI.js → chunk-6KOJFWH3.js} +1 -1
- package/chunks/{chunk-5ZJ3KJPK.js → chunk-6YVXSCRH.js} +7 -14
- package/chunks/{chunk-NMYVJJXV.js → chunk-7B2E2NGH.js} +7 -14
- package/chunks/{chunk-QAVYONH6.js → chunk-AKNR3U25.js} +5 -5
- package/chunks/{chunk-IYQV2LP4.js → chunk-ALLCYHRY.js} +323 -321
- 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-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-ZTDVUXPR.js → chunk-EPUHVR7J.js} +1 -0
- 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-STPN5KZL.js → chunk-FXISVWGE.js} +10 -9
- package/chunks/{chunk-UT2J62LH.js → chunk-HEY7J6GI.js} +1 -1
- package/chunks/{chunk-P5JJOC5K.js → chunk-HMPY32F7.js} +10 -9
- 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-NCYE5WML.js → chunk-MSAAQTCE.js} +1 -1
- package/chunks/{chunk-CLLJV343.js → chunk-MZYCKOLN.js} +10 -9
- 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-QWNWZBIO.js → chunk-QFBVETGF.js} +10 -9
- package/chunks/{chunk-EOE2ODJR.js → chunk-QHEWBOQI.js} +3 -3
- package/chunks/{chunk-N2T672IG.js → chunk-RGQNRTBI.js} +6 -13
- package/chunks/{chunk-FNQAF6CQ.js → chunk-RNXRHCHQ.js} +2 -2
- 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-YVKM7N55.js → chunk-TLWVLCIQ.js} +10 -9
- package/chunks/{chunk-YXLHZ2KW.js → chunk-TTJXJX4E.js} +2 -2
- package/chunks/{chunk-HWEGQVBQ.js → chunk-ULYGDEW2.js} +6 -13
- package/chunks/{chunk-3LCD73SB.js → chunk-UR5BUIPU.js} +2 -2
- 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-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-YWSXCFYY.js +61 -0
- 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 +12 -17
- package/node/images/format/index.d.ts +36 -1
- package/node/images/format/index.js +240 -43
- package/node/images/metadata/index.d.ts +6 -0
- package/node/images/metadata/index.js +12 -17
- package/node/images/transform/index.d.ts +23 -1
- package/node/images/transform/index.js +198 -38
- 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 +8 -18
- 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 +8 -18
- 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 +8 -18
- package/node/images/transform/operations/resize/index.d.ts +1 -1
- package/node/images/transform/operations/resize/index.js +8 -18
- package/node/images/transform/operations/rotate/index.d.ts +1 -1
- package/node/images/transform/operations/rotate/index.js +8 -18
- 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 +5 -15
- 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-26T64AEI.js +0 -28
- package/chunks/chunk-34U4HX4V.js +0 -73
- package/chunks/chunk-3KZNRSDD.js +0 -112
- package/chunks/chunk-3USAHFOX.js +0 -31
- package/chunks/chunk-42K3MQQ5.js +0 -31
- package/chunks/chunk-45E3E4KW.js +0 -43
- package/chunks/chunk-4RPGLKRQ.js +0 -43
- package/chunks/chunk-536IRELM.js +0 -40
- package/chunks/chunk-5CTAKAIP.js +0 -28
- package/chunks/chunk-6KM4UT6T.js +0 -34
- package/chunks/chunk-6NYUQXJT.js +0 -109
- package/chunks/chunk-6RGDWX4A.js +0 -24
- package/chunks/chunk-6YQGM6N6.js +0 -19
- package/chunks/chunk-7AWTHZLY.js +0 -12
- package/chunks/chunk-7DBNMU6N.js +0 -14
- 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-ANPXBD2G.js +0 -35
- package/chunks/chunk-AZD3VUWK.js +0 -84
- package/chunks/chunk-B43NYQDI.js +0 -16
- 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-COVPTTAD.js +0 -10
- package/chunks/chunk-DKITT7OT.js +0 -296
- package/chunks/chunk-EDVNAV3G.js +0 -72
- package/chunks/chunk-EGBJXHCW.js +0 -47
- package/chunks/chunk-EIIADR7E.js +0 -24
- package/chunks/chunk-ENMBK6H7.js +0 -162
- package/chunks/chunk-EUQFWLAH.js +0 -20
- package/chunks/chunk-F3WCF6DL.js +0 -122
- package/chunks/chunk-FEIKHYDQ.js +0 -20
- package/chunks/chunk-FHLCPVND.js +0 -23
- package/chunks/chunk-FPEW3A27.js +0 -14
- package/chunks/chunk-FR5H2OCV.js +0 -21
- package/chunks/chunk-FVFVKL54.js +0 -32
- package/chunks/chunk-FZOU4OAW.js +0 -13
- package/chunks/chunk-G4ZB72XY.js +0 -257
- package/chunks/chunk-G5RRNREY.js +0 -37
- package/chunks/chunk-GABKKGNI.js +0 -206
- package/chunks/chunk-GL42Q643.js +0 -42
- package/chunks/chunk-GTVOFJKO.js +0 -20
- 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-JZ5MFJQB.js +0 -37
- package/chunks/chunk-KIONYWA7.js +0 -168
- package/chunks/chunk-KWQ4K4GN.js +0 -28
- package/chunks/chunk-KXIA3YGF.js +0 -54
- package/chunks/chunk-KXIEPXDI.js +0 -40
- package/chunks/chunk-L7PIZQFC.js +0 -51
- package/chunks/chunk-LEXQ6E6L.js +0 -31
- package/chunks/chunk-LV2VMOWR.js +0 -18
- package/chunks/chunk-MFIGSRSO.js +0 -103
- package/chunks/chunk-MJQF3YZO.js +0 -21
- package/chunks/chunk-MV473S2C.js +0 -28
- package/chunks/chunk-MVYH3CSJ.js +0 -42
- package/chunks/chunk-N4JGLSGA.js +0 -28
- package/chunks/chunk-NRITRUZW.js +0 -10
- package/chunks/chunk-OC4VIF3N.js +0 -42
- package/chunks/chunk-OJCVOSWP.js +0 -41
- package/chunks/chunk-OKCPVFQW.js +0 -56
- package/chunks/chunk-OKFZJ6DJ.js +0 -9
- package/chunks/chunk-PAIUCLVK.js +0 -35
- package/chunks/chunk-PU7NOIJB.js +0 -16
- package/chunks/chunk-PVRYR5KX.js +0 -21
- package/chunks/chunk-PWNX5TWJ.js +0 -60
- 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-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-S32K7POB.js +0 -29
- package/chunks/chunk-SKBOSWM2.js +0 -35
- package/chunks/chunk-SKMCIFS3.js +0 -27
- package/chunks/chunk-SNJJII7A.js +0 -65
- package/chunks/chunk-STW5RKR7.js +0 -175
- package/chunks/chunk-TIER4TF4.js +0 -26
- package/chunks/chunk-UNXRB2AV.js +0 -16
- package/chunks/chunk-UXEKCYL7.js +0 -28
- package/chunks/chunk-VFJYLXCI.js +0 -23
- package/chunks/chunk-VJJIYJMY.js +0 -13
- package/chunks/chunk-VLC7LRED.js +0 -191
- 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-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-XR2LNUGW.js +0 -42
- package/chunks/chunk-Y5GGIBPI.js +0 -31
- 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-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-ZLBSI4TR.js +0 -21
- package/chunks/chunk-ZMT6S52U.js +0 -40
- package/chunks/chunk-ZNA7SWFK.js +0 -29
- package/chunks/chunk-ZYTGT7AE.js +0 -20
- 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
package/chunks/chunk-6NYUQXJT.js
DELETED
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
// src/agnostic/time/duration/index.ts
|
|
2
|
-
var Duration;
|
|
3
|
-
((_Duration) => {
|
|
4
|
-
class Duration2 {
|
|
5
|
-
value;
|
|
6
|
-
type;
|
|
7
|
-
constructor(value, type) {
|
|
8
|
-
this.toMilliseconds = this.toMilliseconds.bind(this);
|
|
9
|
-
this.toMs = this.toMs.bind(this);
|
|
10
|
-
this.toSeconds = this.toSeconds.bind(this);
|
|
11
|
-
this.toMinutes = this.toMinutes.bind(this);
|
|
12
|
-
this.toHours = this.toHours.bind(this);
|
|
13
|
-
this.toDays = this.toDays.bind(this);
|
|
14
|
-
this.toWeeks = this.toWeeks.bind(this);
|
|
15
|
-
this.toMonths = this.toMonths.bind(this);
|
|
16
|
-
this.toYear = this.toYear.bind(this);
|
|
17
|
-
this.value = value;
|
|
18
|
-
if (type === "ms" || type === "milliseconds") {
|
|
19
|
-
this.type = "milliseconds";
|
|
20
|
-
} else if (type === "s" || type === "sec" || type === "seconds") {
|
|
21
|
-
this.type = "seconds";
|
|
22
|
-
} else if (type === "m" || type === "min" || type === "minutes") {
|
|
23
|
-
this.type = "minutes";
|
|
24
|
-
} else if (type === "h" || type === "hours") {
|
|
25
|
-
this.type = "hours";
|
|
26
|
-
} else if (type === "d" || type === "days") {
|
|
27
|
-
this.type = "days";
|
|
28
|
-
} else if (type === "w" || type === "weeks") {
|
|
29
|
-
this.type = "weeks";
|
|
30
|
-
} else if (type === "mo" || type === "mth" || type === "months") {
|
|
31
|
-
this.type = "months";
|
|
32
|
-
} else if (type === "y" || type === "years") {
|
|
33
|
-
this.type = "years";
|
|
34
|
-
} else {
|
|
35
|
-
this.type = "milliseconds";
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
toMilliseconds = this.toMs;
|
|
39
|
-
toMs() {
|
|
40
|
-
if (this.type === "milliseconds") return this.value;
|
|
41
|
-
if (this.type === "seconds") return this.value * 1e3;
|
|
42
|
-
if (this.type === "minutes") return this.value * 1e3 * 60;
|
|
43
|
-
if (this.type === "hours") return this.value * 1e3 * 60 * 60;
|
|
44
|
-
if (this.type === "days") return this.value * 1e3 * 60 * 60 * 24;
|
|
45
|
-
if (this.type === "weeks") return this.value * 1e3 * 60 * 60 * 24 * 7;
|
|
46
|
-
if (this.type === "months") return this.value * 1e3 * 60 * 60 * 24 * 30;
|
|
47
|
-
if (this.type === "years") return this.value * 1e3 * 60 * 60 * 24 * 365;
|
|
48
|
-
return this.value;
|
|
49
|
-
}
|
|
50
|
-
toSeconds() {
|
|
51
|
-
return this.toMs() / 1e3;
|
|
52
|
-
}
|
|
53
|
-
toMinutes() {
|
|
54
|
-
return this.toMs() / (1e3 * 60);
|
|
55
|
-
}
|
|
56
|
-
toHours() {
|
|
57
|
-
return this.toMs() / (1e3 * 60 * 60);
|
|
58
|
-
}
|
|
59
|
-
toDays() {
|
|
60
|
-
return this.toMs() / (1e3 * 60 * 60 * 24);
|
|
61
|
-
}
|
|
62
|
-
toWeeks() {
|
|
63
|
-
return this.toMs() / (1e3 * 60 * 60 * 24 * 7);
|
|
64
|
-
}
|
|
65
|
-
toMonths() {
|
|
66
|
-
return this.toMs() / (1e3 * 60 * 60 * 24 * 30);
|
|
67
|
-
}
|
|
68
|
-
toYear() {
|
|
69
|
-
return this.toMs() / (1e3 * 60 * 60 * 24 * 365);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
_Duration.Duration = Duration2;
|
|
73
|
-
function milliseconds(value) {
|
|
74
|
-
return new Duration2(value, "milliseconds");
|
|
75
|
-
}
|
|
76
|
-
_Duration.milliseconds = milliseconds;
|
|
77
|
-
function seconds(value) {
|
|
78
|
-
return new Duration2(value, "seconds");
|
|
79
|
-
}
|
|
80
|
-
_Duration.seconds = seconds;
|
|
81
|
-
function minutes(value) {
|
|
82
|
-
return new Duration2(value, "minutes");
|
|
83
|
-
}
|
|
84
|
-
_Duration.minutes = minutes;
|
|
85
|
-
function hours(value) {
|
|
86
|
-
return new Duration2(value, "hours");
|
|
87
|
-
}
|
|
88
|
-
_Duration.hours = hours;
|
|
89
|
-
function days(value) {
|
|
90
|
-
return new Duration2(value, "days");
|
|
91
|
-
}
|
|
92
|
-
_Duration.days = days;
|
|
93
|
-
function weeks(value) {
|
|
94
|
-
return new Duration2(value, "weeks");
|
|
95
|
-
}
|
|
96
|
-
_Duration.weeks = weeks;
|
|
97
|
-
function months(value) {
|
|
98
|
-
return new Duration2(value, "months");
|
|
99
|
-
}
|
|
100
|
-
_Duration.months = months;
|
|
101
|
-
function years(value) {
|
|
102
|
-
return new Duration2(value, "years");
|
|
103
|
-
}
|
|
104
|
-
_Duration.years = years;
|
|
105
|
-
})(Duration || (Duration = {}));
|
|
106
|
-
|
|
107
|
-
export {
|
|
108
|
-
Duration
|
|
109
|
-
};
|
package/chunks/chunk-6RGDWX4A.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isConstructorFunction
|
|
3
|
-
} from "./chunk-RCO57B6F.js";
|
|
4
|
-
|
|
5
|
-
// src/agnostic/arrays/is-array-of/index.ts
|
|
6
|
-
function isArrayOf(input, _types = []) {
|
|
7
|
-
if (!Array.isArray(input)) return false;
|
|
8
|
-
const types = Array.isArray(_types) ? _types : [_types];
|
|
9
|
-
if (types.length === 0) return true;
|
|
10
|
-
return input.every((entry) => {
|
|
11
|
-
return types.some((typeChecker) => {
|
|
12
|
-
const isConstructor = isConstructorFunction(typeChecker);
|
|
13
|
-
if (!isConstructor) return typeChecker(entry);
|
|
14
|
-
if (typeChecker === Number) return typeof entry === "number";
|
|
15
|
-
if (typeChecker === String) return typeof entry === "string";
|
|
16
|
-
if (typeChecker === Boolean) return typeof entry === "boolean";
|
|
17
|
-
if (isConstructor) return entry instanceof typeChecker;
|
|
18
|
-
});
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export {
|
|
23
|
-
isArrayOf
|
|
24
|
-
};
|
package/chunks/chunk-6YQGM6N6.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
debounce,
|
|
3
|
-
throttle
|
|
4
|
-
} from "./chunk-VZDUZTW6.js";
|
|
5
|
-
import {
|
|
6
|
-
memoize
|
|
7
|
-
} from "./chunk-JWBDZPQG.js";
|
|
8
|
-
|
|
9
|
-
// src/agnostic/optim/index.ts
|
|
10
|
-
var Optim;
|
|
11
|
-
((Optim2) => {
|
|
12
|
-
Optim2.memoize = memoize;
|
|
13
|
-
Optim2.throttle = throttle;
|
|
14
|
-
Optim2.debounce = debounce;
|
|
15
|
-
})(Optim || (Optim = {}));
|
|
16
|
-
|
|
17
|
-
export {
|
|
18
|
-
Optim
|
|
19
|
-
};
|
package/chunks/chunk-7AWTHZLY.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
// src/agnostic/misc/get-current-downlink/index.ts
|
|
2
|
-
function getCurrentDownlink() {
|
|
3
|
-
if (typeof window !== "object") return void 0;
|
|
4
|
-
if (typeof window.navigator !== "object") return void 0;
|
|
5
|
-
const navigator = window.navigator;
|
|
6
|
-
const connection = navigator?.connection ?? navigator?.mozConnection ?? navigator?.webkitConnection;
|
|
7
|
-
return connection?.downlink;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export {
|
|
11
|
-
getCurrentDownlink
|
|
12
|
-
};
|
package/chunks/chunk-7DBNMU6N.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// src/node/files/read-write/index.ts
|
|
2
|
-
import { promises as fs } from "node:fs";
|
|
3
|
-
async function readWrite(path, editor, ...options) {
|
|
4
|
-
const [readOptions, writeOptions] = options;
|
|
5
|
-
const read = await fs.readFile(path, readOptions);
|
|
6
|
-
const edited = editor(read);
|
|
7
|
-
const actualWriteOptions = options.length === 2 ? writeOptions : readOptions;
|
|
8
|
-
await fs.writeFile(path, edited, actualWriteOptions);
|
|
9
|
-
return edited;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
export {
|
|
13
|
-
readWrite
|
|
14
|
-
};
|
package/chunks/chunk-7YJ4BB73.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
key_exports
|
|
3
|
-
} from "./chunk-HKTNK262.js";
|
|
4
|
-
import {
|
|
5
|
-
aes_256_gcm_exports
|
|
6
|
-
} from "./chunk-BGSJ5XCH.js";
|
|
7
|
-
import {
|
|
8
|
-
__export
|
|
9
|
-
} from "./chunk-WSFCRVEQ.js";
|
|
10
|
-
|
|
11
|
-
// src/node/encryption/index.ts
|
|
12
|
-
var encryption_exports = {};
|
|
13
|
-
__export(encryption_exports, {
|
|
14
|
-
AES_256_GCM: () => aes_256_gcm_exports,
|
|
15
|
-
Key: () => key_exports
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
export {
|
|
19
|
-
encryption_exports
|
|
20
|
-
};
|
package/chunks/chunk-A3CDUWGR.js
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Outcome
|
|
3
|
-
} from "./chunk-JMU5PDBD.js";
|
|
4
|
-
|
|
5
|
-
// src/agnostic/strings/parse-table/index.ts
|
|
6
|
-
var defaultLineModeOptions = {
|
|
7
|
-
inputToLines: (i) => i.split("\n"),
|
|
8
|
-
headLinePos: 0,
|
|
9
|
-
headLineToHeaders: (h) => h.split(" "),
|
|
10
|
-
bodyLinesBounds: [1, Infinity],
|
|
11
|
-
bodyLineToCellValue: (i) => i.split(" "),
|
|
12
|
-
schema: (i) => i
|
|
13
|
-
};
|
|
14
|
-
var defaultColumnModeOptions = {
|
|
15
|
-
inputToLines: (i) => i.split("\n"),
|
|
16
|
-
headLinePos: 0,
|
|
17
|
-
bodyLinesBounds: [1, Infinity],
|
|
18
|
-
columns: [],
|
|
19
|
-
headerRefine: (h) => h,
|
|
20
|
-
valueRefine: (v) => v,
|
|
21
|
-
schema: (i) => i
|
|
22
|
-
};
|
|
23
|
-
function parseTable(table, _options) {
|
|
24
|
-
const options = "columns" in _options ? { ...defaultColumnModeOptions, ..._options } : { ...defaultLineModeOptions, ..._options };
|
|
25
|
-
const lines = options.inputToLines(table);
|
|
26
|
-
const headLine = lines.at(options.headLinePos);
|
|
27
|
-
if (headLine === void 0) return Outcome.makeFailure("Head line not found");
|
|
28
|
-
if ("headLineToHeaders" in options) {
|
|
29
|
-
const headers = options.headLineToHeaders(headLine);
|
|
30
|
-
const bodyLines = lines.slice(options.bodyLinesBounds[0], options.bodyLinesBounds[1]);
|
|
31
|
-
const bodyLinesSplit = bodyLines.map(options.bodyLineToCellValue);
|
|
32
|
-
const rows = [];
|
|
33
|
-
bodyLinesSplit.forEach((line) => {
|
|
34
|
-
const row = {};
|
|
35
|
-
line.forEach((cell, cellPos) => {
|
|
36
|
-
const cellName = headers.at(cellPos);
|
|
37
|
-
if (cellName === void 0) return;
|
|
38
|
-
const cellValue = cell;
|
|
39
|
-
row[cellName] = cellValue;
|
|
40
|
-
});
|
|
41
|
-
const checked = options.schema(row);
|
|
42
|
-
if (checked === void 0) return;
|
|
43
|
-
rows.push(checked);
|
|
44
|
-
});
|
|
45
|
-
return Outcome.makeSuccess(rows);
|
|
46
|
-
} else {
|
|
47
|
-
const colBounds = options.columns.reduce((acc, colStartPos, colIndex) => {
|
|
48
|
-
const nextColStartPos = options.columns.at(colIndex + 1);
|
|
49
|
-
if (nextColStartPos === void 0) return [...acc, [colStartPos, Infinity]];
|
|
50
|
-
return [...acc, [colStartPos, nextColStartPos]];
|
|
51
|
-
}, []);
|
|
52
|
-
const bodyLines = lines.slice(options.bodyLinesBounds[0], options.bodyLinesBounds[1]);
|
|
53
|
-
const headers = colBounds.map(([start, end]) => options.headerRefine(headLine.slice(start, end)));
|
|
54
|
-
const rows = [];
|
|
55
|
-
bodyLines.forEach((line) => {
|
|
56
|
-
const row = {};
|
|
57
|
-
colBounds.forEach(([start, end], colIndex) => {
|
|
58
|
-
const header = headers.at(colIndex);
|
|
59
|
-
if (header === void 0) return;
|
|
60
|
-
const cellValue = line.slice(start, end);
|
|
61
|
-
row[header] = cellValue;
|
|
62
|
-
});
|
|
63
|
-
const checked = options.schema(row);
|
|
64
|
-
if (checked === void 0) return;
|
|
65
|
-
rows.push(checked);
|
|
66
|
-
});
|
|
67
|
-
return Outcome.makeSuccess(rows);
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export {
|
|
72
|
-
parseTable
|
|
73
|
-
};
|
package/chunks/chunk-AL7ESVX4.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
exists as exists2
|
|
3
|
-
} from "./chunk-5VHFXWFM.js";
|
|
4
|
-
import {
|
|
5
|
-
exists
|
|
6
|
-
} from "./chunk-ZEZCYPLQ.js";
|
|
7
|
-
import {
|
|
8
|
-
exists as exists4
|
|
9
|
-
} from "./chunk-QVPS2BCJ.js";
|
|
10
|
-
import {
|
|
11
|
-
exists as exists3
|
|
12
|
-
} from "./chunk-ZJTWDCNZ.js";
|
|
13
|
-
import {
|
|
14
|
-
isFtpClient,
|
|
15
|
-
isGcsBucket,
|
|
16
|
-
isS3ClientWithBucket,
|
|
17
|
-
isSftpClient
|
|
18
|
-
} from "./chunk-V3GX7SIJ.js";
|
|
19
|
-
import {
|
|
20
|
-
Outcome
|
|
21
|
-
} from "./chunk-JMU5PDBD.js";
|
|
22
|
-
import {
|
|
23
|
-
__export
|
|
24
|
-
} from "./chunk-WSFCRVEQ.js";
|
|
25
|
-
|
|
26
|
-
// src/node/cloud-storage/operations/exists-file/index.ts
|
|
27
|
-
var exists_file_exports = {};
|
|
28
|
-
__export(exists_file_exports, {
|
|
29
|
-
existsFile: () => existsFile
|
|
30
|
-
});
|
|
31
|
-
async function existsFile(client, path, options) {
|
|
32
|
-
if (isGcsBucket(client)) return exists2(client, path, options);
|
|
33
|
-
if (isS3ClientWithBucket(client)) return exists(client.client, client.bucketName, path, options);
|
|
34
|
-
if (isFtpClient(client)) return exists3(client, path);
|
|
35
|
-
if (isSftpClient(client)) return exists4(client, path);
|
|
36
|
-
return Outcome.makeFailure("Invalid client type");
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export {
|
|
40
|
-
existsFile,
|
|
41
|
-
exists_file_exports
|
|
42
|
-
};
|
package/chunks/chunk-ALAGBHFV.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
remove as remove2
|
|
3
|
-
} from "./chunk-7J7CYOXU.js";
|
|
4
|
-
import {
|
|
5
|
-
remove
|
|
6
|
-
} from "./chunk-WV5N7ESL.js";
|
|
7
|
-
import {
|
|
8
|
-
remove as remove4
|
|
9
|
-
} from "./chunk-ANPXBD2G.js";
|
|
10
|
-
import {
|
|
11
|
-
remove as remove3
|
|
12
|
-
} from "./chunk-KJAEVOIW.js";
|
|
13
|
-
import {
|
|
14
|
-
isFtpClient,
|
|
15
|
-
isGcsBucket,
|
|
16
|
-
isS3ClientWithBucket,
|
|
17
|
-
isSftpClient
|
|
18
|
-
} from "./chunk-V3GX7SIJ.js";
|
|
19
|
-
import {
|
|
20
|
-
Outcome
|
|
21
|
-
} from "./chunk-JMU5PDBD.js";
|
|
22
|
-
import {
|
|
23
|
-
__export
|
|
24
|
-
} from "./chunk-WSFCRVEQ.js";
|
|
25
|
-
|
|
26
|
-
// src/node/cloud-storage/operations/remove-file/index.ts
|
|
27
|
-
var remove_file_exports = {};
|
|
28
|
-
__export(remove_file_exports, {
|
|
29
|
-
removeFile: () => removeFile
|
|
30
|
-
});
|
|
31
|
-
async function removeFile(client, path, options) {
|
|
32
|
-
if (isGcsBucket(client)) return remove2(client, path, options);
|
|
33
|
-
if (isS3ClientWithBucket(client)) return remove(client.client, path, client.bucketName, options);
|
|
34
|
-
if (isFtpClient(client)) return remove3(client, path, options);
|
|
35
|
-
if (isSftpClient(client)) return remove4(client, path, options);
|
|
36
|
-
return Outcome.makeFailure("Invalid client type");
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export {
|
|
40
|
-
removeFile,
|
|
41
|
-
remove_file_exports
|
|
42
|
-
};
|
package/chunks/chunk-ANPXBD2G.js
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Outcome
|
|
3
|
-
} from "./chunk-JMU5PDBD.js";
|
|
4
|
-
import {
|
|
5
|
-
unknownToString
|
|
6
|
-
} from "./chunk-FENXVJYO.js";
|
|
7
|
-
import {
|
|
8
|
-
__export
|
|
9
|
-
} from "./chunk-WSFCRVEQ.js";
|
|
10
|
-
|
|
11
|
-
// src/node/sftp/file/remove/index.ts
|
|
12
|
-
var remove_exports = {};
|
|
13
|
-
__export(remove_exports, {
|
|
14
|
-
remove: () => remove
|
|
15
|
-
});
|
|
16
|
-
async function remove(sftp, targetPath, options) {
|
|
17
|
-
const { ignoreMissing = true } = options ?? {};
|
|
18
|
-
try {
|
|
19
|
-
const exists = await sftp.exists(targetPath);
|
|
20
|
-
if (!exists) {
|
|
21
|
-
if (ignoreMissing) return Outcome.makeSuccess(true);
|
|
22
|
-
return Outcome.makeFailure(`File not found at ${targetPath}.`);
|
|
23
|
-
}
|
|
24
|
-
await sftp.delete(targetPath);
|
|
25
|
-
return Outcome.makeSuccess(true);
|
|
26
|
-
} catch (err) {
|
|
27
|
-
const errStr = unknownToString(err);
|
|
28
|
-
return Outcome.makeFailure(errStr);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export {
|
|
33
|
-
remove,
|
|
34
|
-
remove_exports
|
|
35
|
-
};
|
package/chunks/chunk-AZD3VUWK.js
DELETED
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Logs
|
|
3
|
-
} from "./chunk-MJQF3YZO.js";
|
|
4
|
-
import {
|
|
5
|
-
data_size_exports
|
|
6
|
-
} from "./chunk-G4ZB72XY.js";
|
|
7
|
-
import {
|
|
8
|
-
getCurrentDownlink
|
|
9
|
-
} from "./chunk-7AWTHZLY.js";
|
|
10
|
-
import {
|
|
11
|
-
LoremIpsum
|
|
12
|
-
} from "./chunk-VLC7LRED.js";
|
|
13
|
-
import {
|
|
14
|
-
Assert
|
|
15
|
-
} from "./chunk-WAMSK4A3.js";
|
|
16
|
-
import {
|
|
17
|
-
Crawler
|
|
18
|
-
} from "./chunk-YUP434IY.js";
|
|
19
|
-
import {
|
|
20
|
-
Cast
|
|
21
|
-
} from "./chunk-SNJJII7A.js";
|
|
22
|
-
import {
|
|
23
|
-
Outcome
|
|
24
|
-
} from "./chunk-JMU5PDBD.js";
|
|
25
|
-
import {
|
|
26
|
-
isNotNullish,
|
|
27
|
-
isNullish,
|
|
28
|
-
nullishValues
|
|
29
|
-
} from "./chunk-HC6ZOHCS.js";
|
|
30
|
-
import {
|
|
31
|
-
Crossenv
|
|
32
|
-
} from "./chunk-FR5H2OCV.js";
|
|
33
|
-
import {
|
|
34
|
-
isConstructorFunction
|
|
35
|
-
} from "./chunk-RCO57B6F.js";
|
|
36
|
-
import {
|
|
37
|
-
__export
|
|
38
|
-
} from "./chunk-WSFCRVEQ.js";
|
|
39
|
-
|
|
40
|
-
// src/agnostic/misc/index.ts
|
|
41
|
-
var misc_exports = {};
|
|
42
|
-
__export(misc_exports, {
|
|
43
|
-
Assert: () => Assert2,
|
|
44
|
-
Cast: () => Cast2,
|
|
45
|
-
Crawler: () => Crawler2,
|
|
46
|
-
Crossenv: () => Crossenv2,
|
|
47
|
-
DataSize: () => data_size_exports,
|
|
48
|
-
Logs: () => Logs2,
|
|
49
|
-
LoremIpsum: () => LoremIpsum2,
|
|
50
|
-
Outcome: () => Outcome2,
|
|
51
|
-
getCurrentDownlink: () => getCurrentDownlink2,
|
|
52
|
-
isConstructorFunction: () => isConstructorFunction2,
|
|
53
|
-
isNotNullish: () => isNotNullish2,
|
|
54
|
-
isNullish: () => isNullish2,
|
|
55
|
-
nullishValues: () => nullishValues2
|
|
56
|
-
});
|
|
57
|
-
var Assert2 = Assert;
|
|
58
|
-
var Cast2 = Cast;
|
|
59
|
-
var Crawler2 = Crawler;
|
|
60
|
-
var Crossenv2 = Crossenv;
|
|
61
|
-
var getCurrentDownlink2 = getCurrentDownlink;
|
|
62
|
-
var isConstructorFunction2 = isConstructorFunction;
|
|
63
|
-
var nullishValues2 = nullishValues;
|
|
64
|
-
var isNullish2 = isNullish;
|
|
65
|
-
var isNotNullish2 = isNotNullish;
|
|
66
|
-
var Logs2 = Logs;
|
|
67
|
-
var LoremIpsum2 = LoremIpsum;
|
|
68
|
-
var Outcome2 = Outcome;
|
|
69
|
-
|
|
70
|
-
export {
|
|
71
|
-
Assert2 as Assert,
|
|
72
|
-
Cast2 as Cast,
|
|
73
|
-
Crawler2 as Crawler,
|
|
74
|
-
Crossenv2 as Crossenv,
|
|
75
|
-
getCurrentDownlink2 as getCurrentDownlink,
|
|
76
|
-
isConstructorFunction2 as isConstructorFunction,
|
|
77
|
-
nullishValues2 as nullishValues,
|
|
78
|
-
isNullish2 as isNullish,
|
|
79
|
-
isNotNullish2 as isNotNullish,
|
|
80
|
-
Logs2 as Logs,
|
|
81
|
-
LoremIpsum2 as LoremIpsum,
|
|
82
|
-
Outcome2 as Outcome,
|
|
83
|
-
misc_exports
|
|
84
|
-
};
|
package/chunks/chunk-B43NYQDI.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
storage_exports
|
|
3
|
-
} from "./chunk-EIIADR7E.js";
|
|
4
|
-
import {
|
|
5
|
-
__export
|
|
6
|
-
} from "./chunk-WSFCRVEQ.js";
|
|
7
|
-
|
|
8
|
-
// src/node/@google-cloud/index.ts
|
|
9
|
-
var google_cloud_exports = {};
|
|
10
|
-
__export(google_cloud_exports, {
|
|
11
|
-
Storage: () => storage_exports
|
|
12
|
-
});
|
|
13
|
-
|
|
14
|
-
export {
|
|
15
|
-
google_cloud_exports
|
|
16
|
-
};
|
package/chunks/chunk-BDGFY3GP.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
copy as copy2
|
|
3
|
-
} from "./chunk-CWZFRUBS.js";
|
|
4
|
-
import {
|
|
5
|
-
copy
|
|
6
|
-
} from "./chunk-C6QTHDDM.js";
|
|
7
|
-
import {
|
|
8
|
-
copy as copy4
|
|
9
|
-
} from "./chunk-QH64MYGA.js";
|
|
10
|
-
import {
|
|
11
|
-
copy as copy3
|
|
12
|
-
} from "./chunk-NMYVJJXV.js";
|
|
13
|
-
import {
|
|
14
|
-
isFtpClient,
|
|
15
|
-
isGcsBucket,
|
|
16
|
-
isS3ClientWithBucket,
|
|
17
|
-
isSftpClient
|
|
18
|
-
} from "./chunk-V3GX7SIJ.js";
|
|
19
|
-
import {
|
|
20
|
-
Outcome
|
|
21
|
-
} from "./chunk-JMU5PDBD.js";
|
|
22
|
-
import {
|
|
23
|
-
__export
|
|
24
|
-
} from "./chunk-WSFCRVEQ.js";
|
|
25
|
-
|
|
26
|
-
// src/node/cloud-storage/operations/copy-file/index.ts
|
|
27
|
-
var copy_file_exports = {};
|
|
28
|
-
__export(copy_file_exports, {
|
|
29
|
-
copyFile: () => copyFile
|
|
30
|
-
});
|
|
31
|
-
async function copyFile(client, sourcePath, targetPath, options) {
|
|
32
|
-
if (isGcsBucket(client)) return copy2(client, sourcePath, targetPath, options);
|
|
33
|
-
if (isS3ClientWithBucket(client)) return copy(client.client, client.bucketName, sourcePath, targetPath, options);
|
|
34
|
-
if (isFtpClient(client)) return copy3(client, sourcePath, targetPath, options);
|
|
35
|
-
if (isSftpClient(client)) return copy4(client, sourcePath, targetPath, options);
|
|
36
|
-
return Outcome.makeFailure("Invalid client type");
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export {
|
|
40
|
-
copyFile,
|
|
41
|
-
copy_file_exports
|
|
42
|
-
};
|
package/chunks/chunk-BGSJ5XCH.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
buffer_exports
|
|
3
|
-
} from "./chunk-JTJA7DGW.js";
|
|
4
|
-
import {
|
|
5
|
-
uint8_array_exports
|
|
6
|
-
} from "./chunk-REZC75LB.js";
|
|
7
|
-
import {
|
|
8
|
-
__export
|
|
9
|
-
} from "./chunk-WSFCRVEQ.js";
|
|
10
|
-
|
|
11
|
-
// src/node/encryption/@aes-256-gcm/index.ts
|
|
12
|
-
var aes_256_gcm_exports = {};
|
|
13
|
-
__export(aes_256_gcm_exports, {
|
|
14
|
-
Buffer: () => buffer_exports,
|
|
15
|
-
Uint8Array: () => uint8_array_exports
|
|
16
|
-
});
|
|
17
|
-
|
|
18
|
-
export {
|
|
19
|
-
aes_256_gcm_exports
|
|
20
|
-
};
|
package/chunks/chunk-BJAYUP7M.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
// src/agnostic/numbers/interpolate/index.ts
|
|
2
|
-
function interpolate(ratio, bound1, bound2) {
|
|
3
|
-
return bound1 + ratio * (bound2 - bound1);
|
|
4
|
-
}
|
|
5
|
-
function exterpolate(value, bound1, bound2) {
|
|
6
|
-
if (bound2 === void 0) return value / bound1;
|
|
7
|
-
return (value - bound1) / (bound2 - bound1);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export {
|
|
11
|
-
interpolate,
|
|
12
|
-
exterpolate
|
|
13
|
-
};
|
package/chunks/chunk-BLDUC7TT.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
falsyValues,
|
|
3
|
-
isFalsy,
|
|
4
|
-
isNotFalsy
|
|
5
|
-
} from "./chunk-QXAJXTXV.js";
|
|
6
|
-
|
|
7
|
-
// src/agnostic/booleans/index.ts
|
|
8
|
-
var Booleans;
|
|
9
|
-
((Booleans2) => {
|
|
10
|
-
Booleans2.falsyValues = falsyValues;
|
|
11
|
-
Booleans2.isFalsy = isFalsy;
|
|
12
|
-
Booleans2.isNotFalsy = isNotFalsy;
|
|
13
|
-
})(Booleans || (Booleans = {}));
|
|
14
|
-
|
|
15
|
-
export {
|
|
16
|
-
Booleans
|
|
17
|
-
};
|
package/chunks/chunk-COVPTTAD.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
// src/agnostic/strings/to-alphanum/index.ts
|
|
2
|
-
function toAlphanum(string, replacer = "") {
|
|
3
|
-
const replaced = string.replace(/[^a-z0-9]/igm, replacer);
|
|
4
|
-
if (replacer.length === 0) return replaced;
|
|
5
|
-
return replaced.replace(new RegExp(`${replacer}+`, "igm"), replacer);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
export {
|
|
9
|
-
toAlphanum
|
|
10
|
-
};
|