@design-edito/tools 0.2.9 → 0.2.10
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 +4 -4
- package/agnostic/colors/index.js +11 -11
- package/agnostic/colors/lighten-color/index.js +2 -2
- package/agnostic/colors/saturate-color/index.js +2 -2
- package/agnostic/css/index.js +15 -15
- package/agnostic/css/styles-set/index.js +4 -4
- package/agnostic/html/hyper-json/cast/index.js +5 -5
- package/agnostic/html/hyper-json/index.js +6 -6
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +5 -5
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +5 -5
- package/agnostic/html/hyper-json/tree/index.js +5 -5
- package/agnostic/html/hyper-json/utils/index.js +5 -5
- package/agnostic/html/index.js +12 -12
- package/agnostic/html/sanitize/index.js +4 -4
- package/agnostic/html/selector-to-element/index.js +4 -4
- package/agnostic/html/string-to-nodes/index.js +5 -5
- package/agnostic/misc/crossenv/index.js +2 -2
- package/agnostic/misc/index.js +25 -25
- package/agnostic/misc/logs/index.js +2 -2
- package/agnostic/misc/lorem-ipsum/index.js +11 -11
- package/agnostic/numbers/index.js +3 -3
- package/agnostic/objects/index.js +15 -15
- package/agnostic/strings/index.js +6 -6
- package/agnostic/time/index.js +7 -7
- package/chunks/{chunk-4EFX53Y4.js → chunk-2FU4AFJC.js} +4 -4
- package/chunks/{chunk-ZBBU2P4D.js → chunk-36CTYZYA.js} +2 -2
- package/chunks/{chunk-NJXJS4Z3.js → chunk-3DNRZL2Y.js} +27 -27
- package/chunks/{chunk-YEMEM2M6.js → chunk-5VVXD7WD.js} +1 -1
- package/chunks/{chunk-E3FAI65H.js → chunk-A3HS4NC5.js} +1 -1
- package/chunks/{chunk-R765J7H2.js → chunk-AEVASEI3.js} +17 -8
- package/chunks/{chunk-AQBJ6HNB.js → chunk-B446JIN3.js} +1 -1
- package/chunks/{chunk-JCJE64PI.js → chunk-BOLCAFPD.js} +15 -15
- package/chunks/{chunk-TIER4TF4.js → chunk-CHUOCTRP.js} +1 -1
- package/chunks/{chunk-XB3EGDBI.js → chunk-JWF5EKM2.js} +1 -1
- package/chunks/{chunk-3R4UGNIZ.js → chunk-OPO5EIC5.js} +2 -2
- package/chunks/{chunk-TVX5OGBE.js → chunk-PKCI2QUK.js} +21 -21
- package/chunks/{chunk-SKBOSWM2.js → chunk-SA2IY5LN.js} +1 -1
- package/chunks/{chunk-EKCFMMEG.js → chunk-TCEI2QON.js} +3 -3
- package/chunks/{chunk-DL5G2SYX.js → chunk-X7CBN5DW.js} +5 -4
- package/chunks/{chunk-7GIJUKYP.js → chunk-XRUSQWPJ.js} +1 -1
- package/node/@aws-s3/index.js +10 -10
- package/node/@aws-s3/storage/directory/index.js +6 -6
- package/node/@aws-s3/storage/file/index.js +11 -11
- package/node/@aws-s3/storage/index.js +10 -10
- package/node/@google-cloud/index.js +14 -14
- package/node/@google-cloud/storage/bucket/index.js +5 -5
- package/node/@google-cloud/storage/directory/index.js +6 -6
- package/node/@google-cloud/storage/file/index.js +16 -16
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
- package/node/@google-cloud/storage/index.js +14 -14
- package/node/cloud-storage/index.js +48 -48
- package/node/cloud-storage/operations/copy-dir/index.js +3 -3
- package/node/cloud-storage/operations/copy-file/index.js +3 -3
- package/node/cloud-storage/operations/download-file/index.js +3 -3
- package/node/cloud-storage/operations/exists-file/index.js +3 -3
- package/node/cloud-storage/operations/index.js +59 -59
- package/node/cloud-storage/operations/list-dir/index.js +3 -3
- package/node/cloud-storage/operations/move-dir/index.js +3 -3
- package/node/cloud-storage/operations/move-file/index.js +3 -3
- package/node/cloud-storage/operations/remove-dir/index.js +3 -3
- package/node/cloud-storage/operations/remove-file/index.js +3 -3
- package/node/cloud-storage/operations/stat-file/index.js +3 -3
- package/node/cloud-storage/operations/upload-file/index.js +3 -3
- package/node/ftps/directory/index.js +4 -4
- package/node/ftps/file/index.js +9 -9
- package/node/ftps/index.js +9 -9
- package/node/images/format/index.d.ts +7 -0
- package/node/images/format/index.js +2 -1
- package/node/images/index.js +16 -16
- package/node/images/transform/index.js +10 -10
- package/node/images/transform/operations/resize/index.js +1 -1
- package/node/sftp/directory/index.js +6 -6
- package/node/sftp/file/index.js +11 -11
- package/node/sftp/index.js +9 -9
- package/package.json +1 -1
- package/chunks/{chunk-FS6LRTDK.js → chunk-2QLB7ASR.js} +6 -6
- package/chunks/{chunk-U57Q62IN.js → chunk-3LAWRHHB.js} +3 -3
- package/chunks/{chunk-646R6BQZ.js → chunk-5YLJSNZ4.js} +6 -6
- package/chunks/{chunk-NOLQR5RW.js → chunk-7Q7XB5CE.js} +6 -6
- package/chunks/{chunk-TTUXV3E4.js → chunk-7QDRXZ63.js} +5 -5
- package/chunks/{chunk-G5EOKWND.js → chunk-7YL4SAL6.js} +8 -8
- package/chunks/{chunk-OA7Y2A5T.js → chunk-EWZTFIXN.js} +6 -6
- package/chunks/{chunk-XDL6OTUF.js → chunk-FF6KJRP3.js} +11 -11
- package/chunks/{chunk-UK4HNSEJ.js → chunk-FOPXXKZV.js} +6 -6
- package/chunks/{chunk-TMBFHWXH.js → chunk-GLX5UWM7.js} +10 -10
- package/chunks/{chunk-CA3UPHYO.js → chunk-IMXUQH4R.js} +6 -6
- package/chunks/{chunk-Z5A4JQLE.js → chunk-IYLGVLS7.js} +5 -5
- package/chunks/{chunk-EVI7ALZX.js → chunk-LS2PJ4OH.js} +10 -10
- package/chunks/{chunk-MB7HWF22.js → chunk-PXRLKO5Y.js} +3 -3
- package/chunks/{chunk-S4VO4PFZ.js → chunk-Q2SKOY7I.js} +3 -3
- package/chunks/{chunk-BD56ZAYF.js → chunk-QJMBTRGK.js} +4 -4
- package/chunks/{chunk-V7FSFUGL.js → chunk-QTF7LWGT.js} +3 -3
- package/chunks/{chunk-24ZUWYIR.js → chunk-TWSISQ2J.js} +6 -6
- package/chunks/{chunk-DPQRXSZH.js → chunk-UDFYYP4H.js} +6 -6
- package/chunks/{chunk-FR5H2OCV.js → chunk-UFKH5WD2.js} +3 -3
- package/chunks/{chunk-EOTOFHUR.js → chunk-UTIW4X7X.js} +6 -6
- package/chunks/{chunk-H4LW6FP3.js → chunk-V2N4BV7K.js} +6 -6
- package/chunks/{chunk-6NLNUGBI.js → chunk-WFYRTSLS.js} +6 -6
- package/chunks/{chunk-MJQF3YZO.js → chunk-X7KWB2VQ.js} +3 -3
- package/chunks/{chunk-QABNSMZN.js → chunk-YCGMNTMI.js} +5 -5
@@ -1,53 +1,53 @@
|
|
1
1
|
import {
|
2
|
-
|
3
|
-
|
4
|
-
} from "./chunk-
|
2
|
+
isLevelOperationParams,
|
3
|
+
level
|
4
|
+
} from "./chunk-IFH5LQHA.js";
|
5
5
|
import {
|
6
|
-
|
7
|
-
|
8
|
-
} from "./chunk-
|
6
|
+
isLightenOperationParams,
|
7
|
+
lighten
|
8
|
+
} from "./chunk-LIV7TJ46.js";
|
9
9
|
import {
|
10
|
-
|
11
|
-
|
12
|
-
} from "./chunk-CLZY2DXU.js";
|
10
|
+
flop
|
11
|
+
} from "./chunk-YA2YCZUF.js";
|
13
12
|
import {
|
14
13
|
hue,
|
15
14
|
isHueOperationParams
|
16
15
|
} from "./chunk-DJJBT23A.js";
|
17
16
|
import {
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
flip
|
22
|
-
} from "./chunk-WNDMYNDU.js";
|
17
|
+
isNormalizeOperationParams,
|
18
|
+
normalize
|
19
|
+
} from "./chunk-BHEWHO2M.js";
|
23
20
|
import {
|
24
|
-
|
25
|
-
|
26
|
-
} from "./chunk-
|
21
|
+
isResizeOperationParams,
|
22
|
+
resize
|
23
|
+
} from "./chunk-X7CBN5DW.js";
|
27
24
|
import {
|
28
|
-
|
29
|
-
|
30
|
-
} from "./chunk-
|
25
|
+
isSaturateOperationParams,
|
26
|
+
saturate
|
27
|
+
} from "./chunk-DOASQI7Y.js";
|
31
28
|
import {
|
32
29
|
isRotateOperationParams,
|
33
30
|
rotate
|
34
31
|
} from "./chunk-5OZAL6GW.js";
|
35
32
|
import {
|
36
|
-
|
37
|
-
|
38
|
-
} from "./chunk-
|
33
|
+
blur,
|
34
|
+
isBlurOperationParams
|
35
|
+
} from "./chunk-5D472NLE.js";
|
39
36
|
import {
|
40
37
|
brighten,
|
41
38
|
isBrightenOperationParams
|
42
39
|
} from "./chunk-GZDDL6RB.js";
|
43
|
-
import {
|
44
|
-
blur,
|
45
|
-
isBlurOperationParams
|
46
|
-
} from "./chunk-5D472NLE.js";
|
47
40
|
import {
|
48
41
|
extend,
|
49
42
|
isExtendOperationParams
|
50
43
|
} from "./chunk-5EY3BYMT.js";
|
44
|
+
import {
|
45
|
+
flatten,
|
46
|
+
isFlattenOperationParams
|
47
|
+
} from "./chunk-CLZY2DXU.js";
|
48
|
+
import {
|
49
|
+
flip
|
50
|
+
} from "./chunk-WNDMYNDU.js";
|
51
51
|
import {
|
52
52
|
extract,
|
53
53
|
isExtractOperationParams
|
@@ -1,3 +1,6 @@
|
|
1
|
+
import {
|
2
|
+
isSharpColor
|
3
|
+
} from "./chunk-4UV3XIGE.js";
|
1
4
|
import {
|
2
5
|
zod_default
|
3
6
|
} from "./chunk-OT4SVHDX.js";
|
@@ -37,12 +40,18 @@ import sharp from "sharp";
|
|
37
40
|
var formatCommonOptionsSchema = zod_default.object({
|
38
41
|
width: zod_default.number().optional(),
|
39
42
|
height: zod_default.number().optional(),
|
40
|
-
fit: zod_default.enum(["contain", "cover", "fill", "inside", "outside"]).optional()
|
43
|
+
fit: zod_default.enum(["contain", "cover", "fill", "inside", "outside"]).optional(),
|
44
|
+
position: zod_default.union([zod_default.number(), zod_default.string()]).optional(),
|
45
|
+
background: zod_default.custom((val) => isSharpColor(val)).optional(),
|
46
|
+
kernel: zod_default.enum(["nearest", "cubic", "mitchell", "lanczos2", "lanczos3"]).optional(),
|
47
|
+
withoutEnlargement: zod_default.boolean().optional(),
|
48
|
+
withoutReduction: zod_default.boolean().optional(),
|
49
|
+
fastShrinkOnLoad: zod_default.boolean().optional()
|
41
50
|
});
|
42
51
|
var formatJpgOptionsSchema = formatCommonOptionsSchema.extend({ quality: zod_default.number().optional() });
|
43
52
|
var formatPngOptionsSchema = formatCommonOptionsSchema.extend({
|
44
53
|
quality: zod_default.number().optional(),
|
45
|
-
compressionLevel: zod_default.number().optional()
|
54
|
+
compressionLevel: zod_default.number().min(0).max(9).optional()
|
46
55
|
});
|
47
56
|
var formatWebpOptionsSchema = formatCommonOptionsSchema.extend({ quality: zod_default.number().optional() });
|
48
57
|
var formatAvifOptionsSchema = formatCommonOptionsSchema.extend({ quality: zod_default.number().optional() });
|
@@ -74,12 +83,12 @@ async function format(input, typeOrOptions, options) {
|
|
74
83
|
const sharpInstance = sharp(input);
|
75
84
|
if (typeof typeOrOptions !== "string") return Outcome.makeSuccess(await sharpInstance.resize(typeOrOptions).toBuffer());
|
76
85
|
const type = typeOrOptions;
|
77
|
-
if (type === "jpg" || type === "jpeg") return Outcome.makeSuccess(await sharpInstance.jpeg(options).toBuffer());
|
78
|
-
if (type === "png") return Outcome.makeSuccess(await sharpInstance.png(options).toBuffer());
|
79
|
-
if (type === "webp") return Outcome.makeSuccess(await sharpInstance.webp(options).toBuffer());
|
80
|
-
if (type === "avif") return Outcome.makeSuccess(await sharpInstance.avif(options).toBuffer());
|
81
|
-
if (type === "tiff") return Outcome.makeSuccess(await sharpInstance.tiff(options).toBuffer());
|
82
|
-
if (type === "heif") return Outcome.makeSuccess(await sharpInstance.heif(options).toBuffer());
|
86
|
+
if (type === "jpg" || type === "jpeg") return Outcome.makeSuccess(await sharpInstance.resize(options).jpeg(options).toBuffer());
|
87
|
+
if (type === "png") return Outcome.makeSuccess(await sharpInstance.resize(options).png(options).toBuffer());
|
88
|
+
if (type === "webp") return Outcome.makeSuccess(await sharpInstance.resize(options).webp(options).toBuffer());
|
89
|
+
if (type === "avif") return Outcome.makeSuccess(await sharpInstance.resize(options).avif(options).toBuffer());
|
90
|
+
if (type === "tiff") return Outcome.makeSuccess(await sharpInstance.resize(options).tiff(options).toBuffer());
|
91
|
+
if (type === "heif") return Outcome.makeSuccess(await sharpInstance.resize(options).heif(options).toBuffer());
|
83
92
|
return Outcome.makeFailure(`Invalid image format: ${type}`);
|
84
93
|
}
|
85
94
|
var toWidth = async (input, width) => sharp(input).resize({ width }).toBuffer();
|
@@ -1,12 +1,6 @@
|
|
1
|
-
import {
|
2
|
-
get_permissions_exports
|
3
|
-
} from "./chunk-YKPA3MQL.js";
|
4
|
-
import {
|
5
|
-
get_metadata_exports
|
6
|
-
} from "./chunk-42K3MQQ5.js";
|
7
1
|
import {
|
8
2
|
revoke_signed_urls_exports
|
9
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-Q2SKOY7I.js";
|
10
4
|
import {
|
11
5
|
update_metadata_exports
|
12
6
|
} from "./chunk-HWVEI3RH.js";
|
@@ -14,11 +8,11 @@ import {
|
|
14
8
|
generate_signed_url_exports
|
15
9
|
} from "./chunk-PAIUCLVK.js";
|
16
10
|
import {
|
17
|
-
|
18
|
-
} from "./chunk-
|
11
|
+
get_metadata_exports
|
12
|
+
} from "./chunk-42K3MQQ5.js";
|
19
13
|
import {
|
20
|
-
|
21
|
-
} from "./chunk-
|
14
|
+
get_permissions_exports
|
15
|
+
} from "./chunk-YKPA3MQL.js";
|
22
16
|
import {
|
23
17
|
remove_exports
|
24
18
|
} from "./chunk-7J7CYOXU.js";
|
@@ -26,14 +20,20 @@ import {
|
|
26
20
|
stat_exports
|
27
21
|
} from "./chunk-W3RXHN5I.js";
|
28
22
|
import {
|
29
|
-
|
30
|
-
} from "./chunk-
|
23
|
+
download_exports
|
24
|
+
} from "./chunk-2JH4TCT2.js";
|
31
25
|
import {
|
32
26
|
exists_exports
|
33
27
|
} from "./chunk-5VHFXWFM.js";
|
34
28
|
import {
|
35
|
-
|
36
|
-
} from "./chunk-
|
29
|
+
move_exports
|
30
|
+
} from "./chunk-6IYUA43Q.js";
|
31
|
+
import {
|
32
|
+
upload_exports
|
33
|
+
} from "./chunk-FB3GNE2B.js";
|
34
|
+
import {
|
35
|
+
copy_exports
|
36
|
+
} from "./chunk-CWZFRUBS.js";
|
37
37
|
import {
|
38
38
|
__export
|
39
39
|
} from "./chunk-WSFCRVEQ.js";
|
@@ -1,36 +1,36 @@
|
|
1
|
-
import {
|
2
|
-
move_file_exports
|
3
|
-
} from "./chunk-646R6BQZ.js";
|
4
|
-
import {
|
5
|
-
upload_file_exports
|
6
|
-
} from "./chunk-NOLQR5RW.js";
|
7
1
|
import {
|
8
2
|
remove_file_exports
|
9
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-V2N4BV7K.js";
|
10
4
|
import {
|
11
5
|
stat_file_exports
|
12
|
-
} from "./chunk-
|
13
|
-
import {
|
14
|
-
copy_dir_exports
|
15
|
-
} from "./chunk-6NLNUGBI.js";
|
6
|
+
} from "./chunk-FOPXXKZV.js";
|
16
7
|
import {
|
17
|
-
|
18
|
-
} from "./chunk-
|
8
|
+
download_file_exports
|
9
|
+
} from "./chunk-UTIW4X7X.js";
|
19
10
|
import {
|
20
11
|
exists_file_exports
|
21
|
-
} from "./chunk-
|
12
|
+
} from "./chunk-TWSISQ2J.js";
|
22
13
|
import {
|
23
|
-
|
24
|
-
} from "./chunk-
|
14
|
+
list_dir_exports
|
15
|
+
} from "./chunk-UDFYYP4H.js";
|
25
16
|
import {
|
26
|
-
|
27
|
-
} from "./chunk-
|
17
|
+
copy_dir_exports
|
18
|
+
} from "./chunk-WFYRTSLS.js";
|
28
19
|
import {
|
29
20
|
remove_dir_exports
|
30
|
-
} from "./chunk-
|
21
|
+
} from "./chunk-IMXUQH4R.js";
|
31
22
|
import {
|
32
|
-
|
33
|
-
} from "./chunk-
|
23
|
+
move_dir_exports
|
24
|
+
} from "./chunk-2QLB7ASR.js";
|
25
|
+
import {
|
26
|
+
move_file_exports
|
27
|
+
} from "./chunk-5YLJSNZ4.js";
|
28
|
+
import {
|
29
|
+
upload_file_exports
|
30
|
+
} from "./chunk-7Q7XB5CE.js";
|
31
|
+
import {
|
32
|
+
copy_file_exports
|
33
|
+
} from "./chunk-EWZTFIXN.js";
|
34
34
|
import {
|
35
35
|
__export
|
36
36
|
} from "./chunk-WSFCRVEQ.js";
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import {
|
2
2
|
file_exports
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-BOLCAFPD.js";
|
4
4
|
import {
|
5
5
|
bucket_exports
|
6
|
-
} from "./chunk-
|
6
|
+
} from "./chunk-QJMBTRGK.js";
|
7
7
|
import {
|
8
8
|
directory_exports
|
9
|
-
} from "./chunk-
|
9
|
+
} from "./chunk-IYLGVLS7.js";
|
10
10
|
import {
|
11
11
|
__export
|
12
12
|
} from "./chunk-WSFCRVEQ.js";
|
@@ -30,10 +30,11 @@ function isResizeOperationParams(obj) {
|
|
30
30
|
"cubic",
|
31
31
|
"mitchell",
|
32
32
|
"lanczos2",
|
33
|
-
"lanczos3"
|
34
|
-
|
35
|
-
|
36
|
-
|
33
|
+
"lanczos3"
|
34
|
+
]).optional(),
|
35
|
+
withoutEnlargement: zod_default.boolean().optional(),
|
36
|
+
withoutReduction: zod_default.boolean().optional(),
|
37
|
+
fastShrinkOnLoad: zod_default.boolean().optional()
|
37
38
|
});
|
38
39
|
const result = schema.safeParse(obj);
|
39
40
|
if (!result.success) return Outcome.makeFailure(result.error.message);
|
package/node/@aws-s3/index.js
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
import {
|
2
2
|
storage_exports
|
3
|
-
} from "../../chunks/chunk-
|
4
|
-
import "../../chunks/chunk-
|
5
|
-
import "../../chunks/chunk-
|
6
|
-
import "../../chunks/chunk-QWZ4ZNFA.js";
|
7
|
-
import "../../chunks/chunk-FD5WR2A5.js";
|
3
|
+
} from "../../chunks/chunk-OPO5EIC5.js";
|
4
|
+
import "../../chunks/chunk-7QDRXZ63.js";
|
5
|
+
import "../../chunks/chunk-LS2PJ4OH.js";
|
8
6
|
import "../../chunks/chunk-3TKBCG7Y.js";
|
9
7
|
import "../../chunks/chunk-VROZGPC5.js";
|
10
|
-
import "../../chunks/chunk-4XBUJAQU.js";
|
11
|
-
import "../../chunks/chunk-C6QTHDDM.js";
|
12
|
-
import "../../chunks/chunk-ZEZCYPLQ.js";
|
13
8
|
import "../../chunks/chunk-IV75M3KE.js";
|
14
|
-
import "../../chunks/chunk-
|
15
|
-
import "../../chunks/chunk-4XSDRT23.js";
|
9
|
+
import "../../chunks/chunk-ZEZCYPLQ.js";
|
16
10
|
import "../../chunks/chunk-ZSUG52DO.js";
|
11
|
+
import "../../chunks/chunk-4XBUJAQU.js";
|
12
|
+
import "../../chunks/chunk-4XSDRT23.js";
|
13
|
+
import "../../chunks/chunk-ON6LC3HE.js";
|
14
|
+
import "../../chunks/chunk-QWZ4ZNFA.js";
|
15
|
+
import "../../chunks/chunk-FD5WR2A5.js";
|
16
|
+
import "../../chunks/chunk-C6QTHDDM.js";
|
17
17
|
import "../../chunks/chunk-JMU5PDBD.js";
|
18
18
|
import "../../chunks/chunk-FENXVJYO.js";
|
19
19
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import "../../../../chunks/chunk-
|
1
|
+
import "../../../../chunks/chunk-7QDRXZ63.js";
|
2
|
+
import {
|
3
|
+
list_exports
|
4
|
+
} from "../../../../chunks/chunk-ZSUG52DO.js";
|
2
5
|
import {
|
3
6
|
copy_dir_exports
|
4
7
|
} from "../../../../chunks/chunk-4XBUJAQU.js";
|
5
|
-
import {
|
6
|
-
move_dir_exports
|
7
|
-
} from "../../../../chunks/chunk-ON6LC3HE.js";
|
8
8
|
import {
|
9
9
|
remove_dir_exports
|
10
10
|
} from "../../../../chunks/chunk-4XSDRT23.js";
|
11
11
|
import {
|
12
|
-
|
13
|
-
} from "../../../../chunks/chunk-
|
12
|
+
move_dir_exports
|
13
|
+
} from "../../../../chunks/chunk-ON6LC3HE.js";
|
14
14
|
import "../../../../chunks/chunk-JMU5PDBD.js";
|
15
15
|
import "../../../../chunks/chunk-FENXVJYO.js";
|
16
16
|
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
@@ -1,10 +1,4 @@
|
|
1
|
-
import "../../../../chunks/chunk-
|
2
|
-
import {
|
3
|
-
move_exports
|
4
|
-
} from "../../../../chunks/chunk-QWZ4ZNFA.js";
|
5
|
-
import {
|
6
|
-
upload_exports
|
7
|
-
} from "../../../../chunks/chunk-FD5WR2A5.js";
|
1
|
+
import "../../../../chunks/chunk-LS2PJ4OH.js";
|
8
2
|
import {
|
9
3
|
remove_exports
|
10
4
|
} from "../../../../chunks/chunk-3TKBCG7Y.js";
|
@@ -12,14 +6,20 @@ import {
|
|
12
6
|
stat_exports
|
13
7
|
} from "../../../../chunks/chunk-VROZGPC5.js";
|
14
8
|
import {
|
15
|
-
|
16
|
-
} from "../../../../chunks/chunk-
|
9
|
+
download_exports
|
10
|
+
} from "../../../../chunks/chunk-IV75M3KE.js";
|
17
11
|
import {
|
18
12
|
exists_exports
|
19
13
|
} from "../../../../chunks/chunk-ZEZCYPLQ.js";
|
20
14
|
import {
|
21
|
-
|
22
|
-
} from "../../../../chunks/chunk-
|
15
|
+
move_exports
|
16
|
+
} from "../../../../chunks/chunk-QWZ4ZNFA.js";
|
17
|
+
import {
|
18
|
+
upload_exports
|
19
|
+
} from "../../../../chunks/chunk-FD5WR2A5.js";
|
20
|
+
import {
|
21
|
+
copy_exports
|
22
|
+
} from "../../../../chunks/chunk-C6QTHDDM.js";
|
23
23
|
import "../../../../chunks/chunk-JMU5PDBD.js";
|
24
24
|
import "../../../../chunks/chunk-FENXVJYO.js";
|
25
25
|
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
@@ -1,21 +1,21 @@
|
|
1
|
-
import "../../../chunks/chunk-
|
1
|
+
import "../../../chunks/chunk-OPO5EIC5.js";
|
2
2
|
import {
|
3
3
|
directory_exports
|
4
|
-
} from "../../../chunks/chunk-
|
4
|
+
} from "../../../chunks/chunk-7QDRXZ63.js";
|
5
5
|
import {
|
6
6
|
file_exports
|
7
|
-
} from "../../../chunks/chunk-
|
8
|
-
import "../../../chunks/chunk-QWZ4ZNFA.js";
|
9
|
-
import "../../../chunks/chunk-FD5WR2A5.js";
|
7
|
+
} from "../../../chunks/chunk-LS2PJ4OH.js";
|
10
8
|
import "../../../chunks/chunk-3TKBCG7Y.js";
|
11
9
|
import "../../../chunks/chunk-VROZGPC5.js";
|
12
|
-
import "../../../chunks/chunk-4XBUJAQU.js";
|
13
|
-
import "../../../chunks/chunk-C6QTHDDM.js";
|
14
|
-
import "../../../chunks/chunk-ZEZCYPLQ.js";
|
15
10
|
import "../../../chunks/chunk-IV75M3KE.js";
|
16
|
-
import "../../../chunks/chunk-
|
17
|
-
import "../../../chunks/chunk-4XSDRT23.js";
|
11
|
+
import "../../../chunks/chunk-ZEZCYPLQ.js";
|
18
12
|
import "../../../chunks/chunk-ZSUG52DO.js";
|
13
|
+
import "../../../chunks/chunk-4XBUJAQU.js";
|
14
|
+
import "../../../chunks/chunk-4XSDRT23.js";
|
15
|
+
import "../../../chunks/chunk-ON6LC3HE.js";
|
16
|
+
import "../../../chunks/chunk-QWZ4ZNFA.js";
|
17
|
+
import "../../../chunks/chunk-FD5WR2A5.js";
|
18
|
+
import "../../../chunks/chunk-C6QTHDDM.js";
|
19
19
|
import "../../../chunks/chunk-JMU5PDBD.js";
|
20
20
|
import "../../../chunks/chunk-FENXVJYO.js";
|
21
21
|
import "../../../chunks/chunk-WSFCRVEQ.js";
|
@@ -1,26 +1,26 @@
|
|
1
1
|
import {
|
2
2
|
storage_exports
|
3
|
-
} from "../../chunks/chunk-
|
4
|
-
import "../../chunks/chunk-
|
5
|
-
import "../../chunks/chunk-
|
6
|
-
import "../../chunks/chunk-42K3MQQ5.js";
|
7
|
-
import "../../chunks/chunk-S4VO4PFZ.js";
|
3
|
+
} from "../../chunks/chunk-TCEI2QON.js";
|
4
|
+
import "../../chunks/chunk-BOLCAFPD.js";
|
5
|
+
import "../../chunks/chunk-Q2SKOY7I.js";
|
8
6
|
import "../../chunks/chunk-HWVEI3RH.js";
|
9
7
|
import "../../chunks/chunk-PAIUCLVK.js";
|
10
|
-
import "../../chunks/chunk-
|
8
|
+
import "../../chunks/chunk-42K3MQQ5.js";
|
9
|
+
import "../../chunks/chunk-YKPA3MQL.js";
|
10
|
+
import "../../chunks/chunk-QJMBTRGK.js";
|
11
11
|
import "../../chunks/chunk-ZNA7SWFK.js";
|
12
|
-
import "../../chunks/chunk-
|
13
|
-
import "../../chunks/chunk-6IYUA43Q.js";
|
14
|
-
import "../../chunks/chunk-FB3GNE2B.js";
|
12
|
+
import "../../chunks/chunk-IYLGVLS7.js";
|
15
13
|
import "../../chunks/chunk-7J7CYOXU.js";
|
16
14
|
import "../../chunks/chunk-W3RXHN5I.js";
|
17
|
-
import "../../chunks/chunk-V3L55I2S.js";
|
18
|
-
import "../../chunks/chunk-CWZFRUBS.js";
|
19
|
-
import "../../chunks/chunk-5VHFXWFM.js";
|
20
15
|
import "../../chunks/chunk-2JH4TCT2.js";
|
21
|
-
import "../../chunks/chunk-
|
22
|
-
import "../../chunks/chunk-QLDN574K.js";
|
16
|
+
import "../../chunks/chunk-5VHFXWFM.js";
|
23
17
|
import "../../chunks/chunk-37TRFYZT.js";
|
18
|
+
import "../../chunks/chunk-V3L55I2S.js";
|
19
|
+
import "../../chunks/chunk-QLDN574K.js";
|
20
|
+
import "../../chunks/chunk-BWYH445G.js";
|
21
|
+
import "../../chunks/chunk-6IYUA43Q.js";
|
22
|
+
import "../../chunks/chunk-FB3GNE2B.js";
|
23
|
+
import "../../chunks/chunk-CWZFRUBS.js";
|
24
24
|
import "../../chunks/chunk-JMU5PDBD.js";
|
25
25
|
import "../../chunks/chunk-FENXVJYO.js";
|
26
26
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import "../../../../chunks/chunk-
|
1
|
+
import "../../../../chunks/chunk-QJMBTRGK.js";
|
2
2
|
import {
|
3
3
|
get_metadata_exports
|
4
4
|
} from "../../../../chunks/chunk-ZNA7SWFK.js";
|
5
5
|
import {
|
6
|
-
|
7
|
-
} from "../../../../chunks/chunk-
|
6
|
+
list_exports
|
7
|
+
} from "../../../../chunks/chunk-37TRFYZT.js";
|
8
8
|
import {
|
9
9
|
remove_dir_exports
|
10
10
|
} from "../../../../chunks/chunk-QLDN574K.js";
|
11
11
|
import {
|
12
|
-
|
13
|
-
} from "../../../../chunks/chunk-
|
12
|
+
move_dir_exports
|
13
|
+
} from "../../../../chunks/chunk-BWYH445G.js";
|
14
14
|
import "../../../../chunks/chunk-JMU5PDBD.js";
|
15
15
|
import "../../../../chunks/chunk-FENXVJYO.js";
|
16
16
|
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import "../../../../chunks/chunk-
|
1
|
+
import "../../../../chunks/chunk-IYLGVLS7.js";
|
2
|
+
import {
|
3
|
+
list_exports
|
4
|
+
} from "../../../../chunks/chunk-37TRFYZT.js";
|
2
5
|
import {
|
3
6
|
copy_dir_exports
|
4
7
|
} from "../../../../chunks/chunk-V3L55I2S.js";
|
5
|
-
import {
|
6
|
-
move_dir_exports
|
7
|
-
} from "../../../../chunks/chunk-BWYH445G.js";
|
8
8
|
import {
|
9
9
|
remove_dir_exports
|
10
10
|
} from "../../../../chunks/chunk-QLDN574K.js";
|
11
11
|
import {
|
12
|
-
|
13
|
-
} from "../../../../chunks/chunk-
|
12
|
+
move_dir_exports
|
13
|
+
} from "../../../../chunks/chunk-BWYH445G.js";
|
14
14
|
import "../../../../chunks/chunk-JMU5PDBD.js";
|
15
15
|
import "../../../../chunks/chunk-FENXVJYO.js";
|
16
16
|
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
@@ -1,13 +1,7 @@
|
|
1
|
-
import "../../../../chunks/chunk-
|
2
|
-
import {
|
3
|
-
get_permissions_exports
|
4
|
-
} from "../../../../chunks/chunk-YKPA3MQL.js";
|
5
|
-
import {
|
6
|
-
get_metadata_exports
|
7
|
-
} from "../../../../chunks/chunk-42K3MQQ5.js";
|
1
|
+
import "../../../../chunks/chunk-BOLCAFPD.js";
|
8
2
|
import {
|
9
3
|
revoke_signed_urls_exports
|
10
|
-
} from "../../../../chunks/chunk-
|
4
|
+
} from "../../../../chunks/chunk-Q2SKOY7I.js";
|
11
5
|
import {
|
12
6
|
update_metadata_exports
|
13
7
|
} from "../../../../chunks/chunk-HWVEI3RH.js";
|
@@ -15,11 +9,11 @@ import {
|
|
15
9
|
generate_signed_url_exports
|
16
10
|
} from "../../../../chunks/chunk-PAIUCLVK.js";
|
17
11
|
import {
|
18
|
-
|
19
|
-
} from "../../../../chunks/chunk-
|
12
|
+
get_metadata_exports
|
13
|
+
} from "../../../../chunks/chunk-42K3MQQ5.js";
|
20
14
|
import {
|
21
|
-
|
22
|
-
} from "../../../../chunks/chunk-
|
15
|
+
get_permissions_exports
|
16
|
+
} from "../../../../chunks/chunk-YKPA3MQL.js";
|
23
17
|
import {
|
24
18
|
remove_exports
|
25
19
|
} from "../../../../chunks/chunk-7J7CYOXU.js";
|
@@ -27,14 +21,20 @@ import {
|
|
27
21
|
stat_exports
|
28
22
|
} from "../../../../chunks/chunk-W3RXHN5I.js";
|
29
23
|
import {
|
30
|
-
|
31
|
-
} from "../../../../chunks/chunk-
|
24
|
+
download_exports
|
25
|
+
} from "../../../../chunks/chunk-2JH4TCT2.js";
|
32
26
|
import {
|
33
27
|
exists_exports
|
34
28
|
} from "../../../../chunks/chunk-5VHFXWFM.js";
|
35
29
|
import {
|
36
|
-
|
37
|
-
} from "../../../../chunks/chunk-
|
30
|
+
move_exports
|
31
|
+
} from "../../../../chunks/chunk-6IYUA43Q.js";
|
32
|
+
import {
|
33
|
+
upload_exports
|
34
|
+
} from "../../../../chunks/chunk-FB3GNE2B.js";
|
35
|
+
import {
|
36
|
+
copy_exports
|
37
|
+
} from "../../../../chunks/chunk-CWZFRUBS.js";
|
38
38
|
import "../../../../chunks/chunk-JMU5PDBD.js";
|
39
39
|
import "../../../../chunks/chunk-FENXVJYO.js";
|
40
40
|
import "../../../../chunks/chunk-WSFCRVEQ.js";
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import {
|
2
2
|
revokeSignedUrls
|
3
|
-
} from "../../../../../chunks/chunk-
|
4
|
-
import "../../../../../chunks/chunk-FB3GNE2B.js";
|
3
|
+
} from "../../../../../chunks/chunk-Q2SKOY7I.js";
|
5
4
|
import "../../../../../chunks/chunk-7J7CYOXU.js";
|
6
5
|
import "../../../../../chunks/chunk-2JH4TCT2.js";
|
6
|
+
import "../../../../../chunks/chunk-FB3GNE2B.js";
|
7
7
|
import "../../../../../chunks/chunk-JMU5PDBD.js";
|
8
8
|
import "../../../../../chunks/chunk-FENXVJYO.js";
|
9
9
|
import "../../../../../chunks/chunk-WSFCRVEQ.js";
|