@khanacademy/wonder-blocks-core 12.0.0 → 12.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 +95 -75
- package/LICENSE +21 -0
- package/dist/es/index.js +8 -7
- package/dist/index.js +8 -7
- package/package.json +8 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,126 +1,146 @@
|
|
|
1
1
|
# @khanacademy/wonder-blocks-core
|
|
2
2
|
|
|
3
|
+
## 12.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
|
+
|
|
9
|
+
## 12.1.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- f03298f: Tooling:
|
|
14
|
+
|
|
15
|
+
- Switching to `pnpm`.
|
|
16
|
+
- Upgrading `rollup` to v4 and `@babel/runtime` to match the current webapp version.
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- 969864b: Update internal addStyle variable name to address aphrodite-add-style-variable-name linting rule
|
|
21
|
+
- bb2a026: pnpm: Switch to workspace protocol to handle dependency versions with changesets on monorepo setup"
|
|
22
|
+
|
|
3
23
|
## 12.0.0
|
|
4
24
|
|
|
5
25
|
### Major Changes
|
|
6
26
|
|
|
7
|
-
-
|
|
27
|
+
- 0199324d: Fixes keyboard tests in Dropdown and Clickable with specific key events. We now check `event.key` instead of `event.which` or `event.keyCode` to remove deprecated event properties and match the keys returned from Testing Library/userEvent.
|
|
8
28
|
|
|
9
29
|
## 11.1.0
|
|
10
30
|
|
|
11
31
|
### Minor Changes
|
|
12
32
|
|
|
13
|
-
-
|
|
33
|
+
- 7516b239: Update useOnMountEffect to pass isMountedRef to callback
|
|
14
34
|
|
|
15
35
|
## 11.0.1
|
|
16
36
|
|
|
17
37
|
### Patch Changes
|
|
18
38
|
|
|
19
|
-
-
|
|
39
|
+
- 11a0f5c6: No functional changes. Adding prepublishOnly script.
|
|
20
40
|
|
|
21
41
|
## 11.0.0
|
|
22
42
|
|
|
23
43
|
### Major Changes
|
|
24
44
|
|
|
25
|
-
-
|
|
45
|
+
- d23c9c5f: Delete the custom identifier generation API
|
|
26
46
|
|
|
27
47
|
## 10.0.0
|
|
28
48
|
|
|
29
49
|
### Major Changes
|
|
30
50
|
|
|
31
|
-
-
|
|
51
|
+
- b6009b77: Deprecate the ID provider and unique ID utilities
|
|
32
52
|
|
|
33
53
|
### Minor Changes
|
|
34
54
|
|
|
35
|
-
-
|
|
55
|
+
- 897686bc: - Add the `Id` component for cases where `useId` cannot be used directly
|
|
36
56
|
|
|
37
57
|
### Patch Changes
|
|
38
58
|
|
|
39
|
-
-
|
|
59
|
+
- 56d961f1: - Migrate Wonder Blocks components off old id providers and onto new `Id` component
|
|
40
60
|
|
|
41
61
|
## 9.0.0
|
|
42
62
|
|
|
43
63
|
### Major Changes
|
|
44
64
|
|
|
45
|
-
-
|
|
46
|
-
-
|
|
65
|
+
- f4abd572: - Remove `RenderState.Root` from exported enum
|
|
66
|
+
- Change `useRenderState` to only return `RenderState.Initial` or `RenderState.Standard`
|
|
47
67
|
|
|
48
68
|
## 8.0.0
|
|
49
69
|
|
|
50
70
|
### Major Changes
|
|
51
71
|
|
|
52
|
-
-
|
|
72
|
+
- e6abdd17: Upgrade to React 18
|
|
53
73
|
|
|
54
74
|
## 7.0.1
|
|
55
75
|
|
|
56
76
|
### Patch Changes
|
|
57
77
|
|
|
58
|
-
-
|
|
78
|
+
- 02a1b298: Make sure we don't package tsconfig and tsbuildinfo files
|
|
59
79
|
|
|
60
80
|
## 7.0.0
|
|
61
81
|
|
|
62
82
|
### Major Changes
|
|
63
83
|
|
|
64
|
-
-
|
|
84
|
+
- 07f7f407: Renamed `WithSSRPlaceholder` to `InitialFallback`. This includes changing the `placeholder` prop to `fallback` so it's closer to `Suspense` usage.
|
|
65
85
|
|
|
66
86
|
## 6.4.3
|
|
67
87
|
|
|
68
88
|
### Patch Changes
|
|
69
89
|
|
|
70
|
-
-
|
|
90
|
+
- 559e82d5: Update to build tooling, generating smaller output
|
|
71
91
|
|
|
72
92
|
## 6.4.2
|
|
73
93
|
|
|
74
94
|
### Patch Changes
|
|
75
95
|
|
|
76
|
-
-
|
|
96
|
+
- eab37b8b: Test file changes only. No external changes at all.
|
|
77
97
|
|
|
78
98
|
## 6.4.1
|
|
79
99
|
|
|
80
100
|
### Patch Changes
|
|
81
101
|
|
|
82
|
-
-
|
|
102
|
+
- 5dfac06e: Allow all special characters in IDs, except whitespace.
|
|
83
103
|
|
|
84
104
|
## 6.4.0
|
|
85
105
|
|
|
86
106
|
### Minor Changes
|
|
87
107
|
|
|
88
|
-
-
|
|
108
|
+
- 58075352: Change testId to render the default Testing Library HTML attribute: data-testid (was data-test-id)
|
|
89
109
|
|
|
90
110
|
## 6.3.1
|
|
91
111
|
|
|
92
112
|
### Patch Changes
|
|
93
113
|
|
|
94
|
-
-
|
|
114
|
+
- 6df21f71: Append className if set via props
|
|
95
115
|
|
|
96
116
|
## 6.3.0
|
|
97
117
|
|
|
98
118
|
### Minor Changes
|
|
99
119
|
|
|
100
|
-
-
|
|
120
|
+
- 7055ca94: Make useOnMountEffect accept functions with void return types
|
|
101
121
|
|
|
102
122
|
## 6.2.0
|
|
103
123
|
|
|
104
124
|
### Minor Changes
|
|
105
125
|
|
|
106
|
-
-
|
|
126
|
+
- 4b97b9a2: Remove deps argument from `usePreHydrationEffect`
|
|
107
127
|
|
|
108
128
|
## 6.1.1
|
|
109
129
|
|
|
110
130
|
### Patch Changes
|
|
111
131
|
|
|
112
|
-
-
|
|
132
|
+
- 2871f0a9: Add new usePreHydrationEffect hook to module exports
|
|
113
133
|
|
|
114
134
|
## 6.1.0
|
|
115
135
|
|
|
116
136
|
### Minor Changes
|
|
117
137
|
|
|
118
|
-
-
|
|
138
|
+
- efb59c29: Add `usePreHydrationEffect`
|
|
119
139
|
|
|
120
140
|
### Patch Changes
|
|
121
141
|
|
|
122
|
-
-
|
|
123
|
-
|
|
142
|
+
- 8bc40ed2: Change the return type of `useLatestRef` from `RefObject<T>` to
|
|
143
|
+
`{readonly current: T}`, so the `current` property is not nullable.
|
|
124
144
|
|
|
125
145
|
This fixes a bug introduced by the migration to TypeScript.
|
|
126
146
|
|
|
@@ -128,158 +148,158 @@
|
|
|
128
148
|
|
|
129
149
|
### Patch Changes
|
|
130
150
|
|
|
131
|
-
-
|
|
151
|
+
- f19da46e: Allow 'title' on View and typography components
|
|
132
152
|
|
|
133
153
|
## 6.0.1
|
|
134
154
|
|
|
135
155
|
### Patch Changes
|
|
136
156
|
|
|
137
|
-
-
|
|
157
|
+
- 1920feb8: `RenderStateRoot` now wraps children in a React fragment
|
|
138
158
|
|
|
139
159
|
## 6.0.0
|
|
140
160
|
|
|
141
161
|
### Major Changes
|
|
142
162
|
|
|
143
|
-
-
|
|
163
|
+
- 674a1e5c: POJOs have been replace with TS enums
|
|
144
164
|
|
|
145
165
|
### Patch Changes
|
|
146
166
|
|
|
147
|
-
-
|
|
167
|
+
- 674a1e5c: We're no longer building flow types
|
|
148
168
|
|
|
149
169
|
## 5.4.0
|
|
150
170
|
|
|
151
171
|
### Minor Changes
|
|
152
172
|
|
|
153
|
-
-
|
|
173
|
+
- 1344436f: Add `PropsFor` type to simplify `JSX.LibraryManagedAttributes` usage
|
|
154
174
|
|
|
155
175
|
## 5.3.1
|
|
156
176
|
|
|
157
177
|
### Patch Changes
|
|
158
178
|
|
|
159
|
-
-
|
|
179
|
+
- 9f3752d4: Used named functions in componenets with forwarded refs
|
|
160
180
|
|
|
161
181
|
## 5.3.0
|
|
162
182
|
|
|
163
183
|
### Minor Changes
|
|
164
184
|
|
|
165
|
-
-
|
|
166
|
-
-
|
|
185
|
+
- c37b99aa: Forward refs for Text and Title
|
|
186
|
+
- c4cef3e6: Added ref forwarding to View
|
|
167
187
|
|
|
168
188
|
## 5.2.3
|
|
169
189
|
|
|
170
190
|
### Patch Changes
|
|
171
191
|
|
|
172
|
-
-
|
|
192
|
+
- d4c412b5: Update useForceUpdate to ensure consuming hooks properly refresh
|
|
173
193
|
|
|
174
194
|
## 5.2.2
|
|
175
195
|
|
|
176
196
|
### Patch Changes
|
|
177
197
|
|
|
178
|
-
-
|
|
198
|
+
- 64a188e3: Fix useForceUpdate so that regardless of how many times it is called before a new render, it will always cause a new render
|
|
179
199
|
|
|
180
200
|
## 5.2.1
|
|
181
201
|
|
|
182
202
|
### Patch Changes
|
|
183
203
|
|
|
184
|
-
-
|
|
185
|
-
-
|
|
204
|
+
- 5a1ea891: Make sure that React contexts are named
|
|
205
|
+
- df9a10aa: Update state and props to be readonly in components using getDerivedStateFromProps()
|
|
186
206
|
|
|
187
207
|
## 5.2.0
|
|
188
208
|
|
|
189
209
|
### Minor Changes
|
|
190
210
|
|
|
191
|
-
-
|
|
211
|
+
- fa70c895: Add 'lang', 'className' and 'htmlFor' properties to Text and View
|
|
192
212
|
|
|
193
213
|
### Patch Changes
|
|
194
214
|
|
|
195
|
-
-
|
|
196
|
-
-
|
|
215
|
+
- 19ab0408: Update flowgen to convert React.ForwardRefExoticComponent<> and React.FowardedRef<> properly
|
|
216
|
+
- fa70c895: Remove all TypeScript error suppressions on JSX attributes
|
|
197
217
|
|
|
198
218
|
## 5.1.0
|
|
199
219
|
|
|
200
220
|
### Minor Changes
|
|
201
221
|
|
|
202
|
-
-
|
|
222
|
+
- 3c400719: Add useLatestRef hook to wonder-blocks-core
|
|
203
223
|
|
|
204
224
|
### Patch Changes
|
|
205
225
|
|
|
206
|
-
-
|
|
226
|
+
- a6164ed0: Don't use React.FC<> for functional components
|
|
207
227
|
|
|
208
228
|
## 5.0.4
|
|
209
229
|
|
|
210
230
|
### Patch Changes
|
|
211
231
|
|
|
212
|
-
-
|
|
232
|
+
- c20f48f3: Don't transpile classes when building bundles
|
|
213
233
|
|
|
214
234
|
## 5.0.3
|
|
215
235
|
|
|
216
236
|
### Patch Changes
|
|
217
237
|
|
|
218
|
-
-
|
|
238
|
+
- b281e2eb: Fix generate Flow types for real
|
|
219
239
|
|
|
220
240
|
## 5.0.2
|
|
221
241
|
|
|
222
242
|
### Patch Changes
|
|
223
243
|
|
|
224
|
-
-
|
|
244
|
+
- 21ce20c7: Fix issues with generate flow types in wonder-blocks-core
|
|
225
245
|
|
|
226
246
|
## 5.0.1
|
|
227
247
|
|
|
228
248
|
### Patch Changes
|
|
229
249
|
|
|
230
|
-
-
|
|
231
|
-
-
|
|
250
|
+
- ccb6fe00: Miscellaneous TS type fixes
|
|
251
|
+
- d4c2b18c: Fix a variety of issues with Flow types generated by flowgen
|
|
232
252
|
|
|
233
253
|
## 5.0.0
|
|
234
254
|
|
|
235
255
|
### Major Changes
|
|
236
256
|
|
|
237
|
-
-
|
|
257
|
+
- 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)
|
|
238
258
|
|
|
239
259
|
## 4.9.1
|
|
240
260
|
|
|
241
261
|
### Patch Changes
|
|
242
262
|
|
|
243
|
-
-
|
|
263
|
+
- b5ba5568: Ensure that flow lib defs use React.ElementConfig<> isntead of JSX.LibraryManagedAttributes<>
|
|
244
264
|
|
|
245
265
|
## 4.9.0
|
|
246
266
|
|
|
247
267
|
### Minor Changes
|
|
248
268
|
|
|
249
|
-
-
|
|
269
|
+
- 779b031d: Update AriaProps to use React's AriaAttributes and AriaRole types
|
|
250
270
|
|
|
251
271
|
## 4.8.0
|
|
252
272
|
|
|
253
273
|
### Minor Changes
|
|
254
274
|
|
|
255
|
-
-
|
|
275
|
+
- 873f4a14: Update aphrodite lib def and StyleType
|
|
256
276
|
|
|
257
277
|
### Patch Changes
|
|
258
278
|
|
|
259
|
-
-
|
|
260
|
-
-
|
|
261
|
-
-
|
|
262
|
-
-
|
|
263
|
-
-
|
|
264
|
-
-
|
|
265
|
-
-
|
|
266
|
-
-
|
|
279
|
+
- d816af08: Update build and test configs use TypeScript
|
|
280
|
+
- 3891f544: Update babel config to include plugins that Storybook needed
|
|
281
|
+
- 0d28bb1c: Configured TypeScript
|
|
282
|
+
- 3d05f764: Fix HOCs and other type errors
|
|
283
|
+
- c2ec4902: Update eslint configuration, fix lint
|
|
284
|
+
- 2983c05b: Include 'types' field in package.json
|
|
285
|
+
- 77ff6a66: Generate Flow types from TypeScript types
|
|
286
|
+
- ec8d4b7f: Fix miscellaneous TypeScript errors
|
|
267
287
|
|
|
268
288
|
## 4.7.0
|
|
269
289
|
|
|
270
290
|
### Minor Changes
|
|
271
291
|
|
|
272
|
-
-
|
|
292
|
+
- 91cb727c: Convert enums to POJOs
|
|
273
293
|
|
|
274
294
|
### Patch Changes
|
|
275
295
|
|
|
276
|
-
-
|
|
296
|
+
- 91cb727c: Remove file extensions from imports
|
|
277
297
|
|
|
278
298
|
## 4.6.2
|
|
279
299
|
|
|
280
300
|
### Patch Changes
|
|
281
301
|
|
|
282
|
-
-
|
|
302
|
+
- 496119f2: Cleanup WB interdependencies
|
|
283
303
|
|
|
284
304
|
## 4.6.1
|
|
285
305
|
|
|
@@ -287,28 +307,28 @@
|
|
|
287
307
|
|
|
288
308
|
### Minor Changes
|
|
289
309
|
|
|
290
|
-
-
|
|
291
|
-
-
|
|
292
|
-
-
|
|
310
|
+
- b561425a: Add useIsMounted() hook
|
|
311
|
+
- a566e232: Add useOnMountEffect hook
|
|
312
|
+
- d2b21a6e: Export useOnMountEffect hook
|
|
293
313
|
|
|
294
314
|
## 4.5.0
|
|
295
315
|
|
|
296
316
|
### Minor Changes
|
|
297
317
|
|
|
298
|
-
-
|
|
318
|
+
- 175a2dd2: Add 'useRenderState' hook
|
|
299
319
|
|
|
300
320
|
## 4.4.0
|
|
301
321
|
|
|
302
322
|
### Minor Changes
|
|
303
323
|
|
|
304
|
-
-
|
|
324
|
+
- 6ee20af9: Add `useOnline` hook to encapsulate navigator.onLine and the offline/online events
|
|
305
325
|
|
|
306
326
|
## 4.3.2
|
|
307
327
|
|
|
308
328
|
### Patch Changes
|
|
309
329
|
|
|
310
|
-
-
|
|
311
|
-
-
|
|
330
|
+
- 5f4a4297: Make dependency on `flow-enums-runtime` explicit
|
|
331
|
+
- 2b96fd59: Change flow-enums-runtime to be peer dependencies
|
|
312
332
|
|
|
313
333
|
## 4.3.1
|
|
314
334
|
|
|
@@ -316,7 +336,7 @@
|
|
|
316
336
|
|
|
317
337
|
### Minor Changes
|
|
318
338
|
|
|
319
|
-
-
|
|
339
|
+
- 246a921d: NEW: `useForceUpdate` hook. This should rarely be used and likely only ever from other hooks.
|
|
320
340
|
|
|
321
341
|
## 4.2.1
|
|
322
342
|
|
|
@@ -324,15 +344,15 @@
|
|
|
324
344
|
|
|
325
345
|
### Minor Changes
|
|
326
346
|
|
|
327
|
-
-
|
|
347
|
+
- 0aed8723: Adds `throwIfNested` required prop to `RenderStateRoot`.
|
|
328
348
|
|
|
329
349
|
## 4.1.0
|
|
330
350
|
|
|
331
351
|
### Minor Changes
|
|
332
352
|
|
|
333
|
-
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
-
|
|
337
|
-
|
|
338
|
-
|
|
353
|
+
- 45588e5f: Fix an issue with `useUniqueIdWithMock`/`useUniqueIdWithoutMock`
|
|
354
|
+
rerender more than was needed. The fix introduces `<RenderStateRoot>`
|
|
355
|
+
which must be an ancestor to all components uses these hooks.
|
|
356
|
+
- 875b7893: Nesting of `RenderStateRoot`s inside each other can result in extra renders
|
|
357
|
+
and potentially incorrect behavior. `RenderStateRoot` now throws if it
|
|
358
|
+
appears as a descendent of another `RenderStateRoot`.
|
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.
|
package/dist/es/index.js
CHANGED
|
@@ -79,12 +79,13 @@ const Text = React.forwardRef(function Text(_ref, ref) {
|
|
|
79
79
|
const isHeader = isHeaderRegex.test(Tag);
|
|
80
80
|
const styleAttributes = processStyleList([styles$1.text, isHeader && styles$1.header, style]);
|
|
81
81
|
const classNames = otherProps.className ? [otherProps.className, styleAttributes.className].join(" ") : styleAttributes.className;
|
|
82
|
-
return React.createElement(Tag, _extends({}, otherProps, {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
82
|
+
return (React.createElement(Tag, _extends({}, otherProps, {
|
|
83
|
+
style: styleAttributes.style,
|
|
84
|
+
className: classNames,
|
|
85
|
+
"data-testid": testId,
|
|
86
|
+
ref: ref
|
|
87
|
+
}), children)
|
|
88
|
+
);
|
|
88
89
|
});
|
|
89
90
|
|
|
90
91
|
const _excluded$1 = ["className", "style"];
|
|
@@ -295,7 +296,7 @@ const useOnMountEffect = callback => {
|
|
|
295
296
|
React.useEffect(() => {
|
|
296
297
|
const cleanup = callback(isMountedRef);
|
|
297
298
|
return () => {
|
|
298
|
-
cleanup == null
|
|
299
|
+
cleanup == null || cleanup();
|
|
299
300
|
isMountedRef.current = false;
|
|
300
301
|
};
|
|
301
302
|
}, []);
|
package/dist/index.js
CHANGED
|
@@ -106,12 +106,13 @@ const Text = React__namespace.forwardRef(function Text(_ref, ref) {
|
|
|
106
106
|
const isHeader = isHeaderRegex.test(Tag);
|
|
107
107
|
const styleAttributes = processStyleList([styles$1.text, isHeader && styles$1.header, style]);
|
|
108
108
|
const classNames = otherProps.className ? [otherProps.className, styleAttributes.className].join(" ") : styleAttributes.className;
|
|
109
|
-
return React__namespace.createElement(Tag, _extends__default["default"]({}, otherProps, {
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
109
|
+
return (React__namespace.createElement(Tag, _extends__default["default"]({}, otherProps, {
|
|
110
|
+
style: styleAttributes.style,
|
|
111
|
+
className: classNames,
|
|
112
|
+
"data-testid": testId,
|
|
113
|
+
ref: ref
|
|
114
|
+
}), children)
|
|
115
|
+
);
|
|
115
116
|
});
|
|
116
117
|
|
|
117
118
|
const _excluded$1 = ["className", "style"];
|
|
@@ -322,7 +323,7 @@ const useOnMountEffect = callback => {
|
|
|
322
323
|
React__namespace.useEffect(() => {
|
|
323
324
|
const cleanup = callback(isMountedRef);
|
|
324
325
|
return () => {
|
|
325
|
-
cleanup == null
|
|
326
|
+
cleanup == null || cleanup();
|
|
326
327
|
isMountedRef.current = false;
|
|
327
328
|
};
|
|
328
329
|
}, []);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@khanacademy/wonder-blocks-core",
|
|
3
|
-
"version": "12.
|
|
3
|
+
"version": "12.1.1",
|
|
4
4
|
"design": "v1",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -9,12 +9,8 @@
|
|
|
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.
|
|
13
|
+
"@babel/runtime": "^7.24.5"
|
|
18
14
|
},
|
|
19
15
|
"peerDependencies": {
|
|
20
16
|
"aphrodite": "^1.2.5",
|
|
@@ -24,9 +20,12 @@
|
|
|
24
20
|
"react-router-dom": "5.3.4"
|
|
25
21
|
},
|
|
26
22
|
"devDependencies": {
|
|
27
|
-
"@khanacademy/wb-dev-build-settings": "
|
|
28
|
-
"@khanacademy/wonder-blocks-testing-core": "
|
|
23
|
+
"@khanacademy/wb-dev-build-settings": "2.1.1",
|
|
24
|
+
"@khanacademy/wonder-blocks-testing-core": "2.1.1"
|
|
29
25
|
},
|
|
30
26
|
"author": "",
|
|
31
|
-
"license": "MIT"
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"scripts": {
|
|
29
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
|
30
|
+
}
|
|
32
31
|
}
|