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 ignore from 5.1.8 to 5.3.1 #6

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

Conversation

OKEAMAH
Copy link
Member

@OKEAMAH OKEAMAH commented Aug 16, 2024

snyk-top-banner

Snyk has created this PR to upgrade ignore from 5.1.8 to 5.3.1.

ℹ️ 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 8 versions ahead of your current version.

  • The recommended version was released on 7 months ago.

Release notes
Package name: ignore
  • 5.3.1 - 2024-02-01

    5.3.1: #108: remove BOM before processing .gitignore rules

  • 5.3.0 - 2023-11-16

    5.3.0

    • MINOR export Options interface (#105)

    An upgrade is safe for all dependents


    It allows typing external methods which expect Options as a param, by importing the Options interface.

    import {Options} from 'ignore'
  • 5.2.4 - 2022-12-19
    • PATCH fixes normal single asterisk and normal consecutive asterisks defined in gitignore spec (#57)
    • PATCH invalid trailing backslash will not throw unexpectedly

    An upgrade is recommended for all dependents


    The following rules could be not properly parsed with previous ignore versions

    **foo
    *bar
    qu*ux
    abc\   # `ignore` would throw if no whitespace after `\`
  • 5.2.3 - 2022-12-19

    5.2.3: fixes #57: fixes normal single / consecutive asterisks

  • 5.2.2 - 2022-12-19

    5.2.2: fixes #81: invalid single trailing backslash should not throw

  • 5.2.1 - 2022-11-27

    5.2.1: fixes typo in the example of "backslash hash", related to #83

  • 5.2.0 - 2021-12-19
    • PATCH support readonly arrays of typescript. (#70)
    • MINOR bring backward compatibility with relative paths. (#75)

    An upgrade is recommended for all dependents.


    ignore().ignores('../foo/bar.js') // will throw

    And the code below will not throw, however it is not recommended

    ignore({
      allowRelativePaths: true
    }).ignores('../foo/bar.js')

    Recommend:

    ignore().ignores('foo/bar.js')
  • 5.1.9 - 2021-11-03
    • PATCH fixes ignorecase when internal cache is hit. (#74)

    An upgrade is recommended for all dependents.

  • 5.1.8 - 2020-05-30

    5.1.8: README.md: typo

from ignore GitHub release notes

Important

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

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 ignore from 5.1.8 to 5.3.1.

See this package in npm:
ignore

See this project in Snyk:
https://app.snyk.io/org/okeamah/project/dcd12881-7a51-430c-940c-8aa2dbd4bbf7?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

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.

Trailing backslash in the ignore file is throwing a syntax error. Need Support of pattern **folder
2 participants