mathiasbynens / jsesc

Given some data, jsesc returns the shortest possible stringified & ASCII-safe representation of that data.
https://mths.be/jsesc
MIT License
718 stars 49 forks source link

Escape lone surrogates in minimal output #59

Closed jridgewell closed 4 years ago

mathiasbynens commented 4 years ago

Sorry, I was too excited to merge this. src/jsesc.js needs to be updated, /jsesc.js is generated based on that. Unfortunately when I apply the changes there, rebuild and test, some tests fail. Could you PTAL, @jridgewell?

mathiasbynens commented 4 years ago

I’ll make some time tomorrow to fix the CI etc.