@dataplan/json 0.0.1-alpha.14 → 0.0.1-alpha.16
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/CHANGELOG.md +100 -77
- package/README.md +1 -0
- package/dist/steps/jsonParse.d.ts +8 -0
- package/dist/steps/jsonParse.d.ts.map +1 -1
- package/dist/steps/jsonParse.js +11 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,30 +1,53 @@
|
|
|
1
1
|
# @dataplan/json
|
|
2
2
|
|
|
3
|
+
## 0.0.1-alpha.16
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
[[`dfefdad3c`](https://github.com/benjie/crystal/commit/dfefdad3cd5a99c36d47eb0bddd914bab4ca9a1f)]:
|
|
9
|
+
- grafast@0.0.1-alpha.16
|
|
10
|
+
|
|
11
|
+
## 0.0.1-alpha.15
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#422](https://github.com/benjie/crystal/pull/422)
|
|
16
|
+
[`9f87a26b1`](https://github.com/benjie/crystal/commit/9f87a26b10e5539aa88cfd9909e265513e941fd5)
|
|
17
|
+
Thanks [@benjie](https://github.com/benjie)! - Comments enabled in released
|
|
18
|
+
packages
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
[[`ea003ca3a`](https://github.com/benjie/crystal/commit/ea003ca3a8f68fb87dca603582e47981ed033996),
|
|
22
|
+
[`57d88b5fa`](https://github.com/benjie/crystal/commit/57d88b5fa3ed296210c1fcb223452213fd57985b),
|
|
23
|
+
[`9f87a26b1`](https://github.com/benjie/crystal/commit/9f87a26b10e5539aa88cfd9909e265513e941fd5)]:
|
|
24
|
+
- grafast@0.0.1-alpha.15
|
|
25
|
+
|
|
3
26
|
## 0.0.1-alpha.14
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
6
29
|
|
|
7
30
|
- Updated dependencies
|
|
8
|
-
[[`d99d666fb`](https://github.com/benjie/
|
|
31
|
+
[[`d99d666fb`](https://github.com/benjie/crystal/commit/d99d666fb234eb02dd196610995fa480c596242a)]:
|
|
9
32
|
- grafast@0.0.1-alpha.14
|
|
10
33
|
|
|
11
34
|
## 0.0.1-alpha.13
|
|
12
35
|
|
|
13
36
|
### Patch Changes
|
|
14
37
|
|
|
15
|
-
- [#418](https://github.com/benjie/
|
|
16
|
-
[`9ab2adba2`](https://github.com/benjie/
|
|
38
|
+
- [#418](https://github.com/benjie/crystal/pull/418)
|
|
39
|
+
[`9ab2adba2`](https://github.com/benjie/crystal/commit/9ab2adba2c146b5d1bc91bbb2f25e4645ed381de)
|
|
17
40
|
Thanks [@benjie](https://github.com/benjie)! - Overhaul peerDependencies and
|
|
18
41
|
dependencies to try and eliminate duplicate modules error.
|
|
19
42
|
- Updated dependencies
|
|
20
|
-
[[`620f9e07e`](https://github.com/benjie/
|
|
21
|
-
[`1882e0185`](https://github.com/benjie/
|
|
22
|
-
[`881672305`](https://github.com/benjie/
|
|
23
|
-
[`e5012f9a1`](https://github.com/benjie/
|
|
24
|
-
[`9ab2adba2`](https://github.com/benjie/
|
|
25
|
-
[`47f6f018b`](https://github.com/benjie/
|
|
26
|
-
[`ff4395bfc`](https://github.com/benjie/
|
|
27
|
-
[`502b23340`](https://github.com/benjie/
|
|
43
|
+
[[`620f9e07e`](https://github.com/benjie/crystal/commit/620f9e07ec6f4d66a8dc01ed6bb054a75f7b1c8b),
|
|
44
|
+
[`1882e0185`](https://github.com/benjie/crystal/commit/1882e018576adf69bcae8a999224cb4d5e62a3e1),
|
|
45
|
+
[`881672305`](https://github.com/benjie/crystal/commit/88167230578393e3b24a364f0d673e36c5cb088d),
|
|
46
|
+
[`e5012f9a1`](https://github.com/benjie/crystal/commit/e5012f9a1901af63e1703ea4d717e8a22544f5e7),
|
|
47
|
+
[`9ab2adba2`](https://github.com/benjie/crystal/commit/9ab2adba2c146b5d1bc91bbb2f25e4645ed381de),
|
|
48
|
+
[`47f6f018b`](https://github.com/benjie/crystal/commit/47f6f018b11761cbfaa63d709edc0e3f4f9a9924),
|
|
49
|
+
[`ff4395bfc`](https://github.com/benjie/crystal/commit/ff4395bfc6e6b2fb263f644dae1e984c52dd84b9),
|
|
50
|
+
[`502b23340`](https://github.com/benjie/crystal/commit/502b233401975637bc0d516af78721b37f6f9b7b)]:
|
|
28
51
|
- grafast@0.0.1-alpha.13
|
|
29
52
|
|
|
30
53
|
## 0.0.1-alpha.12
|
|
@@ -32,8 +55,8 @@
|
|
|
32
55
|
### Patch Changes
|
|
33
56
|
|
|
34
57
|
- Updated dependencies
|
|
35
|
-
[[`9281a2d88`](https://github.com/benjie/
|
|
36
|
-
[`675b7abb9`](https://github.com/benjie/
|
|
58
|
+
[[`9281a2d88`](https://github.com/benjie/crystal/commit/9281a2d889ab1e72a3f6f9777779f31a6588d478),
|
|
59
|
+
[`675b7abb9`](https://github.com/benjie/crystal/commit/675b7abb93e11d955930b9026fb0b65a56ecc999)]:
|
|
37
60
|
- grafast@0.0.1-alpha.12
|
|
38
61
|
|
|
39
62
|
## 0.0.1-alpha.11
|
|
@@ -48,15 +71,15 @@
|
|
|
48
71
|
### Patch Changes
|
|
49
72
|
|
|
50
73
|
- Updated dependencies
|
|
51
|
-
[[`409581534`](https://github.com/benjie/
|
|
52
|
-
[`b7533bd4d`](https://github.com/benjie/
|
|
53
|
-
[`9feb769c2`](https://github.com/benjie/
|
|
54
|
-
[`7573bf374`](https://github.com/benjie/
|
|
55
|
-
[`2c8586b36`](https://github.com/benjie/
|
|
56
|
-
[`c43802d74`](https://github.com/benjie/
|
|
57
|
-
[`b118b8f6d`](https://github.com/benjie/
|
|
58
|
-
[`9008c4f87`](https://github.com/benjie/
|
|
59
|
-
[`e8c81cd20`](https://github.com/benjie/
|
|
74
|
+
[[`409581534`](https://github.com/benjie/crystal/commit/409581534f41ac2cf0ff21c77c2bcd8eaa8218fd),
|
|
75
|
+
[`b7533bd4d`](https://github.com/benjie/crystal/commit/b7533bd4dfc210cb8b113b8fa06f163a212aa5e4),
|
|
76
|
+
[`9feb769c2`](https://github.com/benjie/crystal/commit/9feb769c2df0c57971ed26a937be4a1bee7a7524),
|
|
77
|
+
[`7573bf374`](https://github.com/benjie/crystal/commit/7573bf374897228b613b19f37b4e076737db3279),
|
|
78
|
+
[`2c8586b36`](https://github.com/benjie/crystal/commit/2c8586b367b76af91d1785cc90455c70911fdec7),
|
|
79
|
+
[`c43802d74`](https://github.com/benjie/crystal/commit/c43802d7419f93d18964c654f16d0937a2e23ca0),
|
|
80
|
+
[`b118b8f6d`](https://github.com/benjie/crystal/commit/b118b8f6dc18196212cfb0a05486e1dd8d77ccf8),
|
|
81
|
+
[`9008c4f87`](https://github.com/benjie/crystal/commit/9008c4f87df53be4051c49f9836358dc2baa59df),
|
|
82
|
+
[`e8c81cd20`](https://github.com/benjie/crystal/commit/e8c81cd2046390ed5b6799aa7ff3d90b28a1861a)]:
|
|
60
83
|
- grafast@0.0.1-alpha.10
|
|
61
84
|
|
|
62
85
|
## 0.0.1-alpha.9
|
|
@@ -64,11 +87,11 @@
|
|
|
64
87
|
### Patch Changes
|
|
65
88
|
|
|
66
89
|
- Updated dependencies
|
|
67
|
-
[[`56237691b`](https://github.com/benjie/
|
|
68
|
-
[`ed1982f31`](https://github.com/benjie/
|
|
69
|
-
[`1fe47a2b0`](https://github.com/benjie/
|
|
70
|
-
[`6878c589c`](https://github.com/benjie/
|
|
71
|
-
[`2ac706f18`](https://github.com/benjie/
|
|
90
|
+
[[`56237691b`](https://github.com/benjie/crystal/commit/56237691bf3eed321b7159e17f36e3651356946f),
|
|
91
|
+
[`ed1982f31`](https://github.com/benjie/crystal/commit/ed1982f31a845ceb3aafd4b48d667649f06778f5),
|
|
92
|
+
[`1fe47a2b0`](https://github.com/benjie/crystal/commit/1fe47a2b08d6e7153a22dde3a99b7a9bf50c4f84),
|
|
93
|
+
[`6878c589c`](https://github.com/benjie/crystal/commit/6878c589cc9fc8f05a6efd377e1272ae24fbf256),
|
|
94
|
+
[`2ac706f18`](https://github.com/benjie/crystal/commit/2ac706f18660c855fe20f460b50694fdd04a7768)]:
|
|
72
95
|
- grafast@0.0.1-alpha.9
|
|
73
96
|
|
|
74
97
|
## 0.0.1-alpha.8
|
|
@@ -76,7 +99,7 @@
|
|
|
76
99
|
### Patch Changes
|
|
77
100
|
|
|
78
101
|
- Updated dependencies
|
|
79
|
-
[[`dd3ef599c`](https://github.com/benjie/
|
|
102
|
+
[[`dd3ef599c`](https://github.com/benjie/crystal/commit/dd3ef599c7f2530fd1a19a852d334b7349e49e70)]:
|
|
80
103
|
- grafast@0.0.1-alpha.8
|
|
81
104
|
|
|
82
105
|
## 0.0.1-alpha.7
|
|
@@ -84,9 +107,9 @@
|
|
|
84
107
|
### Patch Changes
|
|
85
108
|
|
|
86
109
|
- Updated dependencies
|
|
87
|
-
[[`5c9d32264`](https://github.com/benjie/
|
|
88
|
-
[`2fcbe688c`](https://github.com/benjie/
|
|
89
|
-
[`3a984718a`](https://github.com/benjie/
|
|
110
|
+
[[`5c9d32264`](https://github.com/benjie/crystal/commit/5c9d322644028e33f5273fb9bcaaf6a80f1f7360),
|
|
111
|
+
[`2fcbe688c`](https://github.com/benjie/crystal/commit/2fcbe688c11b355f0688b96e99012a829cf8b7cb),
|
|
112
|
+
[`3a984718a`](https://github.com/benjie/crystal/commit/3a984718a322685304777dec7cd48a1efa15539d)]:
|
|
90
113
|
- grafast@0.0.1-alpha.7
|
|
91
114
|
|
|
92
115
|
## 0.0.1-alpha.6
|
|
@@ -94,7 +117,7 @@
|
|
|
94
117
|
### Patch Changes
|
|
95
118
|
|
|
96
119
|
- Updated dependencies
|
|
97
|
-
[[`f75926f4b`](https://github.com/benjie/
|
|
120
|
+
[[`f75926f4b`](https://github.com/benjie/crystal/commit/f75926f4b9aee33adff8bdf6b1a4137582cb47ba)]:
|
|
98
121
|
- grafast@0.0.1-alpha.6
|
|
99
122
|
|
|
100
123
|
## 0.0.1-alpha.5
|
|
@@ -102,8 +125,8 @@
|
|
|
102
125
|
### Patch Changes
|
|
103
126
|
|
|
104
127
|
- Updated dependencies
|
|
105
|
-
[[`86e503d78`](https://github.com/benjie/
|
|
106
|
-
[`24822d0dc`](https://github.com/benjie/
|
|
128
|
+
[[`86e503d78`](https://github.com/benjie/crystal/commit/86e503d785626ad9a2e91ec2e70b272dd632d425),
|
|
129
|
+
[`24822d0dc`](https://github.com/benjie/crystal/commit/24822d0dc87d41f0b0737d6e00cf4022de4bab5e)]:
|
|
107
130
|
- grafast@0.0.1-alpha.5
|
|
108
131
|
|
|
109
132
|
## 0.0.1-alpha.4
|
|
@@ -111,23 +134,23 @@
|
|
|
111
134
|
### Patch Changes
|
|
112
135
|
|
|
113
136
|
- Updated dependencies
|
|
114
|
-
[[`45dcf3a8f`](https://github.com/benjie/
|
|
137
|
+
[[`45dcf3a8f`](https://github.com/benjie/crystal/commit/45dcf3a8fd8bad5c8b82a7cbff2db4dacb916950)]:
|
|
115
138
|
- grafast@0.0.1-alpha.4
|
|
116
139
|
|
|
117
140
|
## 0.0.1-alpha.3
|
|
118
141
|
|
|
119
142
|
### Patch Changes
|
|
120
143
|
|
|
121
|
-
- [`7f857950a`](https://github.com/benjie/
|
|
144
|
+
- [`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71)
|
|
122
145
|
Thanks [@benjie](https://github.com/benjie)! - Upgrade to the latest
|
|
123
146
|
TypeScript/tslib
|
|
124
147
|
|
|
125
148
|
- Updated dependencies
|
|
126
|
-
[[`2389f47ec`](https://github.com/benjie/
|
|
127
|
-
[`e91ee201d`](https://github.com/benjie/
|
|
128
|
-
[`865bec590`](https://github.com/benjie/
|
|
129
|
-
[`7f857950a`](https://github.com/benjie/
|
|
130
|
-
[`d39a5d409`](https://github.com/benjie/
|
|
149
|
+
[[`2389f47ec`](https://github.com/benjie/crystal/commit/2389f47ecf3b708f1085fdeb818eacaaeb257a2d),
|
|
150
|
+
[`e91ee201d`](https://github.com/benjie/crystal/commit/e91ee201d80d3b32e4e632b101f4c25362a1a05b),
|
|
151
|
+
[`865bec590`](https://github.com/benjie/crystal/commit/865bec5901f666e147f5d4088152d1f0d2584827),
|
|
152
|
+
[`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71),
|
|
153
|
+
[`d39a5d409`](https://github.com/benjie/crystal/commit/d39a5d409ffe1a5855740ecbff1ad11ec0bf6660)]:
|
|
131
154
|
- grafast@0.0.1-alpha.3
|
|
132
155
|
|
|
133
156
|
## 0.0.1-alpha.2
|
|
@@ -135,19 +158,19 @@
|
|
|
135
158
|
### Patch Changes
|
|
136
159
|
|
|
137
160
|
- Updated dependencies
|
|
138
|
-
[[`3df3f1726`](https://github.com/benjie/
|
|
161
|
+
[[`3df3f1726`](https://github.com/benjie/crystal/commit/3df3f17269bb896cdee90ed8c4ab46fb821a1509)]:
|
|
139
162
|
- grafast@0.0.1-alpha.2
|
|
140
163
|
|
|
141
164
|
## 0.0.1-alpha.1
|
|
142
165
|
|
|
143
166
|
### Patch Changes
|
|
144
167
|
|
|
145
|
-
- [`759ad403d`](https://github.com/benjie/
|
|
168
|
+
- [`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)
|
|
146
169
|
Thanks [@benjie](https://github.com/benjie)! - Alpha release - see
|
|
147
170
|
https://postgraphile.org/news/2023-04-26-version-5-alpha
|
|
148
171
|
|
|
149
172
|
- Updated dependencies
|
|
150
|
-
[[`759ad403d`](https://github.com/benjie/
|
|
173
|
+
[[`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)]:
|
|
151
174
|
- grafast@0.0.1-alpha.1
|
|
152
175
|
|
|
153
176
|
## 0.0.1-1.3
|
|
@@ -155,7 +178,7 @@
|
|
|
155
178
|
### Patch Changes
|
|
156
179
|
|
|
157
180
|
- Updated dependencies
|
|
158
|
-
[[`8d270ead3`](https://github.com/benjie/
|
|
181
|
+
[[`8d270ead3`](https://github.com/benjie/crystal/commit/8d270ead3fa8331e28974aae052bd48ad537d1bf)]:
|
|
159
182
|
- grafast@0.0.1-1.3
|
|
160
183
|
|
|
161
184
|
## 0.0.1-1.2
|
|
@@ -163,19 +186,19 @@
|
|
|
163
186
|
### Patch Changes
|
|
164
187
|
|
|
165
188
|
- Updated dependencies
|
|
166
|
-
[[`7dcb0e008`](https://github.com/benjie/
|
|
189
|
+
[[`7dcb0e008`](https://github.com/benjie/crystal/commit/7dcb0e008bc3a60c9ef325a856d16e0baab0b9f0)]:
|
|
167
190
|
- grafast@0.0.1-1.2
|
|
168
191
|
|
|
169
192
|
## 0.0.1-1.1
|
|
170
193
|
|
|
171
194
|
### Patch Changes
|
|
172
195
|
|
|
173
|
-
- [#260](https://github.com/benjie/
|
|
174
|
-
[`d5312e6b9`](https://github.com/benjie/
|
|
196
|
+
- [#260](https://github.com/benjie/crystal/pull/260)
|
|
197
|
+
[`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c)
|
|
175
198
|
Thanks [@benjie](https://github.com/benjie)! - TypeScript v5 is now required
|
|
176
199
|
|
|
177
|
-
- [#266](https://github.com/benjie/
|
|
178
|
-
[`395b4a2dd`](https://github.com/benjie/
|
|
200
|
+
- [#266](https://github.com/benjie/crystal/pull/266)
|
|
201
|
+
[`395b4a2dd`](https://github.com/benjie/crystal/commit/395b4a2dd24044bad25f5e411a7a7cfa43883eef)
|
|
179
202
|
Thanks [@benjie](https://github.com/benjie)! - The Grafast step class
|
|
180
203
|
'execute' and 'stream' methods now have a new additional first argument
|
|
181
204
|
`count` which indicates how many results they must return. This means we don't
|
|
@@ -183,11 +206,11 @@
|
|
|
183
206
|
return, and thus we can pass through an empty tuple to steps that have no
|
|
184
207
|
dependencies.
|
|
185
208
|
- Updated dependencies
|
|
186
|
-
[[`ae304b33c`](https://github.com/benjie/
|
|
187
|
-
[`d5312e6b9`](https://github.com/benjie/
|
|
188
|
-
[`22ec50e36`](https://github.com/benjie/
|
|
189
|
-
[`0f4709356`](https://github.com/benjie/
|
|
190
|
-
[`395b4a2dd`](https://github.com/benjie/
|
|
209
|
+
[[`ae304b33c`](https://github.com/benjie/crystal/commit/ae304b33c7c5a04d36b552177ae24a7b7b522645),
|
|
210
|
+
[`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c),
|
|
211
|
+
[`22ec50e36`](https://github.com/benjie/crystal/commit/22ec50e360d90de41c586c5c220438f780c10ee8),
|
|
212
|
+
[`0f4709356`](https://github.com/benjie/crystal/commit/0f47093560cf4f8b1f215853bc91d7f6531278cc),
|
|
213
|
+
[`395b4a2dd`](https://github.com/benjie/crystal/commit/395b4a2dd24044bad25f5e411a7a7cfa43883eef)]:
|
|
191
214
|
- grafast@0.0.1-1.1
|
|
192
215
|
|
|
193
216
|
## 0.0.1-0.23
|
|
@@ -195,9 +218,9 @@
|
|
|
195
218
|
### Patch Changes
|
|
196
219
|
|
|
197
220
|
- Updated dependencies
|
|
198
|
-
[[`89d16c972`](https://github.com/benjie/
|
|
199
|
-
[`8f323bdc8`](https://github.com/benjie/
|
|
200
|
-
[`9e7183c02`](https://github.com/benjie/
|
|
221
|
+
[[`89d16c972`](https://github.com/benjie/crystal/commit/89d16c972f12659de091b0b866768cacfccc8f6b),
|
|
222
|
+
[`8f323bdc8`](https://github.com/benjie/crystal/commit/8f323bdc88e39924de50775891bd40f1acb9b7cf),
|
|
223
|
+
[`9e7183c02`](https://github.com/benjie/crystal/commit/9e7183c02cb82d5f5c684c4f73962035e0267c83)]:
|
|
201
224
|
- grafast@0.0.1-0.23
|
|
202
225
|
|
|
203
226
|
## 0.0.1-0.22
|
|
@@ -212,7 +235,7 @@
|
|
|
212
235
|
### Patch Changes
|
|
213
236
|
|
|
214
237
|
- Updated dependencies
|
|
215
|
-
[[`f5a04cf66`](https://github.com/benjie/
|
|
238
|
+
[[`f5a04cf66`](https://github.com/benjie/crystal/commit/f5a04cf66f220c11a6a82db8c1a78b1d91606faa)]:
|
|
216
239
|
- grafast@0.0.1-0.21
|
|
217
240
|
|
|
218
241
|
## 0.0.1-0.20
|
|
@@ -227,7 +250,7 @@
|
|
|
227
250
|
### Patch Changes
|
|
228
251
|
|
|
229
252
|
- Updated dependencies
|
|
230
|
-
[[`397e8bb40`](https://github.com/benjie/
|
|
253
|
+
[[`397e8bb40`](https://github.com/benjie/crystal/commit/397e8bb40fe3783995172356a39ab7cb33e3bd36)]:
|
|
231
254
|
- grafast@0.0.1-0.19
|
|
232
255
|
|
|
233
256
|
## 0.0.1-0.18
|
|
@@ -235,8 +258,8 @@
|
|
|
235
258
|
### Patch Changes
|
|
236
259
|
|
|
237
260
|
- Updated dependencies
|
|
238
|
-
[[`4c2b7d1ca`](https://github.com/benjie/
|
|
239
|
-
[`c8a56cdc8`](https://github.com/benjie/
|
|
261
|
+
[[`4c2b7d1ca`](https://github.com/benjie/crystal/commit/4c2b7d1ca1afbda1e47da22c346cc3b03d01b7f0),
|
|
262
|
+
[`c8a56cdc8`](https://github.com/benjie/crystal/commit/c8a56cdc83390e5735beb9b90f004e7975cab28c)]:
|
|
240
263
|
- grafast@0.0.1-0.18
|
|
241
264
|
|
|
242
265
|
## 0.0.1-0.17
|
|
@@ -251,7 +274,7 @@
|
|
|
251
274
|
### Patch Changes
|
|
252
275
|
|
|
253
276
|
- Updated dependencies
|
|
254
|
-
[[`df89aba52`](https://github.com/benjie/
|
|
277
|
+
[[`df89aba52`](https://github.com/benjie/crystal/commit/df89aba524270e52f82987fcc4ab5d78ce180fc5)]:
|
|
255
278
|
- grafast@0.0.1-0.16
|
|
256
279
|
|
|
257
280
|
## 0.0.1-0.15
|
|
@@ -259,7 +282,7 @@
|
|
|
259
282
|
### Patch Changes
|
|
260
283
|
|
|
261
284
|
- Updated dependencies
|
|
262
|
-
[[`b523118fe`](https://github.com/benjie/
|
|
285
|
+
[[`b523118fe`](https://github.com/benjie/crystal/commit/b523118fe6217c027363fea91252a3a1764e17df)]:
|
|
263
286
|
- grafast@0.0.1-0.15
|
|
264
287
|
|
|
265
288
|
## 0.0.1-0.14
|
|
@@ -267,10 +290,10 @@
|
|
|
267
290
|
### Patch Changes
|
|
268
291
|
|
|
269
292
|
- Updated dependencies
|
|
270
|
-
[[`d76043453`](https://github.com/benjie/
|
|
271
|
-
[`afa0ea5f6`](https://github.com/benjie/
|
|
272
|
-
[`851b78ef2`](https://github.com/benjie/
|
|
273
|
-
[`384b3594f`](https://github.com/benjie/
|
|
293
|
+
[[`d76043453`](https://github.com/benjie/crystal/commit/d7604345362c58bf7eb43ef1ac1795a2ac22ae79),
|
|
294
|
+
[`afa0ea5f6`](https://github.com/benjie/crystal/commit/afa0ea5f6c508d9a0ba5946ab153b13ddbd274a0),
|
|
295
|
+
[`851b78ef2`](https://github.com/benjie/crystal/commit/851b78ef20d430164507ec9b3f41a5a0b8a18ed7),
|
|
296
|
+
[`384b3594f`](https://github.com/benjie/crystal/commit/384b3594f543d113650c1b6b02b276360dd2d15f)]:
|
|
274
297
|
- grafast@0.0.1-0.14
|
|
275
298
|
|
|
276
299
|
## 0.0.1-0.13
|
|
@@ -285,8 +308,8 @@
|
|
|
285
308
|
### Patch Changes
|
|
286
309
|
|
|
287
310
|
- Updated dependencies
|
|
288
|
-
[[`4f5d5bec7`](https://github.com/benjie/
|
|
289
|
-
[`25f5a6cbf`](https://github.com/benjie/
|
|
311
|
+
[[`4f5d5bec7`](https://github.com/benjie/crystal/commit/4f5d5bec72f949b17b39cd07acc848ce7a8bfa36),
|
|
312
|
+
[`25f5a6cbf`](https://github.com/benjie/crystal/commit/25f5a6cbff6cd5a94ebc4f411f7fa89c209fc383)]:
|
|
290
313
|
- grafast@0.0.1-0.12
|
|
291
314
|
|
|
292
315
|
## 0.0.1-0.11
|
|
@@ -296,8 +319,8 @@
|
|
|
296
319
|
- [`0ab95d0b1`](undefined) - Update sponsors.
|
|
297
320
|
|
|
298
321
|
- Updated dependencies [[`0ab95d0b1`](undefined),
|
|
299
|
-
[`4783bdd7c`](https://github.com/benjie/
|
|
300
|
-
[`652cf1073`](https://github.com/benjie/
|
|
322
|
+
[`4783bdd7c`](https://github.com/benjie/crystal/commit/4783bdd7cc28ac8b497fdd4d6f1024d80cb432ef),
|
|
323
|
+
[`652cf1073`](https://github.com/benjie/crystal/commit/652cf107316ea5832f69c6a55574632187f5c876)]:
|
|
301
324
|
- grafast@0.0.1-0.11
|
|
302
325
|
|
|
303
326
|
## 0.0.1-0.10
|
|
@@ -312,7 +335,7 @@
|
|
|
312
335
|
### Patch Changes
|
|
313
336
|
|
|
314
337
|
- Updated dependencies
|
|
315
|
-
[[`11d6be65e`](https://github.com/benjie/
|
|
338
|
+
[[`11d6be65e`](https://github.com/benjie/crystal/commit/11d6be65e0da489f8ab3e3a8b8db145f8b2147ad)]:
|
|
316
339
|
- grafast@0.0.1-0.9
|
|
317
340
|
|
|
318
341
|
## 0.0.1-0.8
|
|
@@ -320,7 +343,7 @@
|
|
|
320
343
|
### Patch Changes
|
|
321
344
|
|
|
322
345
|
- Updated dependencies
|
|
323
|
-
[[`208166269`](https://github.com/benjie/
|
|
346
|
+
[[`208166269`](https://github.com/benjie/crystal/commit/208166269177d6e278b056e1c77d26a2d8f59f49)]:
|
|
324
347
|
- grafast@0.0.1-0.8
|
|
325
348
|
|
|
326
349
|
## 0.0.1-0.7
|
|
@@ -378,10 +401,10 @@
|
|
|
378
401
|
|
|
379
402
|
### Patch Changes
|
|
380
403
|
|
|
381
|
-
- [#125](https://github.com/benjie/
|
|
382
|
-
[`91f2256b3`](https://github.com/benjie/
|
|
404
|
+
- [#125](https://github.com/benjie/crystal/pull/125)
|
|
405
|
+
[`91f2256b3`](https://github.com/benjie/crystal/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)
|
|
383
406
|
Thanks [@benjie](https://github.com/benjie)! - Initial changesets release
|
|
384
407
|
|
|
385
408
|
- Updated dependencies
|
|
386
|
-
[[`91f2256b3`](https://github.com/benjie/
|
|
409
|
+
[[`91f2256b3`](https://github.com/benjie/crystal/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)]:
|
|
387
410
|
- grafast@0.0.1-0.0
|
package/README.md
CHANGED
|
@@ -29,6 +29,7 @@ And please give some love to our featured sponsors 🤩:
|
|
|
29
29
|
</tr><tr>
|
|
30
30
|
<td align="center"><a href=""><img src="https://graphile.org/images/sponsors/chadf.png" width="90" height="90" alt="Chad Furman" /><br />Chad Furman</a> *</td>
|
|
31
31
|
<td align="center"><a href="https://stellate.co/"><img src="https://graphile.org/images/sponsors/Stellate.png" width="90" height="90" alt="Stellate" /><br />Stellate</a> *</td>
|
|
32
|
+
<td align="center"><a href="https://www.accenture.com/"><img src="https://graphile.org/images/sponsors/accenture.svg" width="90" height="90" alt="Accenture" /><br />Accenture</a> *</td>
|
|
32
33
|
</tr></table>
|
|
33
34
|
|
|
34
35
|
<em>\* Sponsors the entire Graphile suite</em>
|
|
@@ -3,6 +3,10 @@ import { ExecutableStep } from "grafast";
|
|
|
3
3
|
export type JSONValue = string | number | boolean | null | {
|
|
4
4
|
[key: string]: JSONValue;
|
|
5
5
|
} | Array<JSONValue>;
|
|
6
|
+
/**
|
|
7
|
+
* This plan accepts as JSON string as its only input and will result in the
|
|
8
|
+
* parsed JSON object (or array, boolean, string, etc).
|
|
9
|
+
*/
|
|
6
10
|
export declare class JSONParseStep<TJSON extends JSONValue> extends ExecutableStep<TJSON> {
|
|
7
11
|
static $$export: {
|
|
8
12
|
moduleName: string;
|
|
@@ -17,5 +21,9 @@ export declare class JSONParseStep<TJSON extends JSONValue> extends ExecutableSt
|
|
|
17
21
|
at<TIndex extends keyof TJSON & number>(index: TIndex): AccessStep<TJSON[TIndex]>;
|
|
18
22
|
execute(count: number, values: [GrafastValuesList<string>]): GrafastResultsList<TJSON>;
|
|
19
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* This plan accepts as JSON string as its only input and will result in the
|
|
26
|
+
* parsed JSON object (or array, boolean, string, etc).
|
|
27
|
+
*/
|
|
20
28
|
export declare function jsonParse<TJSON extends JSONValue>($string: ExecutableStep<string | null>): JSONParseStep<TJSON>;
|
|
21
29
|
//# sourceMappingURL=jsonParse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jsonParse.d.ts","sourceRoot":"","sources":["../../src/steps/jsonParse.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EAElB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAU,cAAc,EAAY,MAAM,SAAS,CAAC;AAE3D,MAAM,MAAM,SAAS,GACjB,MAAM,GACN,MAAM,GACN,OAAO,GACP,IAAI,GACJ;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GAC5B,KAAK,CAAC,SAAS,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"jsonParse.d.ts","sourceRoot":"","sources":["../../src/steps/jsonParse.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EAElB,MAAM,SAAS,CAAC;AACjB,OAAO,EAAU,cAAc,EAAY,MAAM,SAAS,CAAC;AAE3D,MAAM,MAAM,SAAS,GACjB,MAAM,GACN,MAAM,GACN,OAAO,GACP,IAAI,GACJ;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,GAC5B,KAAK,CAAC,SAAS,CAAC,CAAC;AAErB;;;GAGG;AACH,qBAAa,aAAa,CACxB,KAAK,SAAS,SAAS,CACvB,SAAQ,cAAc,CAAC,KAAK,CAAC;IAC7B,MAAM,CAAC,QAAQ;;;MAGb;IAGF,aAAa,UAAS;gBAEV,WAAW,EAAE,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC;IAKtD,YAAY,IAAI,MAAM;IAItB,GAAG,CAAC,IAAI,SAAS,MAAM,KAAK,EAC1B,GAAG,EAAE,IAAI,GACR,UAAU,CACX,KAAK,SAAS;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;KAAE,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,KAAK,CAC/D;IAID,EAAE,CAAC,MAAM,SAAS,MAAM,KAAK,GAAG,MAAM,EACpC,KAAK,EAAE,MAAM,GACZ,UAAU,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAI5B,OAAO,CACL,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,CAAC,iBAAiB,CAAC,MAAM,CAAC,CAAC,GAClC,kBAAkB,CAAC,KAAK,CAAC;CAyB7B;AAED;;;GAGG;AACH,wBAAgB,SAAS,CAAC,KAAK,SAAS,SAAS,EAC/C,OAAO,EAAE,cAAc,CAAC,MAAM,GAAG,IAAI,CAAC,GACrC,aAAa,CAAC,KAAK,CAAC,CAEtB"}
|
package/dist/steps/jsonParse.js
CHANGED
|
@@ -4,6 +4,10 @@ exports.jsonParse = exports.JSONParseStep = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const chalk_1 = tslib_1.__importDefault(require("chalk"));
|
|
6
6
|
const grafast_1 = require("grafast");
|
|
7
|
+
/**
|
|
8
|
+
* This plan accepts as JSON string as its only input and will result in the
|
|
9
|
+
* parsed JSON object (or array, boolean, string, etc).
|
|
10
|
+
*/
|
|
7
11
|
class JSONParseStep extends grafast_1.ExecutableStep {
|
|
8
12
|
static { this.$$export = {
|
|
9
13
|
moduleName: "@dataplan/json",
|
|
@@ -11,6 +15,8 @@ class JSONParseStep extends grafast_1.ExecutableStep {
|
|
|
11
15
|
}; }
|
|
12
16
|
constructor($stringPlan) {
|
|
13
17
|
super();
|
|
18
|
+
// We're not safe because if parsing JSON fails we'll include a rejected
|
|
19
|
+
// promise.
|
|
14
20
|
this.isSyncAndSafe = false;
|
|
15
21
|
this.addDependency($stringPlan);
|
|
16
22
|
}
|
|
@@ -24,7 +30,7 @@ class JSONParseStep extends grafast_1.ExecutableStep {
|
|
|
24
30
|
return (0, grafast_1.access)(this, [index]);
|
|
25
31
|
}
|
|
26
32
|
execute(count, values) {
|
|
27
|
-
const result = [];
|
|
33
|
+
const result = []; // new Array(count);
|
|
28
34
|
const list = values[0];
|
|
29
35
|
for (let i = 0; i < count; i++) {
|
|
30
36
|
const v = list[i];
|
|
@@ -47,6 +53,10 @@ class JSONParseStep extends grafast_1.ExecutableStep {
|
|
|
47
53
|
}
|
|
48
54
|
}
|
|
49
55
|
exports.JSONParseStep = JSONParseStep;
|
|
56
|
+
/**
|
|
57
|
+
* This plan accepts as JSON string as its only input and will result in the
|
|
58
|
+
* parsed JSON object (or array, boolean, string, etc).
|
|
59
|
+
*/
|
|
50
60
|
function jsonParse($string) {
|
|
51
61
|
return new JSONParseStep($string);
|
|
52
62
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dataplan/json",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
3
|
+
"version": "0.0.1-alpha.16",
|
|
4
4
|
"description": "JSON step classes for Grafast",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"node": ">=14.17"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"grafast": "^0.0.1-alpha.
|
|
36
|
+
"grafast": "^0.0.1-alpha.16"
|
|
37
37
|
},
|
|
38
38
|
"files": [
|
|
39
39
|
"dist"
|