Some but not all JS raw (precompiled) grammars lead to incorrect highlighting. Examples where this is happening include python, html, perl, and yaml.
Compare the following two screenshots for highlighting Shiki's Python sample:
Using the WASM or JS engine (correct)

Using the JS Raw engine with the precompiled grammar (incorrect)

This gives the same broken result for Python with all the versions I tested (Shiki 2.3.1, 2.3.0, 2.2.0, and 2.0.3).
Some but not all JS raw (precompiled) grammars lead to incorrect highlighting. Examples where this is happening include
python,html,perl, andyaml.Compare the following two screenshots for highlighting Shiki's Python sample:
Using the WASM or JS engine (correct)
Using the JS Raw engine with the precompiled grammar (incorrect)
This gives the same broken result for Python with all the versions I tested (Shiki 2.3.1, 2.3.0, 2.2.0, and 2.0.3).