@dataplan/json 0.0.1-beta.3 → 0.0.1-beta.30

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 CHANGED
@@ -1,5 +1,368 @@
1
1
  # @dataplan/json
2
2
 
3
+ ## 0.0.1-beta.30
4
+
5
+ ### Patch Changes
6
+
7
+ - [#2377](https://github.com/graphile/crystal/pull/2377)
8
+ [`7c38cdeffe034c9b4f5cdd03a8f7f446bd52dcb7`](https://github.com/graphile/crystal/commit/7c38cdeffe034c9b4f5cdd03a8f7f446bd52dcb7)
9
+ Thanks [@benjie](https://github.com/benjie)! - Since `ModifierStep` and
10
+ `BaseStep` are no more; `ExecutableStep` can be renamed to simply `Step`. The
11
+ old name (`ExecutableStep`) is now deprecated.
12
+ - Updated dependencies
13
+ [[`d34014a9a3c469154cc796086ba13719954731e5`](https://github.com/graphile/crystal/commit/d34014a9a3c469154cc796086ba13719954731e5),
14
+ [`98516379ac355a0833a64e002f3717cc3a1d6473`](https://github.com/graphile/crystal/commit/98516379ac355a0833a64e002f3717cc3a1d6473),
15
+ [`f8602d05eed3247c90b87c55d7af580d1698effc`](https://github.com/graphile/crystal/commit/f8602d05eed3247c90b87c55d7af580d1698effc),
16
+ [`65df25534fa3f787ba2ab7fd9547d295ff2b1288`](https://github.com/graphile/crystal/commit/65df25534fa3f787ba2ab7fd9547d295ff2b1288),
17
+ [`1b3c76efd27df73eab3a5a1d221ce13de4cd6b1a`](https://github.com/graphile/crystal/commit/1b3c76efd27df73eab3a5a1d221ce13de4cd6b1a),
18
+ [`3c0a925f26f10cae627a23c49c75ccd8d76b60c8`](https://github.com/graphile/crystal/commit/3c0a925f26f10cae627a23c49c75ccd8d76b60c8),
19
+ [`fcaeb48844156e258a037f420ea1505edb50c52a`](https://github.com/graphile/crystal/commit/fcaeb48844156e258a037f420ea1505edb50c52a),
20
+ [`68926abc31c32ce527327ffbb1ede4b0b7be446b`](https://github.com/graphile/crystal/commit/68926abc31c32ce527327ffbb1ede4b0b7be446b),
21
+ [`4b49dbd2df3b339a2ba3f1e9ff400fa1a125298b`](https://github.com/graphile/crystal/commit/4b49dbd2df3b339a2ba3f1e9ff400fa1a125298b),
22
+ [`d7950e8e28ec6106a4ce2f7fe5e35d88b10eac48`](https://github.com/graphile/crystal/commit/d7950e8e28ec6106a4ce2f7fe5e35d88b10eac48),
23
+ [`c8f1971ea4198633ec97f72f82abf65089f71a88`](https://github.com/graphile/crystal/commit/c8f1971ea4198633ec97f72f82abf65089f71a88),
24
+ [`dd3d22eab73a8554715bf1111e30586251f69a88`](https://github.com/graphile/crystal/commit/dd3d22eab73a8554715bf1111e30586251f69a88),
25
+ [`a120a8e43b24dfc174950cdbb69e481272a0b45e`](https://github.com/graphile/crystal/commit/a120a8e43b24dfc174950cdbb69e481272a0b45e),
26
+ [`84f06eafa051e907a3050237ac6ee5aefb184652`](https://github.com/graphile/crystal/commit/84f06eafa051e907a3050237ac6ee5aefb184652),
27
+ [`4a3aeaa77c8b8d2e39c1a9d05581d0c613b812cf`](https://github.com/graphile/crystal/commit/4a3aeaa77c8b8d2e39c1a9d05581d0c613b812cf),
28
+ [`0fc2db95d90df918cf5c59ef85f22ac78d8000d3`](https://github.com/graphile/crystal/commit/0fc2db95d90df918cf5c59ef85f22ac78d8000d3),
29
+ [`90e81a5deeae554a8be2dd55dcd01489860e96e6`](https://github.com/graphile/crystal/commit/90e81a5deeae554a8be2dd55dcd01489860e96e6),
30
+ [`c59132eb7a93bc82493d2f1ca050db8aaea9f4d1`](https://github.com/graphile/crystal/commit/c59132eb7a93bc82493d2f1ca050db8aaea9f4d1),
31
+ [`7c38cdeffe034c9b4f5cdd03a8f7f446bd52dcb7`](https://github.com/graphile/crystal/commit/7c38cdeffe034c9b4f5cdd03a8f7f446bd52dcb7),
32
+ [`728888b28fcd2a6fc481e0ccdfe20d41181a091f`](https://github.com/graphile/crystal/commit/728888b28fcd2a6fc481e0ccdfe20d41181a091f),
33
+ [`f4f39092d7a51517668384945895d3b450237cce`](https://github.com/graphile/crystal/commit/f4f39092d7a51517668384945895d3b450237cce),
34
+ [`5cf3dc9d158891eaf324b2cd4f485d1d4bbb6b5e`](https://github.com/graphile/crystal/commit/5cf3dc9d158891eaf324b2cd4f485d1d4bbb6b5e),
35
+ [`83d3b533e702cc875b46ba2ca02bf3642b421be8`](https://github.com/graphile/crystal/commit/83d3b533e702cc875b46ba2ca02bf3642b421be8),
36
+ [`7001138c38e09822ad13db1018c62d2cac37941e`](https://github.com/graphile/crystal/commit/7001138c38e09822ad13db1018c62d2cac37941e),
37
+ [`e9e7e33665e22ec397e9ead054d2e4aad3eadc8c`](https://github.com/graphile/crystal/commit/e9e7e33665e22ec397e9ead054d2e4aad3eadc8c),
38
+ [`bb6ec8d834e3e630e28316196246f514114a2296`](https://github.com/graphile/crystal/commit/bb6ec8d834e3e630e28316196246f514114a2296),
39
+ [`2b1918d053f590cdc534c8cb81f7e74e96c1bbe6`](https://github.com/graphile/crystal/commit/2b1918d053f590cdc534c8cb81f7e74e96c1bbe6),
40
+ [`d1ecb39693a341f85762b27012ec4ea013857b0c`](https://github.com/graphile/crystal/commit/d1ecb39693a341f85762b27012ec4ea013857b0c),
41
+ [`042ebafe11fcf7e2ecac9b131265a55dddd42a6d`](https://github.com/graphile/crystal/commit/042ebafe11fcf7e2ecac9b131265a55dddd42a6d),
42
+ [`fa005eb0783c58a2476add984fbdd462e0e91dbe`](https://github.com/graphile/crystal/commit/fa005eb0783c58a2476add984fbdd462e0e91dbe),
43
+ [`df0e5a0f968cf6f9ae97b68745a9a2f391324bf5`](https://github.com/graphile/crystal/commit/df0e5a0f968cf6f9ae97b68745a9a2f391324bf5),
44
+ [`ef4cf75acd80e6b9c700c2b5a7ace899e565ef7f`](https://github.com/graphile/crystal/commit/ef4cf75acd80e6b9c700c2b5a7ace899e565ef7f),
45
+ [`c041fd250372c57601188b65a6411c8f440afab6`](https://github.com/graphile/crystal/commit/c041fd250372c57601188b65a6411c8f440afab6),
46
+ [`629b45aab49151810f6efc18ac18f7d735626433`](https://github.com/graphile/crystal/commit/629b45aab49151810f6efc18ac18f7d735626433),
47
+ [`6d19724330d50d076aab9442660fa8abddd095cb`](https://github.com/graphile/crystal/commit/6d19724330d50d076aab9442660fa8abddd095cb),
48
+ [`ca5bc1a834df7b894088fb8602a12f9fcff55b38`](https://github.com/graphile/crystal/commit/ca5bc1a834df7b894088fb8602a12f9fcff55b38),
49
+ [`da6f3c04efe3d8634c0bc3fcf93ac2518de85322`](https://github.com/graphile/crystal/commit/da6f3c04efe3d8634c0bc3fcf93ac2518de85322),
50
+ [`f0bc64b71914dfdd3612f4b65370401fd85b97bc`](https://github.com/graphile/crystal/commit/f0bc64b71914dfdd3612f4b65370401fd85b97bc)]:
51
+ - grafast@0.1.1-beta.21
52
+
53
+ ## 0.0.1-beta.29
54
+
55
+ ### Patch Changes
56
+
57
+ - Updated dependencies
58
+ [[`fc9d64eb8`](https://github.com/graphile/crystal/commit/fc9d64eb8002d3b72625bc505ed76c07f4296d68),
59
+ [`a2dbad945`](https://github.com/graphile/crystal/commit/a2dbad9457195bec797d72e4e6d45f45278f9f69),
60
+ [`31078842a`](https://github.com/graphile/crystal/commit/31078842ad0eeaa7111491fa9eb5e3bd026fb38a),
61
+ [`5a0ec31de`](https://github.com/graphile/crystal/commit/5a0ec31deae91f1dd17a77a4bb7c1a911a27e26a)]:
62
+ - grafast@0.1.1-beta.20
63
+
64
+ ## 0.0.1-beta.28
65
+
66
+ ### Patch Changes
67
+
68
+ - Updated dependencies []:
69
+ - grafast@0.1.1-beta.19
70
+
71
+ ## 0.0.1-beta.27
72
+
73
+ ### Patch Changes
74
+
75
+ - Updated dependencies
76
+ [[`b336a5829`](https://github.com/graphile/crystal/commit/b336a58291cfec7aef884d3843172d408abfaf3c)]:
77
+ - grafast@0.1.1-beta.18
78
+
79
+ ## 0.0.1-beta.26
80
+
81
+ ### Patch Changes
82
+
83
+ - Updated dependencies
84
+ [[`69ab227b5`](https://github.com/graphile/crystal/commit/69ab227b5e1c057a6fc8ebba87bde80d5aa7f3c8)]:
85
+ - grafast@0.1.1-beta.17
86
+
87
+ ## 0.0.1-beta.25
88
+
89
+ ### Patch Changes
90
+
91
+ - Updated dependencies
92
+ [[`76c7340b7`](https://github.com/graphile/crystal/commit/76c7340b74d257c454beec883384d19ef078b21e)]:
93
+ - grafast@0.1.1-beta.16
94
+
95
+ ## 0.0.1-beta.24
96
+
97
+ ### Patch Changes
98
+
99
+ - Updated dependencies
100
+ [[`d5834def1`](https://github.com/graphile/crystal/commit/d5834def1fb84f3e2c0c0a6f146f8249a6df890a),
101
+ [`42b982463`](https://github.com/graphile/crystal/commit/42b9824637a6c05e02935f2b05b5e8e0c61965a6),
102
+ [`884a4b429`](https://github.com/graphile/crystal/commit/884a4b4297af90fdadaf73addd524f1fbbcfdcce),
103
+ [`38835313a`](https://github.com/graphile/crystal/commit/38835313ad93445206dccdd4cf07b90c5a6e4377),
104
+ [`b0865d169`](https://github.com/graphile/crystal/commit/b0865d1691105b5419009954c98c8109a27a5d81)]:
105
+ - grafast@0.1.1-beta.15
106
+
107
+ ## 0.0.1-beta.23
108
+
109
+ ### Patch Changes
110
+
111
+ - Updated dependencies
112
+ [[`871d32b2a`](https://github.com/graphile/crystal/commit/871d32b2a18df0d257880fc54a61d9e68c4607d6),
113
+ [`a26e3a30c`](https://github.com/graphile/crystal/commit/a26e3a30c02f963f8f5e9c9d021e871f33689e1b),
114
+ [`02c11a4d4`](https://github.com/graphile/crystal/commit/02c11a4d42bf434dffc9354b300e8d791c4eeb2d)]:
115
+ - grafast@0.1.1-beta.14
116
+
117
+ ## 0.0.1-beta.22
118
+
119
+ ### Patch Changes
120
+
121
+ - Updated dependencies
122
+ [[`807650035`](https://github.com/graphile/crystal/commit/8076500354a3e2bc2de1b6c4e947bd710cc5bddc)]:
123
+ - grafast@0.1.1-beta.13
124
+
125
+ ## 0.0.1-beta.21
126
+
127
+ ### Patch Changes
128
+
129
+ - Updated dependencies
130
+ [[`1bd50b61e`](https://github.com/graphile/crystal/commit/1bd50b61ebb10b7d09b3612c2e2767c41cca3b78),
131
+ [`4e102b1a1`](https://github.com/graphile/crystal/commit/4e102b1a1cd232e6f6703df0706415f01831dab2),
132
+ [`7bb1573ba`](https://github.com/graphile/crystal/commit/7bb1573ba45a4d8b7fa9ad53cdd79686d2641383),
133
+ [`18addb385`](https://github.com/graphile/crystal/commit/18addb3852525aa91019a36d58fa2fecd8b5b443),
134
+ [`6ed615e55`](https://github.com/graphile/crystal/commit/6ed615e557b2ab1fb57f1e68c06730a8e3da7175),
135
+ [`b25cc539c`](https://github.com/graphile/crystal/commit/b25cc539c00aeda7a943c37509aaae4dc7812317),
136
+ [`867f33136`](https://github.com/graphile/crystal/commit/867f331365346fc46ed1e0d23c79719846e398f4),
137
+ [`cf535c210`](https://github.com/graphile/crystal/commit/cf535c21078da06c14dd12f30e9b4378da4ded03),
138
+ [`acf99b190`](https://github.com/graphile/crystal/commit/acf99b190954e3c5926e820daed68dfe8eb3ee1f),
139
+ [`4967a197f`](https://github.com/graphile/crystal/commit/4967a197fd2c71ee2a581fe29470ee9f30e74de5),
140
+ [`1908e1ba1`](https://github.com/graphile/crystal/commit/1908e1ba11883a34dac66f985fc20ab160e572b1),
141
+ [`084d80be6`](https://github.com/graphile/crystal/commit/084d80be6e17187c9a9932bcf079e3f460368782)]:
142
+ - grafast@0.1.1-beta.12
143
+
144
+ ## 0.0.1-beta.20
145
+
146
+ ### Patch Changes
147
+
148
+ - Updated dependencies
149
+ [[`582bd768f`](https://github.com/graphile/crystal/commit/582bd768fec403ce3284f293b85b9fd86e4d3f40)]:
150
+ - grafast@0.1.1-beta.11
151
+
152
+ ## 0.0.1-beta.19
153
+
154
+ ### Patch Changes
155
+
156
+ - Updated dependencies
157
+ [[`3c161f7e1`](https://github.com/graphile/crystal/commit/3c161f7e13375105b1035a7d5d1c0f2b507ca5c7),
158
+ [`a674a9923`](https://github.com/graphile/crystal/commit/a674a9923bc908c9315afa40e0cb256ee0953d16),
159
+ [`b7cfeffd1`](https://github.com/graphile/crystal/commit/b7cfeffd1019d61c713a5054c4f5929960a2a6ab)]:
160
+ - grafast@0.1.1-beta.10
161
+
162
+ ## 0.0.1-beta.18
163
+
164
+ ### Patch Changes
165
+
166
+ - Updated dependencies
167
+ [[`437570f97`](https://github.com/graphile/crystal/commit/437570f97e8520afaf3d0d0b514d1f4c31546b76)]:
168
+ - grafast@0.1.1-beta.9
169
+
170
+ ## 0.0.1-beta.17
171
+
172
+ ### Patch Changes
173
+
174
+ - Updated dependencies
175
+ [[`bd5a908a4`](https://github.com/graphile/crystal/commit/bd5a908a4d04310f90dfb46ad87398ffa993af3b)]:
176
+ - grafast@0.1.1-beta.8
177
+
178
+ ## 0.0.1-beta.16
179
+
180
+ ### Patch Changes
181
+
182
+ - [#1980](https://github.com/graphile/crystal/pull/1980)
183
+ [`357d475f5`](https://github.com/graphile/crystal/commit/357d475f54fecc8c51892e0346d6872b34132430)
184
+ Thanks [@benjie](https://github.com/benjie)! - The signature of
185
+ `ExecutableStep.execute` has changed; please make the following change to each
186
+ of your custom step classes' `execute` methods:
187
+
188
+ ```diff
189
+ - async execute(count: number, values: any[][], extra: ExecutionExtra) {
190
+ + async execute({ count, values: newValues, extra }: ExecutionDetails) {
191
+ + const values = newValues.map((dep) =>
192
+ + dep.isBatch ? dep.entries : new Array(count).fill(dep.value)
193
+ + );
194
+ // REST OF YOUR FUNCTION HERE
195
+ }
196
+ ```
197
+
198
+ For more details, see: https://err.red/gev2
199
+
200
+ - [#1973](https://github.com/graphile/crystal/pull/1973)
201
+ [`a0e82b9c5`](https://github.com/graphile/crystal/commit/a0e82b9c5f4e585f1af1e147299cd07944ece6f8)
202
+ Thanks [@benjie](https://github.com/benjie)! - Add 'unary steps' concept to
203
+ codebase and refactor to using new executeV2 execution method which leverages
204
+ them. Backwards compatibility maintained, but users should move to executeV2.
205
+ - Updated dependencies
206
+ [[`357d475f5`](https://github.com/graphile/crystal/commit/357d475f54fecc8c51892e0346d6872b34132430),
207
+ [`3551725e7`](https://github.com/graphile/crystal/commit/3551725e71c3ed876554e19e5ab2c1dcb0fb1143),
208
+ [`80836471e`](https://github.com/graphile/crystal/commit/80836471e5cedb29dee63bc5002550c4f1713cfd),
209
+ [`a5c20fefb`](https://github.com/graphile/crystal/commit/a5c20fefb571dea6d1187515dc48dd547e9e6204),
210
+ [`1ce08980e`](https://github.com/graphile/crystal/commit/1ce08980e2a52ed9bc81564d248c19648ecd3616),
211
+ [`dff4f2535`](https://github.com/graphile/crystal/commit/dff4f2535ac6ce893089b312fcd5fffcd98573a5),
212
+ [`a287a57c2`](https://github.com/graphile/crystal/commit/a287a57c2765da0fb6a132ea0953f64453210ceb),
213
+ [`2fe56f9a6`](https://github.com/graphile/crystal/commit/2fe56f9a6dac03484ace45c29c2223a65f9ca1db),
214
+ [`fed603d71`](https://github.com/graphile/crystal/commit/fed603d719c02f33e12190f925c9e3b06c581fac),
215
+ [`ed6e0d278`](https://github.com/graphile/crystal/commit/ed6e0d2788217a1c419634837f4208013eaf2923),
216
+ [`e82e4911e`](https://github.com/graphile/crystal/commit/e82e4911e32138df1b90ec0fde555ea963018d21),
217
+ [`42ece5aa6`](https://github.com/graphile/crystal/commit/42ece5aa6ca05345ebc17fb5c7d55df3b79b7612),
218
+ [`e0d69e518`](https://github.com/graphile/crystal/commit/e0d69e518a98c70f9b90f59d243ce33978c1b5a1),
219
+ [`6699388ec`](https://github.com/graphile/crystal/commit/6699388ec167d35c71220ce5d9113cac578da6cb),
220
+ [`966203504`](https://github.com/graphile/crystal/commit/96620350467ab8c65b56adf2f055e19450f8e772),
221
+ [`c1645b249`](https://github.com/graphile/crystal/commit/c1645b249aae949a548cd916e536ccfb63e5ab35),
222
+ [`ed8bbaa3c`](https://github.com/graphile/crystal/commit/ed8bbaa3cd1563a7601ca8c6b0412633b0ea4ce9),
223
+ [`a0e82b9c5`](https://github.com/graphile/crystal/commit/a0e82b9c5f4e585f1af1e147299cd07944ece6f8),
224
+ [`14e2412ee`](https://github.com/graphile/crystal/commit/14e2412ee368e8d53abf6774c7f0069f32d4e8a3),
225
+ [`57ab0e1e7`](https://github.com/graphile/crystal/commit/57ab0e1e72c01213b21d3efc539cd655d83d993a),
226
+ [`8442242e4`](https://github.com/graphile/crystal/commit/8442242e43cac7d89ca0c413cf42c9fabf6f247f),
227
+ [`64ce7b765`](https://github.com/graphile/crystal/commit/64ce7b7650530251aec38a51089da66f914c19b4),
228
+ [`cba842357`](https://github.com/graphile/crystal/commit/cba84235786acbd77ade53bae7a3fba4a9be1eb7),
229
+ [`2fa77d0f2`](https://github.com/graphile/crystal/commit/2fa77d0f237cdb98d3dafb6b5e4083a2c6c38673)]:
230
+ - grafast@0.1.1-beta.7
231
+
232
+ ## 0.0.1-beta.15
233
+
234
+ ### Patch Changes
235
+
236
+ - Updated dependencies
237
+ [[`9f85c614d`](https://github.com/graphile/crystal/commit/9f85c614d48dc745c5fed15333dbb75af7fddc88),
238
+ [`6c6be29f1`](https://github.com/graphile/crystal/commit/6c6be29f12b24782c926b2bc62ed2ede09ac05de),
239
+ [`8315e8d01`](https://github.com/graphile/crystal/commit/8315e8d01c118cebc4ebbc53a2f264b958b252ad)]:
240
+ - grafast@0.1.1-beta.6
241
+
242
+ ## 0.0.1-beta.14
243
+
244
+ ### Patch Changes
245
+
246
+ - [#1924](https://github.com/graphile/crystal/pull/1924)
247
+ [`ef44c29b2`](https://github.com/graphile/crystal/commit/ef44c29b24a1ad5a042ae1536a4546dd64b17195)
248
+ Thanks [@benjie](https://github.com/benjie)! - 🚨 TypeScript is now configured
249
+ to hide interfaces marked as `@internal`. This may result in a few errors
250
+ where you're accessing things you oughtn't be, but also may hide some
251
+ interfaces that should be exposed - please file an issue if an API you were
252
+ dependent on has been removed from the TypeScript typings. If that API happens
253
+ to be `step.dependencies`; you should first read this:
254
+ https://benjie.dev/graphql/ancestors
255
+ - Updated dependencies
256
+ [[`63dd7ea99`](https://github.com/graphile/crystal/commit/63dd7ea992d30ad711dd85a73a127484a0e35479),
257
+ [`d801c9778`](https://github.com/graphile/crystal/commit/d801c9778a86d61e060896460af9fe62a733534a),
258
+ [`ef44c29b2`](https://github.com/graphile/crystal/commit/ef44c29b24a1ad5a042ae1536a4546dd64b17195)]:
259
+ - grafast@0.1.1-beta.5
260
+
261
+ ## 0.0.1-beta.13
262
+
263
+ ### Patch Changes
264
+
265
+ - Updated dependencies
266
+ [[`a2176ea32`](https://github.com/graphile/crystal/commit/a2176ea324db0801249661b30e9c9d314c6fb159),
267
+ [`886833e2e`](https://github.com/graphile/crystal/commit/886833e2e319f23d905d7184ca88fca701b94044)]:
268
+ - grafast@0.1.1-beta.4
269
+
270
+ ## 0.0.1-beta.12
271
+
272
+ ### Patch Changes
273
+
274
+ - Updated dependencies []:
275
+ - grafast@0.1.1-beta.3
276
+
277
+ ## 0.0.1-beta.11
278
+
279
+ ### Patch Changes
280
+
281
+ - Updated dependencies
282
+ [[`3fdc2bce4`](https://github.com/graphile/crystal/commit/3fdc2bce42418773f808c5b8309dfb361cd95ce9),
283
+ [`aeef362b5`](https://github.com/graphile/crystal/commit/aeef362b5744816f01e4a6f714bbd77f92332bc5),
284
+ [`8a76db07f`](https://github.com/graphile/crystal/commit/8a76db07f4c110cecc6225504f9a05ccbcbc7b92),
285
+ [`8a0cdb95f`](https://github.com/graphile/crystal/commit/8a0cdb95f200b28b0ea1ab5caa12b23dce5f374f),
286
+ [`1c9f1c0ed`](https://github.com/graphile/crystal/commit/1c9f1c0edf4e621a5b6345d3a41527a18143c6ae)]:
287
+ - grafast@0.1.1-beta.2
288
+
289
+ ## 0.0.1-beta.10
290
+
291
+ ### Patch Changes
292
+
293
+ - Updated dependencies
294
+ [[`49fcb0d58`](https://github.com/graphile/crystal/commit/49fcb0d585b31b291c9072c339d6f5b550eefc9f)]:
295
+ - grafast@0.1.1-beta.1
296
+
297
+ ## 0.0.1-beta.9
298
+
299
+ ### Patch Changes
300
+
301
+ - [#1778](https://github.com/graphile/crystal/pull/1778)
302
+ [`b2bce88da`](https://github.com/graphile/crystal/commit/b2bce88da26c7a8965468be16fc2d935eadd3434)
303
+ Thanks [@benjie](https://github.com/benjie)! - Enable source maps in modules
304
+ where it was disabled.
305
+
306
+ - Updated dependencies
307
+ [[`4a4d26d87`](https://github.com/graphile/crystal/commit/4a4d26d87ce74589429b8ca5126a7bfdf30351b8),
308
+ [`b2bce88da`](https://github.com/graphile/crystal/commit/b2bce88da26c7a8965468be16fc2d935eadd3434),
309
+ [`861a8a306`](https://github.com/graphile/crystal/commit/861a8a306ef42a821da19e77903ddd7e8130bfb3)]:
310
+ - grafast@0.1.1-beta.0
311
+
312
+ ## 0.0.1-beta.8
313
+
314
+ ### Patch Changes
315
+
316
+ - [#514](https://github.com/graphile/crystal-pre-merge/pull/514)
317
+ [`c9848f693`](https://github.com/graphile/crystal-pre-merge/commit/c9848f6936a5abd7740c0638bfb458fb5551f03b)
318
+ Thanks [@benjie](https://github.com/benjie)! - Update package.json repository
319
+ information
320
+
321
+ - Updated dependencies
322
+ [[`c9848f693`](https://github.com/graphile/crystal-pre-merge/commit/c9848f6936a5abd7740c0638bfb458fb5551f03b),
323
+ [`ede1092fe`](https://github.com/graphile/crystal-pre-merge/commit/ede1092fe197719b6fa786f4cfa75f6a1f4c56c1),
324
+ [`566983fbd`](https://github.com/graphile/crystal-pre-merge/commit/566983fbd99c4b2df8c4ebd6260521670a2b7dfc),
325
+ [`409bf6071`](https://github.com/graphile/crystal-pre-merge/commit/409bf607180d4d8faec658c803e5ec4d1a00c451)]:
326
+ - grafast@0.0.1-beta.8
327
+
328
+ ## 0.0.1-beta.7
329
+
330
+ ### Patch Changes
331
+
332
+ - Updated dependencies
333
+ [[`3700e204f`](https://github.com/benjie/crystal/commit/3700e204f430db182c92ca7abc82017c81fa1f9b)]:
334
+ - grafast@0.0.1-beta.7
335
+
336
+ ## 0.0.1-beta.6
337
+
338
+ ### Patch Changes
339
+
340
+ - [#496](https://github.com/benjie/crystal/pull/496)
341
+ [`c9bfd9892`](https://github.com/benjie/crystal/commit/c9bfd989247f9433fb5b18c5175c9d8d64cd21a1)
342
+ Thanks [@benjie](https://github.com/benjie)! - Update dependencies (sometimes
343
+ through major versions).
344
+
345
+ - Updated dependencies
346
+ [[`c9bfd9892`](https://github.com/benjie/crystal/commit/c9bfd989247f9433fb5b18c5175c9d8d64cd21a1),
347
+ [`e613b476d`](https://github.com/benjie/crystal/commit/e613b476d6ee867d1f7509c895dabee40e7f9a31)]:
348
+ - grafast@0.0.1-beta.6
349
+
350
+ ## 0.0.1-beta.5
351
+
352
+ ### Patch Changes
353
+
354
+ - Updated dependencies
355
+ [[`53186213a`](https://github.com/benjie/crystal/commit/53186213ade962f4b66cb0d5ea8b57b5ce7ea85f)]:
356
+ - grafast@0.0.1-beta.5
357
+
358
+ ## 0.0.1-beta.4
359
+
360
+ ### Patch Changes
361
+
362
+ - Updated dependencies
363
+ [[`f9cc88dc4`](https://github.com/benjie/crystal/commit/f9cc88dc442d371aee154a28d4e63c6da39f6b2e)]:
364
+ - grafast@0.0.1-beta.4
365
+
3
366
  ## 0.0.1-beta.3
4
367
 
5
368
  ### Patch Changes
package/README.md CHANGED
@@ -13,9 +13,9 @@ Docs: https://grafast.org/grafast/step-library/dataplan-json/
13
13
 
14
14
  ## Crowd-funded open-source software
15
15
 
16
- To help us develop this software sustainably under the MIT license, we ask all
17
- individuals and businesses that use it to help support its ongoing maintenance
18
- and development via sponsorship.
16
+ To help us develop this software sustainably, we ask all individuals and
17
+ businesses that use it to help support its ongoing maintenance and development
18
+ via sponsorship.
19
19
 
20
20
  ### [Click here to find out more about sponsors and sponsorship.](https://www.graphile.org/sponsor/)
21
21
 
@@ -24,12 +24,10 @@ And please give some love to our featured sponsors 🤩:
24
24
  <table><tr>
25
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>
26
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>
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>
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>
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
27
  <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>
28
+ <td align="center"><a href="https://gosteelhead.com/"><img src="https://graphile.org/images/sponsors/steelhead.svg" width="90" height="90" alt="Steelhead" /><br />Steelhead</a> *</td>
29
+ </tr><tr>
30
+ <td align="center"><a href=""><img src="https://graphile.org/images/sponsors/latchbio.jpg" width="90" height="90" alt="LatchBio" /><br />LatchBio</a> *</td>
33
31
  </tr></table>
34
32
 
35
33
  <em>\* Sponsors the entire Graphile suite</em>
package/dist/index.js CHANGED
@@ -4,3 +4,4 @@ exports.JSONParseStep = exports.jsonParse = void 0;
4
4
  var jsonParse_js_1 = require("./steps/jsonParse.js");
5
5
  Object.defineProperty(exports, "jsonParse", { enumerable: true, get: function () { return jsonParse_js_1.jsonParse; } });
6
6
  Object.defineProperty(exports, "JSONParseStep", { enumerable: true, get: function () { return jsonParse_js_1.JSONParseStep; } });
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,qDAA2E;AAAlE,yGAAA,SAAS,OAAA;AAAE,6GAAA,aAAa,OAAA"}
@@ -1,5 +1,5 @@
1
- import type { AccessStep, GrafastResultsList, GrafastValuesList } from "grafast";
2
- import { ExecutableStep } from "grafast";
1
+ import type { AccessStep, ExecutionDetails, GrafastResultsList } from "grafast";
2
+ import { Step } from "grafast";
3
3
  export type JSONValue = string | number | boolean | null | {
4
4
  [key: string]: JSONValue;
5
5
  } | Array<JSONValue>;
@@ -7,23 +7,23 @@ export type JSONValue = string | number | boolean | null | {
7
7
  * This plan accepts as JSON string as its only input and will result in the
8
8
  * parsed JSON object (or array, boolean, string, etc).
9
9
  */
10
- export declare class JSONParseStep<TJSON extends JSONValue> extends ExecutableStep<TJSON> {
10
+ export declare class JSONParseStep<TJSON extends JSONValue> extends Step<TJSON> {
11
11
  static $$export: {
12
12
  moduleName: string;
13
13
  exportName: string;
14
14
  };
15
15
  isSyncAndSafe: boolean;
16
- constructor($stringPlan: ExecutableStep<string | null>);
16
+ constructor($stringPlan: Step<string | null>);
17
17
  toStringMeta(): string;
18
18
  get<TKey extends keyof TJSON>(key: TKey): AccessStep<TJSON extends {
19
19
  [key: string]: unknown;
20
20
  } ? TJSON[TKey] : never>;
21
21
  at<TIndex extends keyof TJSON & number>(index: TIndex): AccessStep<TJSON[TIndex]>;
22
- execute(count: number, values: [GrafastValuesList<string>]): GrafastResultsList<TJSON>;
22
+ execute({ indexMap, values: [stringDep], }: ExecutionDetails<[string]>): GrafastResultsList<TJSON>;
23
23
  }
24
24
  /**
25
25
  * This plan accepts as JSON string as its only input and will result in the
26
26
  * parsed JSON object (or array, boolean, string, etc).
27
27
  */
28
- export declare function jsonParse<TJSON extends JSONValue>($string: ExecutableStep<string | null>): JSONParseStep<TJSON>;
28
+ export declare function jsonParse<TJSON extends JSONValue>($string: Step<string | null>): JSONParseStep<TJSON>;
29
29
  //# sourceMappingURL=jsonParse.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"jsonParse.d.ts","sourceRoot":"","sources":["../../src/steps/js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jsonParse = exports.JSONParseStep = void 0;
3
+ exports.JSONParseStep = void 0;
4
+ exports.jsonParse = jsonParse;
4
5
  const tslib_1 = require("tslib");
5
6
  const chalk_1 = tslib_1.__importDefault(require("chalk"));
6
7
  const grafast_1 = require("grafast");
@@ -8,7 +9,7 @@ const grafast_1 = require("grafast");
8
9
  * This plan accepts as JSON string as its only input and will result in the
9
10
  * parsed JSON object (or array, boolean, string, etc).
10
11
  */
11
- class JSONParseStep extends grafast_1.ExecutableStep {
12
+ class JSONParseStep extends grafast_1.Step {
12
13
  static { this.$$export = {
13
14
  moduleName: "@dataplan/json",
14
15
  exportName: "JSONParseStep",
@@ -21,7 +22,7 @@ class JSONParseStep extends grafast_1.ExecutableStep {
21
22
  this.addDependency($stringPlan);
22
23
  }
23
24
  toStringMeta() {
24
- return chalk_1.default.bold.yellow(String(this.dependencies[0].id));
25
+ return chalk_1.default.bold.yellow(String(this.getDep(0).id));
25
26
  }
26
27
  get(key) {
27
28
  return (0, grafast_1.access)(this, [key]);
@@ -29,27 +30,24 @@ class JSONParseStep extends grafast_1.ExecutableStep {
29
30
  at(index) {
30
31
  return (0, grafast_1.access)(this, [index]);
31
32
  }
32
- execute(count, values) {
33
- const result = []; // new Array(count);
34
- const list = values[0];
35
- for (let i = 0; i < count; i++) {
36
- const v = list[i];
33
+ execute({ indexMap, values: [stringDep], }) {
34
+ return indexMap((i) => {
35
+ const v = stringDep.at(i);
37
36
  if (typeof v === "string") {
38
37
  try {
39
- result[i] = JSON.parse(v);
38
+ return JSON.parse(v);
40
39
  }
41
40
  catch (e) {
42
- result[i] = Promise.reject(e);
41
+ return Promise.reject(e);
43
42
  }
44
43
  }
45
44
  else if (v == null) {
46
- result[i] = null;
45
+ return null;
47
46
  }
48
47
  else {
49
- result[i] = Promise.reject(new Error(`JSONParseStep: expected string to parse, but received ${Array.isArray(v) ? "array" : typeof v}`));
48
+ return Promise.reject(new Error(`JSONParseStep: expected string to parse, but received ${Array.isArray(v) ? "array" : typeof v}`));
50
49
  }
51
- }
52
- return result;
50
+ });
53
51
  }
54
52
  }
55
53
  exports.JSONParseStep = JSONParseStep;
@@ -60,5 +58,5 @@ exports.JSONParseStep = JSONParseStep;
60
58
  function jsonParse($string) {
61
59
  return new JSONParseStep($string);
62
60
  }
63
- exports.jsonParse = jsonParse;
64
61
  (0, grafast_1.exportAs)("@dataplan/json", jsonParse, "jsonParse");
62
+ //# sourceMappingURL=jsonParse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonParse.js","sourceRoot":"","sources":["../../src/steps/jsonParse.ts"],"names":[],"mappings":";;;AAoFA,8BAIC;;AAxFD,0DAA0B;AAO1B,qCAAiD;AAUjD;;;GAGG;AACH,MAAa,aAAuC,SAAQ,cAAW;aAC9D,aAAQ,GAAG;QAChB,UAAU,EAAE,gBAAgB;QAC5B,UAAU,EAAE,eAAe;KAC5B,AAHc,CAGb;IAKF,YAAY,WAAgC;QAC1C,KAAK,EAAE,CAAC;QALV,wEAAwE;QACxE,WAAW;QACX,kBAAa,GAAG,KAAK,CAAC;QAIpB,IAAI,CAAC,aAAa,CAAC,WAAW,CAAC,CAAC;IAClC,CAAC;IAED,YAAY;QACV,OAAO,eAAK,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACtD,CAAC;IAED,GAAG,CACD,GAAS;QAIT,OAAO,IAAA,gBAAM,EAAC,IAAI,EAAE,CAAC,GAAa,CAAC,CAAC,CAAC;IACvC,CAAC;IAED,EAAE,CACA,KAAa;QAEb,OAAO,IAAA,gBAAM,EAAC,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC;IAC/B,CAAC;IAED,OAAO,CAAC,EACN,QAAQ,EACR,MAAM,EAAE,CAAC,SAAS,CAAC,GACQ;QAC3B,OAAO,QAAQ,CAAyB,CAAC,CAAC,EAAE,EAAE;YAC5C,MAAM,CAAC,GAAG,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;YAC1B,IAAI,OAAO,CAAC,KAAK,QAAQ,EAAE,CAAC;gBAC1B,IAAI,CAAC;oBACH,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBACvB,CAAC;gBAAC,OAAO,CAAC,EAAE,CAAC;oBACX,OAAO,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;gBAC3B,CAAC;YACH,CAAC;iBAAM,IAAI,CAAC,IAAI,IAAI,EAAE,CAAC;gBACrB,OAAO,IAAW,CAAC;YACrB,CAAC;iBAAM,CAAC;gBACN,OAAO,OAAO,CAAC,MAAM,CACnB,IAAI,KAAK,CACP,yDACE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,CACtC,EAAE,CACH,CACF,CAAC;YACJ,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;;AAxDH,sCAyDC;AAED;;;GAGG;AACH,SAAgB,SAAS,CACvB,OAA4B;IAE5B,OAAO,IAAI,aAAa,CAAQ,OAAO,CAAC,CAAC;AAC3C,CAAC;AAED,IAAA,kBAAQ,EAAC,gBAAgB,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataplan/json",
3
- "version": "0.0.1-beta.3",
3
+ "version": "0.0.1-beta.30",
4
4
  "description": "JSON step classes for Grafast",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "git+https://github.com/graphile/heart.git"
12
+ "url": "git+https://github.com/graphile/crystal.git"
13
13
  },
14
14
  "keywords": [
15
15
  "graphile",
@@ -22,26 +22,26 @@
22
22
  "author": "Benjie Gillam <code@benjiegillam.com>",
23
23
  "license": "MIT",
24
24
  "bugs": {
25
- "url": "https://github.com/graphile/heart/issues"
25
+ "url": "https://github.com/graphile/crystal/issues"
26
26
  },
27
- "homepage": "https://github.com/graphile/heart/tree/main/grafast/dataplan-json",
27
+ "homepage": "https://github.com/graphile/crystal/tree/main/grafast/dataplan-json",
28
28
  "dependencies": {
29
29
  "chalk": "^4.1.2",
30
- "tslib": "^2.5.0"
30
+ "tslib": "^2.6.2"
31
31
  },
32
32
  "engines": {
33
33
  "node": ">=14.17"
34
34
  },
35
35
  "peerDependencies": {
36
- "grafast": "^0.0.1-beta.3"
36
+ "grafast": "^0.1.1-beta.21"
37
37
  },
38
38
  "files": [
39
39
  "dist"
40
40
  ],
41
41
  "devDependencies": {
42
- "@types/jest": "^27.5.1",
43
- "jest": "^28.1.3",
44
- "jest-serializer-simple": "^5.0.0-beta.1",
45
- "typescript": "^5.0.4"
42
+ "@types/jest": "^29.5.4",
43
+ "jest": "^29.6.4",
44
+ "jest-serializer-simple": "^5.0.0-beta.3",
45
+ "typescript": "^5.2.2"
46
46
  }
47
47
  }