day8 / re-frame-10x

A debugging dashboard for re-frame. X-ray vision as tooling.
MIT License
632 stars 68 forks source link

[Bug]: Version 1.1.13 not compatible with highlight.js 11.1.0 #318

Closed P233 closed 1 year ago

P233 commented 3 years ago

What happened?

After upgrading re-frame-10x to version 1.1.13 and highlight.js to 11.1.0, when the mouse hovers over on a traced function, I got the following warning message in the console, and the function name is no longer highlighted in the code box.

Screen Shot 2021-07-30 at 1 00 56 AM

Downgrade highlight.js to 10.7.2, works fine again.

10x Version

1.1.13

Reagent Version

1.1.0

React Version

17.0.2

re-frame Version

1.2.0

What browsers are you seeing the problem on?

Firefox, Chrome, Microsoft Edge

Relevant console output

No response

kimo-k commented 1 year ago

Highlight.js dependency is removed in 1.8