@design-edito/tools 0.3.0 → 1.0.1
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/scrapers/@meteociel/index.d.ts +36 -0
- package/agnostic/scrapers/@meteociel/index.js +194 -0
- package/agnostic/scrapers/@meteociel/locations/index.d.ts +11 -0
- package/agnostic/scrapers/@meteociel/locations/index.js +6 -0
- package/agnostic/scrapers/@meteociel/types.d.ts +1 -0
- package/agnostic/weather/types.d.ts +181 -0
- package/chunks/chunk-JQLUR5LO.js +12 -0
- package/components/Comp/index.d.ts +1 -1
- package/components/Comp/index.js +0 -10
- package/package.json +2 -1
- package/agnostic/arrays/dedupe/index.d.ts +0 -7
- package/agnostic/arrays/dedupe/index.js +0 -10
- package/agnostic/arrays/find-duplicates/index.d.ts +0 -15
- package/agnostic/arrays/find-duplicates/index.js +0 -26
- package/agnostic/arrays/find-duplicates/index.test.d.ts +0 -1
- package/agnostic/arrays/is-array-of/index.d.ts +0 -16
- package/agnostic/arrays/is-array-of/index.js +0 -27
- package/agnostic/arrays/is-array-of/index.test.d.ts +0 -1
- package/agnostic/arrays/make/index.d.ts +0 -11
- package/agnostic/arrays/make/index.js +0 -9
- package/agnostic/arrays/make/index.test.d.ts +0 -1
- package/agnostic/arrays/random-pick/index.d.ts +0 -22
- package/agnostic/arrays/random-pick/index.js +0 -9
- package/agnostic/arrays/random-pick/index.test.d.ts +0 -1
- package/agnostic/arrays/shuffle/index.d.ts +0 -9
- package/agnostic/arrays/shuffle/index.js +0 -14
- package/agnostic/arrays/shuffle/index.test.d.ts +0 -1
- package/agnostic/booleans/is-falsy/index.d.ts +0 -24
- package/agnostic/booleans/is-falsy/index.js +0 -12
- package/agnostic/booleans/is-falsy/index.test.d.ts +0 -1
- package/agnostic/colors/channels/index.d.ts +0 -39
- package/agnostic/colors/channels/index.js +0 -19
- package/agnostic/colors/channels/index.test.d.ts +0 -1
- package/agnostic/colors/contrast/index.d.ts +0 -10
- package/agnostic/colors/contrast/index.js +0 -33
- package/agnostic/colors/contrast/index.test.d.ts +0 -1
- package/agnostic/colors/convert/index.d.ts +0 -164
- package/agnostic/colors/convert/index.js +0 -46
- package/agnostic/colors/convert/index.test.d.ts +0 -1
- package/agnostic/colors/distance/index.d.ts +0 -10
- package/agnostic/colors/distance/index.js +0 -56
- package/agnostic/colors/distance/index.test.d.ts +0 -1
- package/agnostic/colors/grayscale/index.d.ts +0 -10
- package/agnostic/colors/grayscale/index.js +0 -162
- package/agnostic/colors/grayscale/index.test.d.ts +0 -1
- package/agnostic/colors/invert/index.d.ts +0 -10
- package/agnostic/colors/invert/index.js +0 -51
- package/agnostic/colors/invert/index.test.d.ts +0 -1
- package/agnostic/colors/lerp/index.d.ts +0 -13
- package/agnostic/colors/lerp/index.js +0 -103
- package/agnostic/colors/lerp/index.test.d.ts +0 -1
- package/agnostic/colors/luminance/index.d.ts +0 -9
- package/agnostic/colors/luminance/index.js +0 -13
- package/agnostic/colors/luminance/index.test.d.ts +0 -1
- package/agnostic/colors/palette/index.d.ts +0 -11
- package/agnostic/colors/palette/index.js +0 -110
- package/agnostic/colors/palette/index.test.d.ts +0 -1
- package/agnostic/colors/rotate/index.d.ts +0 -11
- package/agnostic/colors/rotate/index.js +0 -14
- package/agnostic/colors/rotate/index.test.d.ts +0 -1
- package/agnostic/colors/tidy/index.d.ts +0 -10
- package/agnostic/colors/tidy/index.js +0 -12
- package/agnostic/colors/tidy/index.test.d.ts +0 -1
- package/agnostic/colors/typechecks/index.d.ts +0 -71
- package/agnostic/colors/typechecks/index.js +0 -27
- package/agnostic/colors/typechecks/index.test.d.ts +0 -1
- package/agnostic/colors/types.d.ts +0 -188
- package/agnostic/colors/types.js +0 -7
- package/agnostic/css/bem/index.d.ts +0 -30
- package/agnostic/css/bem/index.js +0 -159
- package/agnostic/css/generate-nice-color/index.d.ts +0 -8
- package/agnostic/css/generate-nice-color/index.js +0 -74
- package/agnostic/css/generate-nice-color/index.test.d.ts +0 -1
- package/agnostic/css/is-valid-css-class-name/index.d.ts +0 -13
- package/agnostic/css/is-valid-css-class-name/index.js +0 -9
- package/agnostic/css/is-valid-css-class-name/index.test.d.ts +0 -1
- package/agnostic/css/styles-set/index.d.ts +0 -39
- package/agnostic/css/styles-set/index.js +0 -173
- package/agnostic/errors/register/index.d.ts +0 -33
- package/agnostic/errors/register/index.js +0 -51
- package/agnostic/errors/unknown-to-string/index.d.ts +0 -7
- package/agnostic/errors/unknown-to-string/index.js +0 -7
- package/agnostic/errors/unknown-to-string/index.test.d.ts +0 -1
- package/agnostic/html/get-node-ancestors/index.d.ts +0 -13
- package/agnostic/html/get-node-ancestors/index.js +0 -8
- package/agnostic/html/get-node-ancestors/index.test.d.ts +0 -1
- package/agnostic/html/get-position-inside-parent/index.d.ts +0 -9
- package/agnostic/html/get-position-inside-parent/index.js +0 -11
- package/agnostic/html/get-position-inside-parent/index.test.d.ts +0 -1
- package/agnostic/html/hyper-json/cast/index.d.ts +0 -12
- package/agnostic/html/hyper-json/cast/index.js +0 -25
- package/agnostic/html/hyper-json/index.d.ts +0 -18
- package/agnostic/html/hyper-json/index.js +0 -50
- package/agnostic/html/hyper-json/method/index.d.ts +0 -7
- package/agnostic/html/hyper-json/method/index.js +0 -7
- package/agnostic/html/hyper-json/serialize/index.d.ts +0 -5
- package/agnostic/html/hyper-json/serialize/index.js +0 -11
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.d.ts +0 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +0 -27
- package/agnostic/html/hyper-json/smart-tags/coalesced/hjparse/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/hjparse/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/hjstringify/index.js +0 -29
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.d.ts +0 -8
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.d.ts +0 -1
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.d.ts +0 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.d.ts +0 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.d.ts +0 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +0 -27
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.d.ts +0 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +0 -27
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.d.ts +0 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.d.ts +0 -9
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/index.js +0 -10
- package/agnostic/html/hyper-json/smart-tags/isolated/any/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/any/index.js +0 -11
- package/agnostic/html/hyper-json/smart-tags/isolated/array/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/array/index.js +0 -11
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/isolated/null/index.d.ts +0 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/null/index.js +0 -11
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.d.ts +0 -7
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +0 -27
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +0 -25
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.d.ts +0 -4
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +0 -25
- package/agnostic/html/hyper-json/transformer/index.d.ts +0 -33
- package/agnostic/html/hyper-json/transformer/index.js +0 -9
- package/agnostic/html/hyper-json/tree/index.d.ts +0 -47
- package/agnostic/html/hyper-json/tree/index.js +0 -25
- package/agnostic/html/hyper-json/types/index.d.ts +0 -143
- package/agnostic/html/hyper-json/types/index.js +0 -7
- package/agnostic/html/hyper-json/utils/index.d.ts +0 -57
- package/agnostic/html/hyper-json/utils/index.js +0 -25
- package/agnostic/html/insert-node/index.d.ts +0 -19
- package/agnostic/html/insert-node/index.js +0 -7
- package/agnostic/html/insert-node/index.test.d.ts +0 -1
- package/agnostic/html/placeholders/index.d.ts +0 -7
- package/agnostic/html/placeholders/index.js +0 -39
- package/agnostic/html/replace-in-element/index.d.ts +0 -15
- package/agnostic/html/replace-in-element/index.js +0 -26
- package/agnostic/html/replace-in-element/index.test.d.ts +0 -1
- package/agnostic/html/selector-to-element/index.d.ts +0 -16
- package/agnostic/html/selector-to-element/index.js +0 -34
- package/agnostic/html/selector-to-element/index.test.d.ts +0 -1
- package/agnostic/html/string-to-nodes/index.d.ts +0 -14
- package/agnostic/html/string-to-nodes/index.js +0 -20
- package/agnostic/html/string-to-nodes/index.test.d.ts +0 -1
- package/agnostic/misc/assert/index.d.ts +0 -5
- package/agnostic/misc/assert/index.js +0 -64
- package/agnostic/misc/cast/index.d.ts +0 -81
- package/agnostic/misc/cast/index.js +0 -23
- package/agnostic/misc/cast/index.test.d.ts +0 -1
- package/agnostic/misc/connection/index.d.ts +0 -26
- package/agnostic/misc/connection/index.js +0 -39
- package/agnostic/misc/connection/index.test.d.ts +0 -1
- package/agnostic/misc/crawler/index.d.ts +0 -63
- package/agnostic/misc/crawler/index.js +0 -35
- package/agnostic/misc/crawler/index.test.d.ts +0 -1
- package/agnostic/misc/crossenv/detect-runtime/index.d.ts +0 -12
- package/agnostic/misc/crossenv/detect-runtime/index.js +0 -17
- package/agnostic/misc/crossenv/detect-runtime/index.test.d.ts +0 -1
- package/agnostic/misc/crossenv/types.d.ts +0 -40
- package/agnostic/misc/crossenv/types.js +0 -7
- package/agnostic/misc/crossenv/window/index.d.ts +0 -28
- package/agnostic/misc/crossenv/window/index.js +0 -13
- package/agnostic/misc/crossenv/window/index.test.d.ts +0 -1
- package/agnostic/misc/data-size/index.d.ts +0 -87
- package/agnostic/misc/data-size/index.js +0 -297
- package/agnostic/misc/data-size/index.test.d.ts +0 -1
- package/agnostic/misc/data-size/types.d.ts +0 -37
- package/agnostic/misc/elo/index.d.ts +0 -29
- package/agnostic/misc/elo/index.js +0 -31
- package/agnostic/misc/is-constructor-function/index.d.ts +0 -13
- package/agnostic/misc/is-constructor-function/index.js +0 -7
- package/agnostic/misc/is-constructor-function/index.test.d.ts +0 -1
- package/agnostic/misc/is-nullish/index.d.ts +0 -26
- package/agnostic/misc/is-nullish/index.js +0 -11
- package/agnostic/misc/is-nullish/index.test.d.ts +0 -1
- package/agnostic/misc/logs/logger/index.d.ts +0 -45
- package/agnostic/misc/logs/logger/index.js +0 -112
- package/agnostic/misc/logs/make-text-block/index.d.ts +0 -1
- package/agnostic/misc/logs/make-text-block/index.js +0 -7
- package/agnostic/misc/logs/styles/index.d.ts +0 -11
- package/agnostic/misc/logs/styles/index.js +0 -8
- package/agnostic/misc/lorem-ipsum/index.d.ts +0 -3
- package/agnostic/misc/lorem-ipsum/index.js +0 -190
- package/agnostic/misc/lorem-ipsum/index.test.d.ts +0 -1
- package/agnostic/misc/normalize-extension/index.d.ts +0 -11
- package/agnostic/misc/normalize-extension/index.js +0 -92
- package/agnostic/misc/normalize-extension/index.test.d.ts +0 -1
- package/agnostic/misc/outcome/index.d.ts +0 -56
- package/agnostic/misc/outcome/index.js +0 -11
- package/agnostic/misc/outcome/index.test.d.ts +0 -1
- package/agnostic/numbers/absolute-modulo/index.d.ts +0 -8
- package/agnostic/numbers/absolute-modulo/index.js +0 -7
- package/agnostic/numbers/absolute-modulo/index.test.d.ts +0 -1
- package/agnostic/numbers/approximate-rational/index.d.ts +0 -22
- package/agnostic/numbers/approximate-rational/index.js +0 -72
- package/agnostic/numbers/approximate-rational/index.test.d.ts +0 -1
- package/agnostic/numbers/clamp/index.d.ts +0 -9
- package/agnostic/numbers/clamp/index.js +0 -7
- package/agnostic/numbers/clamp/index.test.d.ts +0 -1
- package/agnostic/numbers/interpolate/index.d.ts +0 -21
- package/agnostic/numbers/interpolate/index.js +0 -14
- package/agnostic/numbers/interpolate/index.test.d.ts +0 -1
- package/agnostic/numbers/responsive-harmonics/index.d.ts +0 -30
- package/agnostic/numbers/responsive-harmonics/index.js +0 -54
- package/agnostic/numbers/round/index.d.ts +0 -24
- package/agnostic/numbers/round/index.js +0 -11
- package/agnostic/numbers/round/index.test.d.ts +0 -1
- package/agnostic/objects/deep-get-property/index.d.ts +0 -9
- package/agnostic/objects/deep-get-property/index.js +0 -27
- package/agnostic/objects/enums/is-in-enum/index.d.ts +0 -11
- package/agnostic/objects/enums/is-in-enum/index.js +0 -7
- package/agnostic/objects/flatten-getters/index.d.ts +0 -7
- package/agnostic/objects/flatten-getters/index.js +0 -25
- package/agnostic/objects/is-object/index.d.ts +0 -14
- package/agnostic/objects/is-object/index.js +0 -9
- package/agnostic/objects/is-record/index.d.ts +0 -7
- package/agnostic/objects/is-record/index.js +0 -7
- package/agnostic/objects/record-format/index.d.ts +0 -38
- package/agnostic/objects/record-format/index.js +0 -18
- package/agnostic/objects/record-map/index.d.ts +0 -12
- package/agnostic/objects/record-map/index.js +0 -7
- package/agnostic/objects/validation/index.d.ts +0 -11
- package/agnostic/objects/validation/index.js +0 -11
- package/agnostic/optim/memoize/index.d.ts +0 -12
- package/agnostic/optim/memoize/index.js +0 -19
- package/agnostic/optim/throttle-debounce/index.d.ts +0 -30
- package/agnostic/optim/throttle-debounce/index.js +0 -114
- package/agnostic/optim/throttle-debounce/types.d.ts +0 -2
- package/agnostic/random/hex-char/index.d.ts +0 -4
- package/agnostic/random/hex-char/index.js +0 -9
- package/agnostic/random/random/index.d.ts +0 -17
- package/agnostic/random/random/index.js +0 -9
- package/agnostic/random/uuid/index.d.ts +0 -21
- package/agnostic/random/uuid/index.js +0 -12
- package/agnostic/regexps/index.d.ts +0 -95
- package/agnostic/regexps/index.js +0 -88
- package/agnostic/sanitization/file-name/index.d.ts +0 -13
- package/agnostic/sanitization/file-name/index.js +0 -7
- package/agnostic/sanitization/html/index.d.ts +0 -61
- package/agnostic/sanitization/html/index.js +0 -121
- package/agnostic/sanitization/path/index.d.ts +0 -11
- package/agnostic/sanitization/path/index.js +0 -14
- package/agnostic/sanitization/types.d.ts +0 -37
- package/agnostic/sanitization/types.js +0 -0
- package/agnostic/sanitization/user-input/index.d.ts +0 -13
- package/agnostic/sanitization/user-input/index.js +0 -23
- package/agnostic/strings/char-codes/index.d.ts +0 -82
- package/agnostic/strings/char-codes/index.js +0 -70
- package/agnostic/strings/matches/index.d.ts +0 -28
- package/agnostic/strings/matches/index.js +0 -11
- package/agnostic/strings/normalize-indent/index.d.ts +0 -23
- package/agnostic/strings/normalize-indent/index.js +0 -19
- package/agnostic/strings/parse-table/index.d.ts +0 -145
- package/agnostic/strings/parse-table/index.js +0 -87
- package/agnostic/strings/replace-all/index.d.ts +0 -21
- package/agnostic/strings/replace-all/index.js +0 -7
- package/agnostic/strings/to-alphanum/index.d.ts +0 -19
- package/agnostic/strings/to-alphanum/index.js +0 -11
- package/agnostic/strings/trim/index.d.ts +0 -20
- package/agnostic/strings/trim/index.js +0 -9
- package/agnostic/time/dates/format-date/index.d.ts +0 -48
- package/agnostic/time/dates/format-date/index.js +0 -61
- package/agnostic/time/duration/index.d.ts +0 -39
- package/agnostic/time/duration/index.js +0 -112
- package/agnostic/time/timeout/index.d.ts +0 -9
- package/agnostic/time/timeout/index.js +0 -19
- package/agnostic/time/transitions/index.d.ts +0 -74
- package/agnostic/time/transitions/index.js +0 -161
- package/agnostic/time/wait/index.d.ts +0 -7
- package/agnostic/time/wait/index.js +0 -7
- package/agnostic/typescript/types.d.ts +0 -37
- package/agnostic/typescript/types.js +0 -0
- package/chunks/chunk-2WSVYQ5Q.js +0 -77
- package/chunks/chunk-33SNWUIB.js +0 -103
- package/chunks/chunk-3MPXVP4L.js +0 -25
- package/chunks/chunk-4CIS3R7T.js +0 -10
- package/chunks/chunk-4WE2WEXL.js +0 -12
- package/chunks/chunk-54KPQCVI.js +0 -25
- package/chunks/chunk-5CFQCSKJ.js +0 -23
- package/chunks/chunk-5NTPCRFH.js +0 -32
- package/chunks/chunk-5O52VUI6.js +0 -31
- package/chunks/chunk-5X76KDYN.js +0 -60
- package/chunks/chunk-65BFQP3T.js +0 -25
- package/chunks/chunk-66BURDRK.js +0 -29
- package/chunks/chunk-6BGIDRU5.js +0 -36
- package/chunks/chunk-6XL25OZX.js +0 -12
- package/chunks/chunk-6YVXSCRH.js +0 -37
- package/chunks/chunk-75BICI4L.js +0 -20
- package/chunks/chunk-7B2E2NGH.js +0 -40
- package/chunks/chunk-AKNR3U25.js +0 -20
- package/chunks/chunk-AOEOW5XW.js +0 -40
- package/chunks/chunk-AOR2M2H3.js +0 -34
- package/chunks/chunk-ASNS7K6J.js +0 -34
- package/chunks/chunk-ASWI3EO6.js +0 -25
- package/chunks/chunk-AV373PHY.js +0 -56
- package/chunks/chunk-AXMAF3J2.js +0 -38
- package/chunks/chunk-AYGAQQXD.js +0 -27
- package/chunks/chunk-BHGRXDTS.js +0 -28
- package/chunks/chunk-BQABPH3I.js +0 -31
- package/chunks/chunk-BQXTV2GG.js +0 -36
- package/chunks/chunk-BXFRBV67.js +0 -28
- package/chunks/chunk-D3ERTRDW.js +0 -17
- package/chunks/chunk-DBNCEHTT.js +0 -22
- package/chunks/chunk-DBZAJJUF.js +0 -39
- package/chunks/chunk-DNIOWD7K.js +0 -8
- package/chunks/chunk-DUCLFPGE.js +0 -78
- package/chunks/chunk-E6MSDKON.js +0 -13
- package/chunks/chunk-EBQRPRRC.js +0 -22
- package/chunks/chunk-EEPLTO3E.js +0 -31
- package/chunks/chunk-EPUHVR7J.js +0 -17
- package/chunks/chunk-FENXVJYO.js +0 -11
- package/chunks/chunk-FH74QWR6.js +0 -47
- package/chunks/chunk-FM3HGCFL.js +0 -56
- package/chunks/chunk-FSI422YG.js +0 -31
- package/chunks/chunk-H4PP6AHP.js +0 -15
- package/chunks/chunk-HC6ZOHCS.js +0 -14
- package/chunks/chunk-HEY7J6GI.js +0 -37
- package/chunks/chunk-HQLRJ7XW.js +0 -12
- package/chunks/chunk-HYPEWMYZ.js +0 -10
- package/chunks/chunk-IBQQCUYV.js +0 -36
- package/chunks/chunk-IK2S6ZYP.js +0 -29
- package/chunks/chunk-ISJONMNA.js +0 -16
- package/chunks/chunk-J5D4OQ5U.js +0 -27
- package/chunks/chunk-JDINERKY.js +0 -107
- package/chunks/chunk-JFXEMK66.js +0 -33
- package/chunks/chunk-JN2UETL4.js +0 -32
- package/chunks/chunk-JU23NBY2.js +0 -22
- package/chunks/chunk-JVMFT3IT.js +0 -134
- package/chunks/chunk-K5UF634H.js +0 -25
- package/chunks/chunk-KRYJVBO5.js +0 -155
- package/chunks/chunk-L3OCRR3V.js +0 -25
- package/chunks/chunk-LFHDJTZJ.js +0 -12552
- package/chunks/chunk-LU47ASMQ.js +0 -633
- package/chunks/chunk-MHNUCHPP.js +0 -26
- package/chunks/chunk-NEMHJSNM.js +0 -24
- package/chunks/chunk-NIIAUOBO.js +0 -36
- package/chunks/chunk-NR7STUY3.js +0 -28
- package/chunks/chunk-O66PEU62.js +0 -27
- package/chunks/chunk-O7UCJNVF.js +0 -38
- package/chunks/chunk-OF2W4ZRG.js +0 -53
- package/chunks/chunk-OGBUSUE6.js +0 -12
- package/chunks/chunk-OSAXBA7G.js +0 -10
- package/chunks/chunk-P6K7NPUZ.js +0 -47
- package/chunks/chunk-PC62QFWI.js +0 -60
- package/chunks/chunk-PTJO2TGI.js +0 -23
- package/chunks/chunk-PTN2V757.js +0 -35
- package/chunks/chunk-QEKI6WGQ.js +0 -27
- package/chunks/chunk-QHEWBOQI.js +0 -19
- package/chunks/chunk-QQO4QKH2.js +0 -2684
- package/chunks/chunk-QWBT7W6I.js +0 -26
- package/chunks/chunk-QXAJXTXV.js +0 -19
- package/chunks/chunk-R3AWQXMY.js +0 -20
- package/chunks/chunk-RCO57B6F.js +0 -9
- package/chunks/chunk-RGQNRTBI.js +0 -55
- package/chunks/chunk-RJK53Q5I.js +0 -39
- package/chunks/chunk-ROWPCMQY.js +0 -29
- package/chunks/chunk-RW7VAKJW.js +0 -15
- package/chunks/chunk-S2I77NEE.js +0 -35
- package/chunks/chunk-S6ZFFGWH.js +0 -34
- package/chunks/chunk-SBBIQ5UH.js +0 -36
- package/chunks/chunk-THWQ7NVE.js +0 -48
- package/chunks/chunk-UL4SNGRK.js +0 -207
- package/chunks/chunk-ULYGDEW2.js +0 -25
- package/chunks/chunk-USIYKRNX.js +0 -20
- package/chunks/chunk-UZ4SWSOZ.js +0 -41
- package/chunks/chunk-VU6JYR3W.js +0 -64
- package/chunks/chunk-VYDUHDXW.js +0 -35
- package/chunks/chunk-W5A2TON3.js +0 -10
- package/chunks/chunk-W5VY535B.js +0 -37
- package/chunks/chunk-WNDMYNDU.js +0 -8
- package/chunks/chunk-XA4HVHJ4.js +0 -18
- package/chunks/chunk-XCBH6NLF.js +0 -42
- package/chunks/chunk-XEQ2PBT2.js +0 -20
- package/chunks/chunk-XIIJYVJZ.js +0 -15
- package/chunks/chunk-XNF5MLCQ.js +0 -14
- package/chunks/chunk-Y6FD4ASO.js +0 -32
- package/chunks/chunk-YA2YCZUF.js +0 -8
- package/chunks/chunk-YDIBNEGA.js +0 -9
- package/chunks/chunk-YOP6WVCF.js +0 -45
- package/chunks/chunk-YWSXCFYY.js +0 -61
- package/chunks/chunk-ZKIQ753F.js +0 -23
- package/chunks/chunk-ZTPRFEPV.js +0 -32
- package/node/@aws-s3/storage/directory/copy-dir/index.d.ts +0 -27
- package/node/@aws-s3/storage/directory/copy-dir/index.js +0 -9
- package/node/@aws-s3/storage/directory/list/index.d.ts +0 -17
- package/node/@aws-s3/storage/directory/list/index.js +0 -9
- package/node/@aws-s3/storage/directory/move-dir/index.d.ts +0 -33
- package/node/@aws-s3/storage/directory/move-dir/index.js +0 -9
- package/node/@aws-s3/storage/directory/remove-dir/index.d.ts +0 -31
- package/node/@aws-s3/storage/directory/remove-dir/index.js +0 -9
- package/node/@aws-s3/storage/file/copy/index.d.ts +0 -30
- package/node/@aws-s3/storage/file/copy/index.js +0 -9
- package/node/@aws-s3/storage/file/download/index.d.ts +0 -22
- package/node/@aws-s3/storage/file/download/index.js +0 -9
- package/node/@aws-s3/storage/file/exists/index.d.ts +0 -23
- package/node/@aws-s3/storage/file/exists/index.js +0 -9
- package/node/@aws-s3/storage/file/move/index.d.ts +0 -33
- package/node/@aws-s3/storage/file/move/index.js +0 -9
- package/node/@aws-s3/storage/file/remove/index.d.ts +0 -17
- package/node/@aws-s3/storage/file/remove/index.js +0 -9
- package/node/@aws-s3/storage/file/stat/index.d.ts +0 -24
- package/node/@aws-s3/storage/file/stat/index.js +0 -9
- package/node/@aws-s3/storage/file/upload/index.d.ts +0 -22
- package/node/@aws-s3/storage/file/upload/index.js +0 -9
- package/node/@express/@multer/index.d.ts +0 -56
- package/node/@express/@multer/index.js +0 -47
- package/node/@google-cloud/storage/bucket/get-metadata/index.d.ts +0 -18
- package/node/@google-cloud/storage/bucket/get-metadata/index.js +0 -22
- package/node/@google-cloud/storage/directory/copy-dir/index.d.ts +0 -22
- package/node/@google-cloud/storage/directory/copy-dir/index.js +0 -9
- package/node/@google-cloud/storage/directory/list/index.d.ts +0 -17
- package/node/@google-cloud/storage/directory/list/index.js +0 -9
- package/node/@google-cloud/storage/directory/move-dir/index.d.ts +0 -31
- package/node/@google-cloud/storage/directory/move-dir/index.js +0 -9
- package/node/@google-cloud/storage/directory/remove-dir/index.d.ts +0 -31
- package/node/@google-cloud/storage/directory/remove-dir/index.js +0 -9
- package/node/@google-cloud/storage/file/copy/index.d.ts +0 -32
- package/node/@google-cloud/storage/file/copy/index.js +0 -9
- package/node/@google-cloud/storage/file/download/index.d.ts +0 -21
- package/node/@google-cloud/storage/file/download/index.js +0 -9
- package/node/@google-cloud/storage/file/exists/index.d.ts +0 -19
- package/node/@google-cloud/storage/file/exists/index.js +0 -9
- package/node/@google-cloud/storage/file/generate-signed-url/index.d.ts +0 -23
- package/node/@google-cloud/storage/file/generate-signed-url/index.js +0 -28
- package/node/@google-cloud/storage/file/get-metadata/index.d.ts +0 -22
- package/node/@google-cloud/storage/file/get-metadata/index.js +0 -24
- package/node/@google-cloud/storage/file/get-permissions/index.d.ts +0 -19
- package/node/@google-cloud/storage/file/get-permissions/index.js +0 -24
- package/node/@google-cloud/storage/file/move/index.d.ts +0 -36
- package/node/@google-cloud/storage/file/move/index.js +0 -9
- package/node/@google-cloud/storage/file/remove/index.d.ts +0 -24
- package/node/@google-cloud/storage/file/remove/index.js +0 -9
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.d.ts +0 -26
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +0 -30
- package/node/@google-cloud/storage/file/stat/index.d.ts +0 -25
- package/node/@google-cloud/storage/file/stat/index.js +0 -9
- package/node/@google-cloud/storage/file/update-metadata/index.d.ts +0 -24
- package/node/@google-cloud/storage/file/update-metadata/index.js +0 -24
- package/node/@google-cloud/storage/file/upload/index.d.ts +0 -24
- package/node/@google-cloud/storage/file/upload/index.js +0 -9
- package/node/cloud-storage/clients/index.d.ts +0 -40
- package/node/cloud-storage/clients/index.js +0 -13
- package/node/cloud-storage/operations/copy-dir/index.d.ts +0 -60
- package/node/cloud-storage/operations/copy-dir/index.js +0 -35
- package/node/cloud-storage/operations/copy-file/index.d.ts +0 -60
- package/node/cloud-storage/operations/copy-file/index.js +0 -35
- package/node/cloud-storage/operations/download-file/index.d.ts +0 -65
- package/node/cloud-storage/operations/download-file/index.js +0 -35
- package/node/cloud-storage/operations/exists-file/index.d.ts +0 -56
- package/node/cloud-storage/operations/exists-file/index.js +0 -35
- package/node/cloud-storage/operations/list-dir/index.d.ts +0 -52
- package/node/cloud-storage/operations/list-dir/index.js +0 -35
- package/node/cloud-storage/operations/move-dir/index.d.ts +0 -60
- package/node/cloud-storage/operations/move-dir/index.js +0 -35
- package/node/cloud-storage/operations/move-file/index.d.ts +0 -60
- package/node/cloud-storage/operations/move-file/index.js +0 -35
- package/node/cloud-storage/operations/remove-dir/index.d.ts +0 -56
- package/node/cloud-storage/operations/remove-dir/index.js +0 -35
- package/node/cloud-storage/operations/remove-file/index.d.ts +0 -56
- package/node/cloud-storage/operations/remove-file/index.js +0 -35
- package/node/cloud-storage/operations/stat-file/index.d.ts +0 -54
- package/node/cloud-storage/operations/stat-file/index.js +0 -35
- package/node/cloud-storage/operations/upload-file/index.d.ts +0 -61
- package/node/cloud-storage/operations/upload-file/index.js +0 -35
- package/node/encryption/@aes-256-gcm/buffer/index.d.ts +0 -20
- package/node/encryption/@aes-256-gcm/buffer/index.js +0 -28
- package/node/encryption/@aes-256-gcm/uint8-array/index.d.ts +0 -21
- package/node/encryption/@aes-256-gcm/uint8-array/index.js +0 -11
- package/node/encryption/key/index.d.ts +0 -16
- package/node/encryption/key/index.js +0 -15
- package/node/files/is-in-directory/index.d.ts +0 -8
- package/node/files/is-in-directory/index.js +0 -11
- package/node/files/read-write/index.d.ts +0 -53
- package/node/files/read-write/index.js +0 -18
- package/node/files/subpaths/index.d.ts +0 -63
- package/node/files/subpaths/index.js +0 -122
- package/node/ftps/directory/copy-dir/index.d.ts +0 -28
- package/node/ftps/directory/copy-dir/index.js +0 -9
- package/node/ftps/directory/list/index.d.ts +0 -12
- package/node/ftps/directory/list/index.js +0 -9
- package/node/ftps/directory/move-dir/index.d.ts +0 -26
- package/node/ftps/directory/move-dir/index.js +0 -9
- package/node/ftps/directory/remove-dir/index.d.ts +0 -25
- package/node/ftps/directory/remove-dir/index.js +0 -9
- package/node/ftps/file/copy/index.d.ts +0 -28
- package/node/ftps/file/copy/index.js +0 -9
- package/node/ftps/file/download/index.d.ts +0 -22
- package/node/ftps/file/download/index.js +0 -9
- package/node/ftps/file/exists/index.d.ts +0 -21
- package/node/ftps/file/exists/index.js +0 -9
- package/node/ftps/file/move/index.d.ts +0 -38
- package/node/ftps/file/move/index.js +0 -9
- package/node/ftps/file/remove/index.d.ts +0 -20
- package/node/ftps/file/remove/index.js +0 -9
- package/node/ftps/file/stat/index.d.ts +0 -17
- package/node/ftps/file/stat/index.js +0 -9
- package/node/ftps/file/upload/index.d.ts +0 -24
- package/node/ftps/file/upload/index.js +0 -9
- package/node/images/create/index.d.ts +0 -9
- package/node/images/create/index.js +0 -19
- package/node/images/format/index.d.ts +0 -62
- package/node/images/format/index.js +0 -269
- package/node/images/metadata/index.d.ts +0 -9
- package/node/images/metadata/index.js +0 -19
- package/node/images/transform/index.d.ts +0 -27
- package/node/images/transform/index.js +0 -205
- package/node/images/transform/operations/blur/index.d.ts +0 -5
- package/node/images/transform/operations/blur/index.js +0 -11
- package/node/images/transform/operations/brighten/index.d.ts +0 -5
- package/node/images/transform/operations/brighten/index.js +0 -11
- package/node/images/transform/operations/extend/index.d.ts +0 -5
- package/node/images/transform/operations/extend/index.js +0 -18
- package/node/images/transform/operations/extract/index.d.ts +0 -5
- package/node/images/transform/operations/extract/index.js +0 -11
- package/node/images/transform/operations/flatten/index.d.ts +0 -5
- package/node/images/transform/operations/flatten/index.js +0 -18
- package/node/images/transform/operations/flip/index.d.ts +0 -2
- package/node/images/transform/operations/flip/index.js +0 -7
- package/node/images/transform/operations/flop/index.d.ts +0 -2
- package/node/images/transform/operations/flop/index.js +0 -7
- package/node/images/transform/operations/hue/index.d.ts +0 -5
- package/node/images/transform/operations/hue/index.js +0 -11
- package/node/images/transform/operations/level/index.d.ts +0 -5
- package/node/images/transform/operations/level/index.js +0 -11
- package/node/images/transform/operations/lighten/index.d.ts +0 -5
- package/node/images/transform/operations/lighten/index.js +0 -11
- package/node/images/transform/operations/normalize/index.d.ts +0 -5
- package/node/images/transform/operations/normalize/index.js +0 -11
- package/node/images/transform/operations/overlay/index.d.ts +0 -5
- package/node/images/transform/operations/overlay/index.js +0 -18
- package/node/images/transform/operations/resize/index.d.ts +0 -5
- package/node/images/transform/operations/resize/index.js +0 -18
- package/node/images/transform/operations/rotate/index.d.ts +0 -5
- package/node/images/transform/operations/rotate/index.js +0 -18
- package/node/images/transform/operations/saturate/index.d.ts +0 -5
- package/node/images/transform/operations/saturate/index.js +0 -11
- package/node/images/types.d.ts +0 -387
- package/node/images/types.js +0 -9
- package/node/images/utils/index.d.ts +0 -27
- package/node/images/utils/index.js +0 -19
- package/node/process/on-exit/index.d.ts +0 -28
- package/node/process/on-exit/index.js +0 -32
- package/node/process/prompt-continue/index.d.ts +0 -18
- package/node/process/prompt-continue/index.js +0 -1680
- package/node/process/spawner/index.d.ts +0 -18
- package/node/process/spawner/index.js +0 -83
- package/node/sftp/directory/copy-dir/index.d.ts +0 -28
- package/node/sftp/directory/copy-dir/index.js +0 -9
- package/node/sftp/directory/list/index.d.ts +0 -12
- package/node/sftp/directory/list/index.js +0 -9
- package/node/sftp/directory/move-dir/index.d.ts +0 -26
- package/node/sftp/directory/move-dir/index.js +0 -9
- package/node/sftp/directory/remove-dir/index.d.ts +0 -25
- package/node/sftp/directory/remove-dir/index.js +0 -9
- package/node/sftp/file/copy/index.d.ts +0 -28
- package/node/sftp/file/copy/index.js +0 -9
- package/node/sftp/file/download/index.d.ts +0 -20
- package/node/sftp/file/download/index.js +0 -9
- package/node/sftp/file/exists/index.d.ts +0 -21
- package/node/sftp/file/exists/index.js +0 -9
- package/node/sftp/file/move/index.d.ts +0 -38
- package/node/sftp/file/move/index.js +0 -9
- package/node/sftp/file/remove/index.d.ts +0 -20
- package/node/sftp/file/remove/index.js +0 -9
- package/node/sftp/file/stat/index.d.ts +0 -18
- package/node/sftp/file/stat/index.js +0 -9
- package/node/sftp/file/upload/index.d.ts +0 -24
- package/node/sftp/file/upload/index.js +0 -9
- /package/agnostic/{arrays/dedupe → scrapers/@meteociel}/index.test.d.ts +0 -0
- /package/agnostic/{misc/data-size → scrapers/@meteociel}/types.js +0 -0
- /package/agnostic/{optim/throttle-debounce → weather}/types.js +0 -0
- /package/node/{@design-edito/index.d.ts → index.d.ts} +0 -0
- /package/node/{@design-edito/index.js → index.js} +0 -0
|
@@ -1,112 +0,0 @@
|
|
|
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
|
-
}
|
|
102
|
-
export {
|
|
103
|
-
Duration,
|
|
104
|
-
days,
|
|
105
|
-
hours,
|
|
106
|
-
milliseconds,
|
|
107
|
-
minutes,
|
|
108
|
-
months,
|
|
109
|
-
seconds,
|
|
110
|
-
weeks,
|
|
111
|
-
years
|
|
112
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
-
*/
|
|
9
|
-
export declare function timeout<T>(timeoutMs: number, callback: () => T): Promise<T>;
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
}
|
|
17
|
-
export {
|
|
18
|
-
timeout
|
|
19
|
-
};
|
|
@@ -1,74 +0,0 @@
|
|
|
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"
|
|
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,161 +0,0 @@
|
|
|
1
|
-
import {
|
|
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
|
-
};
|
|
156
|
-
export {
|
|
157
|
-
Ease,
|
|
158
|
-
easingFunctions,
|
|
159
|
-
easings,
|
|
160
|
-
transition
|
|
161
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
*/
|
|
7
|
-
export declare function wait(durationMs: number): Promise<unknown>;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Converts `undefined` to `null` in a type, while preserving other types.
|
|
3
|
-
*
|
|
4
|
-
* @template T - The type to transform
|
|
5
|
-
* @returns If T extends `undefined`, returns `null`, otherwise returns T
|
|
6
|
-
*
|
|
7
|
-
* @example
|
|
8
|
-
* ```ts
|
|
9
|
-
* type Example1 = NullIfUndefined<string | undefined>; // string | null
|
|
10
|
-
* type Example2 = NullIfUndefined<number>; // number
|
|
11
|
-
* type Example3 = NullIfUndefined<undefined>; // null
|
|
12
|
-
* ```
|
|
13
|
-
*/
|
|
14
|
-
export type NullIfUndefined<T> = T extends undefined ? null : T;
|
|
15
|
-
/**
|
|
16
|
-
* Makes specific keys of a type required, while keeping other keys optional.
|
|
17
|
-
*
|
|
18
|
-
* @template T - The base type
|
|
19
|
-
* @template K - The keys of T that should be required
|
|
20
|
-
* @returns A new type where keys K are required and other keys remain as they were
|
|
21
|
-
*
|
|
22
|
-
* @example
|
|
23
|
-
* ```ts
|
|
24
|
-
* interface User {
|
|
25
|
-
* name?: string;
|
|
26
|
-
* age?: number;
|
|
27
|
-
* email?: string;
|
|
28
|
-
* }
|
|
29
|
-
*
|
|
30
|
-
* type UserWithRequiredName = RequireKeys<User, 'name'>;
|
|
31
|
-
* // { name: string; age?: number; email?: string; }
|
|
32
|
-
*
|
|
33
|
-
* type UserWithRequiredNameAndEmail = RequireKeys<User, 'name' | 'email'>;
|
|
34
|
-
* // { name: string; age?: number; email: string; }
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
export type RequireKeys<T, K extends keyof T> = Omit<T, K> & Required<Pick<T, K>>;
|
|
File without changes
|
package/chunks/chunk-2WSVYQ5Q.js
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
makeFailure,
|
|
3
|
-
makeSuccess
|
|
4
|
-
} from "./chunk-QEKI6WGQ.js";
|
|
5
|
-
import {
|
|
6
|
-
unknownToString
|
|
7
|
-
} from "./chunk-FENXVJYO.js";
|
|
8
|
-
|
|
9
|
-
// src/node/@aws-s3/storage/directory/move-dir/index.ts
|
|
10
|
-
import {
|
|
11
|
-
ListObjectsV2Command,
|
|
12
|
-
CopyObjectCommand,
|
|
13
|
-
DeleteObjectCommand,
|
|
14
|
-
HeadObjectCommand
|
|
15
|
-
} from "@aws-sdk/client-s3";
|
|
16
|
-
async function moveDir(client, bucketName, sourceDir, targetDir, options) {
|
|
17
|
-
const {
|
|
18
|
-
listObjectsOptions,
|
|
19
|
-
copyOptions,
|
|
20
|
-
deleteOptions,
|
|
21
|
-
overwrite = false
|
|
22
|
-
} = options ?? {};
|
|
23
|
-
const from = sourceDir.endsWith("/") ? sourceDir : `${sourceDir}/`;
|
|
24
|
-
const to = targetDir.endsWith("/") ? targetDir : `${targetDir}/`;
|
|
25
|
-
try {
|
|
26
|
-
let token;
|
|
27
|
-
do {
|
|
28
|
-
const listResp = await client.send(
|
|
29
|
-
new ListObjectsV2Command({
|
|
30
|
-
Bucket: bucketName,
|
|
31
|
-
Prefix: from,
|
|
32
|
-
ContinuationToken: token,
|
|
33
|
-
...listObjectsOptions
|
|
34
|
-
})
|
|
35
|
-
);
|
|
36
|
-
for (const obj of listResp.Contents ?? []) {
|
|
37
|
-
if (!obj.Key) continue;
|
|
38
|
-
const rel = obj.Key.substring(from.length);
|
|
39
|
-
const dest = `${to}${rel}`;
|
|
40
|
-
if (!overwrite) {
|
|
41
|
-
try {
|
|
42
|
-
await client.send(
|
|
43
|
-
new HeadObjectCommand({ Bucket: bucketName, Key: dest })
|
|
44
|
-
);
|
|
45
|
-
throw new Error(`Object already exists at ${dest}.`);
|
|
46
|
-
} catch (err) {
|
|
47
|
-
if (err.$metadata?.httpStatusCode !== 404 && err.name !== "NotFound")
|
|
48
|
-
throw err;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
await client.send(
|
|
52
|
-
new CopyObjectCommand({
|
|
53
|
-
Bucket: bucketName,
|
|
54
|
-
Key: dest,
|
|
55
|
-
CopySource: `${bucketName}/${obj.Key}`,
|
|
56
|
-
...copyOptions
|
|
57
|
-
})
|
|
58
|
-
);
|
|
59
|
-
await client.send(
|
|
60
|
-
new DeleteObjectCommand({
|
|
61
|
-
Bucket: bucketName,
|
|
62
|
-
Key: obj.Key,
|
|
63
|
-
...deleteOptions
|
|
64
|
-
})
|
|
65
|
-
);
|
|
66
|
-
}
|
|
67
|
-
token = listResp.IsTruncated ? listResp.NextContinuationToken : void 0;
|
|
68
|
-
} while (token);
|
|
69
|
-
return makeSuccess(true);
|
|
70
|
-
} catch (err) {
|
|
71
|
-
return makeFailure(unknownToString(err));
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export {
|
|
76
|
-
moveDir
|
|
77
|
-
};
|
package/chunks/chunk-33SNWUIB.js
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isDuckTypedSharpInstance,
|
|
3
|
-
toSharpInstance
|
|
4
|
-
} from "./chunk-P6K7NPUZ.js";
|
|
5
|
-
import {
|
|
6
|
-
zod_default
|
|
7
|
-
} from "./chunk-LFHDJTZJ.js";
|
|
8
|
-
import {
|
|
9
|
-
makeFailure,
|
|
10
|
-
makeSuccess
|
|
11
|
-
} from "./chunk-QEKI6WGQ.js";
|
|
12
|
-
import {
|
|
13
|
-
isColor
|
|
14
|
-
} from "./chunk-JDINERKY.js";
|
|
15
|
-
|
|
16
|
-
// src/node/images/transform/operations/overlay/index.ts
|
|
17
|
-
import sharp from "sharp";
|
|
18
|
-
function isOverlayOperationParams(obj) {
|
|
19
|
-
const schema = zod_default.object({
|
|
20
|
-
input: zod_default.union([
|
|
21
|
-
zod_default.custom(isDuckTypedSharpInstance),
|
|
22
|
-
zod_default.custom(Buffer.isBuffer),
|
|
23
|
-
zod_default.string(),
|
|
24
|
-
zod_default.object({
|
|
25
|
-
width: zod_default.number().optional(),
|
|
26
|
-
height: zod_default.number().optional(),
|
|
27
|
-
channels: zod_default.union([zod_default.literal(3), zod_default.literal(4)]).optional(),
|
|
28
|
-
background: zod_default.custom(isColor).optional(),
|
|
29
|
-
noise: zod_default.object({
|
|
30
|
-
mean: zod_default.number().optional(),
|
|
31
|
-
sigma: zod_default.number().optional()
|
|
32
|
-
}).optional(),
|
|
33
|
-
pageHeight: zod_default.number().optional()
|
|
34
|
-
})
|
|
35
|
-
]),
|
|
36
|
-
top: zod_default.number().optional(),
|
|
37
|
-
left: zod_default.number().optional(),
|
|
38
|
-
tile: zod_default.boolean().optional(),
|
|
39
|
-
premultiplied: zod_default.boolean().optional(),
|
|
40
|
-
density: zod_default.number().optional(),
|
|
41
|
-
animated: zod_default.boolean().optional(),
|
|
42
|
-
autoOrient: zod_default.boolean().optional(),
|
|
43
|
-
ignoreIcc: zod_default.boolean().optional(),
|
|
44
|
-
pages: zod_default.number().optional(),
|
|
45
|
-
page: zod_default.number().optional(),
|
|
46
|
-
blend: zod_default.enum([
|
|
47
|
-
"clear",
|
|
48
|
-
"source",
|
|
49
|
-
"over",
|
|
50
|
-
"in",
|
|
51
|
-
"out",
|
|
52
|
-
"atop",
|
|
53
|
-
"dest",
|
|
54
|
-
"dest-over",
|
|
55
|
-
"dest-in",
|
|
56
|
-
"dest-out",
|
|
57
|
-
"dest-atop",
|
|
58
|
-
"xor",
|
|
59
|
-
"add",
|
|
60
|
-
"saturate",
|
|
61
|
-
"multiply",
|
|
62
|
-
"screen",
|
|
63
|
-
"overlay",
|
|
64
|
-
"darken",
|
|
65
|
-
"lighten",
|
|
66
|
-
"color-dodge",
|
|
67
|
-
"colour-dodge",
|
|
68
|
-
"color-burn",
|
|
69
|
-
"colour-burn",
|
|
70
|
-
"hard-light",
|
|
71
|
-
"soft-light",
|
|
72
|
-
"difference",
|
|
73
|
-
"exclusion"
|
|
74
|
-
]).optional(),
|
|
75
|
-
gravity: zod_default.enum([
|
|
76
|
-
"north",
|
|
77
|
-
"northeast",
|
|
78
|
-
"southeast",
|
|
79
|
-
"south",
|
|
80
|
-
"southwest",
|
|
81
|
-
"west",
|
|
82
|
-
"northwest",
|
|
83
|
-
"east",
|
|
84
|
-
"center",
|
|
85
|
-
"centre"
|
|
86
|
-
]).optional()
|
|
87
|
-
});
|
|
88
|
-
const result = schema.safeParse(obj);
|
|
89
|
-
if (!result.success) return makeFailure(result.error.message);
|
|
90
|
-
return makeSuccess(result.data);
|
|
91
|
-
}
|
|
92
|
-
async function overlay(sharpInstance, params) {
|
|
93
|
-
const inputBuffer = params.input instanceof Buffer ? params.input : await (await toSharpInstance(params.input)).toBuffer();
|
|
94
|
-
return sharp(await sharpInstance.composite([{
|
|
95
|
-
...params,
|
|
96
|
-
input: inputBuffer
|
|
97
|
-
}]).webp().toBuffer());
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export {
|
|
101
|
-
isOverlayOperationParams,
|
|
102
|
-
overlay
|
|
103
|
-
};
|
package/chunks/chunk-3MPXVP4L.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
get
|
|
3
|
-
} from "./chunk-ROWPCMQY.js";
|
|
4
|
-
|
|
5
|
-
// src/agnostic/html/get-node-ancestors/index.ts
|
|
6
|
-
function getNodeAncestors(node, traverseShadowRoots) {
|
|
7
|
-
const returned = [];
|
|
8
|
-
let currentNode = node;
|
|
9
|
-
const { ShadowRoot } = get();
|
|
10
|
-
while (currentNode !== null) {
|
|
11
|
-
returned.push(currentNode);
|
|
12
|
-
const parentNode = currentNode.parentNode;
|
|
13
|
-
if (parentNode instanceof ShadowRoot) {
|
|
14
|
-
returned.push(parentNode);
|
|
15
|
-
currentNode = traverseShadowRoots ? parentNode.host : null;
|
|
16
|
-
continue;
|
|
17
|
-
}
|
|
18
|
-
currentNode = currentNode.parentElement;
|
|
19
|
-
}
|
|
20
|
-
return returned;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export {
|
|
24
|
-
getNodeAncestors
|
|
25
|
-
};
|
package/chunks/chunk-4CIS3R7T.js
DELETED
package/chunks/chunk-4WE2WEXL.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
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
|
-
};
|