From 378a99439fe894ad2ad6b434f89134b21c895004 Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed, 30 Mar 2022 02:48:30 -0700
Subject: [PATCH] Bump prettier from 2.5.1 to 2.6.1 in /js/js-flipper (#3586)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Summary:
Bumps [prettier](https://github.com/prettier/prettier) from 2.5.1 to 2.6.1.
Release notes
Sourced from prettier's releases.
2.6.1
🔗 Changelog
2.6.0
🔗 Release note
Changelog
Sourced from prettier's changelog.
2.6.1
diff
Ignore loglevel when printing information (#12477 by @​fisker)
# Prettier 2.6.0
prettier --loglevel silent --find-config-path index.js
# Nothing printed
Prettier 2.6.1
prettier --loglevel silent --help no-color
.prettierrc
Fixes two problems when bundling our UMD files with webpack:
- A error
"`....__exportStar` is not a function" throws when running the bundles.
- Some files cause warning about
"Critical dependency: the request of a dependency is an expression".
Fix non-idempotent formatting of function calls with complex type arguments (#12508 by @​sosukesuzuki)
// Input
const foo =
doSomething<{ foo1: "foo1", foo2: "foo2", foo3: "foo3", foo4: "foo4", foo5: "foo5" }>();
// Prettier 2.6.0 (first)
const foo =
doSomething<{
foo1: "foo1";
foo2: "foo2";
foo3: "foo3";
foo4: "foo4";
foo5: "foo5";
}>();
// Prettier 2.6.0 (second)
const foo = doSomething<{
foo1: "foo1";
foo2: "foo2";
foo3: "foo3";
foo4: "foo4";
foo5: "foo5";
}>();
</tr></table>
... (truncated)
Commits
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
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)
---
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)
Pull Request resolved: https://github.com/facebook/flipper/pull/3586
Reviewed By: passy
Differential Revision: D35211399
Pulled By: mweststrate
fbshipit-source-id: 98427e2ffb85a9fd6bb0fe9a7f9b4abdf2210e50
---
js/js-flipper/yarn.lock | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/js/js-flipper/yarn.lock b/js/js-flipper/yarn.lock
index b5b0a4d2d..3d926eb7f 100644
--- a/js/js-flipper/yarn.lock
+++ b/js/js-flipper/yarn.lock
@@ -3237,9 +3237,9 @@ prettier-linter-helpers@^1.0.0:
fast-diff "^1.1.2"
prettier@^2.4.1:
- version "2.6.0"
- resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.6.0.tgz#12f8f504c4d8ddb76475f441337542fa799207d4"
- integrity sha512-m2FgJibYrBGGgQXNzfd0PuDGShJgRavjUoRCw1mZERIWVSXF0iLzLm+aOqTAbLnC3n6JzUhAA8uZnFVghHJ86A==
+ version "2.6.1"
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.6.1.tgz#d472797e0d7461605c1609808e27b80c0f9cfe17"
+ integrity sha512-8UVbTBYGwN37Bs9LERmxCPjdvPxlEowx2urIL6urHzdb3SDq4B/Z6xLFCblrSnE4iKWcS6ziJ3aOYrc1kz/E2A==
pretty-format@^27.0.0:
version "27.3.1"