Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump prettier from 1.15.3 to 1.16.1 #5354

Merged
merged 10 commits into from
Jan 24, 2019

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Jan 24, 2019

Bumps prettier from 1.15.3 to 1.16.1.

Release notes

Sourced from prettier's releases.

1.16.1

🔗 Changelog

Prettier 1.16: HTML improvements and better CRLF handling

🔗 Release Notes

Changelog

Sourced from prettier's changelog.

1.16.1

diff

  • JavaScript: Do not format functions with arguments as react hooks ([Cannot import umd/commonjs bundle in stories #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 ([Fix welcome component to work with dark theme #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 requested a review from igor-dv as a code owner January 24, 2019 05:25
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/prettier-1.16.1 branch from 086662c to a464218 Compare January 24, 2019 08:59
@dependabot-preview dependabot-preview bot force-pushed the dependabot/npm_and_yarn/prettier-1.16.1 branch from a464218 to 8d535ce Compare January 24, 2019 09:02
@ndelangen ndelangen self-assigned this Jan 24, 2019
@dependabot-preview dependabot-preview bot requested a review from kazupon as a code owner January 24, 2019 18:21
@codecov
Copy link

codecov bot commented Jan 24, 2019

Codecov Report

Merging #5354 into next will increase coverage by 0.03%.
The diff coverage is 45%.

Impacted file tree graph

@@            Coverage Diff             @@
##             next    #5354      +/-   ##
==========================================
+ Coverage   30.29%   30.33%   +0.03%     
==========================================
  Files         622      623       +1     
  Lines        9043     9040       -3     
  Branches     1239     1256      +17     
==========================================
+ Hits         2740     2742       +2     
+ Misses       5640     5635       -5     
  Partials      663      663
Impacted Files Coverage Δ
...toryshots-core/src/frameworks/angular/app.token.ts 0% <ø> (ø)
app/angular/src/demo/welcome.component.ts 0% <ø> (ø) ⬆️
...shots-core/src/frameworks/angular/app.component.ts 0% <ø> (ø) ⬆️
lib/addons/src/index.ts 0% <ø> (ø) ⬆️
addons/notes/src/Panel.tsx 0% <ø> (ø) ⬆️
addons/storysource/src/loader/generate-helpers.js 91.66% <ø> (ø) ⬆️
.../storyshots-core/src/frameworks/angular/helpers.ts 0% <0%> (ø) ⬆️
lib/ui/src/keyboard/keyCodes.ts 0% <0%> (ø) ⬆️
lib/ui/src/keyboard/scanCode.ts 0% <0%> (ø) ⬆️
lib/channel-websocket/src/index.ts 0% <0%> (ø) ⬆️
... and 6 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4295c2f...8b17966. Read the comment docs.

@ndelangen ndelangen merged commit e8cdeb6 into next Jan 24, 2019
@ndelangen ndelangen deleted the dependabot/npm_and_yarn/prettier-1.16.1 branch January 24, 2019 19:16
@ndelangen ndelangen added this to the v5.0.0 milestone Jan 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants