Skip to content
This repository has been archived by the owner on Feb 23, 2021. It is now read-only.

Bump prettier from 1.5.2 to 1.12.1 #261

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link

Bumps prettier from 1.5.2 to 1.12.1.

Release notes

Sourced from prettier's releases.

Prettier 1.12: Fixes, Features, and Formatting, Oh My!

🔗 Release Notes

Prettier 1.11: CSS fixes and new TypeScript feature support

🔗 Release Notes

1.11.0-rc.1

No release notes provided.

1.10: One Year of Prettier 🎂

🔗 Release Notes

1.9.1

Changelog

1.9.0: JSX Fragments, EditorConfig and Arrow Parens

image

This release adds an option for arrow function parens in arguments, support for the new JSX fragment syntax (<>), support for .editorconfig files, and nice additions to our GraphQL and Markdown support.

Highlights

JavaScript

Option to add parens in arrow function arguments (#3324) by rattrayalex and suchipi

When printing arrow functions, Prettier omitted parens around the arguments if they weren’t strictly necessary, like so:

// no parens
foo => {};

// parens
(foo: Number) => {};

// parens
({ foo }) => {}

// parens
(foo = 5) => {}

This lead to the most commented thread in our issue tracker. Prettier now has the --arrow-parens option (arrowParens in the config) that can assume two values today:

  • "avoid" - (default) preserve the behavior that omits parens when possible
  • "always" - always includes parens

JSX fragment syntax (#3237) by duailibe

Prettier will now recognize and format JSX with the new fragment syntax, like the code below:

... (truncated)
Changelog

Sourced from prettier's changelog.

1.12.1

link

  • Fix for tag being removed from CSS with embedded expressions (#4302)
  • Wrap awaits in unary expressions with parens (#4315)
  • Fix style regression on flow union types (#4325)

1.12.0

link

1.11.1

link

  • 1.11.0 was incorrectly shipped with the wrong version of the TypeScript parser, which broke conditional types. This release fixes it.
  • Fixed an issue relating to deprecated parsers (#4072)

1.11.0

link

1.10.2

link

  • Fixed an issue printing .vue files with self-closing tags. (#3705 by duailibe)

1.10.1

link

  • Fixed an issue where the CLI fails to resolve a file.

1.10.0

link

1.9.2

link

  • Fixed trailing comma not being printed in function calls if the last arg was an arrow (#3428 by duailibe)
... (truncated)
Commits

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 ignore this [minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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 [this|these] label[s] will set the current labels as the default for future PRs for this repo and language

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

  • Update frequency (including time of day and day of week)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant