@design-edito/tools 0.2.3 → 0.2.4
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 +2 -2
- 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/bem/index.js +2 -2
- package/agnostic/css/index.js +5 -5
- package/agnostic/html/hyper-json/cast/index.js +3 -3
- package/agnostic/html/hyper-json/index.js +4 -4
- package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +3 -3
- package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +3 -3
- package/agnostic/html/hyper-json/tree/index.js +3 -3
- package/agnostic/html/hyper-json/utils/index.js +3 -3
- package/agnostic/html/index.js +7 -7
- package/agnostic/misc/index.js +24 -24
- package/agnostic/misc/logs/index.js +2 -2
- package/agnostic/misc/lorem-ipsum/index.js +7 -7
- package/agnostic/numbers/index.js +3 -3
- package/agnostic/objects/index.js +11 -11
- package/agnostic/strings/index.d.ts +2 -0
- package/agnostic/strings/index.js +11 -6
- package/agnostic/strings/read-table/index.d.ts +38 -0
- package/agnostic/strings/read-table/index.js +10 -0
- package/agnostic/time/index.js +3 -3
- package/chunks/{chunk-WSKUUPV4.js → chunk-AMJDX7MB.js} +20 -20
- package/chunks/chunk-BLWSRM7I.js +38 -0
- package/chunks/{chunk-SO7OVQK2.js → chunk-K2SL55BG.js} +4 -4
- package/chunks/{chunk-XLL7WERQ.js → chunk-QHQ3WLN4.js} +1 -1
- package/chunks/{chunk-BXHICIJO.js → chunk-T4HGXBXC.js} +4 -4
- package/chunks/{chunk-VSCF32XO.js → chunk-VQUF2TSY.js} +3 -3
- package/node/@aws-s3/index.js +9 -9
- package/node/@aws-s3/storage/directory/index.js +4 -4
- package/node/@aws-s3/storage/file/index.js +6 -6
- package/node/@aws-s3/storage/index.js +11 -11
- package/node/@google-cloud/index.js +14 -14
- 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/index.js +16 -16
- package/node/cloud-storage/index.js +45 -45
- 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 +55 -55
- 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/encryption/index.js +3 -3
- package/node/ftps/directory/index.js +4 -4
- package/node/ftps/file/index.js +6 -6
- package/node/ftps/index.js +10 -10
- package/node/images/index.js +14 -14
- package/node/images/transform/index.js +8 -8
- package/node/sftp/directory/index.js +4 -4
- package/node/sftp/file/index.js +6 -6
- package/node/sftp/index.js +8 -8
- package/package.json +1 -1
- package/chunks/{chunk-MJCOPMAD.js → chunk-24ZUWYIR.js} +5 -5
- package/chunks/{chunk-G6C3VTOA.js → chunk-2WIWINVL.js} +3 -3
- package/chunks/{chunk-U57Q62IN.js → chunk-3LAWRHHB.js} +3 -3
- package/chunks/{chunk-LE23WL3C.js → chunk-42B5RQDS.js} +3 -3
- package/chunks/{chunk-JL6A5SAJ.js → chunk-4ZPWZQVR.js} +5 -5
- package/chunks/{chunk-UWHQFQI2.js → chunk-646R6BQZ.js} +5 -5
- package/chunks/{chunk-GJGGDURA.js → chunk-6NLNUGBI.js} +5 -5
- package/chunks/{chunk-KIONYWA7.js → chunk-7YW5HL6N.js} +3 -3
- package/chunks/{chunk-ALRRTVAV.js → chunk-AIEEEZLK.js} +13 -13
- package/chunks/{chunk-AQOBWV4U.js → chunk-BJVLBGZH.js} +23 -23
- package/chunks/{chunk-QT6N2QNW.js → chunk-CA3UPHYO.js} +5 -5
- package/chunks/{chunk-WWEDO42X.js → chunk-DPQRXSZH.js} +5 -5
- package/chunks/{chunk-GVGW5ZR6.js → chunk-E4MMN22Y.js} +6 -6
- package/chunks/{chunk-VTZRFTRR.js → chunk-EOTOFHUR.js} +5 -5
- package/chunks/{chunk-NAN5WRTL.js → chunk-FS6LRTDK.js} +5 -5
- package/chunks/{chunk-4PISR74R.js → chunk-GFQMBB2J.js} +5 -5
- package/chunks/{chunk-RCCKFZCR.js → chunk-H4LW6FP3.js} +5 -5
- package/chunks/{chunk-4HPG6TEE.js → chunk-HJARCTOH.js} +3 -3
- package/chunks/{chunk-X7KWB2VQ.js → chunk-MJQF3YZO.js} +3 -3
- package/chunks/{chunk-IGFA7IDA.js → chunk-MUOULXIW.js} +3 -3
- package/chunks/{chunk-3T67XKWX.js → chunk-NOLQR5RW.js} +5 -5
- package/chunks/{chunk-JVFAQFHD.js → chunk-OA7Y2A5T.js} +5 -5
- package/chunks/{chunk-V3PGGLMH.js → chunk-PENYZ6S7.js} +3 -3
- package/chunks/{chunk-MB7HWF22.js → chunk-PXRLKO5Y.js} +3 -3
- package/chunks/{chunk-VRFYLKZW.js → chunk-UK4HNSEJ.js} +5 -5
- package/chunks/{chunk-BGMAL4RK.js → chunk-ZMR2PK34.js} +5 -5
package/agnostic/html/index.js
CHANGED
@@ -12,31 +12,31 @@ import {
|
|
12
12
|
} from "../../chunks/chunk-RDQJSWRC.js";
|
13
13
|
import {
|
14
14
|
HyperJson
|
15
|
-
} from "../../chunks/chunk-
|
16
|
-
import "../../chunks/chunk-
|
15
|
+
} from "../../chunks/chunk-QHQ3WLN4.js";
|
16
|
+
import "../../chunks/chunk-E4MMN22Y.js";
|
17
|
+
import "../../chunks/chunk-QAQZEKIF.js";
|
17
18
|
import "../../chunks/chunk-QAVYONH6.js";
|
18
19
|
import "../../chunks/chunk-SXRWMH3U.js";
|
19
20
|
import "../../chunks/chunk-XEQ2PBT2.js";
|
20
21
|
import "../../chunks/chunk-FHLCPVND.js";
|
21
|
-
import "../../chunks/chunk-QAQZEKIF.js";
|
22
22
|
import "../../chunks/chunk-UT2J62LH.js";
|
23
23
|
import "../../chunks/chunk-BKO7GLC2.js";
|
24
24
|
import "../../chunks/chunk-RW7VAKJW.js";
|
25
|
+
import {
|
26
|
+
insertNode
|
27
|
+
} from "../../chunks/chunk-XA4HVHJ4.js";
|
25
28
|
import {
|
26
29
|
getNodeAncestors
|
27
30
|
} from "../../chunks/chunk-LUPVHC73.js";
|
28
31
|
import {
|
29
32
|
getPositionInsideParent
|
30
33
|
} from "../../chunks/chunk-VTPRO4NJ.js";
|
31
|
-
import {
|
32
|
-
insertNode
|
33
|
-
} from "../../chunks/chunk-XA4HVHJ4.js";
|
34
34
|
import "../../chunks/chunk-E6MSDKON.js";
|
35
35
|
import "../../chunks/chunk-YDIBNEGA.js";
|
36
36
|
import "../../chunks/chunk-XNF5MLCQ.js";
|
37
|
+
import "../../chunks/chunk-JMU5PDBD.js";
|
37
38
|
import "../../chunks/chunk-ZTDVUXPR.js";
|
38
39
|
import "../../chunks/chunk-6XL25OZX.js";
|
39
|
-
import "../../chunks/chunk-JMU5PDBD.js";
|
40
40
|
import "../../chunks/chunk-P2H6PV4O.js";
|
41
41
|
import "../../chunks/chunk-FR5H2OCV.js";
|
42
42
|
import "../../chunks/chunk-S2NMAH7K.js";
|
package/agnostic/misc/index.js
CHANGED
@@ -1,21 +1,18 @@
|
|
1
|
-
import {
|
2
|
-
LoremIpsum
|
3
|
-
} from "../../chunks/chunk-VSCF32XO.js";
|
4
1
|
import {
|
5
2
|
Logs
|
6
|
-
} from "../../chunks/chunk-
|
3
|
+
} from "../../chunks/chunk-MJQF3YZO.js";
|
4
|
+
import "../../chunks/chunk-RASMASS4.js";
|
7
5
|
import "../../chunks/chunk-L3OCRR3V.js";
|
8
6
|
import "../../chunks/chunk-H4PP6AHP.js";
|
9
|
-
import "../../chunks/chunk-RASMASS4.js";
|
10
7
|
import {
|
11
|
-
|
12
|
-
} from "../../chunks/chunk-
|
8
|
+
getCurrentDownlink
|
9
|
+
} from "../../chunks/chunk-7AWTHZLY.js";
|
10
|
+
import {
|
11
|
+
LoremIpsum
|
12
|
+
} from "../../chunks/chunk-VQUF2TSY.js";
|
13
13
|
import {
|
14
14
|
Assert
|
15
15
|
} from "../../chunks/chunk-E4FJHD5R.js";
|
16
|
-
import {
|
17
|
-
Outcome
|
18
|
-
} from "../../chunks/chunk-JMU5PDBD.js";
|
19
16
|
import {
|
20
17
|
Crawler
|
21
18
|
} from "../../chunks/chunk-YUP434IY.js";
|
@@ -24,21 +21,30 @@ import {
|
|
24
21
|
data_size_exports
|
25
22
|
} from "../../chunks/chunk-7DV4CM2Z.js";
|
26
23
|
import {
|
27
|
-
|
28
|
-
} from "../../chunks/chunk-
|
29
|
-
import
|
24
|
+
Cast
|
25
|
+
} from "../../chunks/chunk-SNJJII7A.js";
|
26
|
+
import {
|
27
|
+
Outcome
|
28
|
+
} from "../../chunks/chunk-JMU5PDBD.js";
|
29
|
+
import "../../chunks/chunk-QXAJXTXV.js";
|
30
|
+
import {
|
31
|
+
isNotNullish,
|
32
|
+
isNullish,
|
33
|
+
nullishValues
|
34
|
+
} from "../../chunks/chunk-HC6ZOHCS.js";
|
35
|
+
import "../../chunks/chunk-S32K7POB.js";
|
36
|
+
import "../../chunks/chunk-D3ERTRDW.js";
|
37
|
+
import "../../chunks/chunk-75BICI4L.js";
|
38
|
+
import "../../chunks/chunk-OGBUSUE6.js";
|
39
|
+
import "../../chunks/chunk-PENYZ6S7.js";
|
30
40
|
import "../../chunks/chunk-VJJIYJMY.js";
|
31
41
|
import "../../chunks/chunk-YS6WMSWC.js";
|
32
|
-
import "../../chunks/chunk-RLAZR3NL.js";
|
33
42
|
import "../../chunks/chunk-6RGDWX4A.js";
|
34
43
|
import {
|
35
44
|
isConstructorFunction
|
36
45
|
} from "../../chunks/chunk-RCO57B6F.js";
|
46
|
+
import "../../chunks/chunk-RLAZR3NL.js";
|
37
47
|
import "../../chunks/chunk-C7SRAQMW.js";
|
38
|
-
import "../../chunks/chunk-S32K7POB.js";
|
39
|
-
import "../../chunks/chunk-D3ERTRDW.js";
|
40
|
-
import "../../chunks/chunk-75BICI4L.js";
|
41
|
-
import "../../chunks/chunk-OGBUSUE6.js";
|
42
48
|
import "../../chunks/chunk-P2H6PV4O.js";
|
43
49
|
import {
|
44
50
|
Crossenv
|
@@ -46,12 +52,6 @@ import {
|
|
46
52
|
import "../../chunks/chunk-S2NMAH7K.js";
|
47
53
|
import "../../chunks/chunk-LV2VMOWR.js";
|
48
54
|
import "../../chunks/chunk-RLJOYG64.js";
|
49
|
-
import "../../chunks/chunk-QXAJXTXV.js";
|
50
|
-
import {
|
51
|
-
isNotNullish,
|
52
|
-
isNullish,
|
53
|
-
nullishValues
|
54
|
-
} from "../../chunks/chunk-HC6ZOHCS.js";
|
55
55
|
import "../../chunks/chunk-2KT7AKRW.js";
|
56
56
|
import "../../chunks/chunk-FENXVJYO.js";
|
57
57
|
import "../../chunks/chunk-QHLQVR3E.js";
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import {
|
2
2
|
Logs
|
3
|
-
} from "../../../chunks/chunk-
|
3
|
+
} from "../../../chunks/chunk-MJQF3YZO.js";
|
4
|
+
import "../../../chunks/chunk-RASMASS4.js";
|
4
5
|
import "../../../chunks/chunk-L3OCRR3V.js";
|
5
6
|
import "../../../chunks/chunk-H4PP6AHP.js";
|
6
|
-
import "../../../chunks/chunk-RASMASS4.js";
|
7
7
|
import "../../../chunks/chunk-WSFCRVEQ.js";
|
8
8
|
export {
|
9
9
|
Logs
|
@@ -1,17 +1,17 @@
|
|
1
1
|
import {
|
2
2
|
LoremIpsum
|
3
|
-
} from "../../../chunks/chunk-
|
4
|
-
import "../../../chunks/chunk-
|
3
|
+
} from "../../../chunks/chunk-VQUF2TSY.js";
|
4
|
+
import "../../../chunks/chunk-S32K7POB.js";
|
5
|
+
import "../../../chunks/chunk-D3ERTRDW.js";
|
6
|
+
import "../../../chunks/chunk-75BICI4L.js";
|
7
|
+
import "../../../chunks/chunk-OGBUSUE6.js";
|
8
|
+
import "../../../chunks/chunk-PENYZ6S7.js";
|
5
9
|
import "../../../chunks/chunk-VJJIYJMY.js";
|
6
10
|
import "../../../chunks/chunk-YS6WMSWC.js";
|
7
|
-
import "../../../chunks/chunk-RLAZR3NL.js";
|
8
11
|
import "../../../chunks/chunk-6RGDWX4A.js";
|
9
12
|
import "../../../chunks/chunk-RCO57B6F.js";
|
13
|
+
import "../../../chunks/chunk-RLAZR3NL.js";
|
10
14
|
import "../../../chunks/chunk-C7SRAQMW.js";
|
11
|
-
import "../../../chunks/chunk-S32K7POB.js";
|
12
|
-
import "../../../chunks/chunk-D3ERTRDW.js";
|
13
|
-
import "../../../chunks/chunk-75BICI4L.js";
|
14
|
-
import "../../../chunks/chunk-OGBUSUE6.js";
|
15
15
|
import "../../../chunks/chunk-P2H6PV4O.js";
|
16
16
|
import "../../../chunks/chunk-FR5H2OCV.js";
|
17
17
|
import "../../../chunks/chunk-S2NMAH7K.js";
|
@@ -1,3 +1,6 @@
|
|
1
|
+
import {
|
2
|
+
absoluteModulo
|
3
|
+
} from "../../chunks/chunk-DNIOWD7K.js";
|
1
4
|
import {
|
2
5
|
interpolate
|
3
6
|
} from "../../chunks/chunk-BJAYUP7M.js";
|
@@ -8,9 +11,6 @@ import {
|
|
8
11
|
import {
|
9
12
|
round
|
10
13
|
} from "../../chunks/chunk-32IRF4OP.js";
|
11
|
-
import {
|
12
|
-
absoluteModulo
|
13
|
-
} from "../../chunks/chunk-DNIOWD7K.js";
|
14
14
|
import {
|
15
15
|
clamp
|
16
16
|
} from "../../chunks/chunk-OSAXBA7G.js";
|
@@ -1,14 +1,10 @@
|
|
1
|
-
import {
|
2
|
-
isNonNullObject,
|
3
|
-
isObject
|
4
|
-
} from "../../chunks/chunk-HQLRJ7XW.js";
|
5
|
-
import {
|
6
|
-
Validation
|
7
|
-
} from "../../chunks/chunk-FPEW3A27.js";
|
8
1
|
import {
|
9
2
|
Enums
|
10
3
|
} from "../../chunks/chunk-WOAYU6LB.js";
|
11
4
|
import "../../chunks/chunk-E6MSDKON.js";
|
5
|
+
import {
|
6
|
+
recordFormat
|
7
|
+
} from "../../chunks/chunk-YP64J65L.js";
|
12
8
|
import {
|
13
9
|
deepGetProperty
|
14
10
|
} from "../../chunks/chunk-SKMCIFS3.js";
|
@@ -16,14 +12,18 @@ import {
|
|
16
12
|
isRecord
|
17
13
|
} from "../../chunks/chunk-YDIBNEGA.js";
|
18
14
|
import {
|
19
|
-
|
20
|
-
|
15
|
+
isNonNullObject,
|
16
|
+
isObject
|
17
|
+
} from "../../chunks/chunk-HQLRJ7XW.js";
|
21
18
|
import {
|
22
19
|
recordMap
|
23
20
|
} from "../../chunks/chunk-XNF5MLCQ.js";
|
24
21
|
import {
|
25
|
-
|
26
|
-
} from "../../chunks/chunk-
|
22
|
+
Validation
|
23
|
+
} from "../../chunks/chunk-FPEW3A27.js";
|
24
|
+
import {
|
25
|
+
flattenGetters
|
26
|
+
} from "../../chunks/chunk-VFJYLXCI.js";
|
27
27
|
import "../../chunks/chunk-SNJJII7A.js";
|
28
28
|
import "../../chunks/chunk-QXAJXTXV.js";
|
29
29
|
import "../../chunks/chunk-HC6ZOHCS.js";
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { CharCodes as CharCodesNamespace } from './char-codes';
|
2
2
|
import { matches as matchesFunc, matchesSome as matchesSomeFunc, matchesEvery as matchesEveryFunc } from './matches';
|
3
|
+
import { readTable as readTableFunc } from './read-table';
|
3
4
|
import { replaceAll as replaceAllFunc } from './replace-all';
|
4
5
|
import { normalizeIndent as normalizeIndentFunc } from './normalize-indent';
|
5
6
|
import { toAlphanum as toAlphanumFunc } from './to-alphanum';
|
@@ -10,6 +11,7 @@ export declare namespace Strings {
|
|
10
11
|
const matchesSome: typeof matchesSomeFunc;
|
11
12
|
const matchesEvery: typeof matchesEveryFunc;
|
12
13
|
const normalizeIndent: typeof normalizeIndentFunc;
|
14
|
+
const readTable: typeof readTableFunc;
|
13
15
|
const replaceAll: typeof replaceAllFunc;
|
14
16
|
const toAlphanum: typeof toAlphanumFunc;
|
15
17
|
const trimStart: typeof trimStartFunc;
|
@@ -1,6 +1,13 @@
|
|
1
|
+
import {
|
2
|
+
normalizeIndent
|
3
|
+
} from "../../chunks/chunk-JQXNEJAP.js";
|
1
4
|
import {
|
2
5
|
CharCodes
|
3
6
|
} from "../../chunks/chunk-34U4HX4V.js";
|
7
|
+
import {
|
8
|
+
readTable
|
9
|
+
} from "../../chunks/chunk-BLWSRM7I.js";
|
10
|
+
import "../../chunks/chunk-JMU5PDBD.js";
|
4
11
|
import {
|
5
12
|
matches,
|
6
13
|
matchesEvery,
|
@@ -9,16 +16,13 @@ import {
|
|
9
16
|
import {
|
10
17
|
replaceAll
|
11
18
|
} from "../../chunks/chunk-ZTDVUXPR.js";
|
12
|
-
import {
|
13
|
-
normalizeIndent
|
14
|
-
} from "../../chunks/chunk-JQXNEJAP.js";
|
15
|
-
import {
|
16
|
-
toAlphanum
|
17
|
-
} from "../../chunks/chunk-COVPTTAD.js";
|
18
19
|
import {
|
19
20
|
trimEnd,
|
20
21
|
trimStart
|
21
22
|
} from "../../chunks/chunk-6XL25OZX.js";
|
23
|
+
import {
|
24
|
+
toAlphanum
|
25
|
+
} from "../../chunks/chunk-COVPTTAD.js";
|
22
26
|
import "../../chunks/chunk-WSFCRVEQ.js";
|
23
27
|
|
24
28
|
// src/agnostic/strings/index.ts
|
@@ -29,6 +33,7 @@ var Strings;
|
|
29
33
|
Strings2.matchesSome = matchesSome;
|
30
34
|
Strings2.matchesEvery = matchesEvery;
|
31
35
|
Strings2.normalizeIndent = normalizeIndent;
|
36
|
+
Strings2.readTable = readTable;
|
32
37
|
Strings2.replaceAll = replaceAll;
|
33
38
|
Strings2.toAlphanum = toAlphanum;
|
34
39
|
Strings2.trimStart = trimStart;
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import { Outcome } from '../../misc/outcome';
|
2
|
+
export type ReadTableOptions<T extends Record<string, string>> = {
|
3
|
+
inputToLines: (input: string) => string[];
|
4
|
+
headLinePos: number;
|
5
|
+
headLineToHeaders: (input: string) => string[];
|
6
|
+
bodyLinesBounds: [number, number];
|
7
|
+
bodyLineToCellValue: (input: string) => string[];
|
8
|
+
schema: (obj: unknown) => T;
|
9
|
+
};
|
10
|
+
export declare const defaultOptions: ReadTableOptions<any>;
|
11
|
+
/**
|
12
|
+
* Parses a tabular string input into an array of objects, where each object represents a row in the table.
|
13
|
+
*
|
14
|
+
* The input table is expected to be a string with rows separated by newlines and columns separated by tabs.
|
15
|
+
* The first row is considered the header row, which defines the keys for the objects.
|
16
|
+
*
|
17
|
+
* @template T - The type of the objects in the resulting array, extending Record<string, string>.
|
18
|
+
* @param {string} table - The string representation of the table to be parsed.
|
19
|
+
* @param {ReadTableOptions<T>} [options=defaultOptions] - Configuration options for parsing the table.
|
20
|
+
* @param {function(string): string[]} options.inputToLines - Function to split the input string into lines.
|
21
|
+
* @param {number} options.headLinePos - The index of the header line in the lines array.
|
22
|
+
* @param {function(string): string[]} options.headLineToHeaders - Function to parse the header line into an array of header names.
|
23
|
+
* @param {[number, number]} options.bodyLinesBounds - Tuple indicating the start and end indices for body lines.
|
24
|
+
* @param {function(string): string[]} options.bodyLineToCellValue - Function to parse each body line into an array of cell values.
|
25
|
+
* @param {function(unknown): T} options.schema - Function to validate and transform each row object.
|
26
|
+
* @returns {Outcome.Either<T[], string>} An Outcome object containing either the array of parsed objects or an error message.
|
27
|
+
* @throws Will throw an error if the header line is not found.
|
28
|
+
* @example
|
29
|
+
* // Example usage:
|
30
|
+
* const table = 'name\tage\nAlice\t30\nBob\t25';
|
31
|
+
* const result = readTable(table);
|
32
|
+
* if (result.success) {
|
33
|
+
* console.log(result.payload); // [{ name: 'Alice', age: '30' }, { name: 'Bob', age: '25' }]
|
34
|
+
* } else {
|
35
|
+
* console.error(result.error);
|
36
|
+
* }
|
37
|
+
*/
|
38
|
+
export declare function readTable<T extends Record<string, string>>(table: string, options?: ReadTableOptions<T>): Outcome.Either<T[], string>;
|
package/agnostic/time/index.js
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
import {
|
2
|
+
Duration
|
3
|
+
} from "../../chunks/chunk-6NYUQXJT.js";
|
1
4
|
import {
|
2
5
|
Transitions
|
3
6
|
} from "../../chunks/chunk-ENMBK6H7.js";
|
@@ -5,9 +8,6 @@ import {
|
|
5
8
|
Dates
|
6
9
|
} from "../../chunks/chunk-FZOU4OAW.js";
|
7
10
|
import "../../chunks/chunk-YQWZ3EP2.js";
|
8
|
-
import {
|
9
|
-
Duration
|
10
|
-
} from "../../chunks/chunk-6NYUQXJT.js";
|
11
11
|
import {
|
12
12
|
timeout
|
13
13
|
} from "../../chunks/chunk-Z7ZDDBV5.js";
|
@@ -1,36 +1,36 @@
|
|
1
|
-
import {
|
2
|
-
move_dir_exports
|
3
|
-
} from "./chunk-NAN5WRTL.js";
|
4
1
|
import {
|
5
2
|
remove_file_exports
|
6
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-H4LW6FP3.js";
|
7
4
|
import {
|
8
|
-
|
9
|
-
} from "./chunk-
|
10
|
-
import {
|
11
|
-
upload_file_exports
|
12
|
-
} from "./chunk-3T67XKWX.js";
|
5
|
+
move_file_exports
|
6
|
+
} from "./chunk-646R6BQZ.js";
|
13
7
|
import {
|
14
8
|
stat_file_exports
|
15
|
-
} from "./chunk-
|
9
|
+
} from "./chunk-UK4HNSEJ.js";
|
16
10
|
import {
|
17
|
-
|
18
|
-
} from "./chunk-
|
11
|
+
upload_file_exports
|
12
|
+
} from "./chunk-NOLQR5RW.js";
|
19
13
|
import {
|
20
14
|
copy_file_exports
|
21
|
-
} from "./chunk-
|
22
|
-
import {
|
23
|
-
copy_dir_exports
|
24
|
-
} from "./chunk-GJGGDURA.js";
|
15
|
+
} from "./chunk-OA7Y2A5T.js";
|
25
16
|
import {
|
26
17
|
exists_file_exports
|
27
|
-
} from "./chunk-
|
18
|
+
} from "./chunk-24ZUWYIR.js";
|
19
|
+
import {
|
20
|
+
copy_dir_exports
|
21
|
+
} from "./chunk-6NLNUGBI.js";
|
28
22
|
import {
|
29
23
|
download_file_exports
|
30
|
-
} from "./chunk-
|
24
|
+
} from "./chunk-EOTOFHUR.js";
|
31
25
|
import {
|
32
|
-
|
33
|
-
} from "./chunk-
|
26
|
+
move_dir_exports
|
27
|
+
} from "./chunk-FS6LRTDK.js";
|
28
|
+
import {
|
29
|
+
list_dir_exports
|
30
|
+
} from "./chunk-DPQRXSZH.js";
|
31
|
+
import {
|
32
|
+
remove_dir_exports
|
33
|
+
} from "./chunk-CA3UPHYO.js";
|
34
34
|
import {
|
35
35
|
__export
|
36
36
|
} from "./chunk-WSFCRVEQ.js";
|
@@ -0,0 +1,38 @@
|
|
1
|
+
import {
|
2
|
+
Outcome
|
3
|
+
} from "./chunk-JMU5PDBD.js";
|
4
|
+
|
5
|
+
// src/agnostic/strings/read-table/index.ts
|
6
|
+
var defaultOptions = {
|
7
|
+
inputToLines: (i) => i.split("\n"),
|
8
|
+
headLinePos: 0,
|
9
|
+
headLineToHeaders: (i) => i.split(" "),
|
10
|
+
bodyLinesBounds: [1, Infinity],
|
11
|
+
bodyLineToCellValue: (i) => i.split(" "),
|
12
|
+
schema: (i) => i
|
13
|
+
};
|
14
|
+
function readTable(table, options = defaultOptions) {
|
15
|
+
const lines = options.inputToLines(table);
|
16
|
+
const headLine = lines.at(options.headLinePos);
|
17
|
+
if (headLine === void 0) return Outcome.makeFailure("Head line not found");
|
18
|
+
const headers = options.headLineToHeaders(headLine);
|
19
|
+
const bodyLines = lines.slice(options.bodyLinesBounds[0], options.bodyLinesBounds[1]);
|
20
|
+
const bodyLinesSplit = bodyLines.map(options.bodyLineToCellValue);
|
21
|
+
const rows = bodyLinesSplit.map((line) => {
|
22
|
+
const row = {};
|
23
|
+
line.forEach((cell, cellPos) => {
|
24
|
+
const cellName = headers.at(cellPos);
|
25
|
+
if (cellName === void 0) return;
|
26
|
+
const cellValue = cell;
|
27
|
+
row[cellName] = cellValue;
|
28
|
+
});
|
29
|
+
const checked = options.schema(row);
|
30
|
+
return checked;
|
31
|
+
});
|
32
|
+
return Outcome.makeSuccess(rows);
|
33
|
+
}
|
34
|
+
|
35
|
+
export {
|
36
|
+
defaultOptions,
|
37
|
+
readTable
|
38
|
+
};
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
2
|
-
file_exports
|
3
|
-
} from "./chunk-4PISR74R.js";
|
4
1
|
import {
|
5
2
|
directory_exports
|
6
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-2WIWINVL.js";
|
4
|
+
import {
|
5
|
+
file_exports
|
6
|
+
} from "./chunk-GFQMBB2J.js";
|
7
7
|
import {
|
8
8
|
__export
|
9
9
|
} from "./chunk-WSFCRVEQ.js";
|
@@ -1,12 +1,12 @@
|
|
1
1
|
import {
|
2
|
-
|
3
|
-
} from "./chunk-
|
2
|
+
file_exports
|
3
|
+
} from "./chunk-AIEEEZLK.js";
|
4
4
|
import {
|
5
5
|
bucket_exports
|
6
6
|
} from "./chunk-OMTDHKJI.js";
|
7
7
|
import {
|
8
|
-
|
9
|
-
} from "./chunk-
|
8
|
+
directory_exports
|
9
|
+
} from "./chunk-HJARCTOH.js";
|
10
10
|
import {
|
11
11
|
__export
|
12
12
|
} from "./chunk-WSFCRVEQ.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-ON6LC3HE.js";
|
3
|
+
} from "../../chunks/chunk-K2SL55BG.js";
|
4
|
+
import "../../chunks/chunk-2WIWINVL.js";
|
5
|
+
import "../../chunks/chunk-GFQMBB2J.js";
|
7
6
|
import "../../chunks/chunk-3TKBCG7Y.js";
|
8
|
-
import "../../chunks/chunk-
|
9
|
-
import "../../chunks/chunk-FD5WR2A5.js";
|
7
|
+
import "../../chunks/chunk-QWZ4ZNFA.js";
|
10
8
|
import "../../chunks/chunk-VROZGPC5.js";
|
11
|
-
import "../../chunks/chunk-
|
9
|
+
import "../../chunks/chunk-FD5WR2A5.js";
|
12
10
|
import "../../chunks/chunk-C6QTHDDM.js";
|
13
|
-
import "../../chunks/chunk-4XBUJAQU.js";
|
14
11
|
import "../../chunks/chunk-ZEZCYPLQ.js";
|
12
|
+
import "../../chunks/chunk-4XBUJAQU.js";
|
15
13
|
import "../../chunks/chunk-IV75M3KE.js";
|
16
|
-
import "../../chunks/chunk-
|
14
|
+
import "../../chunks/chunk-ON6LC3HE.js";
|
15
|
+
import "../../chunks/chunk-ZSUG52DO.js";
|
16
|
+
import "../../chunks/chunk-4XSDRT23.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-2WIWINVL.js";
|
2
|
+
import {
|
3
|
+
copy_dir_exports
|
4
|
+
} from "../../../../chunks/chunk-4XBUJAQU.js";
|
2
5
|
import {
|
3
6
|
move_dir_exports
|
4
7
|
} from "../../../../chunks/chunk-ON6LC3HE.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";
|
@@ -1,13 +1,16 @@
|
|
1
|
-
import "../../../../chunks/chunk-
|
1
|
+
import "../../../../chunks/chunk-GFQMBB2J.js";
|
2
2
|
import {
|
3
3
|
remove_exports
|
4
4
|
} from "../../../../chunks/chunk-3TKBCG7Y.js";
|
5
5
|
import {
|
6
|
-
|
7
|
-
} from "../../../../chunks/chunk-
|
6
|
+
move_exports
|
7
|
+
} from "../../../../chunks/chunk-QWZ4ZNFA.js";
|
8
8
|
import {
|
9
9
|
stat_exports
|
10
10
|
} from "../../../../chunks/chunk-VROZGPC5.js";
|
11
|
+
import {
|
12
|
+
upload_exports
|
13
|
+
} from "../../../../chunks/chunk-FD5WR2A5.js";
|
11
14
|
import {
|
12
15
|
copy_exports
|
13
16
|
} from "../../../../chunks/chunk-C6QTHDDM.js";
|
@@ -17,9 +20,6 @@ import {
|
|
17
20
|
import {
|
18
21
|
download_exports
|
19
22
|
} from "../../../../chunks/chunk-IV75M3KE.js";
|
20
|
-
import {
|
21
|
-
move_exports
|
22
|
-
} from "../../../../chunks/chunk-QWZ4ZNFA.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-
|
2
|
-
import {
|
3
|
-
file_exports
|
4
|
-
} from "../../../chunks/chunk-4PISR74R.js";
|
1
|
+
import "../../../chunks/chunk-K2SL55BG.js";
|
5
2
|
import {
|
6
3
|
directory_exports
|
7
|
-
} from "../../../chunks/chunk-
|
8
|
-
import
|
4
|
+
} from "../../../chunks/chunk-2WIWINVL.js";
|
5
|
+
import {
|
6
|
+
file_exports
|
7
|
+
} from "../../../chunks/chunk-GFQMBB2J.js";
|
9
8
|
import "../../../chunks/chunk-3TKBCG7Y.js";
|
10
|
-
import "../../../chunks/chunk-
|
11
|
-
import "../../../chunks/chunk-FD5WR2A5.js";
|
9
|
+
import "../../../chunks/chunk-QWZ4ZNFA.js";
|
12
10
|
import "../../../chunks/chunk-VROZGPC5.js";
|
13
|
-
import "../../../chunks/chunk-
|
11
|
+
import "../../../chunks/chunk-FD5WR2A5.js";
|
14
12
|
import "../../../chunks/chunk-C6QTHDDM.js";
|
15
|
-
import "../../../chunks/chunk-4XBUJAQU.js";
|
16
13
|
import "../../../chunks/chunk-ZEZCYPLQ.js";
|
14
|
+
import "../../../chunks/chunk-4XBUJAQU.js";
|
17
15
|
import "../../../chunks/chunk-IV75M3KE.js";
|
18
|
-
import "../../../chunks/chunk-
|
16
|
+
import "../../../chunks/chunk-ON6LC3HE.js";
|
17
|
+
import "../../../chunks/chunk-ZSUG52DO.js";
|
18
|
+
import "../../../chunks/chunk-4XSDRT23.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-OMTDHKJI.js";
|
6
|
-
import "../../chunks/chunk-ZNA7SWFK.js";
|
7
|
-
import "../../chunks/chunk-ALRRTVAV.js";
|
8
|
-
import "../../chunks/chunk-PAIUCLVK.js";
|
9
|
-
import "../../chunks/chunk-42K3MQQ5.js";
|
10
|
-
import "../../chunks/chunk-HWVEI3RH.js";
|
3
|
+
} from "../../chunks/chunk-T4HGXBXC.js";
|
4
|
+
import "../../chunks/chunk-AIEEEZLK.js";
|
11
5
|
import "../../chunks/chunk-G5RRNREY.js";
|
6
|
+
import "../../chunks/chunk-HWVEI3RH.js";
|
12
7
|
import "../../chunks/chunk-YKPA3MQL.js";
|
13
|
-
import "../../chunks/chunk-
|
8
|
+
import "../../chunks/chunk-PAIUCLVK.js";
|
9
|
+
import "../../chunks/chunk-42K3MQQ5.js";
|
10
|
+
import "../../chunks/chunk-OMTDHKJI.js";
|
11
|
+
import "../../chunks/chunk-ZNA7SWFK.js";
|
12
|
+
import "../../chunks/chunk-HJARCTOH.js";
|
14
13
|
import "../../chunks/chunk-7J7CYOXU.js";
|
15
|
-
import "../../chunks/chunk-
|
16
|
-
import "../../chunks/chunk-FB3GNE2B.js";
|
14
|
+
import "../../chunks/chunk-6IYUA43Q.js";
|
17
15
|
import "../../chunks/chunk-W3RXHN5I.js";
|
18
|
-
import "../../chunks/chunk-
|
16
|
+
import "../../chunks/chunk-FB3GNE2B.js";
|
19
17
|
import "../../chunks/chunk-CWZFRUBS.js";
|
20
|
-
import "../../chunks/chunk-V3L55I2S.js";
|
21
18
|
import "../../chunks/chunk-5VHFXWFM.js";
|
19
|
+
import "../../chunks/chunk-V3L55I2S.js";
|
22
20
|
import "../../chunks/chunk-2JH4TCT2.js";
|
23
|
-
import "../../chunks/chunk-
|
21
|
+
import "../../chunks/chunk-BWYH445G.js";
|
22
|
+
import "../../chunks/chunk-37TRFYZT.js";
|
23
|
+
import "../../chunks/chunk-QLDN574K.js";
|
24
24
|
import "../../chunks/chunk-JMU5PDBD.js";
|
25
25
|
import "../../chunks/chunk-FENXVJYO.js";
|
26
26
|
import "../../chunks/chunk-WSFCRVEQ.js";
|