@design-edito/tools 0.2.11 → 0.2.12
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 +11 -11
- package/agnostic/arrays/random-pick/index.js +6 -6
- package/agnostic/colors/index.js +9 -9
- package/agnostic/colors/lighten-color/index.js +2 -2
- package/agnostic/colors/saturate-color/index.js +2 -2
- package/agnostic/css/index.js +20 -20
- package/agnostic/css/styles-set/index.js +8 -8
- package/agnostic/errors/index.js +2 -2
- 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 +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/misc/assert/index.js +3 -3
- package/agnostic/misc/crossenv/index.js +2 -2
- package/agnostic/misc/data-size/index.d.ts +1 -1
- package/agnostic/misc/data-size/index.js +1 -1
- package/agnostic/misc/index.js +30 -30
- package/agnostic/misc/logs/index.js +2 -2
- package/agnostic/misc/lorem-ipsum/index.js +15 -15
- package/agnostic/numbers/index.js +7 -7
- 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 +8 -8
- package/agnostic/random/index.js +2 -2
- package/agnostic/strings/index.js +14 -14
- package/agnostic/time/index.js +4 -4
- package/chunks/{chunk-3UIJ4IYZ.js → chunk-2J5PIJ7N.js} +6 -6
- package/chunks/{chunk-7NM3LHIZ.js → chunk-5CUF5ZK2.js} +4 -4
- package/chunks/{chunk-WJMBLQRX.js → chunk-AQBJ6HNB.js} +1 -1
- package/chunks/{chunk-H54GDVNS.js → chunk-CFE44ZUR.js} +2 -2
- package/chunks/{chunk-KFDXJEQ7.js → chunk-EAAX4SOA.js} +14 -14
- package/chunks/chunk-EOE2ODJR.js +19 -0
- package/chunks/{chunk-XIYECYET.js → chunk-HRSRRKOC.js} +22 -22
- package/chunks/{chunk-UYTXXUU7.js → chunk-KXIA3YGF.js} +1 -1
- package/chunks/{chunk-RVVJ4QD4.js → chunk-PLIJVLAB.js} +2 -2
- package/chunks/{chunk-7DV4CM2Z.js → chunk-SDKHL27Y.js} +15 -15
- 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-SH4ACYVB.js → chunk-WNP3U5KJ.js} +5 -5
- package/chunks/{chunk-PJDZMLNG.js → chunk-XB3EGDBI.js} +1 -1
- package/chunks/{chunk-WFED6NDN.js → chunk-ZBBU2P4D.js} +2 -2
- package/chunks/{chunk-HKNCJOAR.js → chunk-ZLPSLEWD.js} +4 -4
- 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 +10 -10
- 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 +4 -4
- package/node/@google-cloud/storage/directory/index.js +4 -4
- package/node/@google-cloud/storage/file/index.js +15 -15
- package/node/@google-cloud/storage/file/revoke-signed-urls/index.js +2 -2
- package/node/@google-cloud/storage/index.js +16 -16
- package/node/cloud-storage/index.js +44 -44
- package/node/cloud-storage/operations/copy-dir/index.js +2 -2
- package/node/cloud-storage/operations/copy-file/index.js +2 -2
- package/node/cloud-storage/operations/download-file/index.js +2 -2
- package/node/cloud-storage/operations/exists-file/index.js +2 -2
- package/node/cloud-storage/operations/index.js +53 -53
- package/node/cloud-storage/operations/list-dir/index.js +2 -2
- package/node/cloud-storage/operations/move-dir/index.js +2 -2
- package/node/cloud-storage/operations/move-file/index.js +2 -2
- package/node/cloud-storage/operations/remove-dir/index.js +2 -2
- package/node/cloud-storage/operations/remove-file/index.js +2 -2
- package/node/cloud-storage/operations/stat-file/index.js +2 -2
- package/node/cloud-storage/operations/upload-file/index.js +2 -2
- package/node/files/index.js +3 -3
- package/node/ftps/directory/index.js +6 -6
- package/node/ftps/file/index.js +5 -5
- package/node/ftps/index.js +10 -10
- package/node/images/index.js +9 -9
- package/node/images/transform/index.js +6 -6
- package/node/sftp/directory/index.js +4 -4
- package/node/sftp/file/index.js +12 -12
- package/node/sftp/index.js +11 -11
- package/package.json +1 -1
- package/chunks/chunk-32IRF4OP.js +0 -9
- package/chunks/{chunk-MRCJT2LW.js → chunk-24ZUWYIR.js} +3 -3
- package/chunks/{chunk-X5F6XGEP.js → chunk-4HPG6TEE.js} +3 -3
- package/chunks/{chunk-B2A3V4QD.js → chunk-5VOJAEZH.js} +17 -17
- package/chunks/{chunk-N7TMNMOK.js → chunk-646R6BQZ.js} +3 -3
- package/chunks/{chunk-RG5U7D3R.js → chunk-6NLNUGBI.js} +3 -3
- package/chunks/{chunk-MQMIN4B7.js → chunk-AY7SJG3R.js} +9 -9
- package/chunks/{chunk-6AYH6N4T.js → chunk-CA3UPHYO.js} +3 -3
- package/chunks/{chunk-E7JWKPHC.js → chunk-DPQRXSZH.js} +3 -3
- package/chunks/{chunk-IIMYMEJ6.js → chunk-EOTOFHUR.js} +3 -3
- package/chunks/{chunk-GGT2PUZH.js → chunk-FR5H2OCV.js} +3 -3
- package/chunks/{chunk-AK5LBEW3.js → chunk-FS6LRTDK.js} +3 -3
- package/chunks/{chunk-LSZVKXDZ.js → chunk-G5RRNREY.js} +3 -3
- package/chunks/{chunk-ZBAKY6DB.js → chunk-G6C3VTOA.js} +3 -3
- package/chunks/{chunk-IH6TPXGZ.js → chunk-H4LW6FP3.js} +3 -3
- package/chunks/{chunk-A7K5DUP7.js → chunk-IGFA7IDA.js} +3 -3
- package/chunks/{chunk-TRGMY56Q.js → chunk-LE23WL3C.js} +5 -5
- package/chunks/{chunk-ZGCSADRX.js → chunk-LRBVQNQI.js} +4 -4
- package/chunks/{chunk-Y26GZH2J.js → chunk-LV4WOREW.js} +11 -11
- package/chunks/{chunk-PXRLKO5Y.js → chunk-MB7HWF22.js} +3 -3
- package/chunks/{chunk-XV6XLBSP.js → chunk-MWB5N33V.js} +10 -10
- package/chunks/{chunk-I3LKH6JC.js → chunk-NOLQR5RW.js} +3 -3
- package/chunks/{chunk-JZ6QNL7U.js → chunk-OA7Y2A5T.js} +3 -3
- package/chunks/{chunk-UEAMPAHK.js → chunk-OMTDHKJI.js} +3 -3
- package/chunks/{chunk-S32K7POB.js → chunk-OVG5RGI3.js} +4 -4
- package/chunks/{chunk-MJQF3YZO.js → chunk-QN3UAKIU.js} +3 -3
- package/chunks/{chunk-3LAWRHHB.js → chunk-U57Q62IN.js} +3 -3
- package/chunks/{chunk-NSB5NOKA.js → chunk-UK4HNSEJ.js} +3 -3
- package/chunks/{chunk-2KT7AKRW.js → chunk-WH6BPDAC.js} +3 -3
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
} from "../../chunks/chunk-WOAYU6LB.js";
|
|
4
4
|
import "../../chunks/chunk-E6MSDKON.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "../../chunks/chunk-
|
|
8
|
-
import
|
|
6
|
+
deepGetProperty
|
|
7
|
+
} from "../../chunks/chunk-SKMCIFS3.js";
|
|
8
|
+
import {
|
|
9
|
+
recordFormat
|
|
10
|
+
} from "../../chunks/chunk-YP64J65L.js";
|
|
9
11
|
import {
|
|
10
12
|
isNonNullObject,
|
|
11
13
|
isObject
|
|
12
14
|
} from "../../chunks/chunk-HQLRJ7XW.js";
|
|
13
|
-
import {
|
|
14
|
-
deepGetProperty
|
|
15
|
-
} from "../../chunks/chunk-SKMCIFS3.js";
|
|
16
15
|
import {
|
|
17
16
|
isRecord
|
|
18
17
|
} from "../../chunks/chunk-YDIBNEGA.js";
|
|
19
18
|
import {
|
|
20
|
-
|
|
21
|
-
} from "../../chunks/chunk-
|
|
19
|
+
flattenGetters
|
|
20
|
+
} from "../../chunks/chunk-VFJYLXCI.js";
|
|
21
|
+
import "../../chunks/chunk-SNJJII7A.js";
|
|
22
22
|
import {
|
|
23
23
|
recordMap
|
|
24
24
|
} from "../../chunks/chunk-XNF5MLCQ.js";
|
package/agnostic/random/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Random
|
|
3
|
-
} from "../../chunks/chunk-
|
|
4
|
-
import "../../chunks/chunk-D3ERTRDW.js";
|
|
3
|
+
} from "../../chunks/chunk-OVG5RGI3.js";
|
|
5
4
|
import "../../chunks/chunk-75BICI4L.js";
|
|
6
5
|
import "../../chunks/chunk-OGBUSUE6.js";
|
|
6
|
+
import "../../chunks/chunk-D3ERTRDW.js";
|
|
7
7
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
|
8
8
|
export {
|
|
9
9
|
Random
|
|
@@ -1,6 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
replaceAll
|
|
3
|
+
} from "../../chunks/chunk-ZTDVUXPR.js";
|
|
4
|
+
import {
|
|
5
|
+
parseTable
|
|
6
|
+
} from "../../chunks/chunk-A3CDUWGR.js";
|
|
7
|
+
import "../../chunks/chunk-JMU5PDBD.js";
|
|
1
8
|
import {
|
|
2
9
|
CharCodes
|
|
3
10
|
} from "../../chunks/chunk-34U4HX4V.js";
|
|
11
|
+
import {
|
|
12
|
+
trimEnd,
|
|
13
|
+
trimStart
|
|
14
|
+
} from "../../chunks/chunk-6XL25OZX.js";
|
|
15
|
+
import {
|
|
16
|
+
toAlphanum
|
|
17
|
+
} from "../../chunks/chunk-COVPTTAD.js";
|
|
4
18
|
import {
|
|
5
19
|
matches,
|
|
6
20
|
matchesEvery,
|
|
@@ -9,20 +23,6 @@ import {
|
|
|
9
23
|
import {
|
|
10
24
|
normalizeIndent
|
|
11
25
|
} from "../../chunks/chunk-JQXNEJAP.js";
|
|
12
|
-
import {
|
|
13
|
-
parseTable
|
|
14
|
-
} from "../../chunks/chunk-A3CDUWGR.js";
|
|
15
|
-
import "../../chunks/chunk-JMU5PDBD.js";
|
|
16
|
-
import {
|
|
17
|
-
replaceAll
|
|
18
|
-
} from "../../chunks/chunk-ZTDVUXPR.js";
|
|
19
|
-
import {
|
|
20
|
-
toAlphanum
|
|
21
|
-
} from "../../chunks/chunk-COVPTTAD.js";
|
|
22
|
-
import {
|
|
23
|
-
trimEnd,
|
|
24
|
-
trimStart
|
|
25
|
-
} from "../../chunks/chunk-6XL25OZX.js";
|
|
26
26
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
|
27
27
|
|
|
28
28
|
// src/agnostic/strings/index.ts
|
package/agnostic/time/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
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";
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
} from "../../chunks/chunk-FZOU4OAW.js";
|
|
10
10
|
import "../../chunks/chunk-YQWZ3EP2.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "../../chunks/chunk-
|
|
12
|
+
timeout
|
|
13
|
+
} from "../../chunks/chunk-Z7ZDDBV5.js";
|
|
14
14
|
import {
|
|
15
15
|
wait
|
|
16
16
|
} from "../../chunks/chunk-4CIS3R7T.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./chunk-WJMBLQRX.js";
|
|
2
|
+
findDuplicates
|
|
3
|
+
} from "./chunk-YS6WMSWC.js";
|
|
5
4
|
import {
|
|
6
5
|
shuffle
|
|
7
6
|
} from "./chunk-VJJIYJMY.js";
|
|
8
7
|
import {
|
|
9
8
|
isArrayOf
|
|
10
9
|
} from "./chunk-6RGDWX4A.js";
|
|
10
|
+
import {
|
|
11
|
+
randomPick,
|
|
12
|
+
randomPickMany
|
|
13
|
+
} from "./chunk-AQBJ6HNB.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,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
revoke_signed_urls_exports
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-G5RRNREY.js";
|
|
4
4
|
import {
|
|
5
5
|
update_metadata_exports
|
|
6
6
|
} from "./chunk-HWVEI3RH.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./chunk-
|
|
8
|
+
get_metadata_exports
|
|
9
|
+
} from "./chunk-42K3MQQ5.js";
|
|
10
10
|
import {
|
|
11
11
|
generate_signed_url_exports
|
|
12
12
|
} from "./chunk-PAIUCLVK.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./chunk-
|
|
14
|
+
get_permissions_exports
|
|
15
|
+
} from "./chunk-YKPA3MQL.js";
|
|
16
16
|
import {
|
|
17
17
|
move_exports
|
|
18
18
|
} from "./chunk-6IYUA43Q.js";
|
|
19
|
+
import {
|
|
20
|
+
remove_exports
|
|
21
|
+
} from "./chunk-7J7CYOXU.js";
|
|
22
|
+
import {
|
|
23
|
+
stat_exports
|
|
24
|
+
} from "./chunk-W3RXHN5I.js";
|
|
19
25
|
import {
|
|
20
26
|
upload_exports
|
|
21
27
|
} from "./chunk-FB3GNE2B.js";
|
|
28
|
+
import {
|
|
29
|
+
download_exports
|
|
30
|
+
} from "./chunk-2JH4TCT2.js";
|
|
22
31
|
import {
|
|
23
32
|
copy_exports
|
|
24
33
|
} from "./chunk-CWZFRUBS.js";
|
|
25
34
|
import {
|
|
26
35
|
exists_exports
|
|
27
36
|
} from "./chunk-5VHFXWFM.js";
|
|
28
|
-
import {
|
|
29
|
-
download_exports
|
|
30
|
-
} from "./chunk-2JH4TCT2.js";
|
|
31
|
-
import {
|
|
32
|
-
remove_exports
|
|
33
|
-
} from "./chunk-7J7CYOXU.js";
|
|
34
|
-
import {
|
|
35
|
-
stat_exports
|
|
36
|
-
} from "./chunk-W3RXHN5I.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
39
|
} 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
|
+
};
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
upload_file_exports
|
|
6
|
-
} from "./chunk-I3LKH6JC.js";
|
|
2
|
+
move_dir_exports
|
|
3
|
+
} from "./chunk-FS6LRTDK.js";
|
|
7
4
|
import {
|
|
8
5
|
list_dir_exports
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
move_dir_exports
|
|
12
|
-
} from "./chunk-AK5LBEW3.js";
|
|
6
|
+
} from "./chunk-DPQRXSZH.js";
|
|
13
7
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./chunk-
|
|
8
|
+
move_file_exports
|
|
9
|
+
} from "./chunk-646R6BQZ.js";
|
|
16
10
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./chunk-
|
|
11
|
+
remove_file_exports
|
|
12
|
+
} from "./chunk-H4LW6FP3.js";
|
|
19
13
|
import {
|
|
20
14
|
remove_dir_exports
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import {
|
|
23
|
-
download_file_exports
|
|
24
|
-
} from "./chunk-IIMYMEJ6.js";
|
|
25
|
-
import {
|
|
26
|
-
remove_file_exports
|
|
27
|
-
} from "./chunk-IH6TPXGZ.js";
|
|
15
|
+
} from "./chunk-CA3UPHYO.js";
|
|
28
16
|
import {
|
|
29
17
|
stat_file_exports
|
|
30
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UK4HNSEJ.js";
|
|
19
|
+
import {
|
|
20
|
+
upload_file_exports
|
|
21
|
+
} from "./chunk-NOLQR5RW.js";
|
|
31
22
|
import {
|
|
32
23
|
copy_dir_exports
|
|
33
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-6NLNUGBI.js";
|
|
25
|
+
import {
|
|
26
|
+
download_file_exports
|
|
27
|
+
} from "./chunk-EOTOFHUR.js";
|
|
28
|
+
import {
|
|
29
|
+
copy_file_exports
|
|
30
|
+
} from "./chunk-OA7Y2A5T.js";
|
|
31
|
+
import {
|
|
32
|
+
exists_file_exports
|
|
33
|
+
} from "./chunk-24ZUWYIR.js";
|
|
34
34
|
import {
|
|
35
35
|
__export
|
|
36
36
|
} from "./chunk-WSFCRVEQ.js";
|
|
@@ -143,46 +143,46 @@ var DataSize = class {
|
|
|
143
143
|
}
|
|
144
144
|
};
|
|
145
145
|
function bits(value) {
|
|
146
|
-
return
|
|
146
|
+
return new DataSize(value, "bit");
|
|
147
147
|
}
|
|
148
|
-
function bytes(value
|
|
149
|
-
return new DataSize(value,
|
|
148
|
+
function bytes(value) {
|
|
149
|
+
return new DataSize(value, "byte");
|
|
150
150
|
}
|
|
151
151
|
function kiloBytes(value) {
|
|
152
|
-
return
|
|
152
|
+
return new DataSize(value, "kilobyte");
|
|
153
153
|
}
|
|
154
154
|
function megaBytes(value) {
|
|
155
|
-
return
|
|
155
|
+
return new DataSize(value, "megabyte");
|
|
156
156
|
}
|
|
157
157
|
function gigabytes(value) {
|
|
158
|
-
return
|
|
158
|
+
return new DataSize(value, "gigabyte");
|
|
159
159
|
}
|
|
160
160
|
function terabytes(value) {
|
|
161
|
-
return
|
|
161
|
+
return new DataSize(value, "terabyte");
|
|
162
162
|
}
|
|
163
163
|
function petabytes(value) {
|
|
164
|
-
return
|
|
164
|
+
return new DataSize(value, "petabyte");
|
|
165
165
|
}
|
|
166
166
|
function exabytes(value) {
|
|
167
|
-
return
|
|
167
|
+
return new DataSize(value, "exabyte");
|
|
168
168
|
}
|
|
169
169
|
function kibibytes(value) {
|
|
170
|
-
return
|
|
170
|
+
return new DataSize(value, "kibibyte");
|
|
171
171
|
}
|
|
172
172
|
function mebibytes(value) {
|
|
173
|
-
return
|
|
173
|
+
return new DataSize(value, "mebibyte");
|
|
174
174
|
}
|
|
175
175
|
function gibibytes(value) {
|
|
176
|
-
return
|
|
176
|
+
return new DataSize(value, "gibibyte");
|
|
177
177
|
}
|
|
178
178
|
function tebibytes(value) {
|
|
179
|
-
return
|
|
179
|
+
return new DataSize(value, "tebibyte");
|
|
180
180
|
}
|
|
181
181
|
function pebibytes(value) {
|
|
182
|
-
return
|
|
182
|
+
return new DataSize(value, "pebibyte");
|
|
183
183
|
}
|
|
184
184
|
function exbibytes(value) {
|
|
185
|
-
return
|
|
185
|
+
return new DataSize(value, "exbibyte");
|
|
186
186
|
}
|
|
187
187
|
|
|
188
188
|
export {
|
|
@@ -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-EAAX4SOA.js";
|
|
7
4
|
import {
|
|
8
5
|
bucket_exports
|
|
9
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OMTDHKJI.js";
|
|
7
|
+
import {
|
|
8
|
+
directory_exports
|
|
9
|
+
} from "./chunk-4HPG6TEE.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
12
|
} 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) {
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
Cast,
|
|
3
3
|
Tree,
|
|
4
4
|
Utils
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import {
|
|
7
|
-
Serialize
|
|
8
|
-
} from "./chunk-SXRWMH3U.js";
|
|
5
|
+
} from "./chunk-MWB5N33V.js";
|
|
9
6
|
import {
|
|
10
7
|
Types
|
|
11
8
|
} from "./chunk-XEQ2PBT2.js";
|
|
12
9
|
import {
|
|
13
10
|
SmartTags
|
|
14
11
|
} from "./chunk-UT2J62LH.js";
|
|
12
|
+
import {
|
|
13
|
+
Serialize
|
|
14
|
+
} from "./chunk-SXRWMH3U.js";
|
|
15
15
|
import {
|
|
16
16
|
Transformer
|
|
17
17
|
} from "./chunk-BKO7GLC2.js";
|
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";
|
|
8
|
-
import "../../chunks/chunk-ZSUG52DO.js";
|
|
3
|
+
} from "../../chunks/chunk-CFE44ZUR.js";
|
|
4
|
+
import "../../chunks/chunk-G6C3VTOA.js";
|
|
5
|
+
import "../../chunks/chunk-AY7SJG3R.js";
|
|
9
6
|
import "../../chunks/chunk-ON6LC3HE.js";
|
|
10
|
-
import "../../chunks/chunk-
|
|
11
|
-
import "../../chunks/chunk-
|
|
12
|
-
import "../../chunks/chunk-4XSDRT23.js";
|
|
13
|
-
import "../../chunks/chunk-IV75M3KE.js";
|
|
7
|
+
import "../../chunks/chunk-ZSUG52DO.js";
|
|
8
|
+
import "../../chunks/chunk-QWZ4ZNFA.js";
|
|
14
9
|
import "../../chunks/chunk-3TKBCG7Y.js";
|
|
10
|
+
import "../../chunks/chunk-4XSDRT23.js";
|
|
15
11
|
import "../../chunks/chunk-VROZGPC5.js";
|
|
12
|
+
import "../../chunks/chunk-FD5WR2A5.js";
|
|
16
13
|
import "../../chunks/chunk-4XBUJAQU.js";
|
|
14
|
+
import "../../chunks/chunk-IV75M3KE.js";
|
|
15
|
+
import "../../chunks/chunk-C6QTHDDM.js";
|
|
16
|
+
import "../../chunks/chunk-ZEZCYPLQ.js";
|
|
17
17
|
import "../../chunks/chunk-JMU5PDBD.js";
|
|
18
18
|
import "../../chunks/chunk-FENXVJYO.js";
|
|
19
19
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import "../../../../chunks/chunk-
|
|
2
|
-
import {
|
|
3
|
-
list_exports
|
|
4
|
-
} from "../../../../chunks/chunk-ZSUG52DO.js";
|
|
1
|
+
import "../../../../chunks/chunk-G6C3VTOA.js";
|
|
5
2
|
import {
|
|
6
3
|
move_dir_exports
|
|
7
4
|
} from "../../../../chunks/chunk-ON6LC3HE.js";
|
|
5
|
+
import {
|
|
6
|
+
list_exports
|
|
7
|
+
} from "../../../../chunks/chunk-ZSUG52DO.js";
|
|
8
8
|
import {
|
|
9
9
|
remove_dir_exports
|
|
10
10
|
} from "../../../../chunks/chunk-4XSDRT23.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import "../../../../chunks/chunk-
|
|
1
|
+
import "../../../../chunks/chunk-AY7SJG3R.js";
|
|
2
2
|
import {
|
|
3
3
|
move_exports
|
|
4
4
|
} from "../../../../chunks/chunk-QWZ4ZNFA.js";
|
|
5
|
+
import {
|
|
6
|
+
remove_exports
|
|
7
|
+
} from "../../../../chunks/chunk-3TKBCG7Y.js";
|
|
8
|
+
import {
|
|
9
|
+
stat_exports
|
|
10
|
+
} from "../../../../chunks/chunk-VROZGPC5.js";
|
|
5
11
|
import {
|
|
6
12
|
upload_exports
|
|
7
13
|
} from "../../../../chunks/chunk-FD5WR2A5.js";
|
|
14
|
+
import {
|
|
15
|
+
download_exports
|
|
16
|
+
} from "../../../../chunks/chunk-IV75M3KE.js";
|
|
8
17
|
import {
|
|
9
18
|
copy_exports
|
|
10
19
|
} from "../../../../chunks/chunk-C6QTHDDM.js";
|
|
11
20
|
import {
|
|
12
21
|
exists_exports
|
|
13
22
|
} from "../../../../chunks/chunk-ZEZCYPLQ.js";
|
|
14
|
-
import {
|
|
15
|
-
download_exports
|
|
16
|
-
} from "../../../../chunks/chunk-IV75M3KE.js";
|
|
17
|
-
import {
|
|
18
|
-
remove_exports
|
|
19
|
-
} from "../../../../chunks/chunk-3TKBCG7Y.js";
|
|
20
|
-
import {
|
|
21
|
-
stat_exports
|
|
22
|
-
} from "../../../../chunks/chunk-VROZGPC5.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-CFE44ZUR.js";
|
|
2
2
|
import {
|
|
3
3
|
directory_exports
|
|
4
|
-
} from "../../../chunks/chunk-
|
|
4
|
+
} from "../../../chunks/chunk-G6C3VTOA.js";
|
|
5
5
|
import {
|
|
6
6
|
file_exports
|
|
7
|
-
} from "../../../chunks/chunk-
|
|
8
|
-
import "../../../chunks/chunk-QWZ4ZNFA.js";
|
|
9
|
-
import "../../../chunks/chunk-FD5WR2A5.js";
|
|
10
|
-
import "../../../chunks/chunk-ZSUG52DO.js";
|
|
7
|
+
} from "../../../chunks/chunk-AY7SJG3R.js";
|
|
11
8
|
import "../../../chunks/chunk-ON6LC3HE.js";
|
|
12
|
-
import "../../../chunks/chunk-
|
|
13
|
-
import "../../../chunks/chunk-
|
|
14
|
-
import "../../../chunks/chunk-4XSDRT23.js";
|
|
15
|
-
import "../../../chunks/chunk-IV75M3KE.js";
|
|
9
|
+
import "../../../chunks/chunk-ZSUG52DO.js";
|
|
10
|
+
import "../../../chunks/chunk-QWZ4ZNFA.js";
|
|
16
11
|
import "../../../chunks/chunk-3TKBCG7Y.js";
|
|
12
|
+
import "../../../chunks/chunk-4XSDRT23.js";
|
|
17
13
|
import "../../../chunks/chunk-VROZGPC5.js";
|
|
14
|
+
import "../../../chunks/chunk-FD5WR2A5.js";
|
|
18
15
|
import "../../../chunks/chunk-4XBUJAQU.js";
|
|
16
|
+
import "../../../chunks/chunk-IV75M3KE.js";
|
|
17
|
+
import "../../../chunks/chunk-C6QTHDDM.js";
|
|
18
|
+
import "../../../chunks/chunk-ZEZCYPLQ.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-WNP3U5KJ.js";
|
|
4
|
+
import "../../chunks/chunk-EAAX4SOA.js";
|
|
5
|
+
import "../../chunks/chunk-G5RRNREY.js";
|
|
6
6
|
import "../../chunks/chunk-HWVEI3RH.js";
|
|
7
|
-
import "../../chunks/chunk-YKPA3MQL.js";
|
|
8
|
-
import "../../chunks/chunk-PAIUCLVK.js";
|
|
9
7
|
import "../../chunks/chunk-42K3MQQ5.js";
|
|
10
|
-
import "../../chunks/chunk-
|
|
11
|
-
import "../../chunks/chunk-
|
|
8
|
+
import "../../chunks/chunk-PAIUCLVK.js";
|
|
9
|
+
import "../../chunks/chunk-YKPA3MQL.js";
|
|
10
|
+
import "../../chunks/chunk-OMTDHKJI.js";
|
|
12
11
|
import "../../chunks/chunk-ZNA7SWFK.js";
|
|
13
|
-
import "../../chunks/chunk-
|
|
14
|
-
import "../../chunks/chunk-FB3GNE2B.js";
|
|
15
|
-
import "../../chunks/chunk-37TRFYZT.js";
|
|
12
|
+
import "../../chunks/chunk-4HPG6TEE.js";
|
|
16
13
|
import "../../chunks/chunk-BWYH445G.js";
|
|
17
|
-
import "../../chunks/chunk-
|
|
18
|
-
import "../../chunks/chunk-
|
|
19
|
-
import "../../chunks/chunk-QLDN574K.js";
|
|
20
|
-
import "../../chunks/chunk-2JH4TCT2.js";
|
|
14
|
+
import "../../chunks/chunk-37TRFYZT.js";
|
|
15
|
+
import "../../chunks/chunk-6IYUA43Q.js";
|
|
21
16
|
import "../../chunks/chunk-7J7CYOXU.js";
|
|
17
|
+
import "../../chunks/chunk-QLDN574K.js";
|
|
22
18
|
import "../../chunks/chunk-W3RXHN5I.js";
|
|
19
|
+
import "../../chunks/chunk-FB3GNE2B.js";
|
|
23
20
|
import "../../chunks/chunk-V3L55I2S.js";
|
|
21
|
+
import "../../chunks/chunk-2JH4TCT2.js";
|
|
22
|
+
import "../../chunks/chunk-CWZFRUBS.js";
|
|
23
|
+
import "../../chunks/chunk-5VHFXWFM.js";
|
|
24
24
|
import "../../chunks/chunk-JMU5PDBD.js";
|
|
25
25
|
import "../../chunks/chunk-FENXVJYO.js";
|
|
26
26
|
import "../../chunks/chunk-WSFCRVEQ.js";
|