Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

build(deps-dev): bump prettier from 1.19.1 to 2.0.2 #266

Merged
merged 35 commits into from May 17, 2020

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Mar 23, 2020

Bumps prettier from 1.19.1 to 2.0.2.

Release notes

Sourced from prettier's releases.

2.0.2

馃敆 Changelog

2.0.1

馃敆 Changelog

2.0.0

diff

馃敆 Release Notes

Changelog

Sourced from prettier's changelog.

2.0.2

diff

2.0 regressions

JavaScript: Fix formatting of pseudo-elements and pseudo-classes in styled-components template literals (#7842 by @thorn0)

// Input
const Foo = styled.div`
  ${media.smallDown}::before {}
`;
// Prettier 2.0.0
const Foo = styled.div${media.smallDown}: : before{ };
// Prettier 2.0.2
const Foo = styled.div${media.smallDown}::before { };

TypeScript: Avoid trailing commas on index signatures with only one parameter (#7836 by @bakkot)

TypeScript index signatures technically allow multiple parameters and trailing commas, but it's an error to have multiple parameters there, and Babel's TypeScript parser does not accept them. So Prettier now avoids putting a trailing comma there when you have only one parameter.

// Input
export type A = {
  a?: {
    [
      x: string
    ]: typeof SomeLongLongLongTypeName[keyof typeof SomeLongLongLongTypeName];
  } | null;
};
// Prettier 2.0.0
export type A = {
a?: {
[
x: string,
]: typeof SomeLongLongLongTypeName[keyof typeof SomeLongLongLongTypeName];
} | null;
</tr></table> ... (truncated)

Commits
  • 607afd7 Release 2.0.2
  • cfb6166 update stable docs wrt npx
  • 58ac3b0 Revert "markdown: fix redundant leading spaces in markdown list" (#7847)
  • 8ec7bc2 fix formatting of pseudo-elements and pseudo-classes in styled-components (#7...
  • fac9ce0 mention npx in install docs
  • f0780f5 Bump eslint-config-prettier from 6.10.0 to 6.10.1 (#7840)
  • e0b65c3 Bump @babel/parser from 7.9.2 to 7.9.3 (#7839)
  • 91e81a1 [Security] Bump minimist from 1.2.0 to 1.2.5 in /website (#7838)
  • 34115cb Remove azure pipelines (#7824)
  • 54f907d Followup work on setup github actions (#7431)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by thorn0, a new releaser for prettier since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [prettier](https://github.com/prettier/prettier) from 1.19.1 to 2.0.2.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](prettier/prettier@1.19.1...2.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Mar 23, 2020
autoapproval[bot]
autoapproval bot previously approved these changes Mar 23, 2020
Copy link

@autoapproval autoapproval bot left a comment

Choose a reason for hiding this comment

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

Approved 馃憤

@dependabot-preview
Copy link
Contributor Author

A newer version of prettier exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@gitpod-io
Copy link

gitpod-io bot commented Apr 24, 2020

Copy link

@autoapproval autoapproval bot left a comment

Choose a reason for hiding this comment

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

Approved 馃憤

@matteovivona matteovivona merged commit f618e89 into master May 17, 2020
@matteovivona matteovivona deleted the dependabot/npm_and_yarn/prettier-2.0.2 branch May 17, 2020 12:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
autoapproved dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants