no-context / moo

Optimised tokenizer/lexer generator! 🐄 Uses /y for performance. Moo.
BSD 3-Clause "New" or "Revised" License
814 stars 65 forks source link

Fix CSP blocking issue by #172

Closed bbroereES closed 2 years ago

bbroereES commented 2 years ago

In relation to this issue 141.

nathan commented 2 years ago

Seems like Map is vastly faster, so we should probably use that and fall back to Object.create if the UA is old.

tjvr commented 2 years ago

This has now been fixed! Thanks anyway :+1: