Commit fbbccb4
chore(deps): update dependency ignore to v7 (#1031)
This PR contains the following updates:
| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [ignore](https://redirect.github.com/kaelzhang/node-ignore) |
[`^5.3.2` →
`^7.0.0`](https://renovatebot.com/diffs/npm/ignore/5.3.2/7.0.5) |

|

|
---
### Release Notes
<details>
<summary>kaelzhang/node-ignore (ignore)</summary>
###
[`v7.0.5`](https://redirect.github.com/kaelzhang/node-ignore/compare/7.0.4...7.0.5)
[Compare
Source](https://redirect.github.com/kaelzhang/node-ignore/compare/7.0.4...7.0.5)
###
[`v7.0.4`](https://redirect.github.com/kaelzhang/node-ignore/releases/tag/7.0.4)
[Compare
Source](https://redirect.github.com/kaelzhang/node-ignore/compare/7.0.3...7.0.4)
- **PATCH** Allows files named `.{3,}`, such as `...` for Linux / macOS
([#​68](https://redirect.github.com/kaelzhang/node-ignore/issues/68))
```js
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`](https://redirect.github.com/kaelzhang/node-ignore/compare/52f8e855b6aca711579c008f38829f48e5a4c78b...7.0.3)
[Compare
Source](https://redirect.github.com/kaelzhang/node-ignore/compare/52f8e855b6aca711579c008f38829f48e5a4c78b...7.0.3)
###
[`v7.0.2`](https://redirect.github.com/kaelzhang/node-ignore/compare/7.0.1...52f8e855b6aca711579c008f38829f48e5a4c78b)
[Compare
Source](https://redirect.github.com/kaelzhang/node-ignore/compare/7.0.1...52f8e855b6aca711579c008f38829f48e5a4c78b)
###
[`v7.0.1`](https://redirect.github.com/kaelzhang/node-ignore/compare/7.0.0...7.0.1)
[Compare
Source](https://redirect.github.com/kaelzhang/node-ignore/compare/7.0.0...7.0.1)
###
[`v7.0.0`](https://redirect.github.com/kaelzhang/node-ignore/releases/tag/7.0.0)
[Compare
Source](https://redirect.github.com/kaelzhang/node-ignore/compare/ee70c66d32e900f6e793c733a4ca27a1dafb3819...7.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:
```js
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.
```js
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`](https://redirect.github.com/kaelzhang/node-ignore/compare/6.0.1...ee70c66d32e900f6e793c733a4ca27a1dafb3819)
[Compare
Source](https://redirect.github.com/kaelzhang/node-ignore/compare/6.0.1...ee70c66d32e900f6e793c733a4ca27a1dafb3819)
###
[`v6.0.1`](https://redirect.github.com/kaelzhang/node-ignore/releases/tag/6.0.1):
6.x (== 5.3.2)
[Compare
Source](https://redirect.github.com/kaelzhang/node-ignore/compare/6.0.0...6.0.1)
### 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`](https://redirect.github.com/kaelzhang/node-ignore/compare/5.3.2...6.0.0)
[Compare
Source](https://redirect.github.com/kaelzhang/node-ignore/compare/5.3.2...6.0.0)
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "every weekday" (UTC), Automerge - At
any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/apify/apify-cli).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My40My4yIiwidXBkYXRlZEluVmVyIjoiNDMuNDMuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Martin Adámek <banan23@gmail.com>1 parent 97ef44e commit fbbccb4
2 files changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2298 | 2298 | | |
2299 | 2299 | | |
2300 | 2300 | | |
2301 | | - | |
| 2301 | + | |
2302 | 2302 | | |
2303 | 2303 | | |
2304 | 2304 | | |
| |||
5245 | 5245 | | |
5246 | 5246 | | |
5247 | 5247 | | |
5248 | | - | |
| 5248 | + | |
5249 | 5249 | | |
5250 | 5250 | | |
5251 | 5251 | | |
5252 | 5252 | | |
5253 | 5253 | | |
5254 | 5254 | | |
5255 | | - | |
| 5255 | + | |
5256 | 5256 | | |
5257 | 5257 | | |
5258 | 5258 | | |
| |||
0 commit comments