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

Update source-map dependency. #751

Merged
merged 2 commits into from
Feb 19, 2018
Merged

Conversation

alexeagle
Copy link
Contributor

This is needed to pick up the fix for mozilla/source-map#273

Closes #750

* This interface was defined in @types/source-map but is absent from the typings
* distributed in the source-map package.
* Copied from https://unpkg.com/@types/source-map@0.5.2/index.d.ts
* see https://github.com/angular/tsickle/issues/750
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leave a TODO with instructions on how to fix eventually?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think there's any action to take, probably not worth making a fix upstream for their typings? Maybe they prefer these APIs be undocumented. I'll open an issue at least...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I'm wrong, mozilla/source-map@7c06ac8#diff-7945f6bb445d956794564e098ef20bb3 adds the toJSON method among other things.
However that's only in the 0.7 release which adds more breaking changes, eg. the SourceMapConsumer constructor is now a sync (???)
So I think we should land this, I'll update the comments.

@alexeagle alexeagle force-pushed the source-map branch 2 times, most recently from 4672557 to ab40524 Compare February 19, 2018 17:19
@alexeagle alexeagle merged commit 95299e9 into angular:master Feb 19, 2018
@alexeagle alexeagle deleted the source-map branch February 19, 2018 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update source-map dependency
3 participants