[PR #700] [MERGED] chore(deps-dev): bump prettier from 2.0.1 to 2.0.2 #2801

Closed
opened 2026-03-17 00:28:39 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/700
Author: @dependabot-preview[bot]
Created: 3/24/2020
Status: Merged
Merged: 3/24/2020
Merged by: @liyasthomas

Base: masterHead: dependabot/npm_and_yarn/prettier-2.0.2


📝 Commits (1)

  • 5bb01f4 chore(deps-dev): bump prettier from 2.0.1 to 2.0.2

📊 Changes

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

View changed files

📝 package-lock.json (+3 -3)
📝 package.json (+1 -1)

📄 Description

Bumps prettier from 2.0.1 to 2.0.2.

Release notes

Sourced from prettier's releases.

2.0.2

🔗 Changelog

Changelog

Sourced from prettier's changelog.

2.0.2

diff

2.0 regressions

JavaScript: Fix formatting of pseudo-elements and pseudo-classes in styled-components template literals (#7842 by @thorn0)

// Input
const Foo = styled.div`
  ${media.smallDown}::before {}
`;

// Prettier 2.0.0 const Foo = styled.div${media.smallDown}: : before{ };

// Prettier 2.0.2 const Foo = styled.div${media.smallDown}::before { };

TypeScript: Avoid trailing commas on index signatures with only one parameter (#7836 by @bakkot)

TypeScript index signatures technically allow multiple parameters and trailing commas, but it's an error to have multiple parameters there, and Babel's TypeScript parser does not accept them. So Prettier now avoids putting a trailing comma there when you have only one parameter.

// Input
export type A = {
  a?: {
    [
      x: string
    ]: typeof SomeLongLongLongTypeName[keyof typeof SomeLongLongLongTypeName];
  } | null;
};

// Prettier 2.0.0 export type A = { a?: { [ x: string, ]: typeof SomeLongLongLongTypeName[keyof typeof SomeLongLongLongTypeName]; } | null; </tr></table> ... (truncated)

Commits
  • 607afd7 Release 2.0.2
  • cfb6166 update stable docs wrt npx
  • 58ac3b0 Revert "markdown: fix redundant leading spaces in markdown list" (#7847)
  • 8ec7bc2 fix formatting of pseudo-elements and pseudo-classes in styled-components (#7...
  • fac9ce0 mention npx in install docs
  • f0780f5 Bump eslint-config-prettier from 6.10.0 to 6.10.1 (#7840)
  • e0b65c3 Bump @babel/parser from 7.9.2 to 7.9.3 (#7839)
  • 91e81a1 [Security] Bump minimist from 1.2.0 to 1.2.5 in /website (#7838)
  • 34115cb Remove azure pipelines (#7824)
  • 54f907d Followup work on setup github actions (#7431)
  • Additional commits viewable in compare view

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 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 close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor 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 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 the .dependabot/config.yml file in this repo:

  • Update frequency
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

🔄 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/hoppscotch/hoppscotch/pull/700 **Author:** [@dependabot-preview[bot]](https://github.com/apps/dependabot-preview) **Created:** 3/24/2020 **Status:** ✅ Merged **Merged:** 3/24/2020 **Merged by:** [@liyasthomas](https://github.com/liyasthomas) **Base:** `master` ← **Head:** `dependabot/npm_and_yarn/prettier-2.0.2` --- ### 📝 Commits (1) - [`5bb01f4`](https://github.com/hoppscotch/hoppscotch/commit/5bb01f47ff245ac0baf6001e777331794d61c968) chore(deps-dev): bump prettier from 2.0.1 to 2.0.2 ### 📊 Changes **2 files changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+3 -3) 📝 `package.json` (+1 -1) </details> ### 📄 Description Bumps [prettier](https://github.com/prettier/prettier) from 2.0.1 to 2.0.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/releases">prettier's releases</a>.</em></p> <blockquote> <h2>2.0.2</h2> <p><a href="https://github.com/prettier/prettier/blob/master/CHANGELOG.md#202">🔗 Changelog</a></p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/prettier/prettier/blob/master/CHANGELOG.md">prettier's changelog</a>.</em></p> <blockquote> <h1>2.0.2</h1> <p><a href="https://github.com/prettier/prettier/compare/2.0.1...2.0.2">diff</a></p> <h3>2.0 regressions</h3> <h4>JavaScript: Fix formatting of pseudo-elements and pseudo-classes in styled-components template literals (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/7842">#7842</a> by <a href="https://github.com/thorn0">@thorn0</a>)</h4> <!-- prettier-ignore --> <pre lang="jsx"><code>// Input const Foo = styled.div` ${media.smallDown}::before {} `; <p>// Prettier 2.0.0 const Foo = styled.div<code>${media.smallDown}: : before{ }</code>;</p> <p>// Prettier 2.0.2 const Foo = styled.div<code>${media.smallDown}::before { }</code>; </code></pre></p> <h4>TypeScript: Avoid trailing commas on index signatures with only one parameter (<a href="https://github-redirect.dependabot.com/prettier/prettier/pull/7836">#7836</a> by <a href="https://github.com/bakkot">@bakkot</a>)</h4> <p>TypeScript index signatures technically allow multiple parameters and trailing commas, but it's an error to have multiple parameters there, and Babel's TypeScript parser does not accept them. So Prettier now avoids putting a trailing comma there when you have only one parameter.</p> <!-- prettier-ignore --> <pre lang="ts"><code>// Input export type A = { a?: { [ x: string ]: typeof SomeLongLongLongTypeName[keyof typeof SomeLongLongLongTypeName]; } | null; }; <p>// Prettier 2.0.0 export type A = { a?: { [ x: string, ]: typeof SomeLongLongLongTypeName[keyof typeof SomeLongLongLongTypeName]; } | null; &lt;/tr&gt;&lt;/table&gt; ... (truncated) </code></pre></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/prettier/prettier/commit/607afd7b36fcebc4c29419b509fa8779b60d0e6b"><code>607afd7</code></a> Release 2.0.2</li> <li><a href="https://github.com/prettier/prettier/commit/cfb616629611d8dccdd276698564bcf54f713077"><code>cfb6166</code></a> update stable docs wrt npx</li> <li><a href="https://github.com/prettier/prettier/commit/58ac3b0c15250e9f861f1e3a8bf5c993f4a9abf2"><code>58ac3b0</code></a> Revert &quot;markdown: fix redundant leading spaces in markdown list&quot; (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/7847">#7847</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/8ec7bc229aeade5ffff20eada625905eb26d02b0"><code>8ec7bc2</code></a> fix formatting of pseudo-elements and pseudo-classes in styled-components (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/7">#7</a>...</li> <li><a href="https://github.com/prettier/prettier/commit/fac9ce07fea57f1d852988fdbc217db9c8cf858a"><code>fac9ce0</code></a> mention npx in install docs</li> <li><a href="https://github.com/prettier/prettier/commit/f0780f5acf2d8fdd5bf5149a48392d7470910fd6"><code>f0780f5</code></a> Bump eslint-config-prettier from 6.10.0 to 6.10.1 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/7840">#7840</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/e0b65c315bec0971e610001792e9825d6420ad54"><code>e0b65c3</code></a> Bump @babel/parser from 7.9.2 to 7.9.3 (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/7839">#7839</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/91e81a13d53584626d59362542ddfd50b944ab35"><code>91e81a1</code></a> [Security] Bump minimist from 1.2.0 to 1.2.5 in /website (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/7838">#7838</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/34115cbd3c7101a6be733e8d3288fe46d0eb10f5"><code>34115cb</code></a> Remove azure pipelines (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/7824">#7824</a>)</li> <li><a href="https://github.com/prettier/prettier/commit/54f907dba391946ced6f8a56f450e88319957ead"><code>54f907d</code></a> Followup work on setup github actions (<a href="https://github-redirect.dependabot.com/prettier/prettier/issues/7431">#7431</a>)</li> <li>Additional commits viewable in <a href="https://github.com/prettier/prettier/compare/2.0.1...2.0.2">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=prettier&package-manager=npm_and_yarn&previous-version=2.0.1&new-version=2.0.2)](https://dependabot.com/compatibility-score/?dependency-name=prettier&package-manager=npm_and_yarn&previous-version=2.0.1&new-version=2.0.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) [//]: # (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 close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor 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 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 the `.dependabot/config.yml` file in this repo: - Update frequency - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) </details> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 00:28:39 +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/hoppscotch#2801
No description provided.