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

upgrade: swc, deno_doc, deno_lint, dprint #7793

Merged
merged 3 commits into from
Oct 2, 2020

Conversation

bartlomieju
Copy link
Member

No description provided.

Copy link
Member

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines +1033 to +1039
// FIXME(bartlomieju): had to add space in `<div>`, probably a quirk in swc_ecma_codegen
assert!(
h.cache_calls[0]
.2
.to_string()
.unwrap()
.contains("<div>Hello world!</div>"),
.contains("<div >Hello world!</div>"),
Copy link
Member Author

Choose a reason for hiding this comment

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

Little quirk I encountered; but it should still be ok to land.

Full output after transform:

export default class A {
    render() {
        return <div >Hello world!</div>;
    }
};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIjxodHRwczovL2Rlbm8ubGFuZC94L3RyYW5zcGlsZS50c3g+Il0sInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBkZWZhdWx0IGNsYXNzIEEge1xuICByZW5kZXIoKSB7XG4gICAgcmV0dXJuICg8ZGl2PkhlbGxvIHdvcmxkITwvZGl2Pik7XG4gIH1cbn1cbiJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoicUJBQUEsQ0FBQTtBQUNBLFVBQUE7Z0JBQ0EsR0FBQSxFQUFBLFlBQUEsRUFBQSxHQUFBIn0=

CC @kdy1 @kitsonk

Copy link

@kdy1 kdy1 Oct 2, 2020

Choose a reason for hiding this comment

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

@bartlomieju bartlomieju merged commit e5348a6 into denoland:master Oct 2, 2020
@bartlomieju bartlomieju deleted the update_crates branch October 2, 2020 11:51
JavascriptMick pushed a commit to JavascriptMick/deno that referenced this pull request Oct 5, 2020
Soremwar pushed a commit to Soremwar/deno that referenced this pull request Oct 6, 2020
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 21, 2021
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 24, 2021
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 24, 2021
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 24, 2021
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Jan 31, 2021
caspervonb pushed a commit to caspervonb/deno_std that referenced this pull request Feb 1, 2021
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