Original PR: https://github.com/veggiemonk/awesome-docker/pull/842 Author: @renovate[bot] Created: 4/5/2020 Status: ✅ Merged Merged: 4/6/2020 Merged by: @veggiemonk
Base: master ← Head: renovate/prettier-2.x
master
renovate/prettier-2.x
8800d78
2 files changed (+4 additions, -4 deletions)
📝 package-lock.json (+3 -3) 📝 package.json (+1 -1)
package-lock.json
package.json
This PR contains the following updates:
2.0.2
2.0.3
v2.0.3
Compare Source
diff
prettier-ignore
// Input <div> { /* prettier-ignore */ x ? <Y/> : <Z/> } </div>; // Prettier 2.0.2 (first output) <div> {/* prettier-ignore */ x ? <Y/> : <Z/>} </div>; // Prettier 2.0.2 (second output) <div>{/* prettier-ignore */ x ? <Y/> : <Z/>}</div>; // Prettier 2.0.3 <div> { /* prettier-ignore */ x ? <Y/> : <Z/> } </div>;
// Input const Icon = styled.div` background: var(--${background}); ${Link}:not(:first-child) { fill: rebeccapurple; } `; // Prettier 2.0.2 const Icon = styled.div` background: var(-- ${background}); ${Link}:not (:first-child) { fill: rebeccapurple; } `; // Prettier 2.0.3 const Icon = styled.div` background: var(--${background}); ${Link}:not(:first-child) { fill: rebeccapurple; } `;
// Input export const IAmIncredibleLongFunctionName = IAmAnotherFunctionName(<CRLF> (_0: IAmIncredibleLongParameterType) => {<CRLF> setTimeout(() => {<CRLF> /*<CRLF> Multiline comment<CRLF> Multiline comment<CRLF> Multiline comment<CRLF> */<CRLF> console.log(<CRLF> "Multiline string\<CRLF> Multiline string\<CRLF> Multiline string"<CRLF> );<CRLF> });<CRLF> }<CRLF> );<CRLF> // Prettier 2.0.2 export const IAmIncredibleLongFunctionName = IAmAnotherFunctionName(<CRLF> (_0: IAmIncredibleLongParameterType) => {<CRLF> setTimeout(() => {<CRLF> /*<LF> Multiline comment<LF> Multiline comment<LF> Multiline comment<LF> */<CRLF> console.log(<CRLF> "Multiline string\<LF> Multiline string\<LF> Multiline string"<CRLF> );<CRLF> });<CRLF> }<CRLF> );<CRLF> // Prettier 2.0.3: same as input
// Input new Test() .test() .test([, 0]) .test(); // Prettier 2.0.2 [error] in.js: TypeError: Cannot read property 'type' of null // Prettier 2.0.3 new Test().test().test([, 0]).test();
// Input const value = thisIsAnIdentifier as ThisIsAReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyLongInterface; // Prettier 2.0.2 const value = thisIsAnIdentifier as ThisIsAReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyLongInterface; // Prettier 2.0.3 const value = thisIsAnIdentifier as ThisIsAReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyLongInterface;
// Input type Foo = { // comment ..., }; // Prettier 2.0.2 Error: Comment "comment" was not printed. Please report this error! // Prettier 2.0.3 type Foo = { // comment ..., };
// Input type T = { [string]: number, ..., } type T = { // comment ..., } // Prettier 2.0.2 type T = { [string]: number, ..., } type T = { // comment ..., } // Prettier 2.0.3 type T = { [string]: number, ... } type T = { // comment ... }
<!-- Input--> <!--prettier-ignore--><span></span> <!--prettier-ignore--><span>_</span> <!-- Prettier 2.0.2 (first output) --> <!--prettier-ignore--><span ></span> <!--prettier-ignore--><span>_</span> <!-- Prettier 2.0.2 (second output) --> <!--prettier-ignore--><span ></span> <!--prettier-ignore--><span>_</span> <!-- Prettier 2.0.3 --> <!--prettier-ignore--><span></span> <!--prettier-ignore--><span>_</span>
script
style
<!-- Input --> <with:colon> <script>function foo(){ return 1}</script> <style>a {color: #f00}</style> </with:colon> <!-- Prettier 2.0.2 --> <with:colon> <script> function foo(){ return 1} </script> <style> a {color: #f00} </style> </with:colon> <!-- Prettier 2.0.3 --> <with:colon> <script> function foo() { return 1; } </script> <style> a { color: #f00; } </style> </with:colon>
require.resolve
isSCSS
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
No dependencies set.
The note is not visible to the blocked user.
📋 Pull Request Information
Original PR: https://github.com/veggiemonk/awesome-docker/pull/842
Author: @renovate[bot]
Created: 4/5/2020
Status: ✅ Merged
Merged: 4/6/2020
Merged by: @veggiemonk
Base:
master← Head:renovate/prettier-2.x📝 Commits (1)
8800d78Update dependency prettier to v2.0.3📊 Changes
2 files changed (+4 additions, -4 deletions)
View changed files
📝
package-lock.json(+3 -3)📝
package.json(+1 -1)📄 Description
This PR contains the following updates:
2.0.2->2.0.3Release Notes
prettier/prettier
v2.0.3Compare Source
diff
JavaScript
Fix
prettier-ignoreinside JSX (#7877 by @fisker)Fix regressions in styled-components template literals (#7883 by @thorn0)
Fix: line endings were not always converted properly in multiline strings and comments (#7891 by @sidharthv96)
Fix bug with holes in array literals (#7911 by @bakkot)
TypeScript
Wrap TSAsExpression (#7869 by @sosukesuzuki)
Flow
Print dangling comments for inexact object type (#7892 by @sosukesuzuki)
Do not add comma for explicit inexact object with indexer property or no properties (#7923 by @DmitryGonchar)
HTML
Fix printing of ignored empty inline elements (#7867 by @fisker)
Format
scriptandstyleinside tags with a colon in the name (#7916 by @fisker)Other changes
require.resolvein prettier-vscode (#7951 by @thorn0)isSCSSregex (#7922 by @fisker)Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.