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: discard more bad source map positions #3

Merged
merged 1 commit into from
Aug 31, 2016

Conversation

sdd
Copy link
Contributor

@sdd sdd commented Aug 30, 2016

Restore code that was introduced in nyc 6.5.0 to handle bad source map locations. This fix was originally introduced into nyc's lib/source-map-cache.js, but when nyc transitioned to using istanbul-lib-source-maps this fix went astray.

see original PR: istanbuljs/nyc#255

Restore code that was introduced in nyc 6.5.0 to handle bad source map locations. This fix was originally introduced into nyc's lib/source-map-cache.js, but when nyc transitioned to using istanbul-lib-source-maps this fix went astray.

see original PR: istanbuljs/nyc#255
@yahoocla
Copy link

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! 😄

@yahoocla
Copy link

CLA is valid!

@bcoe
Copy link

bcoe commented Aug 30, 2016

@sc0ttyd seems like a reasonable safety to pull back in, mind adding a test?

@sdd
Copy link
Contributor Author

sdd commented Aug 31, 2016

Sure, will do.

@sdd
Copy link
Contributor Author

sdd commented Aug 31, 2016

Having looked at the code, literally nothing in transformer.js is tested (nor, for that matter, are the source-store.js, pathutils.js, or map-store.js files). Whilst I would actually be happy to take this task on in my spare time, I need this PR urgently for a fix for a problem that has shown up in my build pipeline. If you could merge this now, I'll be happy to add tests in my spare time for you?

@bcoe
Copy link

bcoe commented Aug 31, 2016

@sc0ttyd deal.

@bcoe bcoe merged commit ed7b27f into istanbuljs-archived-repos:master Aug 31, 2016
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.

3 participants