[PR #525] [MERGED] Bump prettier from 1.16.0 to 1.16.1 #839

Closed
opened 2026-03-03 14:40:59 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lipis/flag-icons/pull/525
Author: @dependabot-preview[bot]
Created: 1/23/2019
Status: Merged
Merged: 1/23/2019
Merged by: @dependabot-preview[bot]

Base: masterHead: dependabot/npm_and_yarn/prettier-1.16.1


📝 Commits (1)

  • 858e848 Bump prettier from 1.16.0 to 1.16.1

📊 Changes

2 files changed (+5 additions, -5 deletions)

View changed files

📝 package.json (+1 -1)
📝 yarn.lock (+4 -4)

📄 Description

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.

If all status checks pass Dependabot will automatically merge this pull request.


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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/lipis/flag-icons/pull/525 **Author:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Created:** 1/23/2019 **Status:** ✅ Merged **Merged:** 1/23/2019 **Merged by:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/prettier-1.16.1` --- ### 📝 Commits (1) - [`858e848`](https://github.com/lipis/flag-icons/commit/858e848e7775ac3848c5b80c68ac754dca59e8be) Bump prettier from 1.16.0 to 1.16.1 ### 📊 Changes **2 files changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `package.json` (+1 -1) 📝 `yarn.lock` (+4 -4) </details> ### 📄 Description Bumps [prettier](https://github.com/prettier/prettier) from 1.16.0 to 1.16.1. <details> <summary>Release notes</summary> *Sourced from [prettier's releases](https://github.com/prettier/prettier/releases).* > ## 1.16.1 > 🔗 [**Changelog**](https://github.com/prettier/prettier/blob/master/CHANGELOG.md#1161) </details> <details> <summary>Changelog</summary> *Sourced from [prettier's changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md).* > # 1.16.1 > > [diff](https://github.com/prettier/prettier/compare/1.16.0...1.16.1) > > - JavaScript: Do not format functions with arguments as react hooks ([#5778] by [[**SimenB**](https://github.com/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. > > <!-- prettier-ignore --> > ```js > // 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**](https://github.com/ikatyang)]) > > Parentheses for decorators with nested call expressions are optional for legacy decorators > but they're required for decorators in the current [proposal](https://tc39.github.io/proposal-decorators/#sec-syntax). > > <!-- prettier-ignore --> > ```js > // Input > class X { > @(computed().volatile()) > prop > } ></tr></table> ... (truncated) </details> <details> <summary>Commits</summary> - [`0274f9c`](https://github.com/prettier/prettier/commit/0274f9ca420208fdd0766899cc6377dc4bf158a5) Release 1.16.1 - [`153d2d0`](https://github.com/prettier/prettier/commit/153d2d0570a19b490bf79f0eba3aa76e6fc77c4a) fix(typescript): stable parens for function type in arrow return type ([#5790](https://github-redirect.dependabot.com/prettier/prettier/issues/5790)) - [`1061be0`](https://github.com/prettier/prettier/commit/1061be070263f72653bdd69d41bfefc97699ec67) fix(mdx): correctly recognize inline JSX ([#5783](https://github-redirect.dependabot.com/prettier/prettier/issues/5783)) - [`2002ce0`](https://github.com/prettier/prettier/commit/2002ce0453d8224c5efbf8a072cd823d953cc717) fix(javascript): add necessary parentheses for decorators ([#5785](https://github-redirect.dependabot.com/prettier/prettier/issues/5785)) - [`7378843`](https://github.com/prettier/prettier/commit/737884341d20939cef68a29e5cf48ad27d41ef59) Update ext install command to match readme ([#5784](https://github-redirect.dependabot.com/prettier/prettier/issues/5784)) - [`5657316`](https://github.com/prettier/prettier/commit/565731668f8d4797e163eba812f4dac77cf63648) fix: do not format callbacks with arguments as React hooks ([#5778](https://github-redirect.dependabot.com/prettier/prettier/issues/5778)) - [`106fc36`](https://github.com/prettier/prettier/commit/106fc36c81b028bdab490a4393466cd51eb4bf11) docs: add CHANGELOG.unreleased.md ([#5775](https://github-redirect.dependabot.com/prettier/prettier/issues/5775)) - [`a01e6c7`](https://github.com/prettier/prettier/commit/a01e6c75da820457a4c7c8e3207be00ac28e4bfa) Fix typo ([#5776](https://github-redirect.dependabot.com/prettier/prettier/issues/5776)) - [`1dc3c6d`](https://github.com/prettier/prettier/commit/1dc3c6dc2d248d4ed3072795b8bcc0a406f9dfb6) docs(blog): 1.16 release ([#5752](https://github-redirect.dependabot.com/prettier/prettier/issues/5752)) - [`32f7e03`](https://github.com/prettier/prettier/commit/32f7e0390657533b80c2fb290bfbf5fbffe51464) Bump Prettier dependency to 1.16.0 - See full diff in [compare view](https://github.com/prettier/prettier/compare/1.16.0...1.16.1) </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=prettier&package-manager=npm_and_yarn&previous-version=1.16.0&new-version=1.16.1)](https://dependabot.com/compatibility-score.html?dependency-name=prettier&package-manager=npm_and_yarn&previous-version=1.16.0&new-version=1.16.1) 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-automerge-start) If all status checks pass Dependabot will automatically merge this pull request. [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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](https://app.dependabot.com): - 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. </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 14:40:59 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flag-icons#839
No description provided.