@khanacademy/perseus-core 0.0.0-PR875-20250225011257 → 0.0.0-PR875-20250226205043

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/dist/index.js CHANGED
@@ -2449,7 +2449,7 @@ const parsePerseusRenderer = defaulted(object({
2449
2449
  const parsePerseusArticle = union(parsePerseusRenderer).or(array(parsePerseusRenderer)).parser;
2450
2450
 
2451
2451
  const parseHint = object({
2452
- replace: optional(boolean),
2452
+ replace: defaulted(boolean, () => undefined),
2453
2453
  content: string,
2454
2454
  widgets: defaulted(parseWidgetsMap, () => ({})),
2455
2455
  images: parseImages,