Skip to content

chore(deps-dev): bump prettier from 1.16.0 to 1.16.1#262

Merged
ikatyang merged 1 commit intomasterfrom
dependabot/npm_and_yarn/prettier-1.16.1
Jan 24, 2019
Merged

chore(deps-dev): bump prettier from 1.16.0 to 1.16.1#262
ikatyang merged 1 commit intomasterfrom
dependabot/npm_and_yarn/prettier-1.16.1

Conversation

@dependabot-preview
Copy link
Copy Markdown
Contributor

Bumps prettier from 1.16.0 to 1.16.1.

Release notes

Sourced from prettier's releases.

1.16.1

🔗 Changelog

Changelog

Sourced from prettier's changelog.

1.16.1

diff

  • JavaScript: Do not format functions with arguments as react hooks ([#5778] by [SimenB])

    The formatting added in Prettier 1.16 would format any function receiving an
    arrow function and an array literal to match React Hook's documentation.
    Prettier will now format this the same as before that change if the arrow
    function receives any arguments.

    // Input
    ["red", "white", "blue", "black", "hotpink", "rebeccapurple"].reduce(
      (allColors, color) => {
        return allColors.concat(color);
      },
      []
    );
    
    // Output (Prettier 1.16.0)
    ["red", "white", "blue", "black", "hotpink", "rebeccapurple"].reduce((
      allColors,
      color
    ) => {
      return allColors.concat(color);
    }, []);
    
    // Output (Prettier 1.16.1)
    ["red", "white", "blue", "black", "hotpink", "rebeccapurple"].reduce(
      (allColors, color) => {
        return allColors.concat(color);
      },
      []
    );
  • JavaScript: Add necessary parentheses for decorators ([#5785] by [ikatyang])

    Parentheses for decorators with nested call expressions are optional for legacy decorators
    but they're required for decorators in the current proposal.

    // Input
    class X {
      @(computed().volatile())
      prop
    }
... (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 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 cancel merge will cancel a previously requested merge
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot ignore this [patch|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 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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

@dependabot-preview dependabot-preview Bot added the dependencies Pull requests that update a dependency file label Jan 23, 2019
@ikatyang ikatyang merged commit 0849718 into master Jan 24, 2019
@ikatyang ikatyang deleted the dependabot/npm_and_yarn/prettier-1.16.1 branch January 24, 2019 04:30
@alexjoverm
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.18.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants