GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Update dependency prettier to v2.0.4 by renovate-bot · Pull Request #1707 · GoogleCloudPlatform/nodejs-docs-samples

Conversation

@renovate-bot

@renovate-bot renovate-bot commented Apr 5, 2020 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
prettier (source) devDependencies patch 2.0.2 -> 2.0.4

Release Notes

prettier/prettier

v2.0.4

Compare Source

diff

Revert #​7869, "[TypeScript] format TSAsExpression with same logic as BinaryExpression" (#​7958)

v2.0.3

Compare Source

diff

JavaScript
Fix prettier-ignore inside JSX (#​7877 by @​fisker)
// 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>;
Fix regressions in styled-components template literals (#​7883 by @​thorn0)
// 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;
  }
`;
Fix: line endings were not always converted properly in multiline strings and comments (#​7891 by @​sidharthv96)
// 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
Fix bug with holes in array literals (#​7911 by @​bakkot)
// 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();
TypeScript
Wrap TSAsExpression (#​7869 by @​sosukesuzuki)
// Input
const value = thisIsAnIdentifier as ThisIsAReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyLongInterface;

// Prettier 2.0.2
const value = thisIsAnIdentifier as ThisIsAReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyLongInterface;

// Prettier 2.0.3
const value =
  thisIsAnIdentifier as
  ThisIsAReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyReallyLongInterface;
Flow
Print dangling comments for inexact object type (#​7892 by @​sosukesuzuki)
// 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
  ...,
};
Do not add comma for explicit inexact object with indexer property or no properties (#​7923 by @​DmitryGonchar)
// 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
  ...
}
HTML
Fix printing of ignored empty inline elements (#​7867 by @​fisker)
<!-- 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>
Format script and style inside tags with a colon in the name (#​7916 by @​fisker)
<!-- 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>
Other changes
  • Workaround for require.resolve in prettier-vscode (#​7951 by @​thorn0)
  • Fix unstable Angular expression binding (#​7924 by @​fisker)
  • Update isSCSS regex (#​7922 by @​fisker)
  • Fix formatting of empty files (#​7921 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 is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by WhiteSource Renovate. View repository job log here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@renovate-bot
renovate-bot requested a review from nnegrey as a code owner April 5, 2020 22:30
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 5, 2020
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:run Add this label to force Kokoro to re-run the tests. label Apr 5, 2020
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Apr 5, 2020
@renovate-bot
renovate-bot force-pushed the renovate/prettier-2.x branch from 2f934b5 to 449fde6 Compare April 6, 2020 13:46
@renovate-bot renovate-bot changed the title Update dependency prettier to v2.0.3 Update dependency prettier to v2.0.4 Apr 6, 2020
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:run Add this label to force Kokoro to re-run the tests. label Apr 6, 2020
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Apr 6, 2020
nnegrey
nnegrey approved these changes Apr 6, 2020
View reviewed changes
@renovate-bot
Update dependency prettier to v2.0.4
8b3fd95
@renovate-bot
renovate-bot force-pushed the renovate/prettier-2.x branch from 449fde6 to 8b3fd95 Compare April 6, 2020 19:01
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:run Add this label to force Kokoro to re-run the tests. label Apr 6, 2020
fhinkel
fhinkel requested changes Apr 6, 2020
View reviewed changes

@fhinkel fhinkel left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

@nnegrey Can we change the dependency to "^2.0.0" so we don't have to manually update for every patch and minor? Thanks

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Apr 6, 2020
@nnegrey

nnegrey commented Apr 6, 2020

Copy link
Copy Markdown
Contributor

Sure.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@nnegrey
Update package.json
399ed3c
@trusted-contributions-gcf trusted-contributions-gcf Bot added the kokoro:run Add this label to force Kokoro to re-run the tests. label Apr 6, 2020
@kokoro-team kokoro-team removed the kokoro:run Add this label to force Kokoro to re-run the tests. label Apr 6, 2020
@forking-renovate

forking-renovate Bot commented Apr 6, 2020

Copy link
Copy Markdown

PR has been edited

👷 This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

fhinkel
fhinkel approved these changes Apr 8, 2020
View reviewed changes
@fhinkel
fhinkel merged commit f45ed2e into GoogleCloudPlatform:master Apr 8, 2020
@renovate-bot
renovate-bot deleted the renovate/prettier-2.x branch April 8, 2020 17:43
This was referenced Nov 17, 2020
[Snyk] Security upgrade yargs from 13.3.2 to 16.0.0 pedroarapua/nodejs-docs-samples-gcp#215
Open
[Snyk] Security upgrade yargs from 8.0.2 to 16.0.0 ninadhatkar/nodejs-docs-samples#39
Open
[Snyk] Security upgrade yargs from 12.0.5 to 16.0.0 leejh3224/nodejs-docs-samples#268
Open
[Snyk] Security upgrade yargs from 10.0.3 to 16.0.0 ninadhatkar/nodejs-docs-samples#40
Open
[Snyk] Security upgrade yargs from 15.4.1 to 16.0.0 Matthelonianxl/nodejs-docs-samples#64
Open
[Snyk] Security upgrade yargs from 8.0.2 to 16.0.0 ninadhatkar/nodejs-docs-samples#41
Open
[Snyk] Security upgrade yargs from 8.0.2 to 16.0.0 ninadhatkar/nodejs-docs-samples#42
Open
[Snyk] Security upgrade yargs from 15.4.1 to 16.0.0 Matthelonianxl/nodejs-docs-samples#65
Open
This was referenced Nov 18, 2020
[Snyk] Security upgrade yargs from 6.6.0 to 16.0.0 enterstudio/nodejs-docs-samples#431
Open
[Snyk] Security upgrade yargs from 12.0.5 to 16.0.0 leejh3224/nodejs-docs-samples#275
Open
[Snyk] Security upgrade yargs from 9.0.1 to 16.0.0 ninadhatkar/nodejs-docs-samples#46
Open
[Snyk] Security upgrade yargs from 15.4.1 to 16.0.0 Matthelonianxl/nodejs-docs-samples#75
Open
[Snyk] Security upgrade yargs from 6.6.0 to 16.0.0 enterstudio/nodejs-docs-samples#434
Open
[Snyk] Security upgrade yargs from 15.4.1 to 16.0.0 Matthelonianxl/nodejs-docs-samples#76
Open
[Snyk] Security upgrade yargs from 13.3.2 to 16.0.0 pedroarapua/nodejs-docs-samples-gcp#221
Open
[Snyk] Security upgrade yargs from 6.6.0 to 16.0.0 enterstudio/nodejs-docs-samples#435
Open
[Snyk] Security upgrade yargs from 13.3.2 to 16.0.0 pedroarapua/nodejs-docs-samples-gcp#222
Open
[Snyk] Security upgrade yargs from 6.6.0 to 16.0.0 enterstudio/nodejs-docs-samples#436
Open
[Snyk] Security upgrade yargs from 12.0.5 to 16.0.0 leejh3224/nodejs-docs-samples#276
Open
[Snyk] Security upgrade yargs from 8.0.2 to 16.0.0 ninadhatkar/nodejs-docs-samples#47
Open
[Snyk] Security upgrade yargs from 8.0.2 to 16.0.0 ninadhatkar/nodejs-docs-samples#48
Open
[Snyk] Security upgrade yargs from 6.6.0 to 16.0.0 enterstudio/nodejs-docs-samples#437
Open
[Snyk] Security upgrade yargs from 13.3.2 to 16.0.0 pedroarapua/nodejs-docs-samples-gcp#223
Open
[Snyk] Security upgrade yargs from 13.3.2 to 16.0.0 pedroarapua/nodejs-docs-samples-gcp#224
Open
[Snyk] Security upgrade yargs from 9.0.1 to 16.0.0 ninadhatkar/nodejs-docs-samples#49
Open
[Snyk] Security upgrade yargs from 6.6.0 to 16.0.0 enterstudio/nodejs-docs-samples#438
Open
[Snyk] Security upgrade yargs from 13.3.2 to 16.0.0 pedroarapua/nodejs-docs-samples-gcp#225
Open
[Snyk] Security upgrade yargs from 6.6.0 to 16.0.0 enterstudio/nodejs-docs-samples#439
Open
[Snyk] Security upgrade yargs from 13.3.2 to 16.0.0 pedroarapua/nodejs-docs-samples-gcp#226
Open
[Snyk] Security upgrade yargs from 12.0.5 to 16.0.0 leejh3224/nodejs-docs-samples#277
Open
[Snyk] Security upgrade yargs from 12.0.5 to 16.0.0 leejh3224/nodejs-docs-samples#278
Open
[Snyk] Security upgrade yargs from 8.0.2 to 16.0.0 ninadhatkar/nodejs-docs-samples#50
Open
[Snyk] Security upgrade yargs from 10.0.3 to 16.0.0 ninadhatkar/nodejs-docs-samples#51
Open
@pedroarapua pedroarapua mentioned this pull request Jul 6, 2023
[Snyk] Security upgrade @google-cloud/firestore from 1.3.0 to 6.0.0 pedroarapua/nodejs-docs-samples-gcp#414
Open
@leejh3224 leejh3224 mentioned this pull request Jul 6, 2023
[Snyk] Security upgrade @google-cloud/firestore from 0.19.0 to 6.0.0 leejh3224/nodejs-docs-samples#607
Open
@dlminvestments dlminvestments mentioned this pull request Jul 6, 2023
[Snyk] Security upgrade @google-cloud/firestore from 4.15.1 to 6.0.0 dlminvestments/nodejs-docs-samples#446
Merged
@aqualen aqualen mentioned this pull request Jul 7, 2023
[Snyk] Security upgrade @google-cloud/firestore from 4.15.1 to 6.0.0 aqualen/nodejs-docs-samples#114
Open
@pedroarapua pedroarapua mentioned this pull request Jul 7, 2023
[Snyk] Security upgrade @google-cloud/firestore from 1.3.0 to 6.0.0 pedroarapua/nodejs-docs-samples-gcp#424
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@fhinkel fhinkel fhinkel approved these changes
+1 more reviewer
@nnegrey nnegrey nnegrey approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

5 participants

@renovate-bot @nnegrey @fhinkel @googlebot @kokoro-team
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.