fix(deps): update dependency ignore to v7
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| ignore | ^5.1.8 -> ^7.0.5 |
Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.
Release Notes
kaelzhang/node-ignore (ignore)
v7.0.5
v7.0.4
-
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
v7.0.2
v7.0.1
v7.0.0
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
v6.0.1: 6.x (== 5.3.2)
6.x
- The release of
6.xis due to a mistake. - Making an upgrade from
5.xto 6.x for now actually changes nothing and does no harm, everyone could just upgrade or ignore the version.- Actually
6.0.2is5.3.2
- Actually
- The next major release will be
7.0.0
v6.0.0
v5.3.2
v5.3.1
v5.3.0
5.3.0
-
MINOR export
Optionsinterface (#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'
v5.2.4
- 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 `\`
v5.2.3
v5.2.2
v5.2.1
Configuration
📅 Schedule: Branch creation - "on the 1st through 7th day of the month" in timezone America/Los_Angeles, 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.