Skip to content

Commit ff2f166

Browse files
authored
Update @khanacademy/mathjax-renderer peer dep to 3.0.0 (#2522)
## Summary: This silences some warnings about incorrect peer deps when installing packages in webapp. The choice of 2.1.1 vs. 3.0.0 isn't relevant for Perseus (we don't use any of the changed APIs) so perhaps we could have used a version range like `2.1.1 - 3`. However, that is not necessarily forward-compatible, since Perseus might someday add features that depend on 3.x.x-only APIs. Dependency management is hard. Issue: none ## Test plan: CI should pass. Author: benchristel Reviewers: jeremywiebe, handeyeco Required Reviewers: Approved By: jeremywiebe Checks: ✅ 8 checks were successful Pull Request URL: #2522
1 parent 1eaf969 commit ff2f166

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.changeset/long-dolls-run.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"@khanacademy/math-input": major
3+
"@khanacademy/perseus-editor": major
4+
---
5+
6+
Breaking change: version `^3.0.0` of `@khanacademy/mathjax-renderer` is now
7+
required as a peer dep, instead of `^2.1.1`. Clients should update
8+
`@khanacademy/mathjax-renderer` at their convenience; nothing will immediately
9+
break if you stay on 2.x.x for now.

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ catalog:
1313
tiny-invariant: ^1.3.1
1414
underscore: ^1.4.4
1515
vite: 5.1.0
16-
"@khanacademy/mathjax-renderer": ^2.1.1
16+
"@khanacademy/mathjax-renderer": ^3.0.0
1717
"@khanacademy/wonder-blocks-accordion": 3.1.14
1818
"@khanacademy/wonder-blocks-banner": 4.1.16
1919
"@khanacademy/wonder-blocks-button": 10.0.1

0 commit comments

Comments
 (0)