This repository was archived by the owner on Jan 21, 2026. It is now read-only.
fix(deps): update dependency require-in-the-middle to v7#1494
Merged
sofisl merged 1 commit intogoogleapis:mainfrom May 2, 2023
Merged
fix(deps): update dependency require-in-the-middle to v7#1494sofisl merged 1 commit intogoogleapis:mainfrom
sofisl merged 1 commit intogoogleapis:mainfrom
Conversation
sofisl
approved these changes
May 2, 2023
gcf-merge-on-green Bot
pushed a commit
that referenced
this pull request
Feb 7, 2024
🤖 I have created a release *beep* *boop* --- ## [8.0.0](https://togithub.com/googleapis/cloud-trace-nodejs/compare/v7.1.2...v8.0.0) (2024-02-07) ### ⚠ BREAKING CHANGES * upgrade to Node 14 ([#1517](https://togithub.com/googleapis/cloud-trace-nodejs/issues/1517)) ### Features * Support restify v9-v11 ([#1489](https://togithub.com/googleapis/cloud-trace-nodejs/issues/1489)) ([746f30c](https://togithub.com/googleapis/cloud-trace-nodejs/commit/746f30c084f8e2c9eb9dbaebb017ed3cc30304ca)) ### Bug Fixes * Assert oldMethod existence, and pin typescript version ([#1549](https://togithub.com/googleapis/cloud-trace-nodejs/issues/1549)) ([66a39fa](https://togithub.com/googleapis/cloud-trace-nodejs/commit/66a39fac603dbd0ab40afa5266236850124cd21b)) * **deps:** Update dependency require-in-the-middle to v6 ([#1483](https://togithub.com/googleapis/cloud-trace-nodejs/issues/1483)) ([ddd4bbb](https://togithub.com/googleapis/cloud-trace-nodejs/commit/ddd4bbb765aaa698ace8ec35ae79331f930a6709)) * **deps:** Update dependency require-in-the-middle to v7 ([#1494](https://togithub.com/googleapis/cloud-trace-nodejs/issues/1494)) ([58e7821](https://togithub.com/googleapis/cloud-trace-nodejs/commit/58e7821ce4abcba934431b9623bfef28c17da959)) * Skip flaky test ([#1495](https://togithub.com/googleapis/cloud-trace-nodejs/issues/1495)) ([bb03060](https://togithub.com/googleapis/cloud-trace-nodejs/commit/bb03060c6cf6e9d80982dda9dbb62aa3704daedf)), closes [#1334](https://togithub.com/googleapis/cloud-trace-nodejs/issues/1334) ### Miscellaneous Chores * Upgrade to Node 14 ([#1517](https://togithub.com/googleapis/cloud-trace-nodejs/issues/1517)) ([8b6c967](https://togithub.com/googleapis/cloud-trace-nodejs/commit/8b6c967a73eb3ce16b1a4471249f4266db32e478)) --- This PR was generated with [Release Please](https://togithub.com/googleapis/release-please). See [documentation](https://togithub.com/googleapis/release-please#release-please).
This file contains hidden or 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
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
This PR contains the following updates:
^6.0.0->^7.0.0Release Notes
elastic/require-in-the-middle
v7.1.0Compare Source
https://github.com/elastic/require-in-the-middle/pull/67l/67)
v7.0.1Compare Source
Fix hooking of 'http2' with Node.js versions [8.0, 8.8) where the 'http2'
built-in module was behind the
--expose-http2flag.https://github.com/elastic/require-in-the-middle/pull/68l/68)
Release v7.0.0 introduced a bug with this case where the process would crash with:
v7.0.0Compare Source
Change the suggested require usage to be a
Hookfield on the exports,rather than the default export:
This is to avoid the need for users to use a default export
which can get confusing or problematic with TypeScript. https://github.com/open-telemetry/opentelemetry-js/issues/3701ues/3701 for some
details.
Change the suggested usage to
new Hook(...)instead ofHook(...), butboth are supported.
Use the Node.js
require.cachefor caching the exports returned from aHook's
onrequire. This allows users to delete entries fromrequire.cacheto trigger a re-load (and re-run of the hook's
onrequire) of a module thenext time it is required -- as mentioned at
https://nodejs.org/docs/latest/api/all.html#all_modules_requir[https://github.com/elastic/require-in-the-middle/issues/61](https://togithub.com/elastic/require-in-the-middle/issues/61)le/issues/61)
(SEMVER-MAJOR) Remove the
hook.cachefield. In earlier versions this wasavailable and some tests used it. However it was never a documented field.
If resolving the filename for a
require(...)fails, defer to the wrappedrequire implementation rather than failing right away. This allows a
possibly-monkey-patched
requireto do its own special thing.https://github.com/elastic/require-in-the-middle/pull/59l/59)
Configuration
📅 Schedule: Branch creation - "after 9am and before 3pm" (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.
This PR has been generated by Mend Renovate. View repository job log here.