Commit bc1fdc8
Fix: downgrade chai to v5 and react-to-print to v2 for compatibility (#38)
- chai@6 breaks on Node.js 22 due to EventTarget.dispatchEvent incompatibility
(PluginEvent is not an instance of the built-in Event class)
- react-to-print@3 removed the ReactToPrint component and PrintContextConsumer
in favor of the useReactToPrint hook; downgrade to v2 keeps existing usage intact
All 233 tests pass.
Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
Co-authored-by: Lee Calcote <lee.calcote@layer5.io>1 parent 7fbe253 commit bc1fdc8
2 files changed
+66
-11
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
0 commit comments