[Snyk] Upgrade eslint-plugin-prettier from 4.2.1 to 5.1.3 #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to upgrade eslint-plugin-prettier from 4.2.1 to 5.1.3.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 9 versions ahead of your current version.
The recommended version was released on 5 months ago.
Issues fixed by the recommended upgrade:
SNYK-JS-WEBPACKDEVMIDDLEWARE-6476555
SNYK-JS-WS-7266574
SNYK-JS-WS-7266574
SNYK-JS-BRACES-6838727
SNYK-JS-FOLLOWREDIRECTS-6141137
SNYK-JS-MICROMATCH-6838728
SNYK-JS-EJS-6689533
SNYK-JS-EXPRESS-6474509
SNYK-JS-FOLLOWREDIRECTS-6444610
Release notes
Package name: eslint-plugin-prettier
Patch Changes
985b33c
Thanks @ JounQin! - chore: addpackage.json
intoexports
mapFull Changelog: v5.1.2...v5.1.3
5.1.2
Patch Changes
#623
8210e44
Thanks @ BPScott! - Add exports mapping to package.json, to allowimport eslintPluginRecommended from 'eslint-plugin-prettier/recommended'
to work as expected.Strictly speaking this is a breaking change as it removes the ability for people to import from "eslint-plugin-prettier/eslint-plugin-prettier.js" and "eslint-plugin-prettier/recommended.js" but the former was never recommended in the first place and the latter has only been available for a few days.
#621
2b09e7f
Thanks @ JounQin! - feat: support parsingmarkdown
viaeslint-mdx
nativelyWhat means the following is unnecessary anymore when using with
eslint-mdx
/eslint-plugin-mdx
!Full Changelog: v5.1.1...v5.1.2
5.1.1
Patch Changes
b5c0dc5
Thanks @ JounQin! - chore: skip formatting inline scripts in pug filesMinor Changes
#616
3856413
Thanks @ BPScott! - Add recommended config for the flat config format.If you are using flat config, import the recommended config from
eslint-plugin-prettier/recommended
. Like the legacy format recommended config, this automatically includes the contents ofeslint-config-prettier
.const eslintPluginPrettierRecommended = require('eslint-plugin-prettier/recommended');
module.exports = [
// Any other config imports go at the top
eslintPluginPrettierRecommended,
];
Patch Changes
#614
5270877
Thanks @ BPScott! - Add meta block to plugin. This improves debugging and cachebusting when using the new flat config#603
a63a570
Thanks @ filiptammergard! - fix: specifyeslint-config-prettier
as peer dependencyIt's already added to
peerDependenciesMeta
as optional, which means it should also be specified inpeerDependencies
.New Contributors
Full Changelog: v5.0.1...v5.1.0
What's Changed
parserPath
type might beundefined
on Eslint Flat Config by @ krist7599555 in #588New Contributors
Full Changelog: v5.0.0...v5.0.1
What's Changed
synckit
by @ fisker in #548New Contributors
Full Changelog: v4.2.1...v5.0.0
usePrettierrc
option is needed4.2.1
Patch Changes
5736ed5
Thanks @ JounQin! - chore: reuse prettierRcOptions instead of resolveConfig againImportant
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: