stylis
stylis copied to clipboard
Update Tokenizer.js
Fix Can not read properties undefined (reading 'push')
This feels like a bandaid for some deeper problem. We need to diagnose the deeper problem and we need a test case to be added to the fixing PR, one that would fail without the proposed patch.
Thanks for the review, then we are waiting to find out the root cause and fix.
I experienced this error as well on 4.3.0. As a note to others, downgrading stylis to 4.2.0 fixed it for me
@CodingItWrong please share a repro case of the problem. We can't fix the issue without being able to diagnose it
@Andarist Unfortunately this code is running in the context of many layers of setup done by other team members and of proprietary client code. I understand not having a repro case blocks diagnosis, but it's not something I'm able to provide.