From c0621ddafced6db5f9e6e4d6da9c8e679797f9ed Mon Sep 17 00:00:00 2001
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon, 11 Dec 2023 08:24:38 +0000
Subject: [PATCH] build(prettier): bump prettier from 3.1.0 to 3.1.1 (#41)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Bumps [prettier](https://github.com/prettier/prettier) from 3.1.0 to
3.1.1.
Release notes
Sourced from prettier's
releases.
3.1.1
🔗 Changelog
Changelog
Sourced from prettier's
changelog.
3.1.1
diff
Previously, we start search for config files from the filePath as a
directory, if it happened to be a directory and contains config file, it
will be used by mistake.
├─ .prettierrc
└─ test.js (A directory)
└─ .prettierrc
// Prettier 3.1.0
await prettier.resolveConfigFile(new URL("./test.js",
import.meta.url));
// <CWD>/test.js/.prettierrc
// Prettier 3.1.1
await prettier.resolveConfigFile(new URL("./test.js",
import.meta.url));
// <CWD>/.prettierrc
Skip explicitly passed symbolic links with
--no-error-on-unmatched-pattern
(#15533
by @​sanmai-NL
)
Since Prettier v3, we stopped following symbolic links, however in
some use cases, the symbolic link patterns can't be filtered out, and
there is no way to prevent Prettier from throwing errors.
In Prettier 3.1.1, you can use
--no-error-on-unmatched-pattern
to simply skip symbolic
links.
Consistently use tabs in ternaries when useTabs
is
true
(#15662
by @​auvred
)
// Input
aaaaaaaaaaaaaaa
? bbbbbbbbbbbbbbbbbb
: ccccccccccccccc
? ddddddddddddddd
: eeeeeeeeeeeeeee
? fffffffffffffff
: gggggggggggggggg;
// Prettier 3.1.0
aaaaaaaaaaaaaaa
? bbbbbbbbbbbbbbbbbb
: ccccccccccccccc
? ddddddddddddddd
: eeeeeeeeeeeeeee
? fffffffffffffff
</tr></table>
... (truncated)
Commits
b86701d
Release 3.1.1
c97480c
Use attributes
instead of deprecated
assertions
(#15758)
0d1ffb3
Consistently use tabs in ternaries when useTabs
is
true
(#15662)
5f7aedc
fix example to fit the actual experimentalTernaries behaviour (#15747)
1e30f66
Remove claim, untrue since over 5 years ago, that cursorOffset is
incompatibl...
39e4e7b
Add cursorOffset to Playground (#15751)
8e816ad
Allow skipping symlink patterns, to avoid raising a fault (#15533)
2ca5d75
Fix expect call in dts test (#15766)
15c7428
chore(deps): update dependency flow-parser to v0.223.3 (#15760)
d3b3d4f
chore(deps): update dependency hermes-parser to v0.18.0 (#15761)
- Additional commits viewable in compare
view
[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=prettier&package-manager=npm_and_yarn&previous-version=3.1.0&new-version=3.1.1)](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 show ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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)
Signed-off-by: dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
---
package-lock.json | 8 ++++----
package.json | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index f8a9b7d..2af70f8 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -14,7 +14,7 @@
"devDependencies": {
"minimist": "^1.2.8",
"mocha": "^10.2.0",
- "prettier": "3.1.0",
+ "prettier": "3.1.1",
"should": "^13.2.3"
}
},
@@ -720,9 +720,9 @@
}
},
"node_modules/prettier": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.0.tgz",
- "integrity": "sha512-TQLvXjq5IAibjh8EpBIkNKxO749UEWABoiIZehEPiY4GNpVdhaFKqSTu+QrlU6D2dPAfubRmtJTi4K4YkQ5eXw==",
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.1.1.tgz",
+ "integrity": "sha512-22UbSzg8luF4UuZtzgiUOfcGM8s4tjBv6dJRT7j275NXsy2jb4aJa4NNveul5x4eqlF1wuhuR2RElK71RvmVaw==",
"dev": true,
"bin": {
"prettier": "bin/prettier.cjs"
diff --git a/package.json b/package.json
index 73d4516..00a74d6 100644
--- a/package.json
+++ b/package.json
@@ -41,7 +41,7 @@
"devDependencies": {
"minimist": "^1.2.8",
"mocha": "^10.2.0",
- "prettier": "3.1.0",
+ "prettier": "3.1.1",
"should": "^13.2.3"
}
}