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

downgrading source-map-url #54

Merged
merged 1 commit into from
Jul 18, 2018
Merged

downgrading source-map-url #54

merged 1 commit into from
Jul 18, 2018

Conversation

ef4
Copy link
Owner

@ef4 ef4 commented Jul 18, 2018

Version 0.4.0 introduces a feature that tries to look for URLs in non-terminal position, but the regex is too broad and it can result in syntax errors.

The upstream package hasn't been touched in three years, and we've been relying on 0.3.0 for a long time, so I think it's safe to just go back to that.

Version 0.4.0 introduces a feature that tries to look for URLs in non-terminal position, but the regex is too broad and it can result in syntax errors.
@stefanpenner
Copy link
Collaborator

can you add a test for this, so it doesn't get bumped again in the future when we forget?

@stefanpenner stefanpenner deleted the downgrade-source-map-url branch July 18, 2018 15:49
@ef4
Copy link
Owner Author

ef4 commented Jul 18, 2018

Yeah, that or I will fix upstream, and adopt if the maintainer isn't around (no idea -- the package hasn't been touched, but that could just be because it's simple and stable).

@ef4
Copy link
Owner Author

ef4 commented Jul 18, 2018

My use case is slightly weird: the sourceMap url that's getting broken is inside an eval'd string.

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.

2 participants