Skip to content

Commit fbbccb4

Browse files
renovate[bot]B4nan
andauthored
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) | ![age](https://developer.mend.io/api/mc/badges/age/npm/ignore/7.0.5?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ignore/5.3.2/7.0.5?slim=true) | --- ### 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 ([#&#8203;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 (&#x3D;&#x3D; 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

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"execa": "^9.5.2",
9595
"express": "~5.2.0",
9696
"handlebars": "~4.7.8",
97-
"ignore": "^5.3.2",
97+
"ignore": "^7.0.0",
9898
"indent-string": "^5.0.0",
9999
"is-ci": "~4.1.0",
100100
"istextorbinary": "~9.5.0",

yarn.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2298,7 +2298,7 @@ __metadata:
22982298
express: "npm:~5.2.0"
22992299
handlebars: "npm:~4.7.8"
23002300
husky: "npm:^9"
2301-
ignore: "npm:^5.3.2"
2301+
ignore: "npm:^7.0.0"
23022302
indent-string: "npm:^5.0.0"
23032303
is-ci: "npm:~4.1.0"
23042304
istextorbinary: "npm:~9.5.0"
@@ -5245,14 +5245,14 @@ __metadata:
52455245
languageName: node
52465246
linkType: hard
52475247

5248-
"ignore@npm:^5.2.0, ignore@npm:^5.3.2":
5248+
"ignore@npm:^5.2.0":
52495249
version: 5.3.2
52505250
resolution: "ignore@npm:5.3.2"
52515251
checksum: 10c0/f9f652c957983634ded1e7f02da3b559a0d4cc210fca3792cb67f1b153623c9c42efdc1c4121af171e295444459fc4a9201101fb041b1104a3c000bccb188337
52525252
languageName: node
52535253
linkType: hard
52545254

5255-
"ignore@npm:^7.0.5":
5255+
"ignore@npm:^7.0.0, ignore@npm:^7.0.5":
52565256
version: 7.0.5
52575257
resolution: "ignore@npm:7.0.5"
52585258
checksum: 10c0/ae00db89fe873064a093b8999fe4cc284b13ef2a178636211842cceb650b9c3e390d3339191acb145d81ed5379d2074840cf0c33a20bdbd6f32821f79eb4ad5d

0 commit comments

Comments
 (0)