Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade eslint-plugin-prettier from 4.2.1 to 5.1.3 #4

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

YoutacRandS-VA
Copy link
Owner

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.


⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.

  • 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:

Issue Score Exploit Maturity
high severity Path Traversal
SNYK-JS-WEBPACKDEVMIDDLEWARE-6476555
477 Proof of Concept
high severity Denial of Service (DoS)
SNYK-JS-WS-7266574
477 Proof of Concept
high severity Denial of Service (DoS)
SNYK-JS-WS-7266574
477 Proof of Concept
high severity Uncontrolled resource consumption
SNYK-JS-BRACES-6838727
477 Proof of Concept
high severity Improper Input Validation
SNYK-JS-FOLLOWREDIRECTS-6141137
477 Proof of Concept
high severity Inefficient Regular Expression Complexity
SNYK-JS-MICROMATCH-6838728
477 No Known Exploit
medium severity Improper Control of Dynamically-Managed Code Resources
SNYK-JS-EJS-6689533
477 No Known Exploit
medium severity Open Redirect
SNYK-JS-EXPRESS-6474509
477 No Known Exploit
medium severity Information Exposure
SNYK-JS-FOLLOWREDIRECTS-6444610
477 Proof of Concept
Release notes
Package name: eslint-plugin-prettier
  • 5.1.3 - 2024-01-10

    Patch Changes

    Full Changelog: v5.1.2...v5.1.3

  • 5.1.2 - 2023-12-24

    5.1.2

    Patch Changes

    • #623 8210e44 Thanks @ BPScott! - Add exports mapping to package.json, to allow import 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 parsing markdown via eslint-mdx natively

      What means the following is unnecessary anymore when using with eslint-mdx/eslint-plugin-mdx!

      [
        {
          files: ["**/*.md"],
          rules: { "prettier/prettier": ["error", { parser: "markdown" }] },
        },
        {
          files: ["**/*.mdx"],
          rules: { "prettier/prettier": ["error", { parser: "mdx" }] },
        },
      ]

    Full Changelog: v5.1.1...v5.1.2

  • 5.1.1 - 2023-12-21

    5.1.1

    Patch Changes

  • 5.1.0 - 2023-12-19

    Minor 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 of eslint-config-prettier.

      // eslint.config.js
      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: specify eslint-config-prettier as peer dependency

      It's already added to peerDependenciesMeta as optional, which means it should also be specified in peerDependencies.

    New Contributors

    Full Changelog: v5.0.1...v5.1.0

  • 5.0.1 - 2023-10-11

    What's Changed

    New Contributors

    Full Changelog: v5.0.0...v5.0.1

  • 5.0.0 - 2023-07-11

    What's Changed

    • feat!: bump eslint, node and prettier versions, add types support by @ JounQin in #508
    • fix: add missing dependency synckit by @ fisker in #548
    • fix: compatibility with prettier@3 without plugins by @ auvred in #564

    New Contributors

    Full Changelog: v4.2.1...v5.0.0

  • 5.0.0-alpha.2 - 2023-07-06
  • 5.0.0-alpha.1 - 2023-03-10
  • 5.0.0-alpha.0 - 2022-09-02
    • drop Node v12 - #488
    • drop ESLint v7 - #488
    • improve jsdoc inside, generate .d.ts typings - #509
    • docs: improve why usePrettierrc option is needed
    • upgrade to prettier v3
  • 4.2.1 - 2022-06-30

    4.2.1

    Patch Changes

from eslint-plugin-prettier GitHub release notes

Important

  • Warning: This PR contains a major version upgrade, and may be a breaking change.
  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

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:

Snyk has created this PR to upgrade eslint-plugin-prettier from 4.2.1 to 5.1.3.

See this package in npm:
eslint-plugin-prettier

See this project in Snyk:
https://app.snyk.io/org/youtacrands-va/project/b3e307e7-66a7-40a6-a866-aaddd99e771e?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants