Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Dec 23, 2024

This PR contains the following updates:

Package Change Age Confidence
ignore ^5.0.0 -> ^7.0.0 age confidence

Release Notes

kaelzhang/node-ignore (ignore)

v7.0.5

Compare Source

v7.0.4

Compare Source

  • PATCH Allows files named .{3,}, such as ... for Linux / macOS (#​68)
ig.ignores('...')
ig.ignores('....')
// It will throw a RangeError in versions prior to 7.0.4, but it is ok if >= 7.0.4

An upgrade is recommended for all dependents

v7.0.3

Compare Source

v7.0.2

Compare Source

v7.0.1

Compare Source

v7.0.0

Compare Source

Minor feature

The primary feature introduced by 7.0.0 is the .checkIgnore() method, which is most equivalent to git check-ignore -v. And also it allows to pass {pattern, mark?} as the parameter of .add() so that we could imitate the mechanism of git check-ignore as:

ig.add({
  pattern: 'foo/*',
  mark: '60'
})

const {
  ignored,
  rule
} = checkIgnore('foo/')

if (ignored) {
  console.log(`.gitignore:${result}:${rule.mark}:${rule.pattern} foo/`)
}

// .gitignore:60:foo/* foo/

Potential Incompatibilities

The only situation that 7.0.0 might bring incompatibility is to .add() a < 7.0.0 instance into a >= 7.0.0 instance, which might occur when the current workspace has multiple node-ignore versions installed, please be careful.

const {anotherIgnoreInstance} = require('./ignore-6.0-instance')

// A 7.0.0 instance
ignore().add(anotherIgnoreInstance)

// It will break your code

Otherwise, in most cases, if you never do something above or there is only one version of node-ignore installed in the current workspace, it is quite safe to upgrade to 7.0.0.

v6.0.2

Compare Source

v6.0.1: 6.x (== 5.3.2)

Compare Source

6.x

  • The release of 6.x is due to a mistake.
  • Making an upgrade from 5.x to 6.x for now actually changes nothing and does no harm, everyone could just upgrade or ignore the version.
    • Actually 6.0.2 is 5.3.2
  • The next major release will be 7.0.0

v6.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from noahm as a code owner December 23, 2024 13:34
@renovate renovate bot force-pushed the renovate/ignore-7.x branch from c797d2f to 5966f00 Compare August 26, 2025 14:18
@renovate renovate bot force-pushed the renovate/ignore-7.x branch from 5966f00 to c96f25a Compare October 21, 2025 11:03
@renovate renovate bot force-pushed the renovate/ignore-7.x branch from c96f25a to 197a472 Compare November 11, 2025 02:13
@renovate renovate bot force-pushed the renovate/ignore-7.x branch from 197a472 to 36a5f63 Compare December 13, 2025 06:10
@renovate renovate bot changed the title Update dependency ignore to v7 Update dependency ignore to v7 - autoclosed Dec 13, 2025
@renovate renovate bot closed this Dec 13, 2025
@renovate renovate bot deleted the renovate/ignore-7.x branch December 13, 2025 21:41
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.

1 participant