tc39 / eshost

A uniform wrapper around a multitude of ECMAScript hosts. CLI: https://github.com/bterlson/eshost-cli
Other
142 stars 37 forks source link

[node] Escape all valid line terminators #66

Closed jugglinmike closed 6 years ago

leobalter commented 6 years ago

The PR # seems accurate for this sort of bug. I'm glad it's being fixed.

jugglinmike commented 6 years ago

Thanks, Leo. Note that this will be rendered unnecessary by the Subsume JSON extension slated for ES2019 (thanks, @mathiasbynens!), but this will be necessary to support Node.js until that's shipped.

mathiasbynens commented 6 years ago

Kudos to @gibson042 for authoring the proposal in the first place!

rwaldron commented 6 years ago

Excellent