@khanacademy/wonder-blocks-data 14.0.7 → 14.1.1
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 +220 -195
- package/LICENSE +21 -0
- package/dist/components/data.d.ts +1 -1
- package/dist/es/index.js +4 -4
- package/dist/hooks/use-cached-effect.d.ts +1 -1
- package/dist/hooks/use-hydratable-effect.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/util/data-error.d.ts +1 -1
- package/dist/util/gql-error.d.ts +1 -1
- package/dist/util/graphql-document-node-parser.d.ts +1 -1
- package/package.json +11 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,241 +1,266 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-data
|
|
2
2
|
|
|
3
|
+
## 14.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ee8d95a: Rollback rollup version from v4 to v2 to prevent an issue with CJS builds in unit tests
|
|
8
|
+
- Updated dependencies [ee8d95a]
|
|
9
|
+
- @khanacademy/wonder-blocks-core@12.1.1
|
|
10
|
+
|
|
11
|
+
## 14.1.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- f03298f: Tooling:
|
|
16
|
+
|
|
17
|
+
- Switching to `pnpm`.
|
|
18
|
+
- Upgrading `rollup` to v4 and `@babel/runtime` to match the current webapp version.
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- bb2a026: pnpm: Switch to workspace protocol to handle dependency versions with changesets on monorepo setup"
|
|
23
|
+
- Updated dependencies [969864b]
|
|
24
|
+
- Updated dependencies [bb2a026]
|
|
25
|
+
- Updated dependencies [f03298f]
|
|
26
|
+
- @khanacademy/wonder-blocks-core@12.1.0
|
|
27
|
+
|
|
3
28
|
## 14.0.7
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
|
6
31
|
|
|
7
|
-
-
|
|
8
|
-
-
|
|
32
|
+
- Updated dependencies [0199324d]
|
|
33
|
+
- @khanacademy/wonder-blocks-core@12.0.0
|
|
9
34
|
|
|
10
35
|
## 14.0.6
|
|
11
36
|
|
|
12
37
|
### Patch Changes
|
|
13
38
|
|
|
14
|
-
-
|
|
15
|
-
-
|
|
39
|
+
- Updated dependencies [7516b239]
|
|
40
|
+
- @khanacademy/wonder-blocks-core@11.1.0
|
|
16
41
|
|
|
17
42
|
## 14.0.5
|
|
18
43
|
|
|
19
44
|
### Patch Changes
|
|
20
45
|
|
|
21
|
-
-
|
|
46
|
+
- faf7bd21: Version bump to verify release protections
|
|
22
47
|
|
|
23
48
|
## 14.0.4
|
|
24
49
|
|
|
25
50
|
### Patch Changes
|
|
26
51
|
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
52
|
+
- 11a0f5c6: No functional changes. Adding prepublishOnly script.
|
|
53
|
+
- Updated dependencies [11a0f5c6]
|
|
54
|
+
- @khanacademy/wonder-blocks-core@11.0.1
|
|
30
55
|
|
|
31
56
|
## 14.0.3
|
|
32
57
|
|
|
33
58
|
### Patch Changes
|
|
34
59
|
|
|
35
|
-
-
|
|
36
|
-
-
|
|
60
|
+
- Updated dependencies [d23c9c5f]
|
|
61
|
+
- @khanacademy/wonder-blocks-core@11.0.0
|
|
37
62
|
|
|
38
63
|
## 14.0.2
|
|
39
64
|
|
|
40
65
|
### Patch Changes
|
|
41
66
|
|
|
42
|
-
-
|
|
43
|
-
-
|
|
44
|
-
-
|
|
45
|
-
-
|
|
67
|
+
- Updated dependencies [b6009b77]
|
|
68
|
+
- Updated dependencies [897686bc]
|
|
69
|
+
- Updated dependencies [56d961f1]
|
|
70
|
+
- @khanacademy/wonder-blocks-core@10.0.0
|
|
46
71
|
|
|
47
72
|
## 14.0.1
|
|
48
73
|
|
|
49
74
|
### Patch Changes
|
|
50
75
|
|
|
51
|
-
-
|
|
52
|
-
-
|
|
76
|
+
- Updated dependencies [f4abd572]
|
|
77
|
+
- @khanacademy/wonder-blocks-core@9.0.0
|
|
53
78
|
|
|
54
79
|
## 14.0.0
|
|
55
80
|
|
|
56
81
|
### Major Changes
|
|
57
82
|
|
|
58
|
-
-
|
|
83
|
+
- e6abdd17: Upgrade to React 18
|
|
59
84
|
|
|
60
85
|
### Patch Changes
|
|
61
86
|
|
|
62
|
-
-
|
|
63
|
-
-
|
|
87
|
+
- Updated dependencies [e6abdd17]
|
|
88
|
+
- @khanacademy/wonder-blocks-core@8.0.0
|
|
64
89
|
|
|
65
90
|
## 13.0.12
|
|
66
91
|
|
|
67
92
|
### Patch Changes
|
|
68
93
|
|
|
69
|
-
-
|
|
70
|
-
-
|
|
71
|
-
-
|
|
94
|
+
- 02a1b298: Make sure we don't package tsconfig and tsbuildinfo files
|
|
95
|
+
- Updated dependencies [02a1b298]
|
|
96
|
+
- @khanacademy/wonder-blocks-core@7.0.1
|
|
72
97
|
|
|
73
98
|
## 13.0.11
|
|
74
99
|
|
|
75
100
|
### Patch Changes
|
|
76
101
|
|
|
77
|
-
-
|
|
78
|
-
-
|
|
102
|
+
- Updated dependencies [07f7f407]
|
|
103
|
+
- @khanacademy/wonder-blocks-core@7.0.0
|
|
79
104
|
|
|
80
105
|
## 13.0.10
|
|
81
106
|
|
|
82
107
|
### Patch Changes
|
|
83
108
|
|
|
84
|
-
-
|
|
85
|
-
-
|
|
86
|
-
-
|
|
109
|
+
- 559e82d5: Update to build tooling, generating smaller output
|
|
110
|
+
- Updated dependencies [559e82d5]
|
|
111
|
+
- @khanacademy/wonder-blocks-core@6.4.3
|
|
87
112
|
|
|
88
113
|
## 13.0.9
|
|
89
114
|
|
|
90
115
|
### Patch Changes
|
|
91
116
|
|
|
92
|
-
-
|
|
93
|
-
-
|
|
94
|
-
-
|
|
117
|
+
- eab37b8b: Test file changes only. No external changes at all.
|
|
118
|
+
- Updated dependencies [eab37b8b]
|
|
119
|
+
- @khanacademy/wonder-blocks-core@6.4.2
|
|
95
120
|
|
|
96
121
|
## 13.0.8
|
|
97
122
|
|
|
98
123
|
### Patch Changes
|
|
99
124
|
|
|
100
|
-
-
|
|
101
|
-
-
|
|
125
|
+
- Updated dependencies [5dfac06e]
|
|
126
|
+
- @khanacademy/wonder-blocks-core@6.4.1
|
|
102
127
|
|
|
103
128
|
## 13.0.7
|
|
104
129
|
|
|
105
130
|
### Patch Changes
|
|
106
131
|
|
|
107
|
-
-
|
|
108
|
-
-
|
|
132
|
+
- Updated dependencies [58075352]
|
|
133
|
+
- @khanacademy/wonder-blocks-core@6.4.0
|
|
109
134
|
|
|
110
135
|
## 13.0.6
|
|
111
136
|
|
|
112
137
|
### Patch Changes
|
|
113
138
|
|
|
114
|
-
-
|
|
115
|
-
-
|
|
139
|
+
- Updated dependencies [6df21f71]
|
|
140
|
+
- @khanacademy/wonder-blocks-core@6.3.1
|
|
116
141
|
|
|
117
142
|
## 13.0.5
|
|
118
143
|
|
|
119
144
|
### Patch Changes
|
|
120
145
|
|
|
121
|
-
-
|
|
122
|
-
-
|
|
146
|
+
- Updated dependencies [7055ca94]
|
|
147
|
+
- @khanacademy/wonder-blocks-core@6.3.0
|
|
123
148
|
|
|
124
149
|
## 13.0.4
|
|
125
150
|
|
|
126
151
|
### Patch Changes
|
|
127
152
|
|
|
128
|
-
-
|
|
129
|
-
-
|
|
153
|
+
- Updated dependencies [4b97b9a2]
|
|
154
|
+
- @khanacademy/wonder-blocks-core@6.2.0
|
|
130
155
|
|
|
131
156
|
## 13.0.3
|
|
132
157
|
|
|
133
158
|
### Patch Changes
|
|
134
159
|
|
|
135
|
-
-
|
|
136
|
-
-
|
|
160
|
+
- Updated dependencies [2871f0a9]
|
|
161
|
+
- @khanacademy/wonder-blocks-core@6.1.1
|
|
137
162
|
|
|
138
163
|
## 13.0.2
|
|
139
164
|
|
|
140
165
|
### Patch Changes
|
|
141
166
|
|
|
142
|
-
-
|
|
143
|
-
-
|
|
144
|
-
-
|
|
167
|
+
- Updated dependencies [efb59c29]
|
|
168
|
+
- Updated dependencies [8bc40ed2]
|
|
169
|
+
- @khanacademy/wonder-blocks-core@6.1.0
|
|
145
170
|
|
|
146
171
|
## 13.0.1
|
|
147
172
|
|
|
148
173
|
### Patch Changes
|
|
149
174
|
|
|
150
|
-
-
|
|
151
|
-
-
|
|
175
|
+
- Updated dependencies [f19da46e]
|
|
176
|
+
- @khanacademy/wonder-blocks-core@6.0.2
|
|
152
177
|
|
|
153
178
|
## 13.0.0
|
|
154
179
|
|
|
155
180
|
### Major Changes
|
|
156
181
|
|
|
157
|
-
-
|
|
182
|
+
- 65c02cff: Return new no-data state from useCachedEffect when it is not loading and there is no data to return
|
|
158
183
|
|
|
159
184
|
### Patch Changes
|
|
160
185
|
|
|
161
|
-
-
|
|
162
|
-
-
|
|
186
|
+
- Updated dependencies [1920feb8]
|
|
187
|
+
- @khanacademy/wonder-blocks-core@6.0.1
|
|
163
188
|
|
|
164
189
|
## 12.0.0
|
|
165
190
|
|
|
166
191
|
### Major Changes
|
|
167
192
|
|
|
168
|
-
-
|
|
193
|
+
- 674a1e5c: POJOs have been replace with TS enums
|
|
169
194
|
|
|
170
195
|
### Patch Changes
|
|
171
196
|
|
|
172
|
-
-
|
|
173
|
-
-
|
|
174
|
-
-
|
|
175
|
-
-
|
|
197
|
+
- 674a1e5c: We're no longer building flow types
|
|
198
|
+
- Updated dependencies [674a1e5c]
|
|
199
|
+
- Updated dependencies [674a1e5c]
|
|
200
|
+
- @khanacademy/wonder-blocks-core@6.0.0
|
|
176
201
|
|
|
177
202
|
## 11.0.16
|
|
178
203
|
|
|
179
204
|
### Patch Changes
|
|
180
205
|
|
|
181
|
-
-
|
|
182
|
-
-
|
|
206
|
+
- Updated dependencies [1344436f]
|
|
207
|
+
- @khanacademy/wonder-blocks-core@5.4.0
|
|
183
208
|
|
|
184
209
|
## 11.0.15
|
|
185
210
|
|
|
186
211
|
### Patch Changes
|
|
187
212
|
|
|
188
|
-
-
|
|
189
|
-
-
|
|
213
|
+
- Updated dependencies [9f3752d4]
|
|
214
|
+
- @khanacademy/wonder-blocks-core@5.3.1
|
|
190
215
|
|
|
191
216
|
## 11.0.14
|
|
192
217
|
|
|
193
218
|
### Patch Changes
|
|
194
219
|
|
|
195
|
-
-
|
|
196
|
-
-
|
|
197
|
-
-
|
|
220
|
+
- Updated dependencies [c37b99aa]
|
|
221
|
+
- Updated dependencies [c4cef3e6]
|
|
222
|
+
- @khanacademy/wonder-blocks-core@5.3.0
|
|
198
223
|
|
|
199
224
|
## 11.0.13
|
|
200
225
|
|
|
201
226
|
### Patch Changes
|
|
202
227
|
|
|
203
|
-
-
|
|
204
|
-
-
|
|
228
|
+
- Updated dependencies [d4c412b5]
|
|
229
|
+
- @khanacademy/wonder-blocks-core@5.2.3
|
|
205
230
|
|
|
206
231
|
## 11.0.12
|
|
207
232
|
|
|
208
233
|
### Patch Changes
|
|
209
234
|
|
|
210
|
-
-
|
|
211
|
-
-
|
|
235
|
+
- Updated dependencies [64a188e3]
|
|
236
|
+
- @khanacademy/wonder-blocks-core@5.2.2
|
|
212
237
|
|
|
213
238
|
## 11.0.11
|
|
214
239
|
|
|
215
240
|
### Patch Changes
|
|
216
241
|
|
|
217
|
-
-
|
|
218
|
-
-
|
|
219
|
-
-
|
|
220
|
-
-
|
|
242
|
+
- 5a1ea891: Make sure that React contexts are named
|
|
243
|
+
- Updated dependencies [5a1ea891]
|
|
244
|
+
- Updated dependencies [df9a10aa]
|
|
245
|
+
- @khanacademy/wonder-blocks-core@5.2.1
|
|
221
246
|
|
|
222
247
|
## 11.0.10
|
|
223
248
|
|
|
224
249
|
### Patch Changes
|
|
225
250
|
|
|
226
|
-
-
|
|
227
|
-
-
|
|
228
|
-
-
|
|
229
|
-
-
|
|
251
|
+
- Updated dependencies [fa70c895]
|
|
252
|
+
- Updated dependencies [19ab0408]
|
|
253
|
+
- Updated dependencies [fa70c895]
|
|
254
|
+
- @khanacademy/wonder-blocks-core@5.2.0
|
|
230
255
|
|
|
231
256
|
## 11.0.9
|
|
232
257
|
|
|
233
258
|
### Patch Changes
|
|
234
259
|
|
|
235
|
-
-
|
|
236
|
-
-
|
|
237
|
-
-
|
|
238
|
-
-
|
|
260
|
+
- a6164ed0: Don't use React.FC<> for functional components
|
|
261
|
+
- Updated dependencies [3c400719]
|
|
262
|
+
- Updated dependencies [a6164ed0]
|
|
263
|
+
- @khanacademy/wonder-blocks-core@5.1.0
|
|
239
264
|
|
|
240
265
|
## 11.0.8
|
|
241
266
|
|
|
@@ -245,343 +270,343 @@
|
|
|
245
270
|
|
|
246
271
|
### Patch Changes
|
|
247
272
|
|
|
248
|
-
-
|
|
249
|
-
-
|
|
250
|
-
-
|
|
273
|
+
- c20f48f3: Don't transpile classes when building bundles
|
|
274
|
+
- Updated dependencies [c20f48f3]
|
|
275
|
+
- @khanacademy/wonder-blocks-core@5.0.4
|
|
251
276
|
|
|
252
277
|
## 11.0.5
|
|
253
278
|
|
|
254
279
|
### Patch Changes
|
|
255
280
|
|
|
256
|
-
-
|
|
281
|
+
- 43155769: Fix DocumentNode type definition
|
|
257
282
|
|
|
258
283
|
## 11.0.4
|
|
259
284
|
|
|
260
285
|
### Patch Changes
|
|
261
286
|
|
|
262
|
-
-
|
|
287
|
+
- bedcbcf8: Update <Data>'s 'children' prop to allow a ReactNode to be returned
|
|
263
288
|
|
|
264
289
|
## 11.0.3
|
|
265
290
|
|
|
266
291
|
### Patch Changes
|
|
267
292
|
|
|
268
|
-
-
|
|
269
|
-
-
|
|
293
|
+
- Updated dependencies [b281e2eb]
|
|
294
|
+
- @khanacademy/wonder-blocks-core@5.0.3
|
|
270
295
|
|
|
271
296
|
## 11.0.2
|
|
272
297
|
|
|
273
298
|
### Patch Changes
|
|
274
299
|
|
|
275
|
-
-
|
|
276
|
-
-
|
|
300
|
+
- Updated dependencies [21ce20c7]
|
|
301
|
+
- @khanacademy/wonder-blocks-core@5.0.2
|
|
277
302
|
|
|
278
303
|
## 11.0.1
|
|
279
304
|
|
|
280
305
|
### Patch Changes
|
|
281
306
|
|
|
282
|
-
-
|
|
283
|
-
-
|
|
284
|
-
-
|
|
285
|
-
-
|
|
286
|
-
-
|
|
307
|
+
- ccb6fe00: Miscellaneous TS type fixes
|
|
308
|
+
- d4c2b18c: Fix a variety of issues with Flow types generated by flowgen
|
|
309
|
+
- Updated dependencies [ccb6fe00]
|
|
310
|
+
- Updated dependencies [d4c2b18c]
|
|
311
|
+
- @khanacademy/wonder-blocks-core@5.0.1
|
|
287
312
|
|
|
288
313
|
## 11.0.0
|
|
289
314
|
|
|
290
315
|
### Major Changes
|
|
291
316
|
|
|
292
|
-
-
|
|
317
|
+
- 1ca4d7e3: Fix minor issue with generate Flow types (this is a major bump b/c I forgot to do one after doing the TS conversion)
|
|
293
318
|
|
|
294
319
|
### Patch Changes
|
|
295
320
|
|
|
296
|
-
-
|
|
297
|
-
-
|
|
321
|
+
- Updated dependencies [1ca4d7e3]
|
|
322
|
+
- @khanacademy/wonder-blocks-core@5.0.0
|
|
298
323
|
|
|
299
324
|
## 10.1.3
|
|
300
325
|
|
|
301
326
|
### Patch Changes
|
|
302
327
|
|
|
303
|
-
-
|
|
304
|
-
-
|
|
305
|
-
-
|
|
328
|
+
- b5ba5568: Ensure that flow lib defs use React.ElementConfig<> isntead of JSX.LibraryManagedAttributes<>
|
|
329
|
+
- Updated dependencies [b5ba5568]
|
|
330
|
+
- @khanacademy/wonder-blocks-core@4.9.1
|
|
306
331
|
|
|
307
332
|
## 10.1.2
|
|
308
333
|
|
|
309
334
|
### Patch Changes
|
|
310
335
|
|
|
311
|
-
-
|
|
312
|
-
-
|
|
336
|
+
- Updated dependencies [779b031d]
|
|
337
|
+
- @khanacademy/wonder-blocks-core@4.9.0
|
|
313
338
|
|
|
314
339
|
## 10.1.1
|
|
315
340
|
|
|
316
341
|
### Patch Changes
|
|
317
342
|
|
|
318
|
-
-
|
|
319
|
-
-
|
|
320
|
-
-
|
|
321
|
-
-
|
|
322
|
-
-
|
|
323
|
-
-
|
|
324
|
-
-
|
|
325
|
-
-
|
|
326
|
-
-
|
|
327
|
-
-
|
|
328
|
-
-
|
|
329
|
-
-
|
|
330
|
-
-
|
|
331
|
-
-
|
|
332
|
-
-
|
|
333
|
-
-
|
|
334
|
-
-
|
|
335
|
-
-
|
|
336
|
-
-
|
|
343
|
+
- d816af08: Update build and test configs use TypeScript
|
|
344
|
+
- 3891f544: Update babel config to include plugins that Storybook needed
|
|
345
|
+
- 3813715d: Update wonder-stuff dependencies (non-functional changes)
|
|
346
|
+
- 0d28bb1c: Configured TypeScript
|
|
347
|
+
- 3d05f764: Fix HOCs and other type errors
|
|
348
|
+
- c2ec4902: Update eslint configuration, fix lint
|
|
349
|
+
- 2983c05b: Include 'types' field in package.json
|
|
350
|
+
- 77ff6a66: Generate Flow types from TypeScript types
|
|
351
|
+
- ec8d4b7f: Fix miscellaneous TypeScript errors
|
|
352
|
+
- Updated dependencies [d816af08]
|
|
353
|
+
- Updated dependencies [3891f544]
|
|
354
|
+
- Updated dependencies [0d28bb1c]
|
|
355
|
+
- Updated dependencies [873f4a14]
|
|
356
|
+
- Updated dependencies [3d05f764]
|
|
357
|
+
- Updated dependencies [c2ec4902]
|
|
358
|
+
- Updated dependencies [2983c05b]
|
|
359
|
+
- Updated dependencies [77ff6a66]
|
|
360
|
+
- Updated dependencies [ec8d4b7f]
|
|
361
|
+
- @khanacademy/wonder-blocks-core@4.8.0
|
|
337
362
|
|
|
338
363
|
## 10.1.0
|
|
339
364
|
|
|
340
365
|
### Minor Changes
|
|
341
366
|
|
|
342
|
-
-
|
|
367
|
+
- 91cb727c: Convert enums to POJOs
|
|
343
368
|
|
|
344
369
|
### Patch Changes
|
|
345
370
|
|
|
346
|
-
-
|
|
347
|
-
-
|
|
348
|
-
-
|
|
349
|
-
-
|
|
350
|
-
-
|
|
371
|
+
- 91cb727c: Update wonder-stuff dependencies
|
|
372
|
+
- 91cb727c: Remove file extensions from imports
|
|
373
|
+
- Updated dependencies [91cb727c]
|
|
374
|
+
- Updated dependencies [91cb727c]
|
|
375
|
+
- @khanacademy/wonder-blocks-core@4.7.0
|
|
351
376
|
|
|
352
377
|
## 10.0.5
|
|
353
378
|
|
|
354
379
|
### Patch Changes
|
|
355
380
|
|
|
356
|
-
-
|
|
381
|
+
- 1a5624d4: Update wonder-stuff dependencies to use newly published packages after migrating wonder-stuff to TypeScript
|
|
357
382
|
|
|
358
383
|
## 10.0.4
|
|
359
384
|
|
|
360
385
|
### Patch Changes
|
|
361
386
|
|
|
362
|
-
-
|
|
363
|
-
-
|
|
387
|
+
- Updated dependencies [496119f2]
|
|
388
|
+
- @khanacademy/wonder-blocks-core@4.6.2
|
|
364
389
|
|
|
365
390
|
## 10.0.3
|
|
366
391
|
|
|
367
392
|
### Patch Changes
|
|
368
393
|
|
|
369
|
-
-
|
|
394
|
+
- @khanacademy/wonder-blocks-core@4.6.1
|
|
370
395
|
|
|
371
396
|
## 10.0.2
|
|
372
397
|
|
|
373
398
|
### Patch Changes
|
|
374
399
|
|
|
375
|
-
-
|
|
376
|
-
-
|
|
377
|
-
-
|
|
378
|
-
-
|
|
400
|
+
- Updated dependencies [b561425a]
|
|
401
|
+
- Updated dependencies [a566e232]
|
|
402
|
+
- Updated dependencies [d2b21a6e]
|
|
403
|
+
- @khanacademy/wonder-blocks-core@4.6.0
|
|
379
404
|
|
|
380
405
|
## 10.0.1
|
|
381
406
|
|
|
382
407
|
### Patch Changes
|
|
383
408
|
|
|
384
|
-
-
|
|
385
|
-
-
|
|
409
|
+
- Updated dependencies [175a2dd2]
|
|
410
|
+
- @khanacademy/wonder-blocks-core@4.5.0
|
|
386
411
|
|
|
387
412
|
## 10.0.0
|
|
388
413
|
|
|
389
414
|
### Major Changes
|
|
390
415
|
|
|
391
|
-
-
|
|
416
|
+
- 5a3ec7f9: Make sure request ID generation handles objects like Date and Error instances better
|
|
392
417
|
|
|
393
418
|
## 9.1.2
|
|
394
419
|
|
|
395
420
|
### Patch Changes
|
|
396
421
|
|
|
397
|
-
-
|
|
398
|
-
-
|
|
422
|
+
- Updated dependencies [6ee20af9]
|
|
423
|
+
- @khanacademy/wonder-blocks-core@4.4.0
|
|
399
424
|
|
|
400
425
|
## 9.1.1
|
|
401
426
|
|
|
402
427
|
### Patch Changes
|
|
403
428
|
|
|
404
|
-
-
|
|
429
|
+
- eb59ce34: Update to latest Wonder Stuff Core
|
|
405
430
|
|
|
406
431
|
## 9.1.0
|
|
407
432
|
|
|
408
433
|
### Minor Changes
|
|
409
434
|
|
|
410
|
-
-
|
|
435
|
+
- 944c3071: Make sure objects and arrays in variables are sorted and readable in generated request identifiers
|
|
411
436
|
|
|
412
437
|
## 9.0.0
|
|
413
438
|
|
|
414
439
|
### Major Changes
|
|
415
440
|
|
|
416
|
-
-
|
|
417
|
-
-
|
|
441
|
+
- 778f8e43: `SharedCache` export added for interacting with the shared in-memory cache. `purgeSharedCache` method has been removed.
|
|
442
|
+
- 778f8e43: Rename `ScopedCache` type to `RawScopedCache`
|
|
418
443
|
|
|
419
444
|
## 8.0.5
|
|
420
445
|
|
|
421
446
|
### Patch Changes
|
|
422
447
|
|
|
423
|
-
-
|
|
448
|
+
- 08238b89: Export the `getGqlDataFromResponse` method so we can use it in custom `gqlFetch` scenarios for a consistent experience
|
|
424
449
|
|
|
425
450
|
## 8.0.4
|
|
426
451
|
|
|
427
452
|
### Patch Changes
|
|
428
453
|
|
|
429
|
-
-
|
|
454
|
+
- dc2e00f4: Do not fetch if FetchPolicy is CacheBeforeNetwork and there is already a cached value, even if the requestId changes
|
|
430
455
|
|
|
431
456
|
## 8.0.3
|
|
432
457
|
|
|
433
458
|
### Patch Changes
|
|
434
459
|
|
|
435
|
-
-
|
|
436
|
-
-
|
|
437
|
-
-
|
|
438
|
-
-
|
|
439
|
-
-
|
|
460
|
+
- 5f4a4297: Make dependency on `flow-enums-runtime` explicit
|
|
461
|
+
- 2b96fd59: Change flow-enums-runtime to be peer dependencies
|
|
462
|
+
- Updated dependencies [5f4a4297]
|
|
463
|
+
- Updated dependencies [2b96fd59]
|
|
464
|
+
- @khanacademy/wonder-blocks-core@4.3.2
|
|
440
465
|
|
|
441
466
|
## 8.0.2
|
|
442
467
|
|
|
443
468
|
### Patch Changes
|
|
444
469
|
|
|
445
|
-
-
|
|
470
|
+
- 580141ed: Always initialize SSR-only cache
|
|
446
471
|
|
|
447
472
|
## 8.0.1
|
|
448
473
|
|
|
449
474
|
### Patch Changes
|
|
450
475
|
|
|
451
|
-
-
|
|
476
|
+
- e5fa4d9e: Make sure ssr-only cache is initialized when purging caches in test environment
|
|
452
477
|
|
|
453
478
|
## 8.0.0
|
|
454
479
|
|
|
455
480
|
### Major Changes
|
|
456
481
|
|
|
457
|
-
-
|
|
458
|
-
-
|
|
459
|
-
-
|
|
460
|
-
-
|
|
461
|
-
-
|
|
482
|
+
- 0720470e: Renamed `initializeCache` to `initializeHydrationCache`, deleted `removeFromCache`, renamed `removeAllFromCache` to `purgeHydrationCache`
|
|
483
|
+
- cf9ed87f: Add `fetchPolicy` to `useCachedEffect` options, add `refetch` to `useCachedEffect` return value (return value is now a tuple of [result, refetch]), add abort API to request fulfillment (not truly aborting though)
|
|
484
|
+
- b882b082: Stop exporting `RequestFulfillment`, update `useCachedEffect` to consider scope with sharing inflight requests
|
|
485
|
+
- 0720470e: Rename `fulfillAllDataRequests` to `fetchTrackedRequests`, rename `hasUnfulfilledRequests` to `hasTrackedRequestsToBeFetched`
|
|
486
|
+
- 0720470e: Renamed `clearSharedCache` to `purgeSharedCache`
|
|
462
487
|
|
|
463
488
|
### Minor Changes
|
|
464
489
|
|
|
465
|
-
-
|
|
466
|
-
-
|
|
467
|
-
-
|
|
490
|
+
- 0720470e: Add `purgeCaches` export for purging all caches with one call
|
|
491
|
+
- 75c10036: Add `abortInflightRequests` to exports
|
|
492
|
+
- a85f2f3a: Provide `getGqlRequestId` function
|
|
468
493
|
|
|
469
494
|
### Patch Changes
|
|
470
495
|
|
|
471
|
-
-
|
|
496
|
+
- 1385f468: Removed unnecessary `new` on tracking context creation
|
|
472
497
|
|
|
473
498
|
## 7.0.1
|
|
474
499
|
|
|
475
500
|
### Patch Changes
|
|
476
501
|
|
|
477
|
-
-
|
|
502
|
+
- @khanacademy/wonder-blocks-core@4.3.1
|
|
478
503
|
|
|
479
504
|
## 7.0.0
|
|
480
505
|
|
|
481
506
|
### Major Changes
|
|
482
507
|
|
|
483
|
-
-
|
|
508
|
+
- 34407c4a: `useServerEffect` now has a `skip` option, preventing the request from getting tracked for server-side fulfillment
|
|
484
509
|
|
|
485
510
|
## 6.0.1
|
|
486
511
|
|
|
487
512
|
### Patch Changes
|
|
488
513
|
|
|
489
|
-
-
|
|
514
|
+
- 5ad01891: [FIX] Make sure hydratable effect properly renders when requestId changes
|
|
490
515
|
|
|
491
516
|
## 6.0.0
|
|
492
517
|
|
|
493
518
|
### Major Changes
|
|
494
519
|
|
|
495
|
-
-
|
|
496
|
-
-
|
|
497
|
-
-
|
|
498
|
-
-
|
|
499
|
-
-
|
|
520
|
+
- 1f34c4e8: `Result<TData>` is now the main return type, `useGql` supports context modification, and context overrides that are set explicitly to null now mean those values are deleted when merging
|
|
521
|
+
- 885fe62b: [NEW] `useCachedEffect` hook for performing asynchronous work client-side and caching the result. Updated `useHydratableEffect` to use `useCachedEffect`. `useServerEffect` handler is now interceptable with Wonder Blocks Data `InterceptData` component.
|
|
522
|
+
- 5c852025: [NEW] Added the `useHydratableEffect` hook and updated the `Data` component to use it. Breaking change: `Data` props have been renamed and retyped to fit `useHydratableResult` API.
|
|
523
|
+
- c91f3959: New `DataError` type and changes to the `GqlError` type. Also changes what errors are thrown in various code
|
|
524
|
+
- 753220a4: Exported in-flight request tracking mechanism and reworked Data component so that client-side requests don't get morphed to and from a cache-style value
|
|
500
525
|
|
|
501
526
|
### Minor Changes
|
|
502
527
|
|
|
503
|
-
-
|
|
528
|
+
- 5d614ed4: Changed `Result<TData>` error status so that error field is an error object, not a string
|
|
504
529
|
|
|
505
530
|
### Patch Changes
|
|
506
531
|
|
|
507
|
-
-
|
|
508
|
-
-
|
|
532
|
+
- Updated dependencies [246a921d]
|
|
533
|
+
- @khanacademy/wonder-blocks-core@4.3.0
|
|
509
534
|
|
|
510
535
|
## 5.0.1
|
|
511
536
|
|
|
512
537
|
### Patch Changes
|
|
513
538
|
|
|
514
|
-
-
|
|
539
|
+
- c9922b34: Export resultFromCachedResponse
|
|
515
540
|
|
|
516
541
|
## 5.0.0
|
|
517
542
|
|
|
518
543
|
### Major Changes
|
|
519
544
|
|
|
520
|
-
-
|
|
545
|
+
- 5b5f85ac: Replace `InterceptData` with `InterceptRequests` and introduce new `useRequestInterception` hook
|
|
521
546
|
|
|
522
547
|
## 4.0.0
|
|
523
548
|
|
|
524
549
|
### Major Changes
|
|
525
550
|
|
|
526
|
-
-
|
|
527
|
-
-
|
|
528
|
-
-
|
|
529
|
-
-
|
|
530
|
-
-
|
|
531
|
-
-
|
|
551
|
+
- febc7309: Rename types and update signatures
|
|
552
|
+
- `ValidData` is now `ValidCacheData`
|
|
553
|
+
- `Cache` type is now `ResponseCache` (old `ResponseCache` can be created with `$ReadOnly<ResponseCache>`)
|
|
554
|
+
- `CacheEntry` type is now `CachedResponse`
|
|
555
|
+
- Signatures that were typed as `$ReadOnly<Cache>` previously are now typed as `ResponseCache` which is more appropriate to how they work
|
|
556
|
+
- bffc345e: Simplified, more versatile API
|
|
532
557
|
|
|
533
|
-
-
|
|
534
|
-
-
|
|
535
|
-
-
|
|
558
|
+
- NEW: `useServerEffect` hook - a way to perform asynchronous tasks on the server and have the value available for hydration
|
|
559
|
+
- UPDATED: `Data` component - New API that does away with the `IRequestHandler` interface. Includes new props to control behavior on hydration and when new requests occur.
|
|
560
|
+
- UPDATED: `InterceptData` component - New API to reflect changes in `Data` component.
|
|
536
561
|
|
|
537
|
-
-
|
|
538
|
-
-
|
|
562
|
+
- REMOVED: `IRequestHandler` API. All associated call signatures have been updated to reflect this.
|
|
563
|
+
- REMOVED: `useData` hook - The `Data` component should be used
|
|
539
564
|
|
|
540
565
|
### Minor Changes
|
|
541
566
|
|
|
542
|
-
-
|
|
543
|
-
-
|
|
567
|
+
- 7c9dd09b: - New `useSharedData` hook
|
|
568
|
+
- New `ScopedInMemoryCache` export
|
|
544
569
|
|
|
545
570
|
## 3.2.0
|
|
546
571
|
|
|
547
572
|
### Minor Changes
|
|
548
573
|
|
|
549
|
-
-
|
|
574
|
+
- 6973afa2: useGql method now merges defaultContext and partial context by ignoring values explicitly set to undefined in the partial context. This ensures that that existing default context values are not overridden unless explicitly given a value other than undefined.
|
|
550
575
|
|
|
551
576
|
## 3.1.3
|
|
552
577
|
|
|
553
578
|
### Patch Changes
|
|
554
579
|
|
|
555
|
-
-
|
|
580
|
+
- 9931ae6b: Simplify GQL types
|
|
556
581
|
|
|
557
582
|
## 3.1.2
|
|
558
583
|
|
|
559
584
|
### Patch Changes
|
|
560
585
|
|
|
561
|
-
-
|
|
586
|
+
- @khanacademy/wonder-blocks-core@4.2.1
|
|
562
587
|
|
|
563
588
|
## 3.1.1
|
|
564
589
|
|
|
565
590
|
### Patch Changes
|
|
566
591
|
|
|
567
|
-
-
|
|
592
|
+
- 4ff59815: Add GraphQL fetch mock support to wonder-blocks-testing
|
|
568
593
|
|
|
569
594
|
## 3.1.0
|
|
570
595
|
|
|
571
596
|
### Minor Changes
|
|
572
597
|
|
|
573
|
-
-
|
|
574
|
-
-
|
|
598
|
+
- b68cedfe: Add GqlRouter component
|
|
599
|
+
- c7233a97: Implement useGql hook
|
|
575
600
|
|
|
576
601
|
## 3.0.1
|
|
577
602
|
|
|
578
603
|
### Patch Changes
|
|
579
604
|
|
|
580
|
-
-
|
|
605
|
+
- d281dac8: Ensure server-side request fulfillments can be intercepted
|
|
581
606
|
|
|
582
607
|
## 3.0.0
|
|
583
608
|
|
|
584
609
|
### Major Changes
|
|
585
610
|
|
|
586
|
-
-
|
|
587
|
-
-
|
|
611
|
+
- b252d9c8: Remove client-side caching
|
|
612
|
+
- b252d9c8: Introduce useData hook
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2018 Khan Academy
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -27,7 +27,7 @@ TData extends ValidCacheData> = {
|
|
|
27
27
|
*
|
|
28
28
|
* Default is `OnClientRender.ExecuteWhenNoSuccessResult`.
|
|
29
29
|
*/
|
|
30
|
-
clientBehavior?: typeof WhenClientSide[keyof typeof WhenClientSide];
|
|
30
|
+
clientBehavior?: (typeof WhenClientSide)[keyof typeof WhenClientSide];
|
|
31
31
|
/**
|
|
32
32
|
* When true, the children will be rendered with the existing result
|
|
33
33
|
* until the pending load is completed. Otherwise, the children will be
|
package/dist/es/index.js
CHANGED
|
@@ -428,7 +428,7 @@ const useServerEffect = (requestId, handler, options = {}) => {
|
|
|
428
428
|
const cachedResult = SsrCache.Default.getEntry(requestId);
|
|
429
429
|
const maybeTrack = useContext(TrackerContext);
|
|
430
430
|
if (!skip && cachedResult == null && Server.isServerSide()) {
|
|
431
|
-
maybeTrack == null
|
|
431
|
+
maybeTrack == null || maybeTrack(requestId, interceptedHandler, hydrate);
|
|
432
432
|
}
|
|
433
433
|
return cachedResult == null ? null : resultFromCachedResponse(cachedResult);
|
|
434
434
|
};
|
|
@@ -450,7 +450,7 @@ const useCachedEffect = (requestId, handler, options = {}) => {
|
|
|
450
450
|
const currentRequestRef = React.useRef();
|
|
451
451
|
const fetchRequest = React.useMemo(() => {
|
|
452
452
|
var _currentRequestRef$cu;
|
|
453
|
-
(_currentRequestRef$cu = currentRequestRef.current) == null
|
|
453
|
+
(_currentRequestRef$cu = currentRequestRef.current) == null || _currentRequestRef$cu.cancel();
|
|
454
454
|
currentRequestRef.current = null;
|
|
455
455
|
networkResultRef.current = null;
|
|
456
456
|
const fetchFn = () => {
|
|
@@ -465,7 +465,7 @@ const useCachedEffect = (requestId, handler, options = {}) => {
|
|
|
465
465
|
return;
|
|
466
466
|
}
|
|
467
467
|
networkResultRef.current = null;
|
|
468
|
-
(_currentRequestRef$cu3 = currentRequestRef.current) == null
|
|
468
|
+
(_currentRequestRef$cu3 = currentRequestRef.current) == null || _currentRequestRef$cu3.cancel();
|
|
469
469
|
let cancel = false;
|
|
470
470
|
request.then(result => {
|
|
471
471
|
currentRequestRef.current = null;
|
|
@@ -513,7 +513,7 @@ const useCachedEffect = (requestId, handler, options = {}) => {
|
|
|
513
513
|
fetchRequest();
|
|
514
514
|
return () => {
|
|
515
515
|
var _currentRequestRef$cu4;
|
|
516
|
-
(_currentRequestRef$cu4 = currentRequestRef.current) == null
|
|
516
|
+
(_currentRequestRef$cu4 = currentRequestRef.current) == null || _currentRequestRef$cu4.cancel();
|
|
517
517
|
currentRequestRef.current = null;
|
|
518
518
|
};
|
|
519
519
|
}, [shouldFetch, fetchRequest]);
|
|
@@ -7,7 +7,7 @@ type CachedEffectOptions<TData extends ValidCacheData> = {
|
|
|
7
7
|
*
|
|
8
8
|
* Defaults to `FetchPolicy.CacheBeforeNetwork`.
|
|
9
9
|
*/
|
|
10
|
-
fetchPolicy?: typeof FetchPolicy[keyof typeof FetchPolicy];
|
|
10
|
+
fetchPolicy?: (typeof FetchPolicy)[keyof typeof FetchPolicy];
|
|
11
11
|
/**
|
|
12
12
|
* When `true`, the effect will not be executed; otherwise, the effect will
|
|
13
13
|
* be executed.
|
|
@@ -45,7 +45,7 @@ type HydratableEffectOptions<TData extends ValidCacheData> = {
|
|
|
45
45
|
* Changing this value after the first call is irrelevant as it only
|
|
46
46
|
* affects the initial render behavior.
|
|
47
47
|
*/
|
|
48
|
-
clientBehavior?: typeof WhenClientSide[keyof typeof WhenClientSide];
|
|
48
|
+
clientBehavior?: (typeof WhenClientSide)[keyof typeof WhenClientSide];
|
|
49
49
|
/**
|
|
50
50
|
* When `true`, the effect will not be executed; otherwise, the effect will
|
|
51
51
|
* be executed.
|
package/dist/index.js
CHANGED
|
@@ -454,7 +454,7 @@ const useServerEffect = (requestId, handler, options = {}) => {
|
|
|
454
454
|
const cachedResult = SsrCache.Default.getEntry(requestId);
|
|
455
455
|
const maybeTrack = React.useContext(TrackerContext);
|
|
456
456
|
if (!skip && cachedResult == null && wonderBlocksCore.Server.isServerSide()) {
|
|
457
|
-
maybeTrack == null
|
|
457
|
+
maybeTrack == null || maybeTrack(requestId, interceptedHandler, hydrate);
|
|
458
458
|
}
|
|
459
459
|
return cachedResult == null ? null : resultFromCachedResponse(cachedResult);
|
|
460
460
|
};
|
|
@@ -476,7 +476,7 @@ const useCachedEffect = (requestId, handler, options = {}) => {
|
|
|
476
476
|
const currentRequestRef = React__namespace.useRef();
|
|
477
477
|
const fetchRequest = React__namespace.useMemo(() => {
|
|
478
478
|
var _currentRequestRef$cu;
|
|
479
|
-
(_currentRequestRef$cu = currentRequestRef.current) == null
|
|
479
|
+
(_currentRequestRef$cu = currentRequestRef.current) == null || _currentRequestRef$cu.cancel();
|
|
480
480
|
currentRequestRef.current = null;
|
|
481
481
|
networkResultRef.current = null;
|
|
482
482
|
const fetchFn = () => {
|
|
@@ -491,7 +491,7 @@ const useCachedEffect = (requestId, handler, options = {}) => {
|
|
|
491
491
|
return;
|
|
492
492
|
}
|
|
493
493
|
networkResultRef.current = null;
|
|
494
|
-
(_currentRequestRef$cu3 = currentRequestRef.current) == null
|
|
494
|
+
(_currentRequestRef$cu3 = currentRequestRef.current) == null || _currentRequestRef$cu3.cancel();
|
|
495
495
|
let cancel = false;
|
|
496
496
|
request.then(result => {
|
|
497
497
|
currentRequestRef.current = null;
|
|
@@ -539,7 +539,7 @@ const useCachedEffect = (requestId, handler, options = {}) => {
|
|
|
539
539
|
fetchRequest();
|
|
540
540
|
return () => {
|
|
541
541
|
var _currentRequestRef$cu4;
|
|
542
|
-
(_currentRequestRef$cu4 = currentRequestRef.current) == null
|
|
542
|
+
(_currentRequestRef$cu4 = currentRequestRef.current) == null || _currentRequestRef$cu4.cancel();
|
|
543
543
|
currentRequestRef.current = null;
|
|
544
544
|
};
|
|
545
545
|
}, [shouldFetch, fetchRequest]);
|
|
@@ -41,5 +41,5 @@ export declare const DataErrors: Readonly<{
|
|
|
41
41
|
* `${kind}DataError`
|
|
42
42
|
*/
|
|
43
43
|
export declare class DataError extends KindError {
|
|
44
|
-
constructor(message: string, kind: typeof DataErrors[keyof typeof DataErrors], { metadata, cause }?: ErrorOptions);
|
|
44
|
+
constructor(message: string, kind: (typeof DataErrors)[keyof typeof DataErrors], { metadata, cause }?: ErrorOptions);
|
|
45
45
|
}
|
package/dist/util/gql-error.d.ts
CHANGED
|
@@ -24,5 +24,5 @@ export declare const GqlErrors: Readonly<{
|
|
|
24
24
|
* `${kind}GqlError`
|
|
25
25
|
*/
|
|
26
26
|
export declare class GqlError extends KindError {
|
|
27
|
-
constructor(message: string, kind: typeof GqlErrors[keyof typeof GqlErrors], { metadata, cause }?: ErrorOptions);
|
|
27
|
+
constructor(message: string, kind: (typeof GqlErrors)[keyof typeof GqlErrors], { metadata, cause }?: ErrorOptions);
|
|
28
28
|
}
|
|
@@ -3,7 +3,7 @@ export declare const DocumentTypes: Readonly<{
|
|
|
3
3
|
query: "query";
|
|
4
4
|
mutation: "mutation";
|
|
5
5
|
}>;
|
|
6
|
-
export type DocumentType = typeof DocumentTypes[keyof typeof DocumentTypes];
|
|
6
|
+
export type DocumentType = (typeof DocumentTypes)[keyof typeof DocumentTypes];
|
|
7
7
|
export interface IDocumentDefinition {
|
|
8
8
|
type: DocumentType;
|
|
9
9
|
name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khanacademy/wonder-blocks-data",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.1.1",
|
|
4
4
|
"design": "v1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -9,23 +9,22 @@
|
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"module": "dist/es/index.js",
|
|
11
11
|
"types": "dist/index.d.ts",
|
|
12
|
-
"scripts": {
|
|
13
|
-
"test": "echo \"Error: no test specified\" && exit 1",
|
|
14
|
-
"prepublishOnly": "../../utils/publish/package-pre-publish-check.sh"
|
|
15
|
-
},
|
|
16
12
|
"dependencies": {
|
|
17
|
-
"@babel/runtime": "^7.
|
|
18
|
-
"@khanacademy/wonder-blocks-core": "
|
|
13
|
+
"@babel/runtime": "^7.24.5",
|
|
14
|
+
"@khanacademy/wonder-blocks-core": "12.1.1"
|
|
19
15
|
},
|
|
20
16
|
"peerDependencies": {
|
|
21
|
-
"@khanacademy/wonder-stuff-core": "^1.
|
|
17
|
+
"@khanacademy/wonder-stuff-core": "^1.5.4",
|
|
22
18
|
"react": "18.2.0"
|
|
23
19
|
},
|
|
24
20
|
"devDependencies": {
|
|
25
|
-
"@khanacademy/
|
|
26
|
-
"@khanacademy/
|
|
27
|
-
"@khanacademy/wonder-blocks-testing-core": "
|
|
21
|
+
"@khanacademy/wonder-stuff-testing": "^3.0.5",
|
|
22
|
+
"@khanacademy/wb-dev-build-settings": "2.1.1",
|
|
23
|
+
"@khanacademy/wonder-blocks-testing-core": "2.1.1"
|
|
28
24
|
},
|
|
29
25
|
"author": "",
|
|
30
|
-
"license": "MIT"
|
|
26
|
+
"license": "MIT",
|
|
27
|
+
"scripts": {
|
|
28
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
29
|
+
}
|
|
31
30
|
}
|