Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix read_source_map inline bug #3294

Closed
wants to merge 2 commits into from
Closed

fix read_source_map inline bug #3294

wants to merge 2 commits into from

Conversation

LongTengDao
Copy link

  1. The previous regExp may match a map-like string or otherthings before the real inline map, which must in the end of the file. And,
  2. The eol in javascript is not only \n, but also \r \u2028 \u2029, and even no eol before (start of the file).

1.  The previous regExp may match a map-like string or otherthings before the real inline map, which must in the end of the file. And,
2. The eol in javascript is not only `\n`, but also `\r` `\u2028` `\u2029`, and even no eol before (start of the file).
@LongTengDao
Copy link
Author

@alexlamsl Hello, would you merge this or point the problem in this PR? Thanks!

alexlamsl added a commit to alexlamsl/UglifyJS that referenced this pull request May 4, 2019
alexlamsl added a commit to alexlamsl/UglifyJS that referenced this pull request May 4, 2019
alexlamsl added a commit to alexlamsl/UglifyJS that referenced this pull request May 4, 2019
alexlamsl added a commit to alexlamsl/UglifyJS that referenced this pull request May 4, 2019
alexlamsl added a commit to alexlamsl/UglifyJS that referenced this pull request May 4, 2019
alexlamsl added a commit that referenced this pull request May 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant