Commit a81871e
# Backport
This will backport the following commits from `main` to `8.17`:
- [Update dependency ignore to v7 (main)
(#203286)](#203286)
<!--- Backport version: 10.0.0 -->
### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)
<!--BACKPORT
[{"author":{"name":"elastic-renovate-prod[bot]","email":"174716857+elastic-renovate-prod[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-06-04T19:41:40Z","message":"Update
dependency ignore to v7 (main) (#203286)\n\nThis PR contains the
following updates:\n\n| Package | Type | Update | Change | Pending
|\n|---|---|---|---|---|\n|
[ignore](https://github.com/kaelzhang/node-ignore)
|\ndevDependencies | major | [`^5.3.0`
->\n`^7.0.4`](https://renovatebot.com/diffs/npm/ignore/5.3.2/7.0.4)
|\n`7.0.5` |\n\n---\n\n### Release
Notes\n\n<details>\n<summary>kaelzhang/node-ignore
(ignore)</summary>\n\n###\n[`v7.0.4`](https://github.com/kaelzhang/node-ignore/releases/tag/7.0.4)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/7.0.3...7.0.4)\n\n-
**PATCH** Allows files named `.{3,}`, such as `...` for Linux /
macOS\n([#​68](https://github.com/kaelzhang/node-ignore/issues/68))\n\n```js\nig.ignores('...')\nig.ignores('....')\n//
It will throw a RangeError in versions prior to 7.0.4, but it is ok if
>= 7.0.4\n```\n\nAn upgrade is recommended for all
dependents\n\n###\n[`v7.0.3`](https://github.com/kaelzhang/node-ignore/compare/52f8e855b6aca711579c008f38829f48e5a4c78b...7.0.3)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/52f8e855b6aca711579c008f38829f48e5a4c78b...7.0.3)\n\n###\n[`v7.0.2`](https://github.com/kaelzhang/node-ignore/compare/7.0.1...52f8e855b6aca711579c008f38829f48e5a4c78b)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/7.0.1...52f8e855b6aca711579c008f38829f48e5a4c78b)\n\n###\n[`v7.0.1`](https://github.com/kaelzhang/node-ignore/compare/7.0.0...7.0.1)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/7.0.0...7.0.1)\n\n###\n[`v7.0.0`](https://github.com/kaelzhang/node-ignore/releases/tag/7.0.0)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/ee70c66d32e900f6e793c733a4ca27a1dafb3819...7.0.0)\n\n####
Minor feature\n\nThe primary feature introduced by `7.0.0` is the
`.checkIgnore()`\nmethod, which is most equivalent to `git check-ignore
-v`. And also it\nallows to pass `{pattern, mark?}` as the parameter of
`.add()` so that\nwe could imitate the mechanism of `git check-ignore`
as:\n\n```js\nig.add({\n pattern: 'foo/*',\n mark: '60'\n})\n\nconst {\n
ignored,\n rule\n} = checkIgnore('foo/')\n\nif (ignored) {\n
console.log(`.gitignore:${result}:${rule.mark}:${rule.pattern}
foo/`)\n}\n\n// .gitignore:60:foo/* foo/\n```\n\n#### Potential
Incompatibilities\n\nThe only situation that `7.0.0` might bring
incompatibility is to\n`.add()` a `< 7.0.0` instance into a `>= 7.0.0`
instance, which might\noccur when the current workspace has multiple
`node-ignore` versions\ninstalled, please be careful.\n\n```js\nconst
{anotherIgnoreInstance} = require('./ignore-6.0-instance')\n\n// A 7.0.0
instance\nignore().add(anotherIgnoreInstance)\n\n// It will break your
code\n```\n\nOtherwise, in most cases, if you never do something above
or there is\nonly one version of `node-ignore` installed in the current
workspace, it\nis quite safe to upgrade to
`7.0.0`.\n\n###\n[`v6.0.2`](https://github.com/kaelzhang/node-ignore/compare/6.0.1...ee70c66d32e900f6e793c733a4ca27a1dafb3819)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/6.0.1...ee70c66d32e900f6e793c733a4ca27a1dafb3819)\n\n###\n[`v6.0.1`](https://github.com/kaelzhang/node-ignore/releases/tag/6.0.1):\n6.x
(==
5.3.2)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/6.0.0...6.0.1)\n\n###
6.x\n\n- The release of `6.x` is due to a mistake.\n- Making an upgrade
from `5.x` to 6.x for now actually changes nothing\nand does no harm,
everyone could just upgrade or ignore the version.\n - Actually `6.0.2`
is `5.3.2`\n- The next major release will be
`7.0.0`\n\n###\n[`v6.0.0`](https://github.com/kaelzhang/node-ignore/compare/5.3.2...6.0.0)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/5.3.2...6.0.0)\n\n</details>\n\n---\n\n###
Configuration\n\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\nAutomerge - At any time (no schedule defined).\n\n🚦
**Automerge**: Disabled by config. Please merge this manually once
you\nare satisfied.\n\n♻ **Rebasing**: Whenever PR becomes conflicted,
or you tick the\nrebase/retry checkbox.\n\n🔕 **Ignore**: Close this PR
and you won't be reminded about this update\nagain.\n\n---\n\n- [ ] If
you want to rebase/retry this PR, check\nthis box\n\n---\n\nThis PR has
been generated by
[Renovate\nBot](https://github.com/renovatebot/renovate).\n\n\n\n---------\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\nCo-authored-by:
Brad White
<[email protected]>","sha":"2656cb4299663e94bdce4199ce7c48abb54521c1","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:all-open","v9.1.0"],"title":"Update
dependency ignore to v7
(main)","number":203286,"url":"https://github.com/elastic/kibana/pull/203286","mergeCommit":{"message":"Update
dependency ignore to v7 (main) (#203286)\n\nThis PR contains the
following updates:\n\n| Package | Type | Update | Change | Pending
|\n|---|---|---|---|---|\n|
[ignore](https://github.com/kaelzhang/node-ignore)
|\ndevDependencies | major | [`^5.3.0`
->\n`^7.0.4`](https://renovatebot.com/diffs/npm/ignore/5.3.2/7.0.4)
|\n`7.0.5` |\n\n---\n\n### Release
Notes\n\n<details>\n<summary>kaelzhang/node-ignore
(ignore)</summary>\n\n###\n[`v7.0.4`](https://github.com/kaelzhang/node-ignore/releases/tag/7.0.4)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/7.0.3...7.0.4)\n\n-
**PATCH** Allows files named `.{3,}`, such as `...` for Linux /
macOS\n([#​68](https://github.com/kaelzhang/node-ignore/issues/68))\n\n```js\nig.ignores('...')\nig.ignores('....')\n//
It will throw a RangeError in versions prior to 7.0.4, but it is ok if
>= 7.0.4\n```\n\nAn upgrade is recommended for all
dependents\n\n###\n[`v7.0.3`](https://github.com/kaelzhang/node-ignore/compare/52f8e855b6aca711579c008f38829f48e5a4c78b...7.0.3)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/52f8e855b6aca711579c008f38829f48e5a4c78b...7.0.3)\n\n###\n[`v7.0.2`](https://github.com/kaelzhang/node-ignore/compare/7.0.1...52f8e855b6aca711579c008f38829f48e5a4c78b)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/7.0.1...52f8e855b6aca711579c008f38829f48e5a4c78b)\n\n###\n[`v7.0.1`](https://github.com/kaelzhang/node-ignore/compare/7.0.0...7.0.1)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/7.0.0...7.0.1)\n\n###\n[`v7.0.0`](https://github.com/kaelzhang/node-ignore/releases/tag/7.0.0)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/ee70c66d32e900f6e793c733a4ca27a1dafb3819...7.0.0)\n\n####
Minor feature\n\nThe primary feature introduced by `7.0.0` is the
`.checkIgnore()`\nmethod, which is most equivalent to `git check-ignore
-v`. And also it\nallows to pass `{pattern, mark?}` as the parameter of
`.add()` so that\nwe could imitate the mechanism of `git check-ignore`
as:\n\n```js\nig.add({\n pattern: 'foo/*',\n mark: '60'\n})\n\nconst {\n
ignored,\n rule\n} = checkIgnore('foo/')\n\nif (ignored) {\n
console.log(`.gitignore:${result}:${rule.mark}:${rule.pattern}
foo/`)\n}\n\n// .gitignore:60:foo/* foo/\n```\n\n#### Potential
Incompatibilities\n\nThe only situation that `7.0.0` might bring
incompatibility is to\n`.add()` a `< 7.0.0` instance into a `>= 7.0.0`
instance, which might\noccur when the current workspace has multiple
`node-ignore` versions\ninstalled, please be careful.\n\n```js\nconst
{anotherIgnoreInstance} = require('./ignore-6.0-instance')\n\n// A 7.0.0
instance\nignore().add(anotherIgnoreInstance)\n\n// It will break your
code\n```\n\nOtherwise, in most cases, if you never do something above
or there is\nonly one version of `node-ignore` installed in the current
workspace, it\nis quite safe to upgrade to
`7.0.0`.\n\n###\n[`v6.0.2`](https://github.com/kaelzhang/node-ignore/compare/6.0.1...ee70c66d32e900f6e793c733a4ca27a1dafb3819)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/6.0.1...ee70c66d32e900f6e793c733a4ca27a1dafb3819)\n\n###\n[`v6.0.1`](https://github.com/kaelzhang/node-ignore/releases/tag/6.0.1):\n6.x
(==
5.3.2)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/6.0.0...6.0.1)\n\n###
6.x\n\n- The release of `6.x` is due to a mistake.\n- Making an upgrade
from `5.x` to 6.x for now actually changes nothing\nand does no harm,
everyone could just upgrade or ignore the version.\n - Actually `6.0.2`
is `5.3.2`\n- The next major release will be
`7.0.0`\n\n###\n[`v6.0.0`](https://github.com/kaelzhang/node-ignore/compare/5.3.2...6.0.0)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/5.3.2...6.0.0)\n\n</details>\n\n---\n\n###
Configuration\n\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\nAutomerge - At any time (no schedule defined).\n\n🚦
**Automerge**: Disabled by config. Please merge this manually once
you\nare satisfied.\n\n♻ **Rebasing**: Whenever PR becomes conflicted,
or you tick the\nrebase/retry checkbox.\n\n🔕 **Ignore**: Close this PR
and you won't be reminded about this update\nagain.\n\n---\n\n- [ ] If
you want to rebase/retry this PR, check\nthis box\n\n---\n\nThis PR has
been generated by
[Renovate\nBot](https://github.com/renovatebot/renovate).\n\n\n\n---------\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\nCo-authored-by:
Brad White
<[email protected]>","sha":"2656cb4299663e94bdce4199ce7c48abb54521c1"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203286","number":203286,"mergeCommit":{"message":"Update
dependency ignore to v7 (main) (#203286)\n\nThis PR contains the
following updates:\n\n| Package | Type | Update | Change | Pending
|\n|---|---|---|---|---|\n|
[ignore](https://github.com/kaelzhang/node-ignore)
|\ndevDependencies | major | [`^5.3.0`
->\n`^7.0.4`](https://renovatebot.com/diffs/npm/ignore/5.3.2/7.0.4)
|\n`7.0.5` |\n\n---\n\n### Release
Notes\n\n<details>\n<summary>kaelzhang/node-ignore
(ignore)</summary>\n\n###\n[`v7.0.4`](https://github.com/kaelzhang/node-ignore/releases/tag/7.0.4)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/7.0.3...7.0.4)\n\n-
**PATCH** Allows files named `.{3,}`, such as `...` for Linux /
macOS\n([#​68](https://github.com/kaelzhang/node-ignore/issues/68))\n\n```js\nig.ignores('...')\nig.ignores('....')\n//
It will throw a RangeError in versions prior to 7.0.4, but it is ok if
>= 7.0.4\n```\n\nAn upgrade is recommended for all
dependents\n\n###\n[`v7.0.3`](https://github.com/kaelzhang/node-ignore/compare/52f8e855b6aca711579c008f38829f48e5a4c78b...7.0.3)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/52f8e855b6aca711579c008f38829f48e5a4c78b...7.0.3)\n\n###\n[`v7.0.2`](https://github.com/kaelzhang/node-ignore/compare/7.0.1...52f8e855b6aca711579c008f38829f48e5a4c78b)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/7.0.1...52f8e855b6aca711579c008f38829f48e5a4c78b)\n\n###\n[`v7.0.1`](https://github.com/kaelzhang/node-ignore/compare/7.0.0...7.0.1)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/7.0.0...7.0.1)\n\n###\n[`v7.0.0`](https://github.com/kaelzhang/node-ignore/releases/tag/7.0.0)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/ee70c66d32e900f6e793c733a4ca27a1dafb3819...7.0.0)\n\n####
Minor feature\n\nThe primary feature introduced by `7.0.0` is the
`.checkIgnore()`\nmethod, which is most equivalent to `git check-ignore
-v`. And also it\nallows to pass `{pattern, mark?}` as the parameter of
`.add()` so that\nwe could imitate the mechanism of `git check-ignore`
as:\n\n```js\nig.add({\n pattern: 'foo/*',\n mark: '60'\n})\n\nconst {\n
ignored,\n rule\n} = checkIgnore('foo/')\n\nif (ignored) {\n
console.log(`.gitignore:${result}:${rule.mark}:${rule.pattern}
foo/`)\n}\n\n// .gitignore:60:foo/* foo/\n```\n\n#### Potential
Incompatibilities\n\nThe only situation that `7.0.0` might bring
incompatibility is to\n`.add()` a `< 7.0.0` instance into a `>= 7.0.0`
instance, which might\noccur when the current workspace has multiple
`node-ignore` versions\ninstalled, please be careful.\n\n```js\nconst
{anotherIgnoreInstance} = require('./ignore-6.0-instance')\n\n// A 7.0.0
instance\nignore().add(anotherIgnoreInstance)\n\n// It will break your
code\n```\n\nOtherwise, in most cases, if you never do something above
or there is\nonly one version of `node-ignore` installed in the current
workspace, it\nis quite safe to upgrade to
`7.0.0`.\n\n###\n[`v6.0.2`](https://github.com/kaelzhang/node-ignore/compare/6.0.1...ee70c66d32e900f6e793c733a4ca27a1dafb3819)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/6.0.1...ee70c66d32e900f6e793c733a4ca27a1dafb3819)\n\n###\n[`v6.0.1`](https://github.com/kaelzhang/node-ignore/releases/tag/6.0.1):\n6.x
(==
5.3.2)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/6.0.0...6.0.1)\n\n###
6.x\n\n- The release of `6.x` is due to a mistake.\n- Making an upgrade
from `5.x` to 6.x for now actually changes nothing\nand does no harm,
everyone could just upgrade or ignore the version.\n - Actually `6.0.2`
is `5.3.2`\n- The next major release will be
`7.0.0`\n\n###\n[`v6.0.0`](https://github.com/kaelzhang/node-ignore/compare/5.3.2...6.0.0)\n\n[Compare\nSource](https://github.com/kaelzhang/node-ignore/compare/5.3.2...6.0.0)\n\n</details>\n\n---\n\n###
Configuration\n\n📅 **Schedule**: Branch creation - At any time (no
schedule defined),\nAutomerge - At any time (no schedule defined).\n\n🚦
**Automerge**: Disabled by config. Please merge this manually once
you\nare satisfied.\n\n♻ **Rebasing**: Whenever PR becomes conflicted,
or you tick the\nrebase/retry checkbox.\n\n🔕 **Ignore**: Close this PR
and you won't be reminded about this update\nagain.\n\n---\n\n- [ ] If
you want to rebase/retry this PR, check\nthis box\n\n---\n\nThis PR has
been generated by
[Renovate\nBot](https://github.com/renovatebot/renovate).\n\n\n\n---------\n\nCo-authored-by:
elastic-renovate-prod[bot]
<174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\nCo-authored-by:
Brad White
<[email protected]>","sha":"2656cb4299663e94bdce4199ce7c48abb54521c1"}},{"url":"https://github.com/elastic/kibana/pull/222659","number":222659,"branch":"9.0","state":"OPEN"}]}]
BACKPORT-->
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
1 parent 18614b9 commit a81871e
2 files changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1745 | 1745 | | |
1746 | 1746 | | |
1747 | 1747 | | |
1748 | | - | |
| 1748 | + | |
1749 | 1749 | | |
1750 | 1750 | | |
1751 | 1751 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21104 | 21104 | | |
21105 | 21105 | | |
21106 | 21106 | | |
21107 | | - | |
| 21107 | + | |
21108 | 21108 | | |
21109 | 21109 | | |
21110 | 21110 | | |
21111 | 21111 | | |
| 21112 | + | |
| 21113 | + | |
| 21114 | + | |
| 21115 | + | |
| 21116 | + | |
21112 | 21117 | | |
21113 | 21118 | | |
21114 | 21119 | | |
| |||
0 commit comments