[PR #565] [MERGED] Bump prettier from 1.18.0 to 1.18.2 #864

Closed
opened 2026-03-03 14:41:06 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

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

Base: masterHead: dependabot/npm_and_yarn/prettier-1.18.2


📝 Commits (1)

  • 6516ac8 Bump prettier from 1.18.0 to 1.18.2

📊 Changes

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

View changed files

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

📄 Description

Bumps prettier from 1.18.0 to 1.18.2.

Release notes

Sourced from prettier's releases.

1.18.2

🔗 Changelog

1.18.1

🔗 Changelog

Changelog

Sourced from prettier's changelog.

1.18.2

diff

  • TypeScript: only add trailing commas in tuples for --trailing-comma=all (#6199 by [@​duailibe])

    In Prettier 1.18 we added trailing commas in tuples when --trailing-comma=all, but it was also adding for --trailing-comma=es5.

    #6199: #6199
    [@​duailibe]: https://github.com/duailibe

1.18.1

diff

  • TypeScript: Add trailing comma in tsx, only for arrow function (#6190 by [@​sosukesuzuki])

    Prettier inserts a trailing comma to single type parameter for arrow functions in tsx, since v 1.18. But, this feature inserts a trailing comma to type parameter for besides arrow functions too (e.g, function , interface). This change fix it.

    // Input
    interface Interface1<T> {
      one: "one";
    }
    function function1<T>() {
      return "one";
    }
    
    // Output (Prettier stable)
    interface Interface1<T,> {
      one: "one";
    }
    function function1<T,>() {
      return "one";
    }
    
    // Output (Prettier master)
    interface Interface1<T> {
      one: "one";
    }
    function function1<T>() {
      return "one";
    }
    
  • Config: Match dotfiles in config overrides (#6194 by [@​duailibe])

    When using overrides in the config file, Prettier was not matching dotfiles (files that start with .). This was fixed in 1.18.1

... (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 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 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/565 **Author:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Created:** 6/10/2019 **Status:** ✅ Merged **Merged:** 6/10/2019 **Merged by:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/prettier-1.18.2` --- ### 📝 Commits (1) - [`6516ac8`](https://github.com/lipis/flag-icons/commit/6516ac89ebd3687479e678b426ca40453c39cf3d) Bump prettier from 1.18.0 to 1.18.2 ### 📊 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.18.0 to 1.18.2. <details> <summary>Release notes</summary> *Sourced from [prettier's releases](https://github.com/prettier/prettier/releases).* > ## 1.18.2 > [🔗 Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md#1182) > > ## 1.18.1 > [🔗 Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md#1181) </details> <details> <summary>Changelog</summary> *Sourced from [prettier's changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md).* > # 1.18.2 > > [diff](https://github.com/prettier/prettier/compare/1.18.2...1.18.1) > > - TypeScript: only add trailing commas in tuples for `--trailing-comma=all` ([#6199](https://github-redirect.dependabot.com/prettier/prettier/issues/6199) by [@&#8203;duailibe]) > > In Prettier 1.18 we added trailing commas in tuples when `--trailing-comma=all`, but it was also adding for `--trailing-comma=es5`. > > [#6199](https://github-redirect.dependabot.com/prettier/prettier/issues/6199): [#6199](https://github-redirect.dependabot.com/prettier/prettier/pull/6199) > [@&#8203;duailibe]: https://github.com/duailibe > > # 1.18.1 > > [diff](https://github.com/prettier/prettier/compare/1.18.1...1.18.0) > > - TypeScript: Add trailing comma in tsx, only for arrow function ([#6190](https://github-redirect.dependabot.com/prettier/prettier/issues/6190) by [@&#8203;sosukesuzuki]) > > Prettier inserts a trailing comma to single type parameter for arrow functions in tsx, since v 1.18. But, this feature inserts a trailing comma to type parameter for besides arrow functions too (e.g, function , interface). This change fix it. > > <!-- prettier-ignore --> > ```tsx > // Input > interface Interface1<T> { > one: "one"; > } > function function1<T>() { > return "one"; > } > > // Output (Prettier stable) > interface Interface1<T,> { > one: "one"; > } > function function1<T,>() { > return "one"; > } > > // Output (Prettier master) > interface Interface1<T> { > one: "one"; > } > function function1<T>() { > return "one"; > } > ``` > > - Config: Match dotfiles in config overrides ([#6194](https://github-redirect.dependabot.com/prettier/prettier/issues/6194) by [@&#8203;duailibe]) > > When using [`overrides`](https://prettier.io/docs/en/configuration.html#configuration-overrides) in the config file, Prettier was not matching dotfiles (files that start with `.`). This was fixed in 1.18.1 > ></tr></table> ... (truncated) </details> <details> <summary>Commits</summary> - [`f7fb04b`](https://github.com/prettier/prettier/commit/f7fb04b0df5b17044d2637e6426f07db6ea3a769) Release 1.18.2 - [`a90adf4`](https://github.com/prettier/prettier/commit/a90adf4753e6c6af24c1ad97e139af647606ebef) Fix adding trailing comma in TS tuples ([#6199](https://github-redirect.dependabot.com/prettier/prettier/issues/6199)) - [`f070f00`](https://github.com/prettier/prettier/commit/f070f003853e8f0237b76cdc3631590541e84fb2) Fix method name and missing curly brace ([#6196](https://github-redirect.dependabot.com/prettier/prettier/issues/6196)) - [`644b419`](https://github.com/prettier/prettier/commit/644b419328fce055d9def7de2cecdb5731968e99) fix typos and stuff in the 1.18 release blog post ([#6191](https://github-redirect.dependabot.com/prettier/prettier/issues/6191)) - [`57a93c4`](https://github.com/prettier/prettier/commit/57a93c4518f445ab5ba9e736efbdfd9aa647a47f) Release 1.18.1 - [`277b92a`](https://github.com/prettier/prettier/commit/277b92a8833dbc77db65895bfb783e496fa30c82) [release script] Update changelog script - [`4483282`](https://github.com/prettier/prettier/commit/448328270dcc019e4670d09732301621f9513c48) Support overrides for dotfiles ([#6194](https://github-redirect.dependabot.com/prettier/prettier/issues/6194)) - [`8812792`](https://github.com/prettier/prettier/commit/8812792e93bbeac6beb5d99b244ab1f35a489a3e) [TypeScript] Add trailing comma for only arrow functions in tsx. ([#6190](https://github-redirect.dependabot.com/prettier/prettier/issues/6190)) - [`4cc9924`](https://github.com/prettier/prettier/commit/4cc99242a886e885853887ee670b21a4698cac1f) Bump Prettier dependency to 1.18.0 - See full diff in [compare view](https://github.com/prettier/prettier/compare/1.18.0...1.18.2) </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=prettier&package-manager=npm_and_yarn&previous-version=1.18.0&new-version=1.18.2)](https://dependabot.com/compatibility-score.html?dependency-name=prettier&package-manager=npm_and_yarn&previous-version=1.18.0&new-version=1.18.2) 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 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 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:41:06 +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#864
No description provided.