-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Commit a10bb44
# Backport
This will backport the following commits from `main` to `9.0`:
- [Update dependency ignore to v7 (main)
(#203286)](#203286)
<!--- Backport version: 9.6.6 -->
### 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"}}]}]
BACKPORT-->
Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
Co-authored-by: Brad White <[email protected]>
1 parent d3150cc commit a10bb44Copy full SHA for a10bb44
File tree
Expand file treeCollapse file tree
2 files changed
+6
-6
lines changedOpen diff view settings
Filter options
Expand file treeCollapse file tree
2 files changed
+6
-6
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1774 | 1774 | | |
1775 | 1775 | | |
1776 | 1776 | | |
1777 | | - | |
| 1777 | + | |
1778 | 1778 | | |
1779 | 1779 | | |
1780 | 1780 | | |
| |||
Collapse file
+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20034 | 20034 | | |
20035 | 20035 | | |
20036 | 20036 | | |
20037 | | - | |
| 20037 | + | |
20038 | 20038 | | |
20039 | 20039 | | |
20040 | 20040 | | |
20041 | 20041 | | |
20042 | | - | |
20043 | | - | |
20044 | | - | |
20045 | | - | |
| 20042 | + | |
| 20043 | + | |
| 20044 | + | |
| 20045 | + | |
20046 | 20046 | | |
20047 | 20047 | | |
20048 | 20048 | | |
| |||
0 commit comments