ctx-core 5.21.0 → 5.22.0
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/all/be/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { be__val__new_T, be_config_T,
|
|
1
|
+
import type { be__val__new_T, be_config_T, Ctx_wide_T } from '../be_/index.js'
|
|
2
2
|
export declare function be<
|
|
3
3
|
val_T extends NonNullable<unknown>,
|
|
4
4
|
ns_T extends string = '',
|
|
5
|
-
ctx_T extends
|
|
5
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
6
6
|
>(
|
|
7
7
|
ctx:ctx_T,
|
|
8
8
|
val_:be__val__new_T<val_T, ns_T, ctx_T>,
|
package/all/be_/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare function globalThis__be_<
|
|
2
2
|
val_T,
|
|
3
3
|
ns_T extends string = '',
|
|
4
|
-
ctx_T extends
|
|
4
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
5
5
|
>(val__new:be__val__new_T<val_T, ns_T, ctx_T>, config:be_config_T<ns_T>&{
|
|
6
6
|
id:string
|
|
7
7
|
}):Be<val_T, ns_T, ctx_T>
|
|
@@ -14,7 +14,7 @@ export declare function globalThis__be_<
|
|
|
14
14
|
export declare function be_<
|
|
15
15
|
val_T,
|
|
16
16
|
ns_T extends string = '',
|
|
17
|
-
ctx_T extends
|
|
17
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
18
18
|
>(
|
|
19
19
|
val__new:be__val__new_T<val_T, ns_T, ctx_T>,
|
|
20
20
|
config?:be_config_T<ns_T>
|
|
@@ -22,7 +22,7 @@ export declare function be_<
|
|
|
22
22
|
export declare function ctx__set<
|
|
23
23
|
val_T,
|
|
24
24
|
ns_T extends string = '',
|
|
25
|
-
ctx_T extends
|
|
25
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
26
26
|
>(
|
|
27
27
|
ctx:ctx_T,
|
|
28
28
|
be_OR_id:Be<val_T>|string|symbol,
|
|
@@ -31,7 +31,7 @@ export declare function ctx__set<
|
|
|
31
31
|
):void
|
|
32
32
|
export declare function ctx__delete<
|
|
33
33
|
ns_T extends string = '',
|
|
34
|
-
ctx_T extends
|
|
34
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
35
35
|
>(
|
|
36
36
|
ctx:ctx_T,
|
|
37
37
|
be_OR_id:Be<unknown, ns_T, ctx_T>|string|symbol,
|
|
@@ -45,21 +45,21 @@ export declare function ctx__delete<
|
|
|
45
45
|
export declare function ctx__clear(ctx:Ctx):void
|
|
46
46
|
export declare function be__has_<
|
|
47
47
|
ns_T extends string = '',
|
|
48
|
-
ctx_T extends
|
|
48
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
49
49
|
>(be_OR_id:Be<unknown, ns_T, ctx_T>|string, ctx:ctx_T, ns?:ns_T):boolean
|
|
50
50
|
export declare function be_map__find<
|
|
51
51
|
ns_T extends string = '',
|
|
52
|
-
ctx_T extends
|
|
52
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
53
53
|
>(be_OR_id:Be<unknown, ns_T, ctx_T>|string, ctx:ctx_T, ns?:ns_T):BeMap<ns_T>
|
|
54
54
|
export declare function be__val_<
|
|
55
55
|
val_T,
|
|
56
56
|
ns_T extends string = '',
|
|
57
|
-
ctx_T extends
|
|
57
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
58
58
|
>(be_OR_id:Be<val_T, ns_T, ctx_T>|string, ctx:ctx_T, ns?:ns_T):val_T|unknown|null
|
|
59
59
|
export declare function ondelete_be_<
|
|
60
60
|
val_T,
|
|
61
61
|
ns_T extends string = '',
|
|
62
|
-
ctx_T extends
|
|
62
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
63
63
|
>(
|
|
64
64
|
val__new:ondelete_be__val__new_T<val_T, ns_T, ctx_T>,
|
|
65
65
|
config?:be_config_T<ns_T>
|
|
@@ -67,12 +67,12 @@ export declare function ondelete_be_<
|
|
|
67
67
|
export type Be<
|
|
68
68
|
val_T,
|
|
69
69
|
ns_T extends string = '',
|
|
70
|
-
ctx_T extends
|
|
70
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
71
71
|
> = ((ctx:ctx_T)=>val_T)&be_o_T<val_T, ns_T, ctx_T>
|
|
72
72
|
export type ondelete_Be<
|
|
73
73
|
val_T,
|
|
74
74
|
ns_T extends string = '',
|
|
75
|
-
ctx_T extends
|
|
75
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
76
76
|
> = ((ctx:ctx_T)=>val_T)&be_o_T<val_T, ns_T, ctx_T>&{
|
|
77
77
|
ondelete(
|
|
78
78
|
cb:(val:val_T, ctx:ctx_T, be:Be<val_T, ns_T, ctx_T>)=>void
|
|
@@ -82,7 +82,7 @@ export type ondelete_Be<
|
|
|
82
82
|
export type be_o_T<
|
|
83
83
|
val_T,
|
|
84
84
|
ns_T extends string = '',
|
|
85
|
-
ctx_T extends
|
|
85
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
86
86
|
> = {
|
|
87
87
|
id:string|Be<val_T, ns_T, ctx_T>
|
|
88
88
|
ns:ns_T
|
|
@@ -104,12 +104,12 @@ export type BeMapO<ns_union_T extends string> =
|
|
|
104
104
|
export type be__val__new_T<
|
|
105
105
|
val_T,
|
|
106
106
|
ns_T extends string = '',
|
|
107
|
-
ctx_T extends
|
|
107
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
108
108
|
> = (ctx:ctx_T, be:Be<val_T, ns_T, ctx_T>)=>val_T
|
|
109
109
|
export type ondelete_be__val__new_T<
|
|
110
110
|
val_T,
|
|
111
111
|
ns_T extends string = '',
|
|
112
|
-
ctx_T extends
|
|
112
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
113
113
|
> =
|
|
114
114
|
(
|
|
115
115
|
ctx:ctx_T,
|
|
@@ -131,7 +131,18 @@ export type Ctx_s_T<ns_union_T extends string = string> = {
|
|
|
131
131
|
export type Ctx_s_wide_T<ns_union_T extends string> = {
|
|
132
132
|
s:BeMapO<ns_union_T>
|
|
133
133
|
}
|
|
134
|
-
export type ctx__be_T<
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
134
|
+
export type ctx__be_T<
|
|
135
|
+
be_val_T,
|
|
136
|
+
ns_T extends string = '',
|
|
137
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
138
|
+
> = Be<be_val_T, ns_T, ctx_T>
|
|
139
|
+
export type ctx__get_T<
|
|
140
|
+
val_T,
|
|
141
|
+
ns_T extends string = '',
|
|
142
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
143
|
+
> = (ctx:ctx_T)=>val_T
|
|
144
|
+
export type ctx__set_T<
|
|
145
|
+
val_T,
|
|
146
|
+
ns_T extends string = '',
|
|
147
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
148
|
+
> = (ctx:ctx_T, val:val_T)=>void
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import type { Be, be_config_T, Ctx, ctx__be_T, ctx__get_T, ctx__set_T, Ctx_wide_T, } from '../be_/index.js'
|
|
2
|
-
import { lock_memosig_T
|
|
2
|
+
import type { lock_memosig_T } from '../rmemo/index.js'
|
|
3
3
|
export declare function be_lock_memosig_triple_<
|
|
4
4
|
val_T,
|
|
5
5
|
ns_T extends string = '',
|
|
6
6
|
_sig_T extends lock_memosig_T<val_T> = lock_memosig_T<val_T>,
|
|
7
|
-
ctx_T extends
|
|
7
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
8
8
|
>(be:Be<_sig_T, ns_T, ctx_T>):be_lock_memosig_triple_T<val_T, ns_T, _sig_T, ctx_T>
|
|
9
9
|
export declare function be_lock_memosig_triple_<
|
|
10
10
|
val_T,
|
|
11
11
|
ns_T extends string = '',
|
|
12
12
|
_sig_T extends lock_memosig_T<val_T> = lock_memosig_T<val_T>,
|
|
13
|
-
ctx_T extends
|
|
13
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
14
14
|
>(
|
|
15
15
|
rmemo__new:(ctx:ctx_T, memosig:_sig_T)=>val_T,
|
|
16
16
|
config?:be_config_T<ns_T>
|
|
@@ -19,11 +19,11 @@ export type be_lock_memosig_triple_T<
|
|
|
19
19
|
val_T,
|
|
20
20
|
ns_T extends string = '',
|
|
21
21
|
_sig_T extends lock_memosig_T<val_T> = lock_memosig_T<val_T>,
|
|
22
|
-
ctx_T extends
|
|
22
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
23
23
|
> = [
|
|
24
|
-
ctx__be_T<
|
|
25
|
-
ctx__get_T<
|
|
26
|
-
ctx__set_T<
|
|
24
|
+
ctx__be_T<_sig_T, ns_T, ctx_T>,
|
|
25
|
+
ctx__get_T<val_T, ns_T, ctx_T>,
|
|
26
|
+
ctx__set_T<val_T, ns_T, ctx_T>,
|
|
27
27
|
]&{
|
|
28
28
|
add<add_val_T>(
|
|
29
29
|
add_def:(ctx:ctx_T, sig:_sig_T, prev_val:add_val_T|undefined)=>add_val_T
|
|
@@ -4,13 +4,13 @@ export declare function be_memo_pair_<
|
|
|
4
4
|
val_T,
|
|
5
5
|
ns_T extends string = '',
|
|
6
6
|
_memo_T extends memo_T<val_T> = memo_T<val_T>,
|
|
7
|
-
ctx_T extends
|
|
7
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
8
8
|
>(be:Be<_memo_T, ns_T, ctx_T>):be_memo_pair_T<val_T, ns_T, _memo_T, ctx_T>
|
|
9
9
|
export declare function be_memo_pair_<
|
|
10
10
|
val_T,
|
|
11
11
|
ns_T extends string = '',
|
|
12
12
|
_memo_T extends memo_T<val_T> = memo_T<val_T>,
|
|
13
|
-
ctx_T extends
|
|
13
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
14
14
|
>(
|
|
15
15
|
rmemo__new:(ctx:ctx_T, memo:_memo_T&{ _:val_T })=>val_T,
|
|
16
16
|
config?:be_config_T
|
|
@@ -19,10 +19,10 @@ export type be_memo_pair_T<
|
|
|
19
19
|
val_T,
|
|
20
20
|
ns_T extends string = '',
|
|
21
21
|
_memo_T extends memo_T<val_T> = memo_T<val_T>,
|
|
22
|
-
ctx_T extends
|
|
22
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
23
23
|
> = [
|
|
24
|
-
ctx__be_T<
|
|
25
|
-
ctx__get_T<
|
|
24
|
+
ctx__be_T<_memo_T, ns_T, ctx_T>,
|
|
25
|
+
ctx__get_T<val_T, ns_T, ctx_T>,
|
|
26
26
|
]&{
|
|
27
27
|
add<add_val_T>(
|
|
28
28
|
add_def:(ctx:ctx_T, sig:sig_T<val_T>, prev_val:add_val_T|undefined)=>add_val_T
|
|
@@ -4,13 +4,13 @@ export declare function be_memosig_triple_<
|
|
|
4
4
|
val_T,
|
|
5
5
|
ns_T extends string = '',
|
|
6
6
|
_sig_T extends sig_T<val_T> = sig_T<val_T>,
|
|
7
|
-
ctx_T extends
|
|
7
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
8
8
|
>(be:Be<_sig_T, ns_T, ctx_T>):be_memosig_triple_T<val_T, ns_T, _sig_T, ctx_T>
|
|
9
9
|
export declare function be_memosig_triple_<
|
|
10
10
|
val_T,
|
|
11
11
|
ns_T extends string = '',
|
|
12
12
|
_sig_T extends sig_T<val_T> = sig_T<val_T>,
|
|
13
|
-
ctx_T extends
|
|
13
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
14
14
|
>(
|
|
15
15
|
rmemo__new:(ctx:ctx_T, memosig:_sig_T)=>val_T,
|
|
16
16
|
config?:be_config_T<ns_T>
|
|
@@ -19,11 +19,11 @@ export type be_memosig_triple_T<
|
|
|
19
19
|
val_T,
|
|
20
20
|
ns_T extends string = '',
|
|
21
21
|
_sig_T extends sig_T<val_T> = sig_T<val_T>,
|
|
22
|
-
ctx_T extends
|
|
22
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
23
23
|
> = [
|
|
24
|
-
ctx__be_T<
|
|
25
|
-
ctx__get_T<
|
|
26
|
-
ctx__set_T<
|
|
24
|
+
ctx__be_T<_sig_T, ns_T, ctx_T>,
|
|
25
|
+
ctx__get_T<val_T, ns_T, ctx_T>,
|
|
26
|
+
ctx__set_T<val_T, ns_T, ctx_T>,
|
|
27
27
|
]&{
|
|
28
28
|
add<add_val_T>(
|
|
29
29
|
add_def:(ctx:ctx_T, sig:_sig_T, prev_val:add_val_T|undefined)=>add_val_T
|
|
@@ -4,13 +4,13 @@ export declare function be_sig_triple_<
|
|
|
4
4
|
val_T,
|
|
5
5
|
ns_T extends string = '',
|
|
6
6
|
_sig_T extends sig_T<val_T> = sig_T<val_T>,
|
|
7
|
-
ctx_T extends
|
|
7
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
8
8
|
>(be:Be<_sig_T, ns_T, ctx_T>):be_sig_triple_T<val_T, ns_T, _sig_T, ctx_T>
|
|
9
9
|
export declare function be_sig_triple_<
|
|
10
10
|
val_T,
|
|
11
11
|
ns_T extends string = '',
|
|
12
12
|
_sig_T extends sig_T<val_T> = sig_T<val_T>,
|
|
13
|
-
ctx_T extends
|
|
13
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
14
14
|
>(
|
|
15
15
|
val__new:(ctx:ctx_T)=>val_T,
|
|
16
16
|
config?:be_config_T<ns_T>
|
|
@@ -19,11 +19,11 @@ export type be_sig_triple_T<
|
|
|
19
19
|
val_T,
|
|
20
20
|
ns_T extends string = '',
|
|
21
21
|
_sig_T extends sig_T<val_T> = sig_T<val_T>,
|
|
22
|
-
ctx_T extends
|
|
22
|
+
ctx_T extends Ctx_wide_T<ns_T> = Ctx_wide_T<ns_T>,
|
|
23
23
|
> = [
|
|
24
|
-
ctx__be_T<
|
|
25
|
-
ctx__get_T<
|
|
26
|
-
ctx__set_T<
|
|
24
|
+
ctx__be_T<_sig_T, ns_T, ctx_T>,
|
|
25
|
+
ctx__get_T<val_T, ns_T, ctx_T>,
|
|
26
|
+
ctx__set_T<val_T, ns_T, ctx_T>,
|
|
27
27
|
]&{
|
|
28
28
|
add<add_val_T>(
|
|
29
29
|
add_def:(ctx:ctx_T, sig:_sig_T)=>add_val_T
|
package/package.json
CHANGED
|
@@ -1,253 +1,254 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
2
|
+
"name": "ctx-core",
|
|
3
|
+
"version": "5.22.0",
|
|
4
|
+
"description": "ctx-core core library",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ctx-core",
|
|
7
|
+
"array",
|
|
8
|
+
"combinators",
|
|
9
|
+
"function",
|
|
10
|
+
"object",
|
|
11
|
+
"set"
|
|
12
|
+
],
|
|
13
|
+
"homepage": "https://github.com/ctx-core/ctx-core#readme",
|
|
14
|
+
"bugs": {
|
|
15
|
+
"url": "https://github.com/ctx-core/ctx-core/issues"
|
|
16
|
+
},
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "https://github.com/ctx-core/ctx-core.git"
|
|
20
|
+
},
|
|
21
|
+
"license": "Apache-2.0",
|
|
22
|
+
"author": "Brian Takita",
|
|
23
|
+
"type": "module",
|
|
24
|
+
"files": [
|
|
25
|
+
"*.d.ts",
|
|
26
|
+
"*.js",
|
|
27
|
+
"*.json",
|
|
28
|
+
"all",
|
|
29
|
+
"array",
|
|
30
|
+
"atob",
|
|
31
|
+
"base16",
|
|
32
|
+
"be",
|
|
33
|
+
"btoa",
|
|
34
|
+
"buffer",
|
|
35
|
+
"chain",
|
|
36
|
+
"class",
|
|
37
|
+
"cli-args",
|
|
38
|
+
"color",
|
|
39
|
+
"combinators",
|
|
40
|
+
"crypto",
|
|
41
|
+
"currency",
|
|
42
|
+
"data",
|
|
43
|
+
"date",
|
|
44
|
+
"debounce",
|
|
45
|
+
"deep_equal",
|
|
46
|
+
"env",
|
|
47
|
+
"error",
|
|
48
|
+
"event_log",
|
|
49
|
+
"falsy",
|
|
50
|
+
"fetch",
|
|
51
|
+
"fibonacci",
|
|
52
|
+
"fs",
|
|
53
|
+
"function",
|
|
54
|
+
"functional",
|
|
55
|
+
"html",
|
|
56
|
+
"http",
|
|
57
|
+
"math",
|
|
58
|
+
"matrix",
|
|
59
|
+
"nullish",
|
|
60
|
+
"number",
|
|
61
|
+
"object",
|
|
62
|
+
"promise",
|
|
63
|
+
"queue",
|
|
64
|
+
"random",
|
|
65
|
+
"regex",
|
|
66
|
+
"rmemo",
|
|
67
|
+
"run",
|
|
68
|
+
"set",
|
|
69
|
+
"sleep",
|
|
70
|
+
"stream",
|
|
71
|
+
"string",
|
|
72
|
+
"tempfile",
|
|
73
|
+
"test",
|
|
74
|
+
"time",
|
|
75
|
+
"tuple",
|
|
76
|
+
"types",
|
|
77
|
+
"uri",
|
|
78
|
+
"uuid",
|
|
79
|
+
"package.json"
|
|
80
|
+
],
|
|
81
|
+
"exports": {
|
|
82
|
+
".": "./index.js",
|
|
83
|
+
"./all": "./all/index.js",
|
|
84
|
+
"./array": "./array/index.js",
|
|
85
|
+
"./atob": "./atob/index.js",
|
|
86
|
+
"./base16": "./base16/index.js",
|
|
87
|
+
"./be": "./be/index.js",
|
|
88
|
+
"./btoa": "./btoa/index.js",
|
|
89
|
+
"./buffer": "./buffer/index.js",
|
|
90
|
+
"./chain": "./chain/index.js",
|
|
91
|
+
"./class": "./class/index.js",
|
|
92
|
+
"./cli-args": "./cli-args/index.js",
|
|
93
|
+
"./color": "./color/index.js",
|
|
94
|
+
"./combinators": "./combinators/index.js",
|
|
95
|
+
"./crypto": "./crypto/index.js",
|
|
96
|
+
"./currency": "./currency/index.js",
|
|
97
|
+
"./data": "./data/index.js",
|
|
98
|
+
"./date": "./date/index.js",
|
|
99
|
+
"./debounce": "./debounce/index.js",
|
|
100
|
+
"./deep_equal": "./deep_equal/index.js",
|
|
101
|
+
"./env": "./env/index.js",
|
|
102
|
+
"./error": "./error/index.js",
|
|
103
|
+
"./event_log": "./event_log/index.js",
|
|
104
|
+
"./falsy": "./falsy/index.js",
|
|
105
|
+
"./fetch": "./fetch/index.js",
|
|
106
|
+
"./fibonacci": "./fibonacci/index.js",
|
|
107
|
+
"./fs": "./fs/index.js",
|
|
108
|
+
"./function": "./function/index.js",
|
|
109
|
+
"./functional": "./functional/index.js",
|
|
110
|
+
"./html": "./html/index.js",
|
|
111
|
+
"./http": "./http/index.js",
|
|
112
|
+
"./math": "./math/index.js",
|
|
113
|
+
"./matrix": "./matrix/index.js",
|
|
114
|
+
"./nullish": "./nullish/index.js",
|
|
115
|
+
"./number": "./number/index.js",
|
|
116
|
+
"./object": "./object/index.js",
|
|
117
|
+
"./promise": "./promise/index.js",
|
|
118
|
+
"./queue": "./queue/index.js",
|
|
119
|
+
"./random": "./random/index.js",
|
|
120
|
+
"./regex": "./regex/index.js",
|
|
121
|
+
"./rmemo": "./rmemo/index.js",
|
|
122
|
+
"./run": "./run/index.js",
|
|
123
|
+
"./set": "./set/index.js",
|
|
124
|
+
"./sleep": "./sleep/index.js",
|
|
125
|
+
"./stream": "./stream/index.js",
|
|
126
|
+
"./string": "./string/index.js",
|
|
127
|
+
"./tempfile": "./tempfile/index.js",
|
|
128
|
+
"./test": "./test/index.js",
|
|
129
|
+
"./time": "./time/index.js",
|
|
130
|
+
"./tuple": "./tuple/index.js",
|
|
131
|
+
"./types": "./types/index.js",
|
|
132
|
+
"./uri": "./uri/index.js",
|
|
133
|
+
"./uuid": "./uuid/index.js",
|
|
134
|
+
"./package.json": "./package.json"
|
|
135
|
+
},
|
|
136
|
+
"scripts": {
|
|
137
|
+
"build": ":",
|
|
138
|
+
"clean": ":",
|
|
139
|
+
"exec": "$@",
|
|
140
|
+
"prepublishOnly": "pnpm clean && pnpm build && pnpm test",
|
|
141
|
+
"test": "pnpm run /^test:/",
|
|
142
|
+
"test:size": "size-limit",
|
|
143
|
+
"test:type": "check-dts",
|
|
144
|
+
"test:unit": "NODE_OPTIONS=--loader=esmock tsx node_modules/uvu/bin.js . '\\.test\\.(ts|js)$'",
|
|
145
|
+
"disable:test:coverage": "c8 pnpm test:unit"
|
|
146
|
+
},
|
|
147
|
+
"devDependencies": {
|
|
148
|
+
"@arethetypeswrong/cli": "^0.13.5",
|
|
149
|
+
"@ctx-core/preprocess": "^0.1.1",
|
|
150
|
+
"@size-limit/preset-small-lib": "^11.0.2",
|
|
151
|
+
"@types/node": "^20.11.5",
|
|
152
|
+
"@types/sinon": "^17.0.3",
|
|
153
|
+
"c8": "^9.1.0",
|
|
154
|
+
"check-dts": "^0.7.2",
|
|
155
|
+
"esbuild": "^0.19.11",
|
|
156
|
+
"esmock": "^2.6.2",
|
|
157
|
+
"sinon": "^17.0.1",
|
|
158
|
+
"size-limit": "^11.0.2",
|
|
159
|
+
"tsx": "^4.7.0",
|
|
160
|
+
"typescript": "next",
|
|
161
|
+
"uvu": "^0.5.6"
|
|
162
|
+
},
|
|
163
|
+
"publishConfig": {
|
|
164
|
+
"access": "public",
|
|
165
|
+
"cache": "~/.npm"
|
|
166
|
+
},
|
|
167
|
+
"sideEffects": false,
|
|
168
|
+
"size-limit": [
|
|
169
|
+
{
|
|
170
|
+
"name": "ctx_",
|
|
171
|
+
"import": {
|
|
172
|
+
"./be": "{ ctx_ }"
|
|
173
|
+
},
|
|
174
|
+
"limit": "33 B"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "ns_ctx_",
|
|
178
|
+
"import": {
|
|
179
|
+
"./be": "{ ns_ctx_ }"
|
|
180
|
+
},
|
|
181
|
+
"limit": "85 B"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "be_",
|
|
185
|
+
"import": {
|
|
186
|
+
"./be": "{ be_ }"
|
|
187
|
+
},
|
|
188
|
+
"limit": "99 B"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "be_ ctx_",
|
|
192
|
+
"import": {
|
|
193
|
+
"./be": "{ be_, ctx_ }"
|
|
194
|
+
},
|
|
195
|
+
"limit": "131 B"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"name": "be_ ns_ctx_",
|
|
199
|
+
"import": {
|
|
200
|
+
"./be": "{ be_, ctx_, ns_ctx_ }"
|
|
201
|
+
},
|
|
202
|
+
"limit": "190 B"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"name": "be_ ctx_ ns_ctx_",
|
|
206
|
+
"import": {
|
|
207
|
+
"./be": "{ be_, ctx_, ns_ctx_ }"
|
|
208
|
+
},
|
|
209
|
+
"limit": "190 B"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "memo_",
|
|
213
|
+
"import": {
|
|
214
|
+
"./rmemo": "{ memo_ }"
|
|
215
|
+
},
|
|
216
|
+
"limit": "352 B"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"name": "memo_ sig_",
|
|
220
|
+
"import": {
|
|
221
|
+
"./rmemo": "{ sig_, memo_ }"
|
|
222
|
+
},
|
|
223
|
+
"limit": "370 B"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"name": "memo_ sig_ be_ ctx_",
|
|
227
|
+
"import": {
|
|
228
|
+
"./rmemo": "{ sig_, memo_, be_, ctx_ }"
|
|
229
|
+
},
|
|
230
|
+
"limit": "471 B"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"name": "memo_ sig_ be_ ctx_ be_memo_pair_ be_sig_triple_",
|
|
234
|
+
"import": {
|
|
235
|
+
"./rmemo": "{ sig_, memo_, be_, ctx_, be_memo_pair_, be_sig_triple_ }"
|
|
236
|
+
},
|
|
237
|
+
"limit": "576 B"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"name": "uuid",
|
|
241
|
+
"import": {
|
|
242
|
+
"./uuid": "{ uuid_ }"
|
|
243
|
+
},
|
|
244
|
+
"limit": "39 B"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "short uuid",
|
|
248
|
+
"import": {
|
|
249
|
+
"./uuid": "{ short_uuid_ }"
|
|
250
|
+
},
|
|
251
|
+
"limit": "116 B"
|
|
252
|
+
}
|
|
253
|
+
]
|
|
253
254
|
}
|