@dataplan/json 0.0.1-alpha.9 → 0.0.1-beta.2
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 +156 -55
- package/README.md +2 -3
- 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 +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,116 @@
|
|
|
1
1
|
# @dataplan/json
|
|
2
2
|
|
|
3
|
+
## 0.0.1-beta.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
[[`23bd3c291`](https://github.com/benjie/crystal/commit/23bd3c291246aebf27cf2784f40fc948485f43c9)]:
|
|
9
|
+
- grafast@0.0.1-beta.2
|
|
10
|
+
|
|
11
|
+
## 0.0.1-beta.1
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`cbd987385`](https://github.com/benjie/crystal/commit/cbd987385f99bd1248bc093ac507cc2f641ba3e8)
|
|
16
|
+
Thanks [@benjie](https://github.com/benjie)! - Bump all packages to beta
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
[[`cbd987385`](https://github.com/benjie/crystal/commit/cbd987385f99bd1248bc093ac507cc2f641ba3e8)]:
|
|
20
|
+
- grafast@0.0.1-beta.1
|
|
21
|
+
|
|
22
|
+
## 0.0.1-alpha.16
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies
|
|
27
|
+
[[`dfefdad3c`](https://github.com/benjie/crystal/commit/dfefdad3cd5a99c36d47eb0bddd914bab4ca9a1f)]:
|
|
28
|
+
- grafast@0.0.1-alpha.16
|
|
29
|
+
|
|
30
|
+
## 0.0.1-alpha.15
|
|
31
|
+
|
|
32
|
+
### Patch Changes
|
|
33
|
+
|
|
34
|
+
- [#422](https://github.com/benjie/crystal/pull/422)
|
|
35
|
+
[`9f87a26b1`](https://github.com/benjie/crystal/commit/9f87a26b10e5539aa88cfd9909e265513e941fd5)
|
|
36
|
+
Thanks [@benjie](https://github.com/benjie)! - Comments enabled in released
|
|
37
|
+
packages
|
|
38
|
+
|
|
39
|
+
- Updated dependencies
|
|
40
|
+
[[`ea003ca3a`](https://github.com/benjie/crystal/commit/ea003ca3a8f68fb87dca603582e47981ed033996),
|
|
41
|
+
[`57d88b5fa`](https://github.com/benjie/crystal/commit/57d88b5fa3ed296210c1fcb223452213fd57985b),
|
|
42
|
+
[`9f87a26b1`](https://github.com/benjie/crystal/commit/9f87a26b10e5539aa88cfd9909e265513e941fd5)]:
|
|
43
|
+
- grafast@0.0.1-alpha.15
|
|
44
|
+
|
|
45
|
+
## 0.0.1-alpha.14
|
|
46
|
+
|
|
47
|
+
### Patch Changes
|
|
48
|
+
|
|
49
|
+
- Updated dependencies
|
|
50
|
+
[[`d99d666fb`](https://github.com/benjie/crystal/commit/d99d666fb234eb02dd196610995fa480c596242a)]:
|
|
51
|
+
- grafast@0.0.1-alpha.14
|
|
52
|
+
|
|
53
|
+
## 0.0.1-alpha.13
|
|
54
|
+
|
|
55
|
+
### Patch Changes
|
|
56
|
+
|
|
57
|
+
- [#418](https://github.com/benjie/crystal/pull/418)
|
|
58
|
+
[`9ab2adba2`](https://github.com/benjie/crystal/commit/9ab2adba2c146b5d1bc91bbb2f25e4645ed381de)
|
|
59
|
+
Thanks [@benjie](https://github.com/benjie)! - Overhaul peerDependencies and
|
|
60
|
+
dependencies to try and eliminate duplicate modules error.
|
|
61
|
+
- Updated dependencies
|
|
62
|
+
[[`620f9e07e`](https://github.com/benjie/crystal/commit/620f9e07ec6f4d66a8dc01ed6bb054a75f7b1c8b),
|
|
63
|
+
[`1882e0185`](https://github.com/benjie/crystal/commit/1882e018576adf69bcae8a999224cb4d5e62a3e1),
|
|
64
|
+
[`881672305`](https://github.com/benjie/crystal/commit/88167230578393e3b24a364f0d673e36c5cb088d),
|
|
65
|
+
[`e5012f9a1`](https://github.com/benjie/crystal/commit/e5012f9a1901af63e1703ea4d717e8a22544f5e7),
|
|
66
|
+
[`9ab2adba2`](https://github.com/benjie/crystal/commit/9ab2adba2c146b5d1bc91bbb2f25e4645ed381de),
|
|
67
|
+
[`47f6f018b`](https://github.com/benjie/crystal/commit/47f6f018b11761cbfaa63d709edc0e3f4f9a9924),
|
|
68
|
+
[`ff4395bfc`](https://github.com/benjie/crystal/commit/ff4395bfc6e6b2fb263f644dae1e984c52dd84b9),
|
|
69
|
+
[`502b23340`](https://github.com/benjie/crystal/commit/502b233401975637bc0d516af78721b37f6f9b7b)]:
|
|
70
|
+
- grafast@0.0.1-alpha.13
|
|
71
|
+
|
|
72
|
+
## 0.0.1-alpha.12
|
|
73
|
+
|
|
74
|
+
### Patch Changes
|
|
75
|
+
|
|
76
|
+
- Updated dependencies
|
|
77
|
+
[[`9281a2d88`](https://github.com/benjie/crystal/commit/9281a2d889ab1e72a3f6f9777779f31a6588d478),
|
|
78
|
+
[`675b7abb9`](https://github.com/benjie/crystal/commit/675b7abb93e11d955930b9026fb0b65a56ecc999)]:
|
|
79
|
+
- grafast@0.0.1-alpha.12
|
|
80
|
+
|
|
81
|
+
## 0.0.1-alpha.11
|
|
82
|
+
|
|
83
|
+
### Patch Changes
|
|
84
|
+
|
|
85
|
+
- Updated dependencies []:
|
|
86
|
+
- grafast@0.0.1-alpha.11
|
|
87
|
+
|
|
88
|
+
## 0.0.1-alpha.10
|
|
89
|
+
|
|
90
|
+
### Patch Changes
|
|
91
|
+
|
|
92
|
+
- Updated dependencies
|
|
93
|
+
[[`409581534`](https://github.com/benjie/crystal/commit/409581534f41ac2cf0ff21c77c2bcd8eaa8218fd),
|
|
94
|
+
[`b7533bd4d`](https://github.com/benjie/crystal/commit/b7533bd4dfc210cb8b113b8fa06f163a212aa5e4),
|
|
95
|
+
[`9feb769c2`](https://github.com/benjie/crystal/commit/9feb769c2df0c57971ed26a937be4a1bee7a7524),
|
|
96
|
+
[`7573bf374`](https://github.com/benjie/crystal/commit/7573bf374897228b613b19f37b4e076737db3279),
|
|
97
|
+
[`2c8586b36`](https://github.com/benjie/crystal/commit/2c8586b367b76af91d1785cc90455c70911fdec7),
|
|
98
|
+
[`c43802d74`](https://github.com/benjie/crystal/commit/c43802d7419f93d18964c654f16d0937a2e23ca0),
|
|
99
|
+
[`b118b8f6d`](https://github.com/benjie/crystal/commit/b118b8f6dc18196212cfb0a05486e1dd8d77ccf8),
|
|
100
|
+
[`9008c4f87`](https://github.com/benjie/crystal/commit/9008c4f87df53be4051c49f9836358dc2baa59df),
|
|
101
|
+
[`e8c81cd20`](https://github.com/benjie/crystal/commit/e8c81cd2046390ed5b6799aa7ff3d90b28a1861a)]:
|
|
102
|
+
- grafast@0.0.1-alpha.10
|
|
103
|
+
|
|
3
104
|
## 0.0.1-alpha.9
|
|
4
105
|
|
|
5
106
|
### Patch Changes
|
|
6
107
|
|
|
7
108
|
- Updated dependencies
|
|
8
|
-
[[`56237691b`](https://github.com/benjie/
|
|
9
|
-
[`ed1982f31`](https://github.com/benjie/
|
|
10
|
-
[`1fe47a2b0`](https://github.com/benjie/
|
|
11
|
-
[`6878c589c`](https://github.com/benjie/
|
|
12
|
-
[`2ac706f18`](https://github.com/benjie/
|
|
109
|
+
[[`56237691b`](https://github.com/benjie/crystal/commit/56237691bf3eed321b7159e17f36e3651356946f),
|
|
110
|
+
[`ed1982f31`](https://github.com/benjie/crystal/commit/ed1982f31a845ceb3aafd4b48d667649f06778f5),
|
|
111
|
+
[`1fe47a2b0`](https://github.com/benjie/crystal/commit/1fe47a2b08d6e7153a22dde3a99b7a9bf50c4f84),
|
|
112
|
+
[`6878c589c`](https://github.com/benjie/crystal/commit/6878c589cc9fc8f05a6efd377e1272ae24fbf256),
|
|
113
|
+
[`2ac706f18`](https://github.com/benjie/crystal/commit/2ac706f18660c855fe20f460b50694fdd04a7768)]:
|
|
13
114
|
- grafast@0.0.1-alpha.9
|
|
14
115
|
|
|
15
116
|
## 0.0.1-alpha.8
|
|
@@ -17,7 +118,7 @@
|
|
|
17
118
|
### Patch Changes
|
|
18
119
|
|
|
19
120
|
- Updated dependencies
|
|
20
|
-
[[`dd3ef599c`](https://github.com/benjie/
|
|
121
|
+
[[`dd3ef599c`](https://github.com/benjie/crystal/commit/dd3ef599c7f2530fd1a19a852d334b7349e49e70)]:
|
|
21
122
|
- grafast@0.0.1-alpha.8
|
|
22
123
|
|
|
23
124
|
## 0.0.1-alpha.7
|
|
@@ -25,9 +126,9 @@
|
|
|
25
126
|
### Patch Changes
|
|
26
127
|
|
|
27
128
|
- Updated dependencies
|
|
28
|
-
[[`5c9d32264`](https://github.com/benjie/
|
|
29
|
-
[`2fcbe688c`](https://github.com/benjie/
|
|
30
|
-
[`3a984718a`](https://github.com/benjie/
|
|
129
|
+
[[`5c9d32264`](https://github.com/benjie/crystal/commit/5c9d322644028e33f5273fb9bcaaf6a80f1f7360),
|
|
130
|
+
[`2fcbe688c`](https://github.com/benjie/crystal/commit/2fcbe688c11b355f0688b96e99012a829cf8b7cb),
|
|
131
|
+
[`3a984718a`](https://github.com/benjie/crystal/commit/3a984718a322685304777dec7cd48a1efa15539d)]:
|
|
31
132
|
- grafast@0.0.1-alpha.7
|
|
32
133
|
|
|
33
134
|
## 0.0.1-alpha.6
|
|
@@ -35,7 +136,7 @@
|
|
|
35
136
|
### Patch Changes
|
|
36
137
|
|
|
37
138
|
- Updated dependencies
|
|
38
|
-
[[`f75926f4b`](https://github.com/benjie/
|
|
139
|
+
[[`f75926f4b`](https://github.com/benjie/crystal/commit/f75926f4b9aee33adff8bdf6b1a4137582cb47ba)]:
|
|
39
140
|
- grafast@0.0.1-alpha.6
|
|
40
141
|
|
|
41
142
|
## 0.0.1-alpha.5
|
|
@@ -43,8 +144,8 @@
|
|
|
43
144
|
### Patch Changes
|
|
44
145
|
|
|
45
146
|
- Updated dependencies
|
|
46
|
-
[[`86e503d78`](https://github.com/benjie/
|
|
47
|
-
[`24822d0dc`](https://github.com/benjie/
|
|
147
|
+
[[`86e503d78`](https://github.com/benjie/crystal/commit/86e503d785626ad9a2e91ec2e70b272dd632d425),
|
|
148
|
+
[`24822d0dc`](https://github.com/benjie/crystal/commit/24822d0dc87d41f0b0737d6e00cf4022de4bab5e)]:
|
|
48
149
|
- grafast@0.0.1-alpha.5
|
|
49
150
|
|
|
50
151
|
## 0.0.1-alpha.4
|
|
@@ -52,23 +153,23 @@
|
|
|
52
153
|
### Patch Changes
|
|
53
154
|
|
|
54
155
|
- Updated dependencies
|
|
55
|
-
[[`45dcf3a8f`](https://github.com/benjie/
|
|
156
|
+
[[`45dcf3a8f`](https://github.com/benjie/crystal/commit/45dcf3a8fd8bad5c8b82a7cbff2db4dacb916950)]:
|
|
56
157
|
- grafast@0.0.1-alpha.4
|
|
57
158
|
|
|
58
159
|
## 0.0.1-alpha.3
|
|
59
160
|
|
|
60
161
|
### Patch Changes
|
|
61
162
|
|
|
62
|
-
- [`7f857950a`](https://github.com/benjie/
|
|
163
|
+
- [`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71)
|
|
63
164
|
Thanks [@benjie](https://github.com/benjie)! - Upgrade to the latest
|
|
64
165
|
TypeScript/tslib
|
|
65
166
|
|
|
66
167
|
- Updated dependencies
|
|
67
|
-
[[`2389f47ec`](https://github.com/benjie/
|
|
68
|
-
[`e91ee201d`](https://github.com/benjie/
|
|
69
|
-
[`865bec590`](https://github.com/benjie/
|
|
70
|
-
[`7f857950a`](https://github.com/benjie/
|
|
71
|
-
[`d39a5d409`](https://github.com/benjie/
|
|
168
|
+
[[`2389f47ec`](https://github.com/benjie/crystal/commit/2389f47ecf3b708f1085fdeb818eacaaeb257a2d),
|
|
169
|
+
[`e91ee201d`](https://github.com/benjie/crystal/commit/e91ee201d80d3b32e4e632b101f4c25362a1a05b),
|
|
170
|
+
[`865bec590`](https://github.com/benjie/crystal/commit/865bec5901f666e147f5d4088152d1f0d2584827),
|
|
171
|
+
[`7f857950a`](https://github.com/benjie/crystal/commit/7f857950a7e4ec763c936eb6bd1fb77824041d71),
|
|
172
|
+
[`d39a5d409`](https://github.com/benjie/crystal/commit/d39a5d409ffe1a5855740ecbff1ad11ec0bf6660)]:
|
|
72
173
|
- grafast@0.0.1-alpha.3
|
|
73
174
|
|
|
74
175
|
## 0.0.1-alpha.2
|
|
@@ -76,19 +177,19 @@
|
|
|
76
177
|
### Patch Changes
|
|
77
178
|
|
|
78
179
|
- Updated dependencies
|
|
79
|
-
[[`3df3f1726`](https://github.com/benjie/
|
|
180
|
+
[[`3df3f1726`](https://github.com/benjie/crystal/commit/3df3f17269bb896cdee90ed8c4ab46fb821a1509)]:
|
|
80
181
|
- grafast@0.0.1-alpha.2
|
|
81
182
|
|
|
82
183
|
## 0.0.1-alpha.1
|
|
83
184
|
|
|
84
185
|
### Patch Changes
|
|
85
186
|
|
|
86
|
-
- [`759ad403d`](https://github.com/benjie/
|
|
187
|
+
- [`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)
|
|
87
188
|
Thanks [@benjie](https://github.com/benjie)! - Alpha release - see
|
|
88
189
|
https://postgraphile.org/news/2023-04-26-version-5-alpha
|
|
89
190
|
|
|
90
191
|
- Updated dependencies
|
|
91
|
-
[[`759ad403d`](https://github.com/benjie/
|
|
192
|
+
[[`759ad403d`](https://github.com/benjie/crystal/commit/759ad403d71363312c5225c165873ae84b8a098c)]:
|
|
92
193
|
- grafast@0.0.1-alpha.1
|
|
93
194
|
|
|
94
195
|
## 0.0.1-1.3
|
|
@@ -96,7 +197,7 @@
|
|
|
96
197
|
### Patch Changes
|
|
97
198
|
|
|
98
199
|
- Updated dependencies
|
|
99
|
-
[[`8d270ead3`](https://github.com/benjie/
|
|
200
|
+
[[`8d270ead3`](https://github.com/benjie/crystal/commit/8d270ead3fa8331e28974aae052bd48ad537d1bf)]:
|
|
100
201
|
- grafast@0.0.1-1.3
|
|
101
202
|
|
|
102
203
|
## 0.0.1-1.2
|
|
@@ -104,19 +205,19 @@
|
|
|
104
205
|
### Patch Changes
|
|
105
206
|
|
|
106
207
|
- Updated dependencies
|
|
107
|
-
[[`7dcb0e008`](https://github.com/benjie/
|
|
208
|
+
[[`7dcb0e008`](https://github.com/benjie/crystal/commit/7dcb0e008bc3a60c9ef325a856d16e0baab0b9f0)]:
|
|
108
209
|
- grafast@0.0.1-1.2
|
|
109
210
|
|
|
110
211
|
## 0.0.1-1.1
|
|
111
212
|
|
|
112
213
|
### Patch Changes
|
|
113
214
|
|
|
114
|
-
- [#260](https://github.com/benjie/
|
|
115
|
-
[`d5312e6b9`](https://github.com/benjie/
|
|
215
|
+
- [#260](https://github.com/benjie/crystal/pull/260)
|
|
216
|
+
[`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c)
|
|
116
217
|
Thanks [@benjie](https://github.com/benjie)! - TypeScript v5 is now required
|
|
117
218
|
|
|
118
|
-
- [#266](https://github.com/benjie/
|
|
119
|
-
[`395b4a2dd`](https://github.com/benjie/
|
|
219
|
+
- [#266](https://github.com/benjie/crystal/pull/266)
|
|
220
|
+
[`395b4a2dd`](https://github.com/benjie/crystal/commit/395b4a2dd24044bad25f5e411a7a7cfa43883eef)
|
|
120
221
|
Thanks [@benjie](https://github.com/benjie)! - The Grafast step class
|
|
121
222
|
'execute' and 'stream' methods now have a new additional first argument
|
|
122
223
|
`count` which indicates how many results they must return. This means we don't
|
|
@@ -124,11 +225,11 @@
|
|
|
124
225
|
return, and thus we can pass through an empty tuple to steps that have no
|
|
125
226
|
dependencies.
|
|
126
227
|
- Updated dependencies
|
|
127
|
-
[[`ae304b33c`](https://github.com/benjie/
|
|
128
|
-
[`d5312e6b9`](https://github.com/benjie/
|
|
129
|
-
[`22ec50e36`](https://github.com/benjie/
|
|
130
|
-
[`0f4709356`](https://github.com/benjie/
|
|
131
|
-
[`395b4a2dd`](https://github.com/benjie/
|
|
228
|
+
[[`ae304b33c`](https://github.com/benjie/crystal/commit/ae304b33c7c5a04d36b552177ae24a7b7b522645),
|
|
229
|
+
[`d5312e6b9`](https://github.com/benjie/crystal/commit/d5312e6b968fbeb46d074b82a41b4bdbc166598c),
|
|
230
|
+
[`22ec50e36`](https://github.com/benjie/crystal/commit/22ec50e360d90de41c586c5c220438f780c10ee8),
|
|
231
|
+
[`0f4709356`](https://github.com/benjie/crystal/commit/0f47093560cf4f8b1f215853bc91d7f6531278cc),
|
|
232
|
+
[`395b4a2dd`](https://github.com/benjie/crystal/commit/395b4a2dd24044bad25f5e411a7a7cfa43883eef)]:
|
|
132
233
|
- grafast@0.0.1-1.1
|
|
133
234
|
|
|
134
235
|
## 0.0.1-0.23
|
|
@@ -136,9 +237,9 @@
|
|
|
136
237
|
### Patch Changes
|
|
137
238
|
|
|
138
239
|
- Updated dependencies
|
|
139
|
-
[[`89d16c972`](https://github.com/benjie/
|
|
140
|
-
[`8f323bdc8`](https://github.com/benjie/
|
|
141
|
-
[`9e7183c02`](https://github.com/benjie/
|
|
240
|
+
[[`89d16c972`](https://github.com/benjie/crystal/commit/89d16c972f12659de091b0b866768cacfccc8f6b),
|
|
241
|
+
[`8f323bdc8`](https://github.com/benjie/crystal/commit/8f323bdc88e39924de50775891bd40f1acb9b7cf),
|
|
242
|
+
[`9e7183c02`](https://github.com/benjie/crystal/commit/9e7183c02cb82d5f5c684c4f73962035e0267c83)]:
|
|
142
243
|
- grafast@0.0.1-0.23
|
|
143
244
|
|
|
144
245
|
## 0.0.1-0.22
|
|
@@ -153,7 +254,7 @@
|
|
|
153
254
|
### Patch Changes
|
|
154
255
|
|
|
155
256
|
- Updated dependencies
|
|
156
|
-
[[`f5a04cf66`](https://github.com/benjie/
|
|
257
|
+
[[`f5a04cf66`](https://github.com/benjie/crystal/commit/f5a04cf66f220c11a6a82db8c1a78b1d91606faa)]:
|
|
157
258
|
- grafast@0.0.1-0.21
|
|
158
259
|
|
|
159
260
|
## 0.0.1-0.20
|
|
@@ -168,7 +269,7 @@
|
|
|
168
269
|
### Patch Changes
|
|
169
270
|
|
|
170
271
|
- Updated dependencies
|
|
171
|
-
[[`397e8bb40`](https://github.com/benjie/
|
|
272
|
+
[[`397e8bb40`](https://github.com/benjie/crystal/commit/397e8bb40fe3783995172356a39ab7cb33e3bd36)]:
|
|
172
273
|
- grafast@0.0.1-0.19
|
|
173
274
|
|
|
174
275
|
## 0.0.1-0.18
|
|
@@ -176,8 +277,8 @@
|
|
|
176
277
|
### Patch Changes
|
|
177
278
|
|
|
178
279
|
- Updated dependencies
|
|
179
|
-
[[`4c2b7d1ca`](https://github.com/benjie/
|
|
180
|
-
[`c8a56cdc8`](https://github.com/benjie/
|
|
280
|
+
[[`4c2b7d1ca`](https://github.com/benjie/crystal/commit/4c2b7d1ca1afbda1e47da22c346cc3b03d01b7f0),
|
|
281
|
+
[`c8a56cdc8`](https://github.com/benjie/crystal/commit/c8a56cdc83390e5735beb9b90f004e7975cab28c)]:
|
|
181
282
|
- grafast@0.0.1-0.18
|
|
182
283
|
|
|
183
284
|
## 0.0.1-0.17
|
|
@@ -192,7 +293,7 @@
|
|
|
192
293
|
### Patch Changes
|
|
193
294
|
|
|
194
295
|
- Updated dependencies
|
|
195
|
-
[[`df89aba52`](https://github.com/benjie/
|
|
296
|
+
[[`df89aba52`](https://github.com/benjie/crystal/commit/df89aba524270e52f82987fcc4ab5d78ce180fc5)]:
|
|
196
297
|
- grafast@0.0.1-0.16
|
|
197
298
|
|
|
198
299
|
## 0.0.1-0.15
|
|
@@ -200,7 +301,7 @@
|
|
|
200
301
|
### Patch Changes
|
|
201
302
|
|
|
202
303
|
- Updated dependencies
|
|
203
|
-
[[`b523118fe`](https://github.com/benjie/
|
|
304
|
+
[[`b523118fe`](https://github.com/benjie/crystal/commit/b523118fe6217c027363fea91252a3a1764e17df)]:
|
|
204
305
|
- grafast@0.0.1-0.15
|
|
205
306
|
|
|
206
307
|
## 0.0.1-0.14
|
|
@@ -208,10 +309,10 @@
|
|
|
208
309
|
### Patch Changes
|
|
209
310
|
|
|
210
311
|
- Updated dependencies
|
|
211
|
-
[[`d76043453`](https://github.com/benjie/
|
|
212
|
-
[`afa0ea5f6`](https://github.com/benjie/
|
|
213
|
-
[`851b78ef2`](https://github.com/benjie/
|
|
214
|
-
[`384b3594f`](https://github.com/benjie/
|
|
312
|
+
[[`d76043453`](https://github.com/benjie/crystal/commit/d7604345362c58bf7eb43ef1ac1795a2ac22ae79),
|
|
313
|
+
[`afa0ea5f6`](https://github.com/benjie/crystal/commit/afa0ea5f6c508d9a0ba5946ab153b13ddbd274a0),
|
|
314
|
+
[`851b78ef2`](https://github.com/benjie/crystal/commit/851b78ef20d430164507ec9b3f41a5a0b8a18ed7),
|
|
315
|
+
[`384b3594f`](https://github.com/benjie/crystal/commit/384b3594f543d113650c1b6b02b276360dd2d15f)]:
|
|
215
316
|
- grafast@0.0.1-0.14
|
|
216
317
|
|
|
217
318
|
## 0.0.1-0.13
|
|
@@ -226,8 +327,8 @@
|
|
|
226
327
|
### Patch Changes
|
|
227
328
|
|
|
228
329
|
- Updated dependencies
|
|
229
|
-
[[`4f5d5bec7`](https://github.com/benjie/
|
|
230
|
-
[`25f5a6cbf`](https://github.com/benjie/
|
|
330
|
+
[[`4f5d5bec7`](https://github.com/benjie/crystal/commit/4f5d5bec72f949b17b39cd07acc848ce7a8bfa36),
|
|
331
|
+
[`25f5a6cbf`](https://github.com/benjie/crystal/commit/25f5a6cbff6cd5a94ebc4f411f7fa89c209fc383)]:
|
|
231
332
|
- grafast@0.0.1-0.12
|
|
232
333
|
|
|
233
334
|
## 0.0.1-0.11
|
|
@@ -237,8 +338,8 @@
|
|
|
237
338
|
- [`0ab95d0b1`](undefined) - Update sponsors.
|
|
238
339
|
|
|
239
340
|
- Updated dependencies [[`0ab95d0b1`](undefined),
|
|
240
|
-
[`4783bdd7c`](https://github.com/benjie/
|
|
241
|
-
[`652cf1073`](https://github.com/benjie/
|
|
341
|
+
[`4783bdd7c`](https://github.com/benjie/crystal/commit/4783bdd7cc28ac8b497fdd4d6f1024d80cb432ef),
|
|
342
|
+
[`652cf1073`](https://github.com/benjie/crystal/commit/652cf107316ea5832f69c6a55574632187f5c876)]:
|
|
242
343
|
- grafast@0.0.1-0.11
|
|
243
344
|
|
|
244
345
|
## 0.0.1-0.10
|
|
@@ -253,7 +354,7 @@
|
|
|
253
354
|
### Patch Changes
|
|
254
355
|
|
|
255
356
|
- Updated dependencies
|
|
256
|
-
[[`11d6be65e`](https://github.com/benjie/
|
|
357
|
+
[[`11d6be65e`](https://github.com/benjie/crystal/commit/11d6be65e0da489f8ab3e3a8b8db145f8b2147ad)]:
|
|
257
358
|
- grafast@0.0.1-0.9
|
|
258
359
|
|
|
259
360
|
## 0.0.1-0.8
|
|
@@ -261,7 +362,7 @@
|
|
|
261
362
|
### Patch Changes
|
|
262
363
|
|
|
263
364
|
- Updated dependencies
|
|
264
|
-
[[`208166269`](https://github.com/benjie/
|
|
365
|
+
[[`208166269`](https://github.com/benjie/crystal/commit/208166269177d6e278b056e1c77d26a2d8f59f49)]:
|
|
265
366
|
- grafast@0.0.1-0.8
|
|
266
367
|
|
|
267
368
|
## 0.0.1-0.7
|
|
@@ -319,10 +420,10 @@
|
|
|
319
420
|
|
|
320
421
|
### Patch Changes
|
|
321
422
|
|
|
322
|
-
- [#125](https://github.com/benjie/
|
|
323
|
-
[`91f2256b3`](https://github.com/benjie/
|
|
423
|
+
- [#125](https://github.com/benjie/crystal/pull/125)
|
|
424
|
+
[`91f2256b3`](https://github.com/benjie/crystal/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)
|
|
324
425
|
Thanks [@benjie](https://github.com/benjie)! - Initial changesets release
|
|
325
426
|
|
|
326
427
|
- Updated dependencies
|
|
327
|
-
[[`91f2256b3`](https://github.com/benjie/
|
|
428
|
+
[[`91f2256b3`](https://github.com/benjie/crystal/commit/91f2256b3fd699bec19fc86f1ca79df057e58639)]:
|
|
328
429
|
- grafast@0.0.1-0.0
|
package/README.md
CHANGED
|
@@ -22,15 +22,14 @@ and development via sponsorship.
|
|
|
22
22
|
And please give some love to our featured sponsors 🤩:
|
|
23
23
|
|
|
24
24
|
<table><tr>
|
|
25
|
-
<td align="center"><a href="https://surge.io/"><img src="https://graphile.org/images/sponsors/surge.png" width="90" height="90" alt="Surge" /><br />Surge</a> *</td>
|
|
26
25
|
<td align="center"><a href="https://www.the-guild.dev/"><img src="https://graphile.org/images/sponsors/theguild.png" width="90" height="90" alt="The Guild" /><br />The Guild</a> *</td>
|
|
27
26
|
<td align="center"><a href="https://dovetailapp.com/"><img src="https://graphile.org/images/sponsors/dovetail.png" width="90" height="90" alt="Dovetail" /><br />Dovetail</a> *</td>
|
|
28
27
|
<td align="center"><a href="https://qwick.com/"><img src="https://graphile.org/images/sponsors/qwick.png" width="90" height="90" alt="Qwick" /><br />Qwick</a> *</td>
|
|
29
|
-
</tr><tr>
|
|
30
28
|
<td align="center"><a href="https://www.netflix.com/"><img src="https://graphile.org/images/sponsors/Netflix.png" width="90" height="90" alt="Netflix" /><br />Netflix</a> *</td>
|
|
29
|
+
</tr><tr>
|
|
31
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>
|
|
32
|
-
<td align="center"><a href="https://www.enzuzo.com/"><img src="https://graphile.org/images/sponsors/enzuzo.png" width="90" height="90" alt="Enzuzo" /><br />Enzuzo</a> *</td>
|
|
33
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>
|
|
34
33
|
</tr></table>
|
|
35
34
|
|
|
36
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-
|
|
3
|
+
"version": "0.0.1-beta.2",
|
|
4
4
|
"description": "JSON step classes for Grafast",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -33,8 +33,7 @@
|
|
|
33
33
|
"node": ">=14.17"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"grafast": "^0.0.1-
|
|
37
|
-
"graphql": "^16.1.0-experimental-stream-defer.6"
|
|
36
|
+
"grafast": "^0.0.1-beta.2"
|
|
38
37
|
},
|
|
39
38
|
"files": [
|
|
40
39
|
"dist"
|
|
@@ -42,7 +41,7 @@
|
|
|
42
41
|
"devDependencies": {
|
|
43
42
|
"@types/jest": "^27.5.1",
|
|
44
43
|
"jest": "^28.1.3",
|
|
45
|
-
"jest-serializer-simple": "^5.0.0-
|
|
44
|
+
"jest-serializer-simple": "^5.0.0-beta.1",
|
|
46
45
|
"typescript": "^5.0.4"
|
|
47
46
|
}
|
|
48
47
|
}
|