@design-edito/tools 0.2.15 → 0.2.16
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/index.js +10 -10
- package/agnostic/arrays/random-pick/index.js +6 -6
- package/agnostic/colors/channels/index.d.ts +5 -0
- package/agnostic/colors/channels/index.js +18 -0
- package/agnostic/colors/contrast/index.d.ts +2 -0
- package/agnostic/colors/contrast/index.js +13 -0
- package/agnostic/colors/convert/index.d.ts +20 -0
- package/agnostic/colors/convert/index.js +45 -0
- package/agnostic/colors/distance/index.d.ts +2 -0
- package/agnostic/colors/distance/index.js +12 -0
- package/agnostic/colors/grayscale/index.d.ts +2 -0
- package/agnostic/colors/grayscale/index.js +12 -0
- package/agnostic/colors/index.d.ts +14 -16
- package/agnostic/colors/index.js +95 -27
- package/agnostic/colors/invert/index.d.ts +2 -0
- package/agnostic/colors/invert/index.js +12 -0
- package/agnostic/colors/lerp/index.d.ts +2 -0
- package/agnostic/colors/lerp/index.js +12 -0
- package/agnostic/colors/luminance/index.d.ts +2 -0
- package/agnostic/colors/luminance/index.js +12 -0
- package/agnostic/colors/palette/index.d.ts +2 -0
- package/agnostic/colors/palette/index.js +14 -0
- package/agnostic/colors/rotate/index.d.ts +2 -0
- package/agnostic/colors/rotate/index.js +13 -0
- package/agnostic/colors/tidy/index.d.ts +2 -0
- package/agnostic/colors/tidy/index.js +11 -0
- package/agnostic/colors/typechecks/index.d.ts +11 -0
- package/agnostic/colors/typechecks/index.js +26 -0
- package/agnostic/colors/types.d.ts +82 -0
- package/agnostic/css/index.js +10 -10
- package/agnostic/css/styles-set/index.js +8 -8
- package/agnostic/errors/index.js +2 -2
- package/agnostic/html/hyper-json/cast/index.js +6 -6
- package/agnostic/html/hyper-json/index.js +7 -7
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +6 -6
- package/agnostic/html/hyper-json/tree/index.js +6 -6
- package/agnostic/html/hyper-json/utils/index.js +6 -6
- package/agnostic/html/index.js +22 -22
- package/agnostic/html/sanitize/index.js +6 -6
- package/agnostic/html/selector-to-element/index.js +6 -6
- package/agnostic/html/string-to-nodes/index.js +7 -7
- package/agnostic/index.d.ts +1 -1
- package/agnostic/misc/assert/index.js +3 -3
- package/agnostic/misc/crossenv/index.js +2 -2
- package/agnostic/misc/index.js +25 -25
- package/agnostic/misc/lorem-ipsum/index.js +13 -13
- package/agnostic/numbers/index.js +6 -6
- package/agnostic/objects/index.js +15 -15
- package/agnostic/random/index.js +2 -2
- package/agnostic/strings/index.js +11 -11
- package/agnostic/time/index.js +6 -6
- package/chunks/chunk-2EHYEUX4.js +21 -0
- package/chunks/chunk-5LK2YLTK.js +21 -0
- package/chunks/chunk-65NTXENV.js +157 -0
- package/chunks/{chunk-XDITZ5QN.js → chunk-AF2NAJS2.js} +2 -2
- package/chunks/chunk-ALMK24GK.js +0 -0
- package/chunks/chunk-BKIF2ELV.js +47 -0
- package/chunks/{chunk-B446JIN3.js → chunk-C7SRAQMW.js} +1 -1
- package/chunks/{chunk-36CTYZYA.js → chunk-CQEDNACN.js} +2 -2
- package/chunks/chunk-D7SXHHU3.js +47 -0
- package/chunks/{chunk-IWDIKDYR.js → chunk-E33DCHHS.js} +13 -13
- package/chunks/{chunk-WAMSK4A3.js → chunk-E4FJHD5R.js} +1 -1
- package/chunks/chunk-GUBFCOBT.js +98 -0
- package/chunks/{chunk-Q6DUKZU6.js → chunk-I2HTBYNO.js} +6 -6
- package/chunks/chunk-IDXUS2IO.js +296 -0
- package/chunks/chunk-JHUOMGOX.js +81 -0
- package/chunks/{chunk-EDJ3TVNV.js → chunk-KDOMQ4LM.js} +15 -6
- package/chunks/chunk-MN4FVOU2.js +28 -0
- package/chunks/{chunk-2M33FCDG.js → chunk-O7VFJHQX.js} +11 -5
- package/chunks/{chunk-2UAVBQI5.js → chunk-OD2XVVE2.js} +4 -4
- package/chunks/{chunk-CHUOCTRP.js → chunk-P2H6PV4O.js} +2 -2
- package/chunks/chunk-P4YT4RBG.js +51 -0
- package/chunks/{chunk-CYUEPBUN.js → chunk-PX4DPCZM.js} +2 -2
- package/chunks/{chunk-YIZODJC7.js → chunk-QRS3G3YD.js} +5 -5
- package/chunks/{chunk-FQ4UTWMP.js → chunk-QTA7ZEVX.js} +3 -1
- package/chunks/chunk-QW34TQCS.js +48 -0
- package/chunks/{chunk-HMAK6VAF.js → chunk-RBCZWVQH.js} +11 -5
- package/chunks/{chunk-JWF5EKM2.js → chunk-RDQJSWRC.js} +1 -1
- package/chunks/{chunk-AI6AGF4I.js → chunk-S7637BQZ.js} +8 -5
- package/chunks/{chunk-GVQVGFAA.js → chunk-TQXFC6OS.js} +4 -4
- package/chunks/chunk-UG5EMKGN.js +265 -0
- package/chunks/chunk-VA67YLZL.js +26 -0
- package/chunks/{chunk-TSZAQ3RQ.js → chunk-VKNQ7MVZ.js} +86 -87
- package/chunks/{chunk-SA2IY5LN.js → chunk-X5HMM3LD.js} +1 -1
- package/chunks/chunk-XAYMIITK.js +103 -0
- package/chunks/chunk-YZVZKBVJ.js +631 -0
- package/chunks/chunk-ZJ63OCMA.js +207 -0
- package/node/@aws-s3/index.js +8 -8
- package/node/@aws-s3/storage/directory/index.js +7 -7
- package/node/@aws-s3/storage/file/index.js +10 -10
- package/node/@aws-s3/storage/index.js +10 -10
- package/node/@google-cloud/index.js +11 -11
- package/node/@google-cloud/storage/bucket/index.js +4 -4
- package/node/@google-cloud/storage/directory/index.js +7 -7
- package/node/@google-cloud/storage/file/index.js +14 -14
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
- package/node/@google-cloud/storage/index.js +13 -13
- package/node/cloud-storage/index.js +26 -26
- package/node/cloud-storage/operations/index.js +36 -36
- package/node/encryption/index.js +3 -3
- package/node/files/index.js +3 -3
- package/node/ftps/directory/index.js +7 -7
- package/node/ftps/file/index.js +10 -10
- package/node/ftps/index.js +9 -9
- package/node/images/create/index.d.ts +3 -0
- package/node/images/create/index.js +23 -0
- package/node/images/format/index.d.ts +17 -51
- package/node/images/format/index.js +30 -4
- package/node/images/index.d.ts +4 -2
- package/node/images/index.js +41 -21
- package/node/images/metadata/index.d.ts +3 -0
- package/node/images/metadata/index.js +23 -0
- package/node/images/transform/index.d.ts +2 -97
- package/node/images/transform/index.js +27 -16
- package/node/images/transform/operations/blur/index.d.ts +1 -3
- package/node/images/transform/operations/brighten/index.d.ts +1 -3
- package/node/images/transform/operations/extend/index.d.ts +1 -8
- package/node/images/transform/operations/extend/index.js +17 -2
- package/node/images/transform/operations/extract/index.d.ts +1 -6
- package/node/images/transform/operations/flatten/index.d.ts +1 -3
- package/node/images/transform/operations/flatten/index.js +17 -2
- package/node/images/transform/operations/hue/index.d.ts +1 -3
- package/node/images/transform/operations/level/index.d.ts +1 -4
- package/node/images/transform/operations/lighten/index.d.ts +1 -3
- package/node/images/transform/operations/normalize/index.d.ts +1 -4
- package/node/images/transform/operations/overlay/index.d.ts +5 -0
- package/node/images/transform/operations/overlay/index.js +27 -0
- package/node/images/transform/operations/resize/index.d.ts +1 -11
- package/node/images/transform/operations/resize/index.js +17 -2
- package/node/images/transform/operations/rotate/index.d.ts +1 -4
- package/node/images/transform/operations/rotate/index.js +17 -2
- package/node/images/transform/operations/saturate/index.d.ts +1 -3
- package/node/images/transform/operations/saturate/index.js +1 -1
- package/node/images/types.d.ts +252 -0
- package/node/images/utils/index.d.ts +7 -0
- package/node/images/utils/index.js +28 -0
- package/node/sftp/directory/index.js +7 -7
- package/node/sftp/file/index.js +10 -10
- package/node/sftp/index.js +9 -9
- package/package.json +1 -1
- package/agnostic/colors/complement-color/index.d.ts +0 -1
- package/agnostic/colors/complement-color/index.js +0 -7
- package/agnostic/colors/hex-to-rgb/index.d.ts +0 -1
- package/agnostic/colors/hex-to-rgb/index.js +0 -7
- package/agnostic/colors/hsl-to-rgb/index.d.ts +0 -1
- package/agnostic/colors/hsl-to-rgb/index.js +0 -7
- package/agnostic/colors/lighten-color/index.d.ts +0 -2
- package/agnostic/colors/lighten-color/index.js +0 -11
- package/agnostic/colors/rgb-to-hex/index.d.ts +0 -1
- package/agnostic/colors/rgb-to-hex/index.js +0 -7
- package/agnostic/colors/rgb-to-hsl/index.d.ts +0 -1
- package/agnostic/colors/rgb-to-hsl/index.js +0 -7
- package/agnostic/colors/saturate-color/index.d.ts +0 -2
- package/agnostic/colors/saturate-color/index.js +0 -11
- package/chunks/chunk-2POD3TAX.js +0 -11
- package/chunks/chunk-2TJCB6IM.js +0 -12
- package/chunks/chunk-7EDDWSWS.js +0 -123
- package/chunks/chunk-FAXNZG5C.js +0 -10
- package/chunks/chunk-IFQA5PWI.js +0 -112
- package/chunks/chunk-MB7HWF22.js +0 -23
- package/chunks/chunk-MFYNJMVM.js +0 -18
- package/chunks/chunk-NYVARFI7.js +0 -20
- package/chunks/chunk-QLC3A6PC.js +0 -17
- package/chunks/chunk-U57Q62IN.js +0 -23
- package/chunks/chunk-YVLJKJV2.js +0 -17
- package/node/images/get-metadata/index.d.ts +0 -4
- package/node/images/get-metadata/index.js +0 -7
- package/node/images/transform/operations/composite/index.d.ts +0 -7
- package/node/images/transform/operations/composite/index.js +0 -12
- package/node/images/transform/utils/index.d.ts +0 -2
- package/node/images/transform/utils/index.js +0 -8
- package/chunks/{chunk-WH6BPDAC.js → chunk-2KT7AKRW.js} +3 -3
- package/chunks/{chunk-JSW6R3ZH.js → chunk-6QFELK4E.js} +9 -9
- package/chunks/{chunk-LAVXHKKR.js → chunk-73FF7HWQ.js} +9 -9
- package/chunks/{chunk-74CFPDKM.js → chunk-A7K5DUP7.js} +6 -6
- package/chunks/{chunk-7KSMK42F.js → chunk-CNMP2GU4.js} +6 -6
- package/chunks/{chunk-DEQWCMAL.js → chunk-EXPVRDPR.js} +9 -9
- package/chunks/{chunk-UFKH5WD2.js → chunk-FR5H2OCV.js} +3 -3
- package/chunks/{chunk-G5RRNREY.js → chunk-LSZVKXDZ.js} +3 -3
- package/chunks/{chunk-QCMBG5LN.js → chunk-MLLP7YSK.js} +13 -13
- package/chunks/{chunk-IOJTC6CN.js → chunk-PJSPZGT2.js} +15 -15
- package/chunks/{chunk-OVG5RGI3.js → chunk-S32K7POB.js} +4 -4
- package/chunks/{chunk-UXEKCYL7.js → chunk-UEAMPAHK.js} +3 -3
- package/chunks/{chunk-AIC5YAJU.js → chunk-X5F6XGEP.js} +6 -6
- package/chunks/{chunk-4OK2UH4M.js → chunk-ZBAKY6DB.js} +6 -6
|
@@ -1,39 +1,11 @@
|
|
|
1
|
-
import "../../../chunks/chunk-
|
|
2
|
-
import {
|
|
3
|
-
remove_dir_exports
|
|
4
|
-
} from "../../../chunks/chunk-CA3UPHYO.js";
|
|
5
|
-
import "../../../chunks/chunk-QLDN574K.js";
|
|
6
|
-
import "../../../chunks/chunk-4XSDRT23.js";
|
|
7
|
-
import "../../../chunks/chunk-5ZJ3KJPK.js";
|
|
8
|
-
import {
|
|
9
|
-
remove_file_exports
|
|
10
|
-
} from "../../../chunks/chunk-Y4THX4AN.js";
|
|
11
|
-
import "../../../chunks/chunk-7J7CYOXU.js";
|
|
12
|
-
import "../../../chunks/chunk-WV5N7ESL.js";
|
|
13
|
-
import "../../../chunks/chunk-ANPXBD2G.js";
|
|
14
|
-
import {
|
|
15
|
-
stat_file_exports
|
|
16
|
-
} from "../../../chunks/chunk-UK4HNSEJ.js";
|
|
17
|
-
import "../../../chunks/chunk-W3RXHN5I.js";
|
|
18
|
-
import "../../../chunks/chunk-VROZGPC5.js";
|
|
19
|
-
import "../../../chunks/chunk-TGVYEQIA.js";
|
|
1
|
+
import "../../../chunks/chunk-PJSPZGT2.js";
|
|
20
2
|
import {
|
|
21
3
|
upload_file_exports
|
|
22
4
|
} from "../../../chunks/chunk-NOLQR5RW.js";
|
|
23
5
|
import "../../../chunks/chunk-FB3GNE2B.js";
|
|
24
6
|
import "../../../chunks/chunk-FD5WR2A5.js";
|
|
25
7
|
import "../../../chunks/chunk-QDVDHFMZ.js";
|
|
26
|
-
import "../../../chunks/chunk-KJAEVOIW.js";
|
|
27
|
-
import "../../../chunks/chunk-CNYSX2L2.js";
|
|
28
8
|
import "../../../chunks/chunk-CVDCTI7F.js";
|
|
29
|
-
import "../../../chunks/chunk-BSUQNHAM.js";
|
|
30
|
-
import {
|
|
31
|
-
copy_dir_exports
|
|
32
|
-
} from "../../../chunks/chunk-6NLNUGBI.js";
|
|
33
|
-
import "../../../chunks/chunk-V3L55I2S.js";
|
|
34
|
-
import "../../../chunks/chunk-4XBUJAQU.js";
|
|
35
|
-
import "../../../chunks/chunk-WAHPAZQS.js";
|
|
36
|
-
import "../../../chunks/chunk-N2T672IG.js";
|
|
37
9
|
import {
|
|
38
10
|
download_file_exports
|
|
39
11
|
} from "../../../chunks/chunk-EOTOFHUR.js";
|
|
@@ -41,13 +13,6 @@ import "../../../chunks/chunk-2JH4TCT2.js";
|
|
|
41
13
|
import "../../../chunks/chunk-IV75M3KE.js";
|
|
42
14
|
import "../../../chunks/chunk-HWEGQVBQ.js";
|
|
43
15
|
import "../../../chunks/chunk-FF5NURFO.js";
|
|
44
|
-
import {
|
|
45
|
-
copy_file_exports
|
|
46
|
-
} from "../../../chunks/chunk-OA7Y2A5T.js";
|
|
47
|
-
import "../../../chunks/chunk-CWZFRUBS.js";
|
|
48
|
-
import "../../../chunks/chunk-C6QTHDDM.js";
|
|
49
|
-
import "../../../chunks/chunk-QH64MYGA.js";
|
|
50
|
-
import "../../../chunks/chunk-NMYVJJXV.js";
|
|
51
16
|
import {
|
|
52
17
|
exists_file_exports
|
|
53
18
|
} from "../../../chunks/chunk-24ZUWYIR.js";
|
|
@@ -69,6 +34,20 @@ import "../../../chunks/chunk-BWYH445G.js";
|
|
|
69
34
|
import "../../../chunks/chunk-ON6LC3HE.js";
|
|
70
35
|
import "../../../chunks/chunk-RWO53U4X.js";
|
|
71
36
|
import "../../../chunks/chunk-BE7OXZRK.js";
|
|
37
|
+
import {
|
|
38
|
+
remove_dir_exports
|
|
39
|
+
} from "../../../chunks/chunk-CA3UPHYO.js";
|
|
40
|
+
import "../../../chunks/chunk-QLDN574K.js";
|
|
41
|
+
import "../../../chunks/chunk-4XSDRT23.js";
|
|
42
|
+
import "../../../chunks/chunk-5ZJ3KJPK.js";
|
|
43
|
+
import "../../../chunks/chunk-BSUQNHAM.js";
|
|
44
|
+
import {
|
|
45
|
+
remove_file_exports
|
|
46
|
+
} from "../../../chunks/chunk-Y4THX4AN.js";
|
|
47
|
+
import "../../../chunks/chunk-7J7CYOXU.js";
|
|
48
|
+
import "../../../chunks/chunk-WV5N7ESL.js";
|
|
49
|
+
import "../../../chunks/chunk-ANPXBD2G.js";
|
|
50
|
+
import "../../../chunks/chunk-KJAEVOIW.js";
|
|
72
51
|
import {
|
|
73
52
|
move_file_exports
|
|
74
53
|
} from "../../../chunks/chunk-646R6BQZ.js";
|
|
@@ -76,6 +55,27 @@ import "../../../chunks/chunk-6IYUA43Q.js";
|
|
|
76
55
|
import "../../../chunks/chunk-QWZ4ZNFA.js";
|
|
77
56
|
import "../../../chunks/chunk-FE4DECBU.js";
|
|
78
57
|
import "../../../chunks/chunk-HRNDUTZE.js";
|
|
58
|
+
import {
|
|
59
|
+
stat_file_exports
|
|
60
|
+
} from "../../../chunks/chunk-UK4HNSEJ.js";
|
|
61
|
+
import "../../../chunks/chunk-W3RXHN5I.js";
|
|
62
|
+
import "../../../chunks/chunk-VROZGPC5.js";
|
|
63
|
+
import "../../../chunks/chunk-TGVYEQIA.js";
|
|
64
|
+
import "../../../chunks/chunk-CNYSX2L2.js";
|
|
65
|
+
import {
|
|
66
|
+
copy_dir_exports
|
|
67
|
+
} from "../../../chunks/chunk-6NLNUGBI.js";
|
|
68
|
+
import "../../../chunks/chunk-V3L55I2S.js";
|
|
69
|
+
import "../../../chunks/chunk-4XBUJAQU.js";
|
|
70
|
+
import "../../../chunks/chunk-WAHPAZQS.js";
|
|
71
|
+
import "../../../chunks/chunk-N2T672IG.js";
|
|
72
|
+
import {
|
|
73
|
+
copy_file_exports
|
|
74
|
+
} from "../../../chunks/chunk-OA7Y2A5T.js";
|
|
75
|
+
import "../../../chunks/chunk-CWZFRUBS.js";
|
|
76
|
+
import "../../../chunks/chunk-C6QTHDDM.js";
|
|
77
|
+
import "../../../chunks/chunk-QH64MYGA.js";
|
|
78
|
+
import "../../../chunks/chunk-NMYVJJXV.js";
|
|
79
79
|
import "../../../chunks/chunk-V3GX7SIJ.js";
|
|
80
80
|
import "../../../chunks/chunk-JMU5PDBD.js";
|
|
81
81
|
import "../../../chunks/chunk-FENXVJYO.js";
|
package/node/encryption/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
key_exports
|
|
3
|
-
} from "../../chunks/chunk-HKTNK262.js";
|
|
4
1
|
import {
|
|
5
2
|
aes_256_gcm_exports
|
|
6
3
|
} from "../../chunks/chunk-BGSJ5XCH.js";
|
|
7
4
|
import "../../chunks/chunk-JTJA7DGW.js";
|
|
8
5
|
import "../../chunks/chunk-REZC75LB.js";
|
|
6
|
+
import {
|
|
7
|
+
key_exports
|
|
8
|
+
} from "../../chunks/chunk-HKTNK262.js";
|
|
9
9
|
import "../../chunks/chunk-JMU5PDBD.js";
|
|
10
10
|
import "../../chunks/chunk-FENXVJYO.js";
|
|
11
11
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
package/node/files/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isInDirectory
|
|
3
|
-
} from "../../chunks/chunk-NRITRUZW.js";
|
|
4
1
|
import {
|
|
5
2
|
readWrite
|
|
6
3
|
} from "../../chunks/chunk-7DBNMU6N.js";
|
|
7
4
|
import {
|
|
8
5
|
Subpaths
|
|
9
6
|
} from "../../chunks/chunk-F3WCF6DL.js";
|
|
7
|
+
import {
|
|
8
|
+
isInDirectory
|
|
9
|
+
} from "../../chunks/chunk-NRITRUZW.js";
|
|
10
10
|
import "../../chunks/chunk-R3AWQXMY.js";
|
|
11
11
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
|
12
12
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "../../../chunks/chunk-
|
|
2
|
-
import {
|
|
3
|
-
remove_dir_exports
|
|
4
|
-
} from "../../../chunks/chunk-BSUQNHAM.js";
|
|
5
|
-
import {
|
|
6
|
-
copy_dir_exports
|
|
7
|
-
} from "../../../chunks/chunk-N2T672IG.js";
|
|
1
|
+
import "../../../chunks/chunk-CNMP2GU4.js";
|
|
8
2
|
import {
|
|
9
3
|
list_exports
|
|
10
4
|
} from "../../../chunks/chunk-3CLGBOHN.js";
|
|
11
5
|
import {
|
|
12
6
|
move_dir_exports
|
|
13
7
|
} from "../../../chunks/chunk-BE7OXZRK.js";
|
|
8
|
+
import {
|
|
9
|
+
remove_dir_exports
|
|
10
|
+
} from "../../../chunks/chunk-BSUQNHAM.js";
|
|
11
|
+
import {
|
|
12
|
+
copy_dir_exports
|
|
13
|
+
} from "../../../chunks/chunk-N2T672IG.js";
|
|
14
14
|
import "../../../chunks/chunk-JMU5PDBD.js";
|
|
15
15
|
import "../../../chunks/chunk-FENXVJYO.js";
|
|
16
16
|
import "../../../chunks/chunk-WSFCRVEQ.js";
|
package/node/ftps/file/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import "../../../chunks/chunk-
|
|
2
|
-
import {
|
|
3
|
-
remove_exports
|
|
4
|
-
} from "../../../chunks/chunk-KJAEVOIW.js";
|
|
5
|
-
import {
|
|
6
|
-
stat_exports
|
|
7
|
-
} from "../../../chunks/chunk-CNYSX2L2.js";
|
|
1
|
+
import "../../../chunks/chunk-6QFELK4E.js";
|
|
8
2
|
import {
|
|
9
3
|
upload_exports
|
|
10
4
|
} from "../../../chunks/chunk-CVDCTI7F.js";
|
|
11
5
|
import {
|
|
12
6
|
download_exports
|
|
13
7
|
} from "../../../chunks/chunk-FF5NURFO.js";
|
|
14
|
-
import {
|
|
15
|
-
copy_exports
|
|
16
|
-
} from "../../../chunks/chunk-NMYVJJXV.js";
|
|
17
8
|
import {
|
|
18
9
|
exists_exports
|
|
19
10
|
} from "../../../chunks/chunk-ZJTWDCNZ.js";
|
|
11
|
+
import {
|
|
12
|
+
remove_exports
|
|
13
|
+
} from "../../../chunks/chunk-KJAEVOIW.js";
|
|
20
14
|
import {
|
|
21
15
|
move_exports
|
|
22
16
|
} from "../../../chunks/chunk-HRNDUTZE.js";
|
|
17
|
+
import {
|
|
18
|
+
stat_exports
|
|
19
|
+
} from "../../../chunks/chunk-CNYSX2L2.js";
|
|
20
|
+
import {
|
|
21
|
+
copy_exports
|
|
22
|
+
} from "../../../chunks/chunk-NMYVJJXV.js";
|
|
23
23
|
import "../../../chunks/chunk-JMU5PDBD.js";
|
|
24
24
|
import "../../../chunks/chunk-FENXVJYO.js";
|
|
25
25
|
import "../../../chunks/chunk-WSFCRVEQ.js";
|
package/node/ftps/index.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
file_exports
|
|
3
|
-
} from "../../chunks/chunk-JSW6R3ZH.js";
|
|
4
1
|
import {
|
|
5
2
|
directory_exports
|
|
6
|
-
} from "../../chunks/chunk-
|
|
7
|
-
import
|
|
8
|
-
|
|
3
|
+
} from "../../chunks/chunk-CNMP2GU4.js";
|
|
4
|
+
import {
|
|
5
|
+
file_exports
|
|
6
|
+
} from "../../chunks/chunk-6QFELK4E.js";
|
|
9
7
|
import "../../chunks/chunk-CVDCTI7F.js";
|
|
10
|
-
import "../../chunks/chunk-BSUQNHAM.js";
|
|
11
|
-
import "../../chunks/chunk-N2T672IG.js";
|
|
12
8
|
import "../../chunks/chunk-FF5NURFO.js";
|
|
13
|
-
import "../../chunks/chunk-NMYVJJXV.js";
|
|
14
9
|
import "../../chunks/chunk-ZJTWDCNZ.js";
|
|
15
10
|
import "../../chunks/chunk-3CLGBOHN.js";
|
|
16
11
|
import "../../chunks/chunk-BE7OXZRK.js";
|
|
12
|
+
import "../../chunks/chunk-BSUQNHAM.js";
|
|
13
|
+
import "../../chunks/chunk-KJAEVOIW.js";
|
|
17
14
|
import "../../chunks/chunk-HRNDUTZE.js";
|
|
15
|
+
import "../../chunks/chunk-CNYSX2L2.js";
|
|
16
|
+
import "../../chunks/chunk-N2T672IG.js";
|
|
17
|
+
import "../../chunks/chunk-NMYVJJXV.js";
|
|
18
18
|
import "../../chunks/chunk-JMU5PDBD.js";
|
|
19
19
|
import "../../chunks/chunk-FENXVJYO.js";
|
|
20
20
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
create
|
|
3
|
+
} from "../../../chunks/chunk-2EHYEUX4.js";
|
|
4
|
+
import "../../../chunks/chunk-BKIF2ELV.js";
|
|
5
|
+
import "../../../chunks/chunk-ALMK24GK.js";
|
|
6
|
+
import "../../../chunks/chunk-65NTXENV.js";
|
|
7
|
+
import "../../../chunks/chunk-D7SXHHU3.js";
|
|
8
|
+
import "../../../chunks/chunk-GUBFCOBT.js";
|
|
9
|
+
import "../../../chunks/chunk-XAYMIITK.js";
|
|
10
|
+
import "../../../chunks/chunk-QW34TQCS.js";
|
|
11
|
+
import "../../../chunks/chunk-ZJ63OCMA.js";
|
|
12
|
+
import "../../../chunks/chunk-MN4FVOU2.js";
|
|
13
|
+
import "../../../chunks/chunk-VA67YLZL.js";
|
|
14
|
+
import "../../../chunks/chunk-P4YT4RBG.js";
|
|
15
|
+
import "../../../chunks/chunk-YZVZKBVJ.js";
|
|
16
|
+
import "../../../chunks/chunk-DNIOWD7K.js";
|
|
17
|
+
import "../../../chunks/chunk-OSAXBA7G.js";
|
|
18
|
+
import "../../../chunks/chunk-UG5EMKGN.js";
|
|
19
|
+
import "../../../chunks/chunk-HQLRJ7XW.js";
|
|
20
|
+
import "../../../chunks/chunk-WSFCRVEQ.js";
|
|
21
|
+
export {
|
|
22
|
+
create
|
|
23
|
+
};
|
|
@@ -1,39 +1,6 @@
|
|
|
1
1
|
import sharp from 'sharp';
|
|
2
2
|
import { Outcome } from '../../../agnostic/misc/outcome/index.js';
|
|
3
|
-
|
|
4
|
-
export type FormatCommonOptions = {
|
|
5
|
-
width?: number;
|
|
6
|
-
height?: number;
|
|
7
|
-
fit?: sharp.ResizeOptions['fit'];
|
|
8
|
-
position?: number | string;
|
|
9
|
-
background?: sharp.Color;
|
|
10
|
-
kernel?: keyof sharp.KernelEnum;
|
|
11
|
-
withoutEnlargement?: boolean;
|
|
12
|
-
withoutReduction?: boolean;
|
|
13
|
-
fastShrinkOnLoad?: boolean;
|
|
14
|
-
};
|
|
15
|
-
export type FormatJpgOptions = FormatCommonOptions & {
|
|
16
|
-
quality?: number;
|
|
17
|
-
};
|
|
18
|
-
export type FormatPngOptions = FormatCommonOptions & {
|
|
19
|
-
quality?: number;
|
|
20
|
-
compressionLevel?: sharp.PngOptions['compressionLevel'];
|
|
21
|
-
};
|
|
22
|
-
export type FormatWebpOptions = FormatCommonOptions & {
|
|
23
|
-
quality?: number;
|
|
24
|
-
};
|
|
25
|
-
export type FormatAvifOptions = FormatCommonOptions & {
|
|
26
|
-
quality?: number;
|
|
27
|
-
};
|
|
28
|
-
export type FormatTiffOptions = FormatCommonOptions & {
|
|
29
|
-
quality?: number;
|
|
30
|
-
compression?: sharp.TiffOptions['compression'];
|
|
31
|
-
};
|
|
32
|
-
export type FormatHeifOptions = FormatCommonOptions & {
|
|
33
|
-
quality?: number;
|
|
34
|
-
};
|
|
35
|
-
export type FormatKeepOptions = FormatCommonOptions;
|
|
36
|
-
export type FormatOptions = FormatJpgOptions | FormatPngOptions | FormatWebpOptions | FormatAvifOptions | FormatTiffOptions | FormatHeifOptions;
|
|
3
|
+
import type { FormatCommonOptions, FormatJpgOptions, FormatPngOptions, FormatWebpOptions, FormatAvifOptions, FormatTiffOptions, FormatHeifOptions, FormatOptions, ImageLike } from '../types.js';
|
|
37
4
|
export declare const isFormatCommonOptions: (options: unknown) => options is FormatCommonOptions;
|
|
38
5
|
export declare const isFormatJpgOptions: (options: unknown) => options is FormatJpgOptions;
|
|
39
6
|
export declare const isFormatPngOptions: (options: unknown) => options is FormatPngOptions;
|
|
@@ -41,21 +8,20 @@ export declare const isFormatWebpOptions: (options: unknown) => options is Forma
|
|
|
41
8
|
export declare const isFormatAvifOptions: (options: unknown) => options is FormatAvifOptions;
|
|
42
9
|
export declare const isFormatTiffOptions: (options: unknown) => options is FormatTiffOptions;
|
|
43
10
|
export declare const isFormatHeifOptions: (options: unknown) => options is FormatHeifOptions;
|
|
44
|
-
export declare const isFormatKeepOptions: (options: unknown) => options is FormatKeepOptions;
|
|
45
11
|
export declare const isFormatOptions: (options: unknown) => options is FormatOptions;
|
|
46
|
-
export declare
|
|
47
|
-
export declare
|
|
48
|
-
export declare
|
|
49
|
-
export declare
|
|
50
|
-
export declare
|
|
51
|
-
export declare
|
|
52
|
-
export declare
|
|
53
|
-
export declare function format(input:
|
|
54
|
-
export declare const toWidth: (input:
|
|
55
|
-
export declare const toHeight: (input:
|
|
56
|
-
export declare const toJpg: (input:
|
|
57
|
-
export declare const toPng: (input:
|
|
58
|
-
export declare const toWebp: (input:
|
|
59
|
-
export declare const toAvif: (input:
|
|
60
|
-
export declare const toTiff: (input:
|
|
61
|
-
export declare const toHeif: (input:
|
|
12
|
+
export declare const toSharpResizeOptions: (options: FormatCommonOptions) => sharp.ResizeOptions;
|
|
13
|
+
export declare const toSharpJpegOptions: (options: FormatJpgOptions) => sharp.JpegOptions;
|
|
14
|
+
export declare const toSharpPngOptions: (options: FormatPngOptions) => sharp.PngOptions;
|
|
15
|
+
export declare const toSharpWebpOptions: (options: FormatWebpOptions) => sharp.WebpOptions;
|
|
16
|
+
export declare const toSharpAvifOptions: (options: FormatAvifOptions) => sharp.AvifOptions;
|
|
17
|
+
export declare const toSharpTiffOptions: (options: FormatTiffOptions) => sharp.TiffOptions;
|
|
18
|
+
export declare const toSharpHeifOptions: (options: FormatHeifOptions) => sharp.HeifOptions;
|
|
19
|
+
export declare function format(input: ImageLike, options: FormatOptions): Promise<Outcome.Either<Buffer, string>>;
|
|
20
|
+
export declare const toWidth: (input: ImageLike, width: number) => Promise<Buffer>;
|
|
21
|
+
export declare const toHeight: (input: ImageLike, height: number) => Promise<Buffer>;
|
|
22
|
+
export declare const toJpg: (input: ImageLike, quality?: number) => Promise<Buffer>;
|
|
23
|
+
export declare const toPng: (input: ImageLike, quality?: number, compressionLevel?: FormatPngOptions["compressionLevel"]) => Promise<Buffer>;
|
|
24
|
+
export declare const toWebp: (input: ImageLike, quality?: number) => Promise<Buffer>;
|
|
25
|
+
export declare const toAvif: (input: ImageLike, quality?: number) => Promise<Buffer>;
|
|
26
|
+
export declare const toTiff: (input: ImageLike, quality?: number, compression?: FormatTiffOptions["compression"]) => Promise<Buffer>;
|
|
27
|
+
export declare const toHeif: (input: ImageLike, quality?: number) => Promise<Buffer>;
|
|
@@ -4,7 +4,6 @@ import {
|
|
|
4
4
|
isFormatCommonOptions,
|
|
5
5
|
isFormatHeifOptions,
|
|
6
6
|
isFormatJpgOptions,
|
|
7
|
-
isFormatKeepOptions,
|
|
8
7
|
isFormatOptions,
|
|
9
8
|
isFormatPngOptions,
|
|
10
9
|
isFormatTiffOptions,
|
|
@@ -14,14 +13,35 @@ import {
|
|
|
14
13
|
toHeight,
|
|
15
14
|
toJpg,
|
|
16
15
|
toPng,
|
|
16
|
+
toSharpAvifOptions,
|
|
17
|
+
toSharpHeifOptions,
|
|
18
|
+
toSharpJpegOptions,
|
|
19
|
+
toSharpPngOptions,
|
|
20
|
+
toSharpResizeOptions,
|
|
21
|
+
toSharpTiffOptions,
|
|
22
|
+
toSharpWebpOptions,
|
|
17
23
|
toTiff,
|
|
18
24
|
toWebp,
|
|
19
25
|
toWidth
|
|
20
|
-
} from "../../../chunks/chunk-
|
|
21
|
-
import "../../../chunks/chunk-MFYNJMVM.js";
|
|
26
|
+
} from "../../../chunks/chunk-IDXUS2IO.js";
|
|
22
27
|
import "../../../chunks/chunk-DZ2T5DTY.js";
|
|
28
|
+
import "../../../chunks/chunk-BKIF2ELV.js";
|
|
23
29
|
import "../../../chunks/chunk-JMU5PDBD.js";
|
|
30
|
+
import "../../../chunks/chunk-ALMK24GK.js";
|
|
31
|
+
import "../../../chunks/chunk-65NTXENV.js";
|
|
32
|
+
import "../../../chunks/chunk-D7SXHHU3.js";
|
|
33
|
+
import "../../../chunks/chunk-GUBFCOBT.js";
|
|
34
|
+
import "../../../chunks/chunk-XAYMIITK.js";
|
|
35
|
+
import "../../../chunks/chunk-QW34TQCS.js";
|
|
36
|
+
import "../../../chunks/chunk-ZJ63OCMA.js";
|
|
37
|
+
import "../../../chunks/chunk-MN4FVOU2.js";
|
|
38
|
+
import "../../../chunks/chunk-VA67YLZL.js";
|
|
39
|
+
import "../../../chunks/chunk-P4YT4RBG.js";
|
|
40
|
+
import "../../../chunks/chunk-YZVZKBVJ.js";
|
|
41
|
+
import "../../../chunks/chunk-DNIOWD7K.js";
|
|
24
42
|
import "../../../chunks/chunk-OSAXBA7G.js";
|
|
43
|
+
import "../../../chunks/chunk-UG5EMKGN.js";
|
|
44
|
+
import "../../../chunks/chunk-HQLRJ7XW.js";
|
|
25
45
|
import "../../../chunks/chunk-WSFCRVEQ.js";
|
|
26
46
|
export {
|
|
27
47
|
format,
|
|
@@ -29,7 +49,6 @@ export {
|
|
|
29
49
|
isFormatCommonOptions,
|
|
30
50
|
isFormatHeifOptions,
|
|
31
51
|
isFormatJpgOptions,
|
|
32
|
-
isFormatKeepOptions,
|
|
33
52
|
isFormatOptions,
|
|
34
53
|
isFormatPngOptions,
|
|
35
54
|
isFormatTiffOptions,
|
|
@@ -39,6 +58,13 @@ export {
|
|
|
39
58
|
toHeight,
|
|
40
59
|
toJpg,
|
|
41
60
|
toPng,
|
|
61
|
+
toSharpAvifOptions,
|
|
62
|
+
toSharpHeifOptions,
|
|
63
|
+
toSharpJpegOptions,
|
|
64
|
+
toSharpPngOptions,
|
|
65
|
+
toSharpResizeOptions,
|
|
66
|
+
toSharpTiffOptions,
|
|
67
|
+
toSharpWebpOptions,
|
|
42
68
|
toTiff,
|
|
43
69
|
toWebp,
|
|
44
70
|
toWidth
|
package/node/images/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as Create from './create/index.js';
|
|
2
|
+
import * as Metadata from './metadata/index.js';
|
|
2
3
|
import * as Format from './format/index.js';
|
|
3
4
|
import * as Transform from './transform/index.js';
|
|
4
|
-
|
|
5
|
+
import * as Types from './types.js';
|
|
6
|
+
export { Create, Metadata, Format, Transform, Types };
|
package/node/images/index.js
CHANGED
|
@@ -1,35 +1,55 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../../chunks/chunk-
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import
|
|
2
|
+
create_exports
|
|
3
|
+
} from "../../chunks/chunk-2EHYEUX4.js";
|
|
4
|
+
import {
|
|
5
|
+
metadata_exports
|
|
6
|
+
} from "../../chunks/chunk-5LK2YLTK.js";
|
|
7
|
+
import {
|
|
8
|
+
format_exports
|
|
9
|
+
} from "../../chunks/chunk-IDXUS2IO.js";
|
|
10
|
+
import {
|
|
11
|
+
transform_exports,
|
|
12
|
+
types_exports
|
|
13
|
+
} from "../../chunks/chunk-VKNQ7MVZ.js";
|
|
8
14
|
import "../../chunks/chunk-2HJPX7E3.js";
|
|
9
|
-
import "../../chunks/chunk-3G6FOHII.js";
|
|
10
|
-
import "../../chunks/chunk-EDJ3TVNV.js";
|
|
11
|
-
import "../../chunks/chunk-AI6AGF4I.js";
|
|
12
15
|
import "../../chunks/chunk-RHKFMXM3.js";
|
|
16
|
+
import "../../chunks/chunk-3G6FOHII.js";
|
|
17
|
+
import "../../chunks/chunk-KDOMQ4LM.js";
|
|
18
|
+
import "../../chunks/chunk-S7637BQZ.js";
|
|
19
|
+
import "../../chunks/chunk-QTA7ZEVX.js";
|
|
20
|
+
import "../../chunks/chunk-JHUOMGOX.js";
|
|
13
21
|
import "../../chunks/chunk-P26Y7YUA.js";
|
|
14
22
|
import "../../chunks/chunk-SRXNICSE.js";
|
|
15
|
-
import "../../chunks/chunk-
|
|
16
|
-
import "../../chunks/chunk-
|
|
17
|
-
import "../../chunks/chunk-
|
|
23
|
+
import "../../chunks/chunk-RBCZWVQH.js";
|
|
24
|
+
import "../../chunks/chunk-O7VFJHQX.js";
|
|
25
|
+
import "../../chunks/chunk-QSU3CVGF.js";
|
|
26
|
+
import "../../chunks/chunk-WNDMYNDU.js";
|
|
27
|
+
import "../../chunks/chunk-YA2YCZUF.js";
|
|
18
28
|
import "../../chunks/chunk-HFZGH6V2.js";
|
|
19
|
-
import {
|
|
20
|
-
get_metadata_exports
|
|
21
|
-
} from "../../chunks/chunk-NYVARFI7.js";
|
|
22
|
-
import {
|
|
23
|
-
format_exports
|
|
24
|
-
} from "../../chunks/chunk-7EDDWSWS.js";
|
|
25
|
-
import "../../chunks/chunk-MFYNJMVM.js";
|
|
26
29
|
import "../../chunks/chunk-DZ2T5DTY.js";
|
|
30
|
+
import "../../chunks/chunk-BKIF2ELV.js";
|
|
27
31
|
import "../../chunks/chunk-JMU5PDBD.js";
|
|
32
|
+
import "../../chunks/chunk-ALMK24GK.js";
|
|
33
|
+
import "../../chunks/chunk-65NTXENV.js";
|
|
34
|
+
import "../../chunks/chunk-D7SXHHU3.js";
|
|
35
|
+
import "../../chunks/chunk-GUBFCOBT.js";
|
|
36
|
+
import "../../chunks/chunk-XAYMIITK.js";
|
|
37
|
+
import "../../chunks/chunk-QW34TQCS.js";
|
|
38
|
+
import "../../chunks/chunk-ZJ63OCMA.js";
|
|
39
|
+
import "../../chunks/chunk-MN4FVOU2.js";
|
|
40
|
+
import "../../chunks/chunk-VA67YLZL.js";
|
|
41
|
+
import "../../chunks/chunk-P4YT4RBG.js";
|
|
42
|
+
import "../../chunks/chunk-YZVZKBVJ.js";
|
|
43
|
+
import "../../chunks/chunk-DNIOWD7K.js";
|
|
28
44
|
import "../../chunks/chunk-OSAXBA7G.js";
|
|
45
|
+
import "../../chunks/chunk-UG5EMKGN.js";
|
|
46
|
+
import "../../chunks/chunk-HQLRJ7XW.js";
|
|
29
47
|
import "../../chunks/chunk-FENXVJYO.js";
|
|
30
48
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
|
31
49
|
export {
|
|
50
|
+
create_exports as Create,
|
|
32
51
|
format_exports as Format,
|
|
33
|
-
|
|
34
|
-
transform_exports as Transform
|
|
52
|
+
metadata_exports as Metadata,
|
|
53
|
+
transform_exports as Transform,
|
|
54
|
+
types_exports as Types
|
|
35
55
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
metadata
|
|
3
|
+
} from "../../../chunks/chunk-5LK2YLTK.js";
|
|
4
|
+
import "../../../chunks/chunk-BKIF2ELV.js";
|
|
5
|
+
import "../../../chunks/chunk-ALMK24GK.js";
|
|
6
|
+
import "../../../chunks/chunk-65NTXENV.js";
|
|
7
|
+
import "../../../chunks/chunk-D7SXHHU3.js";
|
|
8
|
+
import "../../../chunks/chunk-GUBFCOBT.js";
|
|
9
|
+
import "../../../chunks/chunk-XAYMIITK.js";
|
|
10
|
+
import "../../../chunks/chunk-QW34TQCS.js";
|
|
11
|
+
import "../../../chunks/chunk-ZJ63OCMA.js";
|
|
12
|
+
import "../../../chunks/chunk-MN4FVOU2.js";
|
|
13
|
+
import "../../../chunks/chunk-VA67YLZL.js";
|
|
14
|
+
import "../../../chunks/chunk-P4YT4RBG.js";
|
|
15
|
+
import "../../../chunks/chunk-YZVZKBVJ.js";
|
|
16
|
+
import "../../../chunks/chunk-DNIOWD7K.js";
|
|
17
|
+
import "../../../chunks/chunk-OSAXBA7G.js";
|
|
18
|
+
import "../../../chunks/chunk-UG5EMKGN.js";
|
|
19
|
+
import "../../../chunks/chunk-HQLRJ7XW.js";
|
|
20
|
+
import "../../../chunks/chunk-WSFCRVEQ.js";
|
|
21
|
+
export {
|
|
22
|
+
metadata
|
|
23
|
+
};
|
|
@@ -1,100 +1,5 @@
|
|
|
1
1
|
import sharp from 'sharp';
|
|
2
2
|
import { Outcome } from '../../../agnostic/misc/outcome/index.js';
|
|
3
|
-
import {
|
|
4
|
-
import { BrightenOperationParams } from './operations/brighten/index.js';
|
|
5
|
-
import { ExtendOperationParams } from './operations/extend/index.js';
|
|
6
|
-
import { ExtractOperationParams } from './operations/extract/index.js';
|
|
7
|
-
import { FlattenOperationParams } from './operations/flatten/index.js';
|
|
8
|
-
import { HueOperationParams } from './operations/hue/index.js';
|
|
9
|
-
import { LevelOperationParams } from './operations/level/index.js';
|
|
10
|
-
import { LightenOperationParams } from './operations/lighten/index.js';
|
|
11
|
-
import { NormalizeOperationParams } from './operations/normalize/index.js';
|
|
12
|
-
import { ResizeOperationParams } from './operations/resize/index.js';
|
|
13
|
-
import { RotateOperationParams } from './operations/rotate/index.js';
|
|
14
|
-
import { SaturateOperationParams } from './operations/saturate/index.js';
|
|
15
|
-
import { CompositeOperationParams } from './operations/composite/index.js';
|
|
16
|
-
export declare enum OpName {
|
|
17
|
-
BLUR = "blur",
|
|
18
|
-
BRIGHTEN = "brighten",
|
|
19
|
-
COMPOSITE = "composite",
|
|
20
|
-
EXTEND = "extend",
|
|
21
|
-
EXTRACT = "extract",
|
|
22
|
-
FLATTEN = "flatten",
|
|
23
|
-
FLIP = "flip",
|
|
24
|
-
FLOP = "flop",
|
|
25
|
-
HUE = "hue",
|
|
26
|
-
LEVEL = "level",
|
|
27
|
-
LIGHTEN = "lighten",
|
|
28
|
-
NORMALIZE = "normalize",
|
|
29
|
-
RESIZE = "resize",
|
|
30
|
-
ROTATE = "rotate",
|
|
31
|
-
SATURATE = "saturate"
|
|
32
|
-
}
|
|
33
|
-
export type BlurOperationDescriptor = {
|
|
34
|
-
name: OpName.BLUR;
|
|
35
|
-
} & BlurOperationParams;
|
|
36
|
-
export type BrightenOperationDescriptor = {
|
|
37
|
-
name: OpName.BRIGHTEN;
|
|
38
|
-
} & BrightenOperationParams;
|
|
39
|
-
export type ExtendOperationDescriptor = {
|
|
40
|
-
name: OpName.EXTEND;
|
|
41
|
-
} & ExtendOperationParams;
|
|
42
|
-
export type ExtractOperationDescriptor = {
|
|
43
|
-
name: OpName.EXTRACT;
|
|
44
|
-
} & ExtractOperationParams;
|
|
45
|
-
export type FlattenOperationDescriptor = {
|
|
46
|
-
name: OpName.FLATTEN;
|
|
47
|
-
} & FlattenOperationParams;
|
|
48
|
-
export type FlipOperationDescriptor = {
|
|
49
|
-
name: OpName.FLIP;
|
|
50
|
-
};
|
|
51
|
-
export type FlopOperationDescriptor = {
|
|
52
|
-
name: OpName.FLOP;
|
|
53
|
-
};
|
|
54
|
-
export type HueOperationDescriptor = {
|
|
55
|
-
name: OpName.HUE;
|
|
56
|
-
} & HueOperationParams;
|
|
57
|
-
export type LevelOperationDescriptor = {
|
|
58
|
-
name: OpName.LEVEL;
|
|
59
|
-
} & LevelOperationParams;
|
|
60
|
-
export type LightenOperationDescriptor = {
|
|
61
|
-
name: OpName.LIGHTEN;
|
|
62
|
-
} & LightenOperationParams;
|
|
63
|
-
export type NormalizeOperationDescriptor = {
|
|
64
|
-
name: OpName.NORMALIZE;
|
|
65
|
-
} & NormalizeOperationParams;
|
|
66
|
-
export type ResizeOperationDescriptor = {
|
|
67
|
-
name: OpName.RESIZE;
|
|
68
|
-
} & ResizeOperationParams;
|
|
69
|
-
export type RotateOperationDescriptor = {
|
|
70
|
-
name: OpName.ROTATE;
|
|
71
|
-
} & RotateOperationParams;
|
|
72
|
-
export type SaturateOperationDescriptor = {
|
|
73
|
-
name: OpName.SATURATE;
|
|
74
|
-
} & SaturateOperationParams;
|
|
75
|
-
export type CompositeOperationDescriptor = {
|
|
76
|
-
name: OpName.COMPOSITE;
|
|
77
|
-
} & CompositeOperationParams;
|
|
78
|
-
export type OperationDescriptor = BlurOperationDescriptor | BrightenOperationDescriptor | CompositeOperationDescriptor | ExtendOperationDescriptor | ExtractOperationDescriptor | FlattenOperationDescriptor | FlipOperationDescriptor | FlopOperationDescriptor | HueOperationDescriptor | LevelOperationDescriptor | LightenOperationDescriptor | NormalizeOperationDescriptor | ResizeOperationDescriptor | RotateOperationDescriptor | SaturateOperationDescriptor;
|
|
3
|
+
import { OperationDescriptor, TransformLimits, TransformErr, ImageLike } from '../types.js';
|
|
79
4
|
export declare function isOperationDescriptor(obj: unknown): Outcome.Either<OperationDescriptor, string>;
|
|
80
|
-
export
|
|
81
|
-
timeoutMs?: number;
|
|
82
|
-
opTimeoutMs?: number;
|
|
83
|
-
width?: number;
|
|
84
|
-
height?: number;
|
|
85
|
-
};
|
|
86
|
-
export declare enum TransformErrCodes {
|
|
87
|
-
PROCESS_TIMEOUT = "process-timeout",
|
|
88
|
-
OP_TIMEOUT = "op-timeout",
|
|
89
|
-
WIDTH_LIMIT_EXCEEDED = "width-limit-exceeded",
|
|
90
|
-
HEIGHT_LIMIT_EXCEEDED = "height-limit-exceeded",
|
|
91
|
-
UNKNOWN_ERROR = "unknown-error"
|
|
92
|
-
}
|
|
93
|
-
export type TransformErr = {
|
|
94
|
-
code: TransformErrCodes;
|
|
95
|
-
details: string;
|
|
96
|
-
};
|
|
97
|
-
export declare function transform(input: Buffer | {
|
|
98
|
-
create: sharp.SharpOptions['create'];
|
|
99
|
-
}, operationsSequence: OperationDescriptor[], limits?: TransformLimits): Promise<Outcome.Either<sharp.Sharp, TransformErr>>;
|
|
100
|
-
export declare function transform(input: sharp.Sharp, operationsSequence: OperationDescriptor[], limits?: TransformLimits): Promise<Outcome.Either<sharp.Sharp, TransformErr>>;
|
|
5
|
+
export declare function transform(input: ImageLike, operationsSequence: OperationDescriptor[], limits?: TransformLimits): Promise<Outcome.Either<sharp.Sharp, TransformErr>>;
|