@design-edito/tools 0.2.11 → 0.2.13
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 +9 -9
- package/agnostic/arrays/random-pick/index.js +6 -6
- 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 +13 -13
- package/agnostic/css/styles-set/index.js +6 -6
- package/agnostic/errors/index.js +2 -2
- 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 +18 -18
- 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/misc/assert/index.js +3 -3
- package/agnostic/misc/crossenv/index.js +2 -2
- package/agnostic/misc/data-size/index.d.ts +27 -1
- package/agnostic/misc/data-size/index.js +27 -1
- package/agnostic/misc/index.js +16 -16
- package/agnostic/misc/lorem-ipsum/index.js +10 -10
- package/agnostic/numbers/index.js +8 -8
- package/agnostic/numbers/responsive-harmonics/index.js +2 -2
- package/agnostic/numbers/round/index.d.ts +2 -0
- package/agnostic/numbers/round/index.js +5 -1
- package/agnostic/objects/index.js +5 -5
- package/agnostic/strings/index.js +3 -3
- package/agnostic/time/index.js +8 -8
- package/chunks/{chunk-XIYECYET.js → chunk-23F5NF34.js} +20 -20
- package/chunks/{chunk-RVVJ4QD4.js → chunk-7GIJUKYP.js} +1 -1
- package/chunks/{chunk-WJMBLQRX.js → chunk-AQBJ6HNB.js} +1 -1
- package/chunks/{chunk-SH4ACYVB.js → chunk-DBFLPPDJ.js} +4 -4
- package/chunks/chunk-EOE2ODJR.js +19 -0
- package/chunks/{chunk-7DV4CM2Z.js → chunk-G4ZB72XY.js} +67 -15
- package/chunks/{chunk-UYTXXUU7.js → chunk-KXIA3YGF.js} +1 -1
- package/chunks/{chunk-HKNCJOAR.js → chunk-L5KVLHWF.js} +1 -1
- package/chunks/{chunk-3UIJ4IYZ.js → chunk-OIXMQDBV.js} +6 -6
- package/chunks/{chunk-KFDXJEQ7.js → chunk-Q373CMPR.js} +13 -13
- package/chunks/{chunk-CK73EBO5.js → chunk-SKBOSWM2.js} +1 -1
- package/chunks/{chunk-7NO34XJI.js → chunk-TIER4TF4.js} +2 -2
- package/chunks/{chunk-E4FJHD5R.js → chunk-WAMSK4A3.js} +1 -1
- package/chunks/{chunk-H54GDVNS.js → chunk-WUW3GUNC.js} +2 -2
- package/chunks/{chunk-PJDZMLNG.js → chunk-XB3EGDBI.js} +1 -1
- package/chunks/{chunk-7NM3LHIZ.js → chunk-YPIFPJYU.js} +1 -1
- package/chunks/{chunk-WFED6NDN.js → chunk-ZBBU2P4D.js} +2 -2
- package/node/@aws-s3/index.js +10 -10
- package/node/@aws-s3/storage/directory/index.js +4 -4
- package/node/@aws-s3/storage/file/index.js +8 -8
- package/node/@aws-s3/storage/index.js +10 -10
- package/node/@google-cloud/index.js +12 -12
- package/node/@google-cloud/storage/directory/index.js +4 -4
- 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 +14 -14
- package/node/cloud-storage/index.js +47 -47
- 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 +58 -58
- 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 +10 -10
- package/node/ftps/index.js +9 -9
- package/node/images/index.js +10 -10
- package/node/images/transform/index.js +10 -10
- package/node/sftp/directory/index.js +4 -4
- package/node/sftp/file/index.js +9 -9
- package/node/sftp/index.js +11 -11
- package/package.json +1 -1
- package/chunks/chunk-32IRF4OP.js +0 -9
- package/chunks/{chunk-I3LKH6JC.js → chunk-5VBWOSWF.js} +6 -6
- package/chunks/{chunk-AK5LBEW3.js → chunk-6QX4OHYB.js} +6 -6
- package/chunks/{chunk-IIMYMEJ6.js → chunk-7N7ULH2L.js} +6 -6
- package/chunks/{chunk-NSB5NOKA.js → chunk-ADE5WQX7.js} +6 -6
- package/chunks/{chunk-RG5U7D3R.js → chunk-C6VNKTJ5.js} +6 -6
- package/chunks/{chunk-X5F6XGEP.js → chunk-CKENYYWH.js} +3 -3
- package/chunks/{chunk-E7JWKPHC.js → chunk-CXB2UFYS.js} +6 -6
- package/chunks/{chunk-ZGCSADRX.js → chunk-DIJAUFYY.js} +9 -9
- package/chunks/{chunk-A7K5DUP7.js → chunk-EZ22Z22X.js} +3 -3
- package/chunks/{chunk-GGT2PUZH.js → chunk-FR5H2OCV.js} +3 -3
- package/chunks/{chunk-LSZVKXDZ.js → chunk-G5RRNREY.js} +3 -3
- package/chunks/{chunk-6AYH6N4T.js → chunk-J5BXM6NQ.js} +6 -6
- package/chunks/{chunk-B2A3V4QD.js → chunk-LPBDLSCT.js} +27 -27
- package/chunks/{chunk-MRCJT2LW.js → chunk-LSUYC3S2.js} +6 -6
- package/chunks/{chunk-PXRLKO5Y.js → chunk-MB7HWF22.js} +3 -3
- package/chunks/{chunk-XV6XLBSP.js → chunk-MCXQONL2.js} +3 -3
- package/chunks/{chunk-N7TMNMOK.js → chunk-NVKPR4H5.js} +6 -6
- package/chunks/{chunk-MQMIN4B7.js → chunk-P7VNHQBT.js} +7 -7
- package/chunks/{chunk-TRGMY56Q.js → chunk-QTF7LWGT.js} +3 -3
- package/chunks/{chunk-IH6TPXGZ.js → chunk-RCEI45JF.js} +6 -6
- package/chunks/{chunk-3LAWRHHB.js → chunk-U57Q62IN.js} +3 -3
- package/chunks/{chunk-2KT7AKRW.js → chunk-WH6BPDAC.js} +3 -3
- package/chunks/{chunk-Y26GZH2J.js → chunk-XG7THU7X.js} +8 -8
- package/chunks/{chunk-ZBAKY6DB.js → chunk-ZH3QMMVD.js} +3 -3
- package/chunks/{chunk-JZ6QNL7U.js → chunk-ZSOK5Z67.js} +6 -6
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
createScale,
|
|
3
|
-
getHarmonic
|
|
4
|
-
} from "../../chunks/chunk-UYTXXUU7.js";
|
|
5
|
-
import {
|
|
6
|
-
absoluteModulo
|
|
7
|
-
} from "../../chunks/chunk-DNIOWD7K.js";
|
|
8
1
|
import {
|
|
9
2
|
clamp
|
|
10
3
|
} from "../../chunks/chunk-OSAXBA7G.js";
|
|
11
4
|
import {
|
|
12
5
|
interpolate
|
|
13
6
|
} from "../../chunks/chunk-BJAYUP7M.js";
|
|
7
|
+
import {
|
|
8
|
+
absoluteModulo
|
|
9
|
+
} from "../../chunks/chunk-DNIOWD7K.js";
|
|
10
|
+
import {
|
|
11
|
+
createScale,
|
|
12
|
+
getHarmonic
|
|
13
|
+
} from "../../chunks/chunk-KXIA3YGF.js";
|
|
14
14
|
import {
|
|
15
15
|
round
|
|
16
|
-
} from "../../chunks/chunk-
|
|
16
|
+
} from "../../chunks/chunk-EOE2ODJR.js";
|
|
17
17
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
|
18
18
|
|
|
19
19
|
// src/agnostic/numbers/index.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createScale,
|
|
3
3
|
getHarmonic
|
|
4
|
-
} from "../../../chunks/chunk-
|
|
5
|
-
import "../../../chunks/chunk-
|
|
4
|
+
} from "../../../chunks/chunk-KXIA3YGF.js";
|
|
5
|
+
import "../../../chunks/chunk-EOE2ODJR.js";
|
|
6
6
|
import "../../../chunks/chunk-WSFCRVEQ.js";
|
|
7
7
|
export {
|
|
8
8
|
createScale,
|
|
@@ -2,6 +2,9 @@ import {
|
|
|
2
2
|
Enums
|
|
3
3
|
} from "../../chunks/chunk-WOAYU6LB.js";
|
|
4
4
|
import "../../chunks/chunk-E6MSDKON.js";
|
|
5
|
+
import {
|
|
6
|
+
deepGetProperty
|
|
7
|
+
} from "../../chunks/chunk-SKMCIFS3.js";
|
|
5
8
|
import {
|
|
6
9
|
flattenGetters
|
|
7
10
|
} from "../../chunks/chunk-VFJYLXCI.js";
|
|
@@ -11,14 +14,11 @@ import {
|
|
|
11
14
|
isObject
|
|
12
15
|
} from "../../chunks/chunk-HQLRJ7XW.js";
|
|
13
16
|
import {
|
|
14
|
-
|
|
15
|
-
} from "../../chunks/chunk-
|
|
17
|
+
recordFormat
|
|
18
|
+
} from "../../chunks/chunk-YP64J65L.js";
|
|
16
19
|
import {
|
|
17
20
|
isRecord
|
|
18
21
|
} from "../../chunks/chunk-YDIBNEGA.js";
|
|
19
|
-
import {
|
|
20
|
-
recordFormat
|
|
21
|
-
} from "../../chunks/chunk-YP64J65L.js";
|
|
22
22
|
import {
|
|
23
23
|
recordMap
|
|
24
24
|
} from "../../chunks/chunk-XNF5MLCQ.js";
|
|
@@ -6,6 +6,9 @@ import {
|
|
|
6
6
|
matchesEvery,
|
|
7
7
|
matchesSome
|
|
8
8
|
} from "../../chunks/chunk-R3AWQXMY.js";
|
|
9
|
+
import {
|
|
10
|
+
replaceAll
|
|
11
|
+
} from "../../chunks/chunk-ZTDVUXPR.js";
|
|
9
12
|
import {
|
|
10
13
|
normalizeIndent
|
|
11
14
|
} from "../../chunks/chunk-JQXNEJAP.js";
|
|
@@ -13,9 +16,6 @@ import {
|
|
|
13
16
|
parseTable
|
|
14
17
|
} from "../../chunks/chunk-A3CDUWGR.js";
|
|
15
18
|
import "../../chunks/chunk-JMU5PDBD.js";
|
|
16
|
-
import {
|
|
17
|
-
replaceAll
|
|
18
|
-
} from "../../chunks/chunk-ZTDVUXPR.js";
|
|
19
19
|
import {
|
|
20
20
|
toAlphanum
|
|
21
21
|
} from "../../chunks/chunk-COVPTTAD.js";
|
package/agnostic/time/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "../../chunks/chunk-
|
|
2
|
+
Duration
|
|
3
|
+
} from "../../chunks/chunk-6NYUQXJT.js";
|
|
4
4
|
import {
|
|
5
5
|
Transitions
|
|
6
6
|
} from "../../chunks/chunk-ENMBK6H7.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "../../chunks/chunk-
|
|
10
|
-
import "../../chunks/chunk-YQWZ3EP2.js";
|
|
11
|
-
import {
|
|
12
|
-
Duration
|
|
13
|
-
} from "../../chunks/chunk-6NYUQXJT.js";
|
|
8
|
+
timeout
|
|
9
|
+
} from "../../chunks/chunk-Z7ZDDBV5.js";
|
|
14
10
|
import {
|
|
15
11
|
wait
|
|
16
12
|
} from "../../chunks/chunk-4CIS3R7T.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,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
2
|
+
remove_file_exports
|
|
3
|
+
} from "./chunk-RCEI45JF.js";
|
|
4
4
|
import {
|
|
5
5
|
upload_file_exports
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5VBWOSWF.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./chunk-
|
|
8
|
+
copy_file_exports
|
|
9
|
+
} from "./chunk-ZSOK5Z67.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./chunk-
|
|
11
|
+
stat_file_exports
|
|
12
|
+
} from "./chunk-ADE5WQX7.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./chunk-
|
|
14
|
+
copy_dir_exports
|
|
15
|
+
} from "./chunk-C6VNKTJ5.js";
|
|
16
16
|
import {
|
|
17
17
|
exists_file_exports
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import {
|
|
20
|
-
remove_dir_exports
|
|
21
|
-
} from "./chunk-6AYH6N4T.js";
|
|
18
|
+
} from "./chunk-LSUYC3S2.js";
|
|
22
19
|
import {
|
|
23
20
|
download_file_exports
|
|
24
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-7N7ULH2L.js";
|
|
25
22
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./chunk-
|
|
23
|
+
list_dir_exports
|
|
24
|
+
} from "./chunk-CXB2UFYS.js";
|
|
28
25
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./chunk-
|
|
26
|
+
move_dir_exports
|
|
27
|
+
} from "./chunk-6QX4OHYB.js";
|
|
31
28
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./chunk-
|
|
29
|
+
remove_dir_exports
|
|
30
|
+
} from "./chunk-J5BXM6NQ.js";
|
|
31
|
+
import {
|
|
32
|
+
move_file_exports
|
|
33
|
+
} from "./chunk-NVKPR4H5.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-
|
|
4
|
-
import {
|
|
5
|
-
directory_exports
|
|
6
|
-
} from "./chunk-X5F6XGEP.js";
|
|
3
|
+
} from "./chunk-Q373CMPR.js";
|
|
7
4
|
import {
|
|
8
5
|
bucket_exports
|
|
9
6
|
} from "./chunk-UEAMPAHK.js";
|
|
7
|
+
import {
|
|
8
|
+
directory_exports
|
|
9
|
+
} from "./chunk-CKENYYWH.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
12
|
} from "./chunk-WSFCRVEQ.js";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// src/agnostic/numbers/round/index.ts
|
|
2
|
+
function round(number, nbDecimals) {
|
|
3
|
+
const multiplier = Math.pow(10, nbDecimals);
|
|
4
|
+
return Math.round(number * multiplier) / multiplier;
|
|
5
|
+
}
|
|
6
|
+
function ceil(number, nbDecimals) {
|
|
7
|
+
const multiplier = Math.pow(10, nbDecimals);
|
|
8
|
+
return Math.ceil(number * multiplier) / multiplier;
|
|
9
|
+
}
|
|
10
|
+
function floor(number, nbDecimals) {
|
|
11
|
+
const multiplier = Math.pow(10, nbDecimals);
|
|
12
|
+
return Math.floor(number * multiplier) / multiplier;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export {
|
|
16
|
+
round,
|
|
17
|
+
ceil,
|
|
18
|
+
floor
|
|
19
|
+
};
|
|
@@ -5,7 +5,20 @@ import {
|
|
|
5
5
|
// src/agnostic/misc/data-size/index.ts
|
|
6
6
|
var data_size_exports = {};
|
|
7
7
|
__export(data_size_exports, {
|
|
8
|
+
B: () => B,
|
|
8
9
|
DataSize: () => DataSize,
|
|
10
|
+
EB: () => EB,
|
|
11
|
+
EiB: () => EiB,
|
|
12
|
+
GB: () => GB,
|
|
13
|
+
GiB: () => GiB,
|
|
14
|
+
KB: () => KB,
|
|
15
|
+
KiB: () => KiB,
|
|
16
|
+
MB: () => MB,
|
|
17
|
+
MiB: () => MiB,
|
|
18
|
+
PB: () => PB,
|
|
19
|
+
PiB: () => PiB,
|
|
20
|
+
TB: () => TB,
|
|
21
|
+
TiB: () => TiB,
|
|
9
22
|
bits: () => bits,
|
|
10
23
|
bytes: () => bytes,
|
|
11
24
|
exabytes: () => exabytes,
|
|
@@ -93,113 +106,152 @@ var DataSize = class {
|
|
|
93
106
|
const bits2 = this.toBits();
|
|
94
107
|
return bits2 / 8;
|
|
95
108
|
}
|
|
109
|
+
toB = this.toBytes.bind(this);
|
|
96
110
|
toKiloBytes() {
|
|
97
111
|
const bytes2 = this.toBytes();
|
|
98
112
|
return bytes2 / 1e3;
|
|
99
113
|
}
|
|
114
|
+
toKB = this.toKiloBytes.bind(this);
|
|
100
115
|
toMegabytes() {
|
|
101
116
|
const bytes2 = this.toBytes();
|
|
102
117
|
return bytes2 / 1e3 / 1e3;
|
|
103
118
|
}
|
|
119
|
+
toMB = this.toMegabytes.bind(this);
|
|
104
120
|
toGigabytes() {
|
|
105
121
|
const bytes2 = this.toBytes();
|
|
106
122
|
return bytes2 / 1e3 / 1e3 / 1e3;
|
|
107
123
|
}
|
|
124
|
+
toGB = this.toGigabytes.bind(this);
|
|
108
125
|
toTerabytes() {
|
|
109
126
|
const bytes2 = this.toBytes();
|
|
110
127
|
return bytes2 / 1e3 / 1e3 / 1e3 / 1e3;
|
|
111
128
|
}
|
|
129
|
+
toTB = this.toTerabytes.bind(this);
|
|
112
130
|
toPetabytes() {
|
|
113
131
|
const bytes2 = this.toBytes();
|
|
114
132
|
return bytes2 / 1e3 / 1e3 / 1e3 / 1e3 / 1e3;
|
|
115
133
|
}
|
|
134
|
+
toPB = this.toPetabytes.bind(this);
|
|
116
135
|
toExabytes() {
|
|
117
136
|
const bytes2 = this.toBytes();
|
|
118
137
|
return bytes2 / 1e3 / 1e3 / 1e3 / 1e3 / 1e3 / 1e3;
|
|
119
138
|
}
|
|
139
|
+
toEB = this.toExabytes.bind(this);
|
|
120
140
|
toKibibytes() {
|
|
121
141
|
const bytes2 = this.toBytes();
|
|
122
142
|
return bytes2 / 1024;
|
|
123
143
|
}
|
|
144
|
+
toKiB = this.toKibibytes.bind(this);
|
|
124
145
|
toMebibytes() {
|
|
125
146
|
const bytes2 = this.toBytes();
|
|
126
147
|
return bytes2 / 1024 / 1024;
|
|
127
148
|
}
|
|
149
|
+
toMiB = this.toMebibytes.bind(this);
|
|
128
150
|
toGibibytes() {
|
|
129
151
|
const bytes2 = this.toBytes();
|
|
130
152
|
return bytes2 / 1024 / 1024 / 1024;
|
|
131
153
|
}
|
|
154
|
+
toGiB = this.toGibibytes.bind(this);
|
|
132
155
|
toTebibytes() {
|
|
133
156
|
const bytes2 = this.toBytes();
|
|
134
157
|
return bytes2 / 1024 / 1024 / 1024 / 1024;
|
|
135
158
|
}
|
|
159
|
+
toTiB = this.toTebibytes.bind(this);
|
|
136
160
|
toPebibytes() {
|
|
137
161
|
const bytes2 = this.toBytes();
|
|
138
162
|
return bytes2 / 1024 / 1024 / 1024 / 1024 / 1024;
|
|
139
163
|
}
|
|
164
|
+
toPiB = this.toPebibytes.bind(this);
|
|
140
165
|
toExbibytes() {
|
|
141
166
|
const bytes2 = this.toBytes();
|
|
142
167
|
return bytes2 / 1024 / 1024 / 1024 / 1024 / 1024 / 1024;
|
|
143
168
|
}
|
|
169
|
+
toEiB = this.toExbibytes.bind(this);
|
|
144
170
|
};
|
|
145
171
|
function bits(value) {
|
|
146
|
-
return
|
|
172
|
+
return new DataSize(value, "bit");
|
|
147
173
|
}
|
|
148
|
-
function bytes(value
|
|
149
|
-
return new DataSize(value,
|
|
174
|
+
function bytes(value) {
|
|
175
|
+
return new DataSize(value, "byte");
|
|
150
176
|
}
|
|
177
|
+
var B = bytes;
|
|
151
178
|
function kiloBytes(value) {
|
|
152
|
-
return
|
|
179
|
+
return new DataSize(value, "kilobyte");
|
|
153
180
|
}
|
|
181
|
+
var KB = kiloBytes;
|
|
154
182
|
function megaBytes(value) {
|
|
155
|
-
return
|
|
183
|
+
return new DataSize(value, "megabyte");
|
|
156
184
|
}
|
|
185
|
+
var MB = megaBytes;
|
|
157
186
|
function gigabytes(value) {
|
|
158
|
-
return
|
|
187
|
+
return new DataSize(value, "gigabyte");
|
|
159
188
|
}
|
|
189
|
+
var GB = gigabytes;
|
|
160
190
|
function terabytes(value) {
|
|
161
|
-
return
|
|
191
|
+
return new DataSize(value, "terabyte");
|
|
162
192
|
}
|
|
193
|
+
var TB = terabytes;
|
|
163
194
|
function petabytes(value) {
|
|
164
|
-
return
|
|
195
|
+
return new DataSize(value, "petabyte");
|
|
165
196
|
}
|
|
197
|
+
var PB = petabytes;
|
|
166
198
|
function exabytes(value) {
|
|
167
|
-
return
|
|
199
|
+
return new DataSize(value, "exabyte");
|
|
168
200
|
}
|
|
201
|
+
var EB = exabytes;
|
|
169
202
|
function kibibytes(value) {
|
|
170
|
-
return
|
|
203
|
+
return new DataSize(value, "kibibyte");
|
|
171
204
|
}
|
|
205
|
+
var KiB = kibibytes;
|
|
172
206
|
function mebibytes(value) {
|
|
173
|
-
return
|
|
207
|
+
return new DataSize(value, "mebibyte");
|
|
174
208
|
}
|
|
209
|
+
var MiB = mebibytes;
|
|
175
210
|
function gibibytes(value) {
|
|
176
|
-
return
|
|
211
|
+
return new DataSize(value, "gibibyte");
|
|
177
212
|
}
|
|
213
|
+
var GiB = gibibytes;
|
|
178
214
|
function tebibytes(value) {
|
|
179
|
-
return
|
|
215
|
+
return new DataSize(value, "tebibyte");
|
|
180
216
|
}
|
|
217
|
+
var TiB = tebibytes;
|
|
181
218
|
function pebibytes(value) {
|
|
182
|
-
return
|
|
219
|
+
return new DataSize(value, "pebibyte");
|
|
183
220
|
}
|
|
221
|
+
var PiB = pebibytes;
|
|
184
222
|
function exbibytes(value) {
|
|
185
|
-
return
|
|
223
|
+
return new DataSize(value, "exbibyte");
|
|
186
224
|
}
|
|
225
|
+
var EiB = exbibytes;
|
|
187
226
|
|
|
188
227
|
export {
|
|
189
228
|
DataSize,
|
|
190
229
|
bits,
|
|
191
230
|
bytes,
|
|
231
|
+
B,
|
|
192
232
|
kiloBytes,
|
|
233
|
+
KB,
|
|
193
234
|
megaBytes,
|
|
235
|
+
MB,
|
|
194
236
|
gigabytes,
|
|
237
|
+
GB,
|
|
195
238
|
terabytes,
|
|
239
|
+
TB,
|
|
196
240
|
petabytes,
|
|
241
|
+
PB,
|
|
197
242
|
exabytes,
|
|
243
|
+
EB,
|
|
198
244
|
kibibytes,
|
|
245
|
+
KiB,
|
|
199
246
|
mebibytes,
|
|
247
|
+
MiB,
|
|
200
248
|
gibibytes,
|
|
249
|
+
GiB,
|
|
201
250
|
tebibytes,
|
|
251
|
+
TiB,
|
|
202
252
|
pebibytes,
|
|
253
|
+
PiB,
|
|
203
254
|
exbibytes,
|
|
255
|
+
EiB,
|
|
204
256
|
data_size_exports
|
|
205
257
|
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
randomPick,
|
|
3
3
|
randomPickMany
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AQBJ6HNB.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./chunk-
|
|
6
|
+
findDuplicates
|
|
7
|
+
} from "./chunk-YS6WMSWC.js";
|
|
8
8
|
import {
|
|
9
9
|
isArrayOf
|
|
10
10
|
} from "./chunk-6RGDWX4A.js";
|
|
11
|
+
import {
|
|
12
|
+
shuffle
|
|
13
|
+
} from "./chunk-VJJIYJMY.js";
|
|
11
14
|
import {
|
|
12
15
|
make
|
|
13
16
|
} from "./chunk-RLAZR3NL.js";
|
|
14
|
-
import {
|
|
15
|
-
findDuplicates
|
|
16
|
-
} from "./chunk-YS6WMSWC.js";
|
|
17
17
|
|
|
18
18
|
// src/agnostic/arrays/index.tsx
|
|
19
19
|
var Arrays;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
revoke_signed_urls_exports
|
|
3
|
-
} from "./chunk-LSZVKXDZ.js";
|
|
4
1
|
import {
|
|
5
2
|
update_metadata_exports
|
|
6
3
|
} from "./chunk-HWVEI3RH.js";
|
|
4
|
+
import {
|
|
5
|
+
revoke_signed_urls_exports
|
|
6
|
+
} from "./chunk-G5RRNREY.js";
|
|
7
|
+
import {
|
|
8
|
+
get_metadata_exports
|
|
9
|
+
} from "./chunk-42K3MQQ5.js";
|
|
7
10
|
import {
|
|
8
11
|
get_permissions_exports
|
|
9
12
|
} from "./chunk-YKPA3MQL.js";
|
|
@@ -11,17 +14,17 @@ import {
|
|
|
11
14
|
generate_signed_url_exports
|
|
12
15
|
} from "./chunk-PAIUCLVK.js";
|
|
13
16
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import {
|
|
17
|
-
move_exports
|
|
18
|
-
} from "./chunk-6IYUA43Q.js";
|
|
17
|
+
remove_exports
|
|
18
|
+
} from "./chunk-7J7CYOXU.js";
|
|
19
19
|
import {
|
|
20
20
|
upload_exports
|
|
21
21
|
} from "./chunk-FB3GNE2B.js";
|
|
22
22
|
import {
|
|
23
23
|
copy_exports
|
|
24
24
|
} from "./chunk-CWZFRUBS.js";
|
|
25
|
+
import {
|
|
26
|
+
stat_exports
|
|
27
|
+
} from "./chunk-W3RXHN5I.js";
|
|
25
28
|
import {
|
|
26
29
|
exists_exports
|
|
27
30
|
} from "./chunk-5VHFXWFM.js";
|
|
@@ -29,11 +32,8 @@ import {
|
|
|
29
32
|
download_exports
|
|
30
33
|
} from "./chunk-2JH4TCT2.js";
|
|
31
34
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./chunk-
|
|
34
|
-
import {
|
|
35
|
-
stat_exports
|
|
36
|
-
} from "./chunk-W3RXHN5I.js";
|
|
35
|
+
move_exports
|
|
36
|
+
} from "./chunk-6IYUA43Q.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
39
|
} from "./chunk-WSFCRVEQ.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Sanitize
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XB3EGDBI.js";
|
|
4
4
|
import {
|
|
5
5
|
register
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TIER4TF4.js";
|
|
7
7
|
|
|
8
8
|
// src/agnostic/html/string-to-nodes/index.ts
|
|
9
9
|
function stringToNodes(dirtyStr, options) {
|
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-
|
|
3
|
+
} from "../../chunks/chunk-WUW3GUNC.js";
|
|
4
|
+
import "../../chunks/chunk-ZH3QMMVD.js";
|
|
5
|
+
import "../../chunks/chunk-P7VNHQBT.js";
|
|
6
|
+
import "../../chunks/chunk-3TKBCG7Y.js";
|
|
7
7
|
import "../../chunks/chunk-FD5WR2A5.js";
|
|
8
|
-
import "../../chunks/chunk-ZSUG52DO.js";
|
|
9
|
-
import "../../chunks/chunk-ON6LC3HE.js";
|
|
10
8
|
import "../../chunks/chunk-C6QTHDDM.js";
|
|
11
|
-
import "../../chunks/chunk-ZEZCYPLQ.js";
|
|
12
|
-
import "../../chunks/chunk-4XSDRT23.js";
|
|
13
|
-
import "../../chunks/chunk-IV75M3KE.js";
|
|
14
|
-
import "../../chunks/chunk-3TKBCG7Y.js";
|
|
15
9
|
import "../../chunks/chunk-VROZGPC5.js";
|
|
16
10
|
import "../../chunks/chunk-4XBUJAQU.js";
|
|
11
|
+
import "../../chunks/chunk-ZEZCYPLQ.js";
|
|
12
|
+
import "../../chunks/chunk-IV75M3KE.js";
|
|
13
|
+
import "../../chunks/chunk-ZSUG52DO.js";
|
|
14
|
+
import "../../chunks/chunk-ON6LC3HE.js";
|
|
15
|
+
import "../../chunks/chunk-4XSDRT23.js";
|
|
16
|
+
import "../../chunks/chunk-QWZ4ZNFA.js";
|
|
17
17
|
import "../../chunks/chunk-JMU5PDBD.js";
|
|
18
18
|
import "../../chunks/chunk-FENXVJYO.js";
|
|
19
19
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import "../../../../chunks/chunk-
|
|
1
|
+
import "../../../../chunks/chunk-ZH3QMMVD.js";
|
|
2
|
+
import {
|
|
3
|
+
copy_dir_exports
|
|
4
|
+
} from "../../../../chunks/chunk-4XBUJAQU.js";
|
|
2
5
|
import {
|
|
3
6
|
list_exports
|
|
4
7
|
} from "../../../../chunks/chunk-ZSUG52DO.js";
|
|
@@ -8,9 +11,6 @@ import {
|
|
|
8
11
|
import {
|
|
9
12
|
remove_dir_exports
|
|
10
13
|
} from "../../../../chunks/chunk-4XSDRT23.js";
|
|
11
|
-
import {
|
|
12
|
-
copy_dir_exports
|
|
13
|
-
} from "../../../../chunks/chunk-4XBUJAQU.js";
|
|
14
14
|
import "../../../../chunks/chunk-JMU5PDBD.js";
|
|
15
15
|
import "../../../../chunks/chunk-FENXVJYO.js";
|
|
16
16
|
import "../../../../chunks/chunk-WSFCRVEQ.js";
|