-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: support process.getBuiltinModule #92
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
trentm
requested changes
Jul 16, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. s/require-in-the-middle/require-and-get-builtin-module-in-the-middle/.
Before I forget, I think the README should also get mention that this new core API would get patched as well. |
trentm
requested changes
Jul 19, 2024
trentm
approved these changes
Jul 25, 2024
Thanks, @watson! I'll get a release out soonish. |
Merged
azasypkin
referenced
this pull request
in elastic/kibana
Aug 2, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [require-in-the-middle](https://github.com/elastic/require-in-the-middle) | [`^7.3.0` -> `^7.4.0`](https://renovatebot.com/diffs/npm/require-in-the-middle/7.3.0/7.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>elastic/require-in-the-middle (require-in-the-middle)</summary> ### [`v7.4.0`](https://github.com/elastic/require-in-the-middle/blob/HEAD/CHANGELOG.md#v740) [Compare Source](https://github.com/elastic/require-in-the-middle/compare/v7.3.0...v7.4.0) - Support hooking built-in Node.js loaded via [`process.getBuiltinModule`](https://nodejs.org/api/all.html#all_process_processgetbuiltinmoduleid), added in v22.3.[https://github.com/elastic/require-in-the-middle/pull/92](https://github.com/elastic/require-in-the-middle/pull/92)/pull/92) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/elastic/kibana). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNlY3VyaXR5IiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>
kibanamachine
referenced
this pull request
in kibanamachine/kibana
Aug 2, 2024
) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [require-in-the-middle](https://github.com/elastic/require-in-the-middle) | [`^7.3.0` -> `^7.4.0`](https://renovatebot.com/diffs/npm/require-in-the-middle/7.3.0/7.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>elastic/require-in-the-middle (require-in-the-middle)</summary> ### [`v7.4.0`](https://github.com/elastic/require-in-the-middle/blob/HEAD/CHANGELOG.md#v740) [Compare Source](https://github.com/elastic/require-in-the-middle/compare/v7.3.0...v7.4.0) - Support hooking built-in Node.js loaded via [`process.getBuiltinModule`](https://nodejs.org/api/all.html#all_process_processgetbuiltinmoduleid), added in v22.3.[https://github.com/elastic/require-in-the-middle/pull/92](https://github.com/elastic/require-in-the-middle/pull/92)/pull/92) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/elastic/kibana). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNlY3VyaXR5IiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co> (cherry picked from commit 183a2ea)
azasypkin
referenced
this pull request
in azasypkin/kibana
Aug 2, 2024
) [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [require-in-the-middle](https://github.com/elastic/require-in-the-middle) | [`^7.3.0` -> `^7.4.0`](https://renovatebot.com/diffs/npm/require-in-the-middle/7.3.0/7.4.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>elastic/require-in-the-middle (require-in-the-middle)</summary> ### [`v7.4.0`](https://github.com/elastic/require-in-the-middle/blob/HEAD/CHANGELOG.md#v740) [Compare Source](https://github.com/elastic/require-in-the-middle/compare/v7.3.0...v7.4.0) - Support hooking built-in Node.js loaded via [`process.getBuiltinModule`](https://nodejs.org/api/all.html#all_process_processgetbuiltinmoduleid), added in v22.3.[https://github.com/elastic/require-in-the-middle/pull/92](https://github.com/elastic/require-in-the-middle/pull/92)/pull/92) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/elastic/kibana). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNlY3VyaXR5IiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co> (cherry picked from commit 183a2ea) # Conflicts: # package.json # yarn.lock
azasypkin
referenced
this pull request
in elastic/kibana
Aug 2, 2024
) (#189789) # Backport This will backport the following commits from `main` to `7.17`: - [Update dependency require-in-the-middle to ^7.4.0 (main) (#189749)](#189749) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"renovate[bot]","email":"29139614+renovate[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-08-02T10:45:23Z","message":"Update dependency require-in-the-middle to ^7.4.0 (main) (#189749)\n\n[![Mend\r\nRenovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)\r\n\r\nThis PR contains the following updates:\r\n\r\n| Package | Change | Age | Adoption | Passing | Confidence |\r\n|---|---|---|---|---|---|\r\n|\r\n[require-in-the-middle](https://github.com/elastic/require-in-the-middle)\r\n| [`^7.3.0` ->\r\n`^7.4.0`](https://renovatebot.com/diffs/npm/require-in-the-middle/7.3.0/7.4.0)\r\n|\r\n[![age](https://developer.mend.io/api/mc/badges/age/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n\r\n---\r\n\r\n### Release Notes\r\n\r\n<details>\r\n<summary>elastic/require-in-the-middle (require-in-the-middle)</summary>\r\n\r\n###\r\n[`v7.4.0`](https://github.com/elastic/require-in-the-middle/blob/HEAD/CHANGELOG.md#v740)\r\n\r\n[Compare\r\nSource](https://github.com/elastic/require-in-the-middle/compare/v7.3.0...v7.4.0)\r\n\r\n- Support hooking built-in Node.js loaded via\r\n\r\n[`process.getBuiltinModule`](https://nodejs.org/api/all.html#all_process_processgetbuiltinmoduleid),\r\nadded in\r\nv22.3.[https://github.com/elastic/require-in-the-middle/pull/92](https://github.com/elastic/require-in-the-middle/pull/92)/pull/92)\r\n\r\n</details>\r\n\r\n---\r\n\r\n### Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no schedule defined),\r\nAutomerge - At any time (no schedule defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕 **Ignore**: Close this PR and you won't be reminded about this update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis PR was generated by [Mend\r\nRenovate](https://www.mend.io/free-developer-tools/renovate/). View the\r\n[repository job log](https://developer.mend.io/github/elastic/kibana).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNlY3VyaXR5IiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->\r\n\r\n---------\r\n\r\nCo-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>\r\nCo-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>","sha":"183a2ea8cb8bed8ce7fbb1f615f808bce6576c05","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","backport:all-open","v8.16.0"],"number":189749,"url":"https://github.com/elastic/kibana/pull/189749","mergeCommit":{"message":"Update dependency require-in-the-middle to ^7.4.0 (main) (#189749)\n\n[![Mend\r\nRenovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)\r\n\r\nThis PR contains the following updates:\r\n\r\n| Package | Change | Age | Adoption | Passing | Confidence |\r\n|---|---|---|---|---|---|\r\n|\r\n[require-in-the-middle](https://github.com/elastic/require-in-the-middle)\r\n| [`^7.3.0` ->\r\n`^7.4.0`](https://renovatebot.com/diffs/npm/require-in-the-middle/7.3.0/7.4.0)\r\n|\r\n[![age](https://developer.mend.io/api/mc/badges/age/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n\r\n---\r\n\r\n### Release Notes\r\n\r\n<details>\r\n<summary>elastic/require-in-the-middle (require-in-the-middle)</summary>\r\n\r\n###\r\n[`v7.4.0`](https://github.com/elastic/require-in-the-middle/blob/HEAD/CHANGELOG.md#v740)\r\n\r\n[Compare\r\nSource](https://github.com/elastic/require-in-the-middle/compare/v7.3.0...v7.4.0)\r\n\r\n- Support hooking built-in Node.js loaded via\r\n\r\n[`process.getBuiltinModule`](https://nodejs.org/api/all.html#all_process_processgetbuiltinmoduleid),\r\nadded in\r\nv22.3.[https://github.com/elastic/require-in-the-middle/pull/92](https://github.com/elastic/require-in-the-middle/pull/92)/pull/92)\r\n\r\n</details>\r\n\r\n---\r\n\r\n### Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no schedule defined),\r\nAutomerge - At any time (no schedule defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕 **Ignore**: Close this PR and you won't be reminded about this update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis PR was generated by [Mend\r\nRenovate](https://www.mend.io/free-developer-tools/renovate/). View the\r\n[repository job log](https://developer.mend.io/github/elastic/kibana).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNlY3VyaXR5IiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->\r\n\r\n---------\r\n\r\nCo-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>\r\nCo-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>","sha":"183a2ea8cb8bed8ce7fbb1f615f808bce6576c05"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","labelRegex":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/189749","number":189749,"mergeCommit":{"message":"Update dependency require-in-the-middle to ^7.4.0 (main) (#189749)\n\n[![Mend\r\nRenovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)\r\n\r\nThis PR contains the following updates:\r\n\r\n| Package | Change | Age | Adoption | Passing | Confidence |\r\n|---|---|---|---|---|---|\r\n|\r\n[require-in-the-middle](https://github.com/elastic/require-in-the-middle)\r\n| [`^7.3.0` ->\r\n`^7.4.0`](https://renovatebot.com/diffs/npm/require-in-the-middle/7.3.0/7.4.0)\r\n|\r\n[![age](https://developer.mend.io/api/mc/badges/age/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n\r\n---\r\n\r\n### Release Notes\r\n\r\n<details>\r\n<summary>elastic/require-in-the-middle (require-in-the-middle)</summary>\r\n\r\n###\r\n[`v7.4.0`](https://github.com/elastic/require-in-the-middle/blob/HEAD/CHANGELOG.md#v740)\r\n\r\n[Compare\r\nSource](https://github.com/elastic/require-in-the-middle/compare/v7.3.0...v7.4.0)\r\n\r\n- Support hooking built-in Node.js loaded via\r\n\r\n[`process.getBuiltinModule`](https://nodejs.org/api/all.html#all_process_processgetbuiltinmoduleid),\r\nadded in\r\nv22.3.[https://github.com/elastic/require-in-the-middle/pull/92](https://github.com/elastic/require-in-the-middle/pull/92)/pull/92)\r\n\r\n</details>\r\n\r\n---\r\n\r\n### Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no schedule defined),\r\nAutomerge - At any time (no schedule defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕 **Ignore**: Close this PR and you won't be reminded about this update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis PR was generated by [Mend\r\nRenovate](https://www.mend.io/free-developer-tools/renovate/). View the\r\n[repository job log](https://developer.mend.io/github/elastic/kibana).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNlY3VyaXR5IiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->\r\n\r\n---------\r\n\r\nCo-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>\r\nCo-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>","sha":"183a2ea8cb8bed8ce7fbb1f615f808bce6576c05"}},{"url":"https://github.com/elastic/kibana/pull/189787","number":189787,"branch":"8.15","state":"OPEN"}]}] BACKPORT--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
kibanamachine
referenced
this pull request
in elastic/kibana
Aug 5, 2024
) (#189787) # Backport This will backport the following commits from `main` to `8.15`: - [Update dependency require-in-the-middle to ^7.4.0 (main) (#189749)](#189749) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"renovate[bot]","email":"29139614+renovate[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2024-08-02T10:45:23Z","message":"Update dependency require-in-the-middle to ^7.4.0 (main) (#189749)\n\n[![Mend\r\nRenovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)\r\n\r\nThis PR contains the following updates:\r\n\r\n| Package | Change | Age | Adoption | Passing | Confidence |\r\n|---|---|---|---|---|---|\r\n|\r\n[require-in-the-middle](https://github.com/elastic/require-in-the-middle)\r\n| [`^7.3.0` ->\r\n`^7.4.0`](https://renovatebot.com/diffs/npm/require-in-the-middle/7.3.0/7.4.0)\r\n|\r\n[![age](https://developer.mend.io/api/mc/badges/age/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n\r\n---\r\n\r\n### Release Notes\r\n\r\n<details>\r\n<summary>elastic/require-in-the-middle (require-in-the-middle)</summary>\r\n\r\n###\r\n[`v7.4.0`](https://github.com/elastic/require-in-the-middle/blob/HEAD/CHANGELOG.md#v740)\r\n\r\n[Compare\r\nSource](https://github.com/elastic/require-in-the-middle/compare/v7.3.0...v7.4.0)\r\n\r\n- Support hooking built-in Node.js loaded via\r\n\r\n[`process.getBuiltinModule`](https://nodejs.org/api/all.html#all_process_processgetbuiltinmoduleid),\r\nadded in\r\nv22.3.[https://github.com/elastic/require-in-the-middle/pull/92](https://github.com/elastic/require-in-the-middle/pull/92)/pull/92)\r\n\r\n</details>\r\n\r\n---\r\n\r\n### Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no schedule defined),\r\nAutomerge - At any time (no schedule defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕 **Ignore**: Close this PR and you won't be reminded about this update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis PR was generated by [Mend\r\nRenovate](https://www.mend.io/free-developer-tools/renovate/). View the\r\n[repository job log](https://developer.mend.io/github/elastic/kibana).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNlY3VyaXR5IiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->\r\n\r\n---------\r\n\r\nCo-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>\r\nCo-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>","sha":"183a2ea8cb8bed8ce7fbb1f615f808bce6576c05","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Security","release_note:skip","backport:all-open","v8.16.0"],"title":"Update dependency require-in-the-middle to ^7.4.0 (main)","number":189749,"url":"https://github.com/elastic/kibana/pull/189749","mergeCommit":{"message":"Update dependency require-in-the-middle to ^7.4.0 (main) (#189749)\n\n[![Mend\r\nRenovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)\r\n\r\nThis PR contains the following updates:\r\n\r\n| Package | Change | Age | Adoption | Passing | Confidence |\r\n|---|---|---|---|---|---|\r\n|\r\n[require-in-the-middle](https://github.com/elastic/require-in-the-middle)\r\n| [`^7.3.0` ->\r\n`^7.4.0`](https://renovatebot.com/diffs/npm/require-in-the-middle/7.3.0/7.4.0)\r\n|\r\n[![age](https://developer.mend.io/api/mc/badges/age/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n\r\n---\r\n\r\n### Release Notes\r\n\r\n<details>\r\n<summary>elastic/require-in-the-middle (require-in-the-middle)</summary>\r\n\r\n###\r\n[`v7.4.0`](https://github.com/elastic/require-in-the-middle/blob/HEAD/CHANGELOG.md#v740)\r\n\r\n[Compare\r\nSource](https://github.com/elastic/require-in-the-middle/compare/v7.3.0...v7.4.0)\r\n\r\n- Support hooking built-in Node.js loaded via\r\n\r\n[`process.getBuiltinModule`](https://nodejs.org/api/all.html#all_process_processgetbuiltinmoduleid),\r\nadded in\r\nv22.3.[https://github.com/elastic/require-in-the-middle/pull/92](https://github.com/elastic/require-in-the-middle/pull/92)/pull/92)\r\n\r\n</details>\r\n\r\n---\r\n\r\n### Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no schedule defined),\r\nAutomerge - At any time (no schedule defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕 **Ignore**: Close this PR and you won't be reminded about this update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis PR was generated by [Mend\r\nRenovate](https://www.mend.io/free-developer-tools/renovate/). View the\r\n[repository job log](https://developer.mend.io/github/elastic/kibana).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNlY3VyaXR5IiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->\r\n\r\n---------\r\n\r\nCo-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>\r\nCo-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>","sha":"183a2ea8cb8bed8ce7fbb1f615f808bce6576c05"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/189749","number":189749,"mergeCommit":{"message":"Update dependency require-in-the-middle to ^7.4.0 (main) (#189749)\n\n[![Mend\r\nRenovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)\r\n\r\nThis PR contains the following updates:\r\n\r\n| Package | Change | Age | Adoption | Passing | Confidence |\r\n|---|---|---|---|---|---|\r\n|\r\n[require-in-the-middle](https://github.com/elastic/require-in-the-middle)\r\n| [`^7.3.0` ->\r\n`^7.4.0`](https://renovatebot.com/diffs/npm/require-in-the-middle/7.3.0/7.4.0)\r\n|\r\n[![age](https://developer.mend.io/api/mc/badges/age/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/require-in-the-middle/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/require-in-the-middle/7.3.0/7.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)\r\n|\r\n\r\n---\r\n\r\n### Release Notes\r\n\r\n<details>\r\n<summary>elastic/require-in-the-middle (require-in-the-middle)</summary>\r\n\r\n###\r\n[`v7.4.0`](https://github.com/elastic/require-in-the-middle/blob/HEAD/CHANGELOG.md#v740)\r\n\r\n[Compare\r\nSource](https://github.com/elastic/require-in-the-middle/compare/v7.3.0...v7.4.0)\r\n\r\n- Support hooking built-in Node.js loaded via\r\n\r\n[`process.getBuiltinModule`](https://nodejs.org/api/all.html#all_process_processgetbuiltinmoduleid),\r\nadded in\r\nv22.3.[https://github.com/elastic/require-in-the-middle/pull/92](https://github.com/elastic/require-in-the-middle/pull/92)/pull/92)\r\n\r\n</details>\r\n\r\n---\r\n\r\n### Configuration\r\n\r\n📅 **Schedule**: Branch creation - At any time (no schedule defined),\r\nAutomerge - At any time (no schedule defined).\r\n\r\n🚦 **Automerge**: Disabled by config. Please merge this manually once you\r\nare satisfied.\r\n\r\n♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the\r\nrebase/retry checkbox.\r\n\r\n🔕 **Ignore**: Close this PR and you won't be reminded about this update\r\nagain.\r\n\r\n---\r\n\r\n- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check\r\nthis box\r\n\r\n---\r\n\r\nThis PR was generated by [Mend\r\nRenovate](https://www.mend.io/free-developer-tools/renovate/). View the\r\n[repository job log](https://developer.mend.io/github/elastic/kibana).\r\n\r\n<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOlNlY3VyaXR5IiwiYmFja3BvcnQ6YWxsLW9wZW4iLCJyZWxlYXNlX25vdGU6c2tpcCJdfQ==-->\r\n\r\n---------\r\n\r\nCo-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>\r\nCo-authored-by: Aleh Zasypkin <aleh.zasypkin@elastic.co>","sha":"183a2ea8cb8bed8ce7fbb1f615f808bce6576c05"}}]}] BACKPORT--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A new way to require built-in Node.js modules (a.k.a. core modules) was added in Node.js v22.3.0 (PR: nodejs/node#52762):
The way this module patches the
require
function means we don't catch calls toprocess.getBuiltinModule
, which then remain unpatched. This PR fixes that by also patching calls toprocess.getBuiltinModule
directly.