@design-edito/tools 0.2.8 → 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 +3 -3
- package/agnostic/colors/index.js +8 -8
- package/agnostic/css/index.js +8 -8
- package/agnostic/css/styles-set/index.js +3 -3
- package/agnostic/html/hyper-json/cast/index.js +2 -2
- package/agnostic/html/hyper-json/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +2 -2
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +2 -2
- package/agnostic/html/hyper-json/tree/index.js +2 -2
- package/agnostic/html/hyper-json/utils/index.js +2 -2
- package/agnostic/html/index.js +3 -3
- package/agnostic/misc/index.js +14 -14
- package/agnostic/misc/logs/index.js +2 -2
- package/agnostic/misc/lorem-ipsum/index.js +6 -6
- package/agnostic/numbers/index.js +6 -6
- package/agnostic/objects/index.js +8 -8
- package/agnostic/optim/index.js +3 -3
- package/agnostic/random/index.js +2 -2
- package/agnostic/strings/index.js +6 -6
- package/agnostic/strings/parse-table/index.js +1 -1
- package/agnostic/time/index.js +7 -7
- package/chunks/{chunk-Q3WTFQUX.js → chunk-3DNRZL2Y.js} +19 -19
- package/chunks/{chunk-3K3NHJZZ.js → chunk-5VVXD7WD.js} +2 -2
- package/chunks/{chunk-USMLAPA7.js → chunk-A3CDUWGR.js} +1 -1
- package/chunks/{chunk-FJVSOGTY.js → chunk-A3HS4NC5.js} +1 -1
- package/chunks/{chunk-R765J7H2.js → chunk-AEVASEI3.js} +17 -8
- package/chunks/{chunk-646NPVCJ.js → chunk-BOLCAFPD.js} +11 -11
- package/chunks/{chunk-Y2LIJQVY.js → chunk-OPO5EIC5.js} +2 -2
- package/chunks/{chunk-M72MN5UQ.js → chunk-PKCI2QUK.js} +19 -19
- package/chunks/{chunk-JMFMBWLB.js → chunk-TCEI2QON.js} +3 -3
- package/chunks/{chunk-DL5G2SYX.js → chunk-X7CBN5DW.js} +5 -4
- package/chunks/{chunk-6KWNKTNI.js → chunk-XRUSQWPJ.js} +1 -1
- package/node/@aws-s3/index.js +7 -7
- package/node/@aws-s3/storage/directory/index.js +5 -5
- package/node/@aws-s3/storage/file/index.js +7 -7
- package/node/@aws-s3/storage/index.js +7 -7
- package/node/@google-cloud/index.js +10 -10
- package/node/@google-cloud/storage/bucket/index.js +4 -4
- package/node/@google-cloud/storage/directory/index.js +5 -5
- package/node/@google-cloud/storage/file/index.js +12 -12
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
- package/node/@google-cloud/storage/index.js +10 -10
- package/node/cloud-storage/index.js +43 -43
- 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 +51 -51
- 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/files/index.js +3 -3
- package/node/ftps/directory/index.js +4 -4
- package/node/ftps/file/index.js +10 -10
- package/node/ftps/index.js +10 -10
- package/node/images/format/index.d.ts +7 -0
- package/node/images/format/index.js +2 -1
- package/node/images/index.js +9 -9
- package/node/images/transform/index.js +7 -7
- package/node/images/transform/operations/resize/index.js +1 -1
- package/node/sftp/directory/index.js +5 -5
- package/node/sftp/file/index.js +7 -7
- package/node/sftp/index.js +6 -6
- package/package.json +1 -1
- package/chunks/{chunk-32FNUJVW.js → chunk-2FU4AFJC.js} +6 -6
- package/chunks/{chunk-FS6LRTDK.js → chunk-2QLB7ASR.js} +6 -6
- package/chunks/{chunk-646R6BQZ.js → chunk-5YLJSNZ4.js} +6 -6
- package/chunks/{chunk-NOLQR5RW.js → chunk-7Q7XB5CE.js} +6 -6
- package/chunks/{chunk-4OK2UH4M.js → chunk-7QDRXZ63.js} +4 -4
- package/chunks/{chunk-JSW6R3ZH.js → chunk-7YL4SAL6.js} +9 -9
- package/chunks/{chunk-OA7Y2A5T.js → chunk-EWZTFIXN.js} +6 -6
- package/chunks/{chunk-WYQI4224.js → chunk-FF6KJRP3.js} +3 -3
- package/chunks/{chunk-UK4HNSEJ.js → chunk-FOPXXKZV.js} +6 -6
- package/chunks/{chunk-DEQWCMAL.js → chunk-GLX5UWM7.js} +6 -6
- package/chunks/{chunk-CA3UPHYO.js → chunk-IMXUQH4R.js} +6 -6
- package/chunks/{chunk-AIC5YAJU.js → chunk-IYLGVLS7.js} +4 -4
- package/chunks/{chunk-6T7A6ZNA.js → chunk-LS2PJ4OH.js} +6 -6
- package/chunks/{chunk-G5RRNREY.js → chunk-Q2SKOY7I.js} +3 -3
- package/chunks/{chunk-UXEKCYL7.js → chunk-QJMBTRGK.js} +3 -3
- package/chunks/{chunk-7KSMK42F.js → chunk-QTF7LWGT.js} +3 -3
- package/chunks/{chunk-OVG5RGI3.js → chunk-S32K7POB.js} +4 -4
- package/chunks/{chunk-24ZUWYIR.js → chunk-TWSISQ2J.js} +6 -6
- package/chunks/{chunk-DPQRXSZH.js → chunk-UDFYYP4H.js} +6 -6
- 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-74CFPDKM.js → chunk-YCGMNTMI.js} +4 -4
@@ -1,12 +1,11 @@
|
|
1
1
|
import {
|
2
2
|
LoremIpsum
|
3
|
-
} from "../../../chunks/chunk-
|
4
|
-
import "../../../chunks/chunk-
|
3
|
+
} from "../../../chunks/chunk-5VVXD7WD.js";
|
4
|
+
import "../../../chunks/chunk-S32K7POB.js";
|
5
|
+
import "../../../chunks/chunk-D3ERTRDW.js";
|
5
6
|
import "../../../chunks/chunk-75BICI4L.js";
|
6
7
|
import "../../../chunks/chunk-OGBUSUE6.js";
|
7
|
-
import "../../../chunks/chunk-
|
8
|
-
import "../../../chunks/chunk-32FNUJVW.js";
|
9
|
-
import "../../../chunks/chunk-RLAZR3NL.js";
|
8
|
+
import "../../../chunks/chunk-2FU4AFJC.js";
|
10
9
|
import "../../../chunks/chunk-B446JIN3.js";
|
11
10
|
import "../../../chunks/chunk-CHUOCTRP.js";
|
12
11
|
import "../../../chunks/chunk-UFKH5WD2.js";
|
@@ -16,10 +15,11 @@ import "../../../chunks/chunk-LV2VMOWR.js";
|
|
16
15
|
import "../../../chunks/chunk-WH6BPDAC.js";
|
17
16
|
import "../../../chunks/chunk-QHLQVR3E.js";
|
18
17
|
import "../../../chunks/chunk-FENXVJYO.js";
|
19
|
-
import "../../../chunks/chunk-VJJIYJMY.js";
|
20
18
|
import "../../../chunks/chunk-YS6WMSWC.js";
|
21
19
|
import "../../../chunks/chunk-6RGDWX4A.js";
|
22
20
|
import "../../../chunks/chunk-RCO57B6F.js";
|
21
|
+
import "../../../chunks/chunk-RLAZR3NL.js";
|
22
|
+
import "../../../chunks/chunk-VJJIYJMY.js";
|
23
23
|
import "../../../chunks/chunk-WSFCRVEQ.js";
|
24
24
|
export {
|
25
25
|
LoremIpsum
|
@@ -1,16 +1,16 @@
|
|
1
|
-
import {
|
2
|
-
interpolate
|
3
|
-
} from "../../chunks/chunk-BJAYUP7M.js";
|
4
1
|
import {
|
5
2
|
absoluteModulo
|
6
3
|
} from "../../chunks/chunk-DNIOWD7K.js";
|
4
|
+
import {
|
5
|
+
clamp
|
6
|
+
} from "../../chunks/chunk-OSAXBA7G.js";
|
7
|
+
import {
|
8
|
+
interpolate
|
9
|
+
} from "../../chunks/chunk-BJAYUP7M.js";
|
7
10
|
import {
|
8
11
|
createScale,
|
9
12
|
getHarmonic
|
10
13
|
} from "../../chunks/chunk-UYTXXUU7.js";
|
11
|
-
import {
|
12
|
-
clamp
|
13
|
-
} from "../../chunks/chunk-OSAXBA7G.js";
|
14
14
|
import {
|
15
15
|
round
|
16
16
|
} from "../../chunks/chunk-32IRF4OP.js";
|
@@ -2,6 +2,10 @@ import {
|
|
2
2
|
Enums
|
3
3
|
} from "../../chunks/chunk-WOAYU6LB.js";
|
4
4
|
import "../../chunks/chunk-E6MSDKON.js";
|
5
|
+
import {
|
6
|
+
isNonNullObject,
|
7
|
+
isObject
|
8
|
+
} from "../../chunks/chunk-HQLRJ7XW.js";
|
5
9
|
import {
|
6
10
|
deepGetProperty
|
7
11
|
} from "../../chunks/chunk-SKMCIFS3.js";
|
@@ -9,22 +13,18 @@ import {
|
|
9
13
|
flattenGetters
|
10
14
|
} from "../../chunks/chunk-VFJYLXCI.js";
|
11
15
|
import "../../chunks/chunk-SNJJII7A.js";
|
12
|
-
import {
|
13
|
-
isNonNullObject,
|
14
|
-
isObject
|
15
|
-
} from "../../chunks/chunk-HQLRJ7XW.js";
|
16
16
|
import {
|
17
17
|
isRecord
|
18
18
|
} from "../../chunks/chunk-YDIBNEGA.js";
|
19
19
|
import {
|
20
|
-
|
21
|
-
} from "../../chunks/chunk-
|
20
|
+
recordFormat
|
21
|
+
} from "../../chunks/chunk-YP64J65L.js";
|
22
22
|
import {
|
23
23
|
Validation
|
24
24
|
} from "../../chunks/chunk-FPEW3A27.js";
|
25
25
|
import {
|
26
|
-
|
27
|
-
} from "../../chunks/chunk-
|
26
|
+
recordMap
|
27
|
+
} from "../../chunks/chunk-XNF5MLCQ.js";
|
28
28
|
import "../../chunks/chunk-QXAJXTXV.js";
|
29
29
|
import "../../chunks/chunk-HC6ZOHCS.js";
|
30
30
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
package/agnostic/optim/index.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
+
import {
|
2
|
+
memoize
|
3
|
+
} from "../../chunks/chunk-JWBDZPQG.js";
|
1
4
|
import {
|
2
5
|
debounce,
|
3
6
|
throttle
|
4
7
|
} from "../../chunks/chunk-VZDUZTW6.js";
|
5
|
-
import {
|
6
|
-
memoize
|
7
|
-
} from "../../chunks/chunk-JWBDZPQG.js";
|
8
8
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
9
9
|
|
10
10
|
// src/agnostic/optim/index.ts
|
package/agnostic/random/index.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
import {
|
2
2
|
Random
|
3
|
-
} from "../../chunks/chunk-
|
3
|
+
} from "../../chunks/chunk-S32K7POB.js";
|
4
|
+
import "../../chunks/chunk-D3ERTRDW.js";
|
4
5
|
import "../../chunks/chunk-75BICI4L.js";
|
5
6
|
import "../../chunks/chunk-OGBUSUE6.js";
|
6
|
-
import "../../chunks/chunk-D3ERTRDW.js";
|
7
7
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
8
8
|
export {
|
9
9
|
Random
|
@@ -6,19 +6,19 @@ import {
|
|
6
6
|
matchesEvery,
|
7
7
|
matchesSome
|
8
8
|
} from "../../chunks/chunk-R3AWQXMY.js";
|
9
|
-
import {
|
10
|
-
normalizeIndent
|
11
|
-
} from "../../chunks/chunk-JQXNEJAP.js";
|
12
9
|
import {
|
13
10
|
parseTable
|
14
|
-
} from "../../chunks/chunk-
|
11
|
+
} from "../../chunks/chunk-A3CDUWGR.js";
|
15
12
|
import "../../chunks/chunk-JMU5PDBD.js";
|
16
13
|
import {
|
17
|
-
|
18
|
-
} from "../../chunks/chunk-
|
14
|
+
normalizeIndent
|
15
|
+
} from "../../chunks/chunk-JQXNEJAP.js";
|
19
16
|
import {
|
20
17
|
replaceAll
|
21
18
|
} from "../../chunks/chunk-ZTDVUXPR.js";
|
19
|
+
import {
|
20
|
+
toAlphanum
|
21
|
+
} from "../../chunks/chunk-COVPTTAD.js";
|
22
22
|
import {
|
23
23
|
trimEnd,
|
24
24
|
trimStart
|
package/agnostic/time/index.js
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
import {
|
2
|
-
timeout
|
3
|
-
} from "../../chunks/chunk-Z7ZDDBV5.js";
|
4
1
|
import {
|
5
2
|
Transitions
|
6
3
|
} from "../../chunks/chunk-ENMBK6H7.js";
|
7
|
-
import {
|
8
|
-
Dates
|
9
|
-
} from "../../chunks/chunk-FZOU4OAW.js";
|
10
|
-
import "../../chunks/chunk-YQWZ3EP2.js";
|
11
4
|
import {
|
12
5
|
Duration
|
13
6
|
} from "../../chunks/chunk-6NYUQXJT.js";
|
14
7
|
import {
|
15
8
|
wait
|
16
9
|
} from "../../chunks/chunk-4CIS3R7T.js";
|
10
|
+
import {
|
11
|
+
timeout
|
12
|
+
} from "../../chunks/chunk-Z7ZDDBV5.js";
|
13
|
+
import {
|
14
|
+
Dates
|
15
|
+
} from "../../chunks/chunk-FZOU4OAW.js";
|
16
|
+
import "../../chunks/chunk-YQWZ3EP2.js";
|
17
17
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
18
18
|
|
19
19
|
// src/agnostic/time/index.ts
|
@@ -1,10 +1,3 @@
|
|
1
|
-
import {
|
2
|
-
flip
|
3
|
-
} from "./chunk-WNDMYNDU.js";
|
4
|
-
import {
|
5
|
-
hue,
|
6
|
-
isHueOperationParams
|
7
|
-
} from "./chunk-DJJBT23A.js";
|
8
1
|
import {
|
9
2
|
isLevelOperationParams,
|
10
3
|
level
|
@@ -14,21 +7,28 @@ import {
|
|
14
7
|
lighten
|
15
8
|
} from "./chunk-LIV7TJ46.js";
|
16
9
|
import {
|
17
|
-
|
18
|
-
|
19
|
-
} from "./chunk-DL5G2SYX.js";
|
10
|
+
flop
|
11
|
+
} from "./chunk-YA2YCZUF.js";
|
20
12
|
import {
|
21
|
-
|
22
|
-
|
23
|
-
} from "./chunk-
|
13
|
+
hue,
|
14
|
+
isHueOperationParams
|
15
|
+
} from "./chunk-DJJBT23A.js";
|
24
16
|
import {
|
25
17
|
isNormalizeOperationParams,
|
26
18
|
normalize
|
27
19
|
} from "./chunk-BHEWHO2M.js";
|
20
|
+
import {
|
21
|
+
isResizeOperationParams,
|
22
|
+
resize
|
23
|
+
} from "./chunk-X7CBN5DW.js";
|
28
24
|
import {
|
29
25
|
isSaturateOperationParams,
|
30
26
|
saturate
|
31
27
|
} from "./chunk-DOASQI7Y.js";
|
28
|
+
import {
|
29
|
+
isRotateOperationParams,
|
30
|
+
rotate
|
31
|
+
} from "./chunk-5OZAL6GW.js";
|
32
32
|
import {
|
33
33
|
blur,
|
34
34
|
isBlurOperationParams
|
@@ -37,10 +37,6 @@ import {
|
|
37
37
|
brighten,
|
38
38
|
isBrightenOperationParams
|
39
39
|
} from "./chunk-GZDDL6RB.js";
|
40
|
-
import {
|
41
|
-
extract,
|
42
|
-
isExtractOperationParams
|
43
|
-
} from "./chunk-OVLFK3C3.js";
|
44
40
|
import {
|
45
41
|
extend,
|
46
42
|
isExtendOperationParams
|
@@ -50,8 +46,12 @@ import {
|
|
50
46
|
isFlattenOperationParams
|
51
47
|
} from "./chunk-CLZY2DXU.js";
|
52
48
|
import {
|
53
|
-
|
54
|
-
} from "./chunk-
|
49
|
+
flip
|
50
|
+
} from "./chunk-WNDMYNDU.js";
|
51
|
+
import {
|
52
|
+
extract,
|
53
|
+
isExtractOperationParams
|
54
|
+
} from "./chunk-OVLFK3C3.js";
|
55
55
|
import {
|
56
56
|
Outcome
|
57
57
|
} from "./chunk-JMU5PDBD.js";
|
@@ -7,7 +7,7 @@ var defaultLineModeOptions = {
|
|
7
7
|
inputToLines: (i) => i.split("\n"),
|
8
8
|
headLinePos: 0,
|
9
9
|
headLineToHeaders: (h) => h.split(" "),
|
10
|
-
bodyLinesBounds: [
|
10
|
+
bodyLinesBounds: [1, Infinity],
|
11
11
|
bodyLineToCellValue: (i) => i.split(" "),
|
12
12
|
schema: (i) => i
|
13
13
|
};
|
@@ -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,39 +1,39 @@
|
|
1
1
|
import {
|
2
|
-
|
3
|
-
} from "./chunk-
|
2
|
+
revoke_signed_urls_exports
|
3
|
+
} from "./chunk-Q2SKOY7I.js";
|
4
4
|
import {
|
5
5
|
update_metadata_exports
|
6
6
|
} from "./chunk-HWVEI3RH.js";
|
7
|
-
import {
|
8
|
-
revoke_signed_urls_exports
|
9
|
-
} from "./chunk-G5RRNREY.js";
|
10
7
|
import {
|
11
8
|
generate_signed_url_exports
|
12
9
|
} from "./chunk-PAIUCLVK.js";
|
13
10
|
import {
|
14
11
|
get_metadata_exports
|
15
12
|
} from "./chunk-42K3MQQ5.js";
|
13
|
+
import {
|
14
|
+
get_permissions_exports
|
15
|
+
} from "./chunk-YKPA3MQL.js";
|
16
16
|
import {
|
17
17
|
remove_exports
|
18
18
|
} from "./chunk-7J7CYOXU.js";
|
19
19
|
import {
|
20
20
|
stat_exports
|
21
21
|
} from "./chunk-W3RXHN5I.js";
|
22
|
-
import {
|
23
|
-
upload_exports
|
24
|
-
} from "./chunk-FB3GNE2B.js";
|
25
22
|
import {
|
26
23
|
download_exports
|
27
24
|
} from "./chunk-2JH4TCT2.js";
|
28
|
-
import {
|
29
|
-
copy_exports
|
30
|
-
} from "./chunk-CWZFRUBS.js";
|
31
25
|
import {
|
32
26
|
exists_exports
|
33
27
|
} from "./chunk-5VHFXWFM.js";
|
34
28
|
import {
|
35
29
|
move_exports
|
36
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
|
-
remove_dir_exports
|
3
|
-
} from "./chunk-CA3UPHYO.js";
|
4
1
|
import {
|
5
2
|
remove_file_exports
|
6
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-V2N4BV7K.js";
|
7
4
|
import {
|
8
5
|
stat_file_exports
|
9
|
-
} from "./chunk-
|
10
|
-
import {
|
11
|
-
upload_file_exports
|
12
|
-
} from "./chunk-NOLQR5RW.js";
|
13
|
-
import {
|
14
|
-
copy_dir_exports
|
15
|
-
} from "./chunk-6NLNUGBI.js";
|
6
|
+
} from "./chunk-FOPXXKZV.js";
|
16
7
|
import {
|
17
8
|
download_file_exports
|
18
|
-
} from "./chunk-
|
19
|
-
import {
|
20
|
-
copy_file_exports
|
21
|
-
} from "./chunk-OA7Y2A5T.js";
|
9
|
+
} from "./chunk-UTIW4X7X.js";
|
22
10
|
import {
|
23
11
|
exists_file_exports
|
24
|
-
} from "./chunk-
|
12
|
+
} from "./chunk-TWSISQ2J.js";
|
25
13
|
import {
|
26
14
|
list_dir_exports
|
27
|
-
} from "./chunk-
|
15
|
+
} from "./chunk-UDFYYP4H.js";
|
16
|
+
import {
|
17
|
+
copy_dir_exports
|
18
|
+
} from "./chunk-WFYRTSLS.js";
|
19
|
+
import {
|
20
|
+
remove_dir_exports
|
21
|
+
} from "./chunk-IMXUQH4R.js";
|
28
22
|
import {
|
29
23
|
move_dir_exports
|
30
|
-
} from "./chunk-
|
24
|
+
} from "./chunk-2QLB7ASR.js";
|
31
25
|
import {
|
32
26
|
move_file_exports
|
33
|
-
} from "./chunk-
|
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-4XSDRT23.js";
|
3
|
+
} from "../../chunks/chunk-OPO5EIC5.js";
|
4
|
+
import "../../chunks/chunk-7QDRXZ63.js";
|
5
|
+
import "../../chunks/chunk-LS2PJ4OH.js";
|
7
6
|
import "../../chunks/chunk-3TKBCG7Y.js";
|
8
7
|
import "../../chunks/chunk-VROZGPC5.js";
|
9
|
-
import "../../chunks/chunk-FD5WR2A5.js";
|
10
|
-
import "../../chunks/chunk-4XBUJAQU.js";
|
11
8
|
import "../../chunks/chunk-IV75M3KE.js";
|
12
|
-
import "../../chunks/chunk-C6QTHDDM.js";
|
13
9
|
import "../../chunks/chunk-ZEZCYPLQ.js";
|
14
10
|
import "../../chunks/chunk-ZSUG52DO.js";
|
11
|
+
import "../../chunks/chunk-4XBUJAQU.js";
|
12
|
+
import "../../chunks/chunk-4XSDRT23.js";
|
15
13
|
import "../../chunks/chunk-ON6LC3HE.js";
|
16
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,13 +1,13 @@
|
|
1
|
-
import "../../../../chunks/chunk-
|
1
|
+
import "../../../../chunks/chunk-7QDRXZ63.js";
|
2
2
|
import {
|
3
|
-
|
4
|
-
} from "../../../../chunks/chunk-
|
3
|
+
list_exports
|
4
|
+
} from "../../../../chunks/chunk-ZSUG52DO.js";
|
5
5
|
import {
|
6
6
|
copy_dir_exports
|
7
7
|
} from "../../../../chunks/chunk-4XBUJAQU.js";
|
8
8
|
import {
|
9
|
-
|
10
|
-
} from "../../../../chunks/chunk-
|
9
|
+
remove_dir_exports
|
10
|
+
} from "../../../../chunks/chunk-4XSDRT23.js";
|
11
11
|
import {
|
12
12
|
move_dir_exports
|
13
13
|
} from "../../../../chunks/chunk-ON6LC3HE.js";
|
@@ -1,25 +1,25 @@
|
|
1
|
-
import "../../../../chunks/chunk-
|
1
|
+
import "../../../../chunks/chunk-LS2PJ4OH.js";
|
2
2
|
import {
|
3
3
|
remove_exports
|
4
4
|
} from "../../../../chunks/chunk-3TKBCG7Y.js";
|
5
5
|
import {
|
6
6
|
stat_exports
|
7
7
|
} from "../../../../chunks/chunk-VROZGPC5.js";
|
8
|
-
import {
|
9
|
-
upload_exports
|
10
|
-
} from "../../../../chunks/chunk-FD5WR2A5.js";
|
11
8
|
import {
|
12
9
|
download_exports
|
13
10
|
} from "../../../../chunks/chunk-IV75M3KE.js";
|
14
|
-
import {
|
15
|
-
copy_exports
|
16
|
-
} from "../../../../chunks/chunk-C6QTHDDM.js";
|
17
11
|
import {
|
18
12
|
exists_exports
|
19
13
|
} from "../../../../chunks/chunk-ZEZCYPLQ.js";
|
20
14
|
import {
|
21
15
|
move_exports
|
22
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-4XSDRT23.js";
|
7
|
+
} from "../../../chunks/chunk-LS2PJ4OH.js";
|
9
8
|
import "../../../chunks/chunk-3TKBCG7Y.js";
|
10
9
|
import "../../../chunks/chunk-VROZGPC5.js";
|
11
|
-
import "../../../chunks/chunk-FD5WR2A5.js";
|
12
|
-
import "../../../chunks/chunk-4XBUJAQU.js";
|
13
10
|
import "../../../chunks/chunk-IV75M3KE.js";
|
14
|
-
import "../../../chunks/chunk-C6QTHDDM.js";
|
15
11
|
import "../../../chunks/chunk-ZEZCYPLQ.js";
|
16
12
|
import "../../../chunks/chunk-ZSUG52DO.js";
|
13
|
+
import "../../../chunks/chunk-4XBUJAQU.js";
|
14
|
+
import "../../../chunks/chunk-4XSDRT23.js";
|
17
15
|
import "../../../chunks/chunk-ON6LC3HE.js";
|
18
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-
|
3
|
+
} from "../../chunks/chunk-TCEI2QON.js";
|
4
|
+
import "../../chunks/chunk-BOLCAFPD.js";
|
5
|
+
import "../../chunks/chunk-Q2SKOY7I.js";
|
6
6
|
import "../../chunks/chunk-HWVEI3RH.js";
|
7
|
-
import "../../chunks/chunk-G5RRNREY.js";
|
8
7
|
import "../../chunks/chunk-PAIUCLVK.js";
|
9
8
|
import "../../chunks/chunk-42K3MQQ5.js";
|
10
|
-
import "../../chunks/chunk-
|
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-QLDN574K.js";
|
12
|
+
import "../../chunks/chunk-IYLGVLS7.js";
|
14
13
|
import "../../chunks/chunk-7J7CYOXU.js";
|
15
14
|
import "../../chunks/chunk-W3RXHN5I.js";
|
16
|
-
import "../../chunks/chunk-FB3GNE2B.js";
|
17
|
-
import "../../chunks/chunk-V3L55I2S.js";
|
18
15
|
import "../../chunks/chunk-2JH4TCT2.js";
|
19
|
-
import "../../chunks/chunk-CWZFRUBS.js";
|
20
16
|
import "../../chunks/chunk-5VHFXWFM.js";
|
21
17
|
import "../../chunks/chunk-37TRFYZT.js";
|
18
|
+
import "../../chunks/chunk-V3L55I2S.js";
|
19
|
+
import "../../chunks/chunk-QLDN574K.js";
|
22
20
|
import "../../chunks/chunk-BWYH445G.js";
|
23
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";
|