Fábio Santos

Results 162 comments of Fábio Santos

This is one of those things that work with `var` but not `let` and `const`. Thanks for bringing it to my attention!

Very interesting. Thanks for reporting!

Thanks @jridgewell Not sure we want to fix this in that case. How did that space get in there?

I've been working with web based WYSIWYG editors lately and they generate that character sometimes, to work around contentEditable semantics. Maybe it was GitHub, or try.terser.org, or another editor you've...

It depends. But I've done work to remove weird characters before. For instance avoiding null-bytes by using an escape in regexps and strings to avoid breaking downstream stuff working with...

@evilebottnawi the fix is in 4.0.2. This PR is to put back the feature that created the issue in 4.0.1, as soon as mozilla/source-map#385 gets a fix.

NP @devversion but we won't be integrating the new source-map version. There's been talk on another issue, https://github.com/terser-js/terser/issues/385, regarding the fact that it isn't sync anymore. We have to use...

NP @devversion but we won't be integrating the new source-map version. There's been talk on another issue, https://github.com/terser-js/terser/issues/385, regarding the fact that it isn't sync anymore. We have to use...

NP @devversion but we won't be integrating the new source-map version. There's been talk on another issue, https://github.com/terser-js/terser/issues/385, regarding the fact that it isn't sync anymore. We have to use...

Bumped into this when adding ES6 support to UglifyJS. Had to insert an ugly string.replace. https://github.com/fabiosantoscode/terser/blob/master/test/mocha/spidermonkey.js#L146