Skip to content

Commit 1060061

Browse files
committed
updating version params for undici hook
1 parent 796cc13 commit 1060061

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/datadog-instrumentations/src/undici.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const { createWrapFetch } = require('./helpers/fetch')
1212

1313
addHook({
1414
name: 'undici',
15-
versions: ['^4.4.1', '5', '^6.0.0']
15+
versions: ['^4.4.1', '5', '>=6.0.0']
1616
}, undici => {
1717
return shimmer.wrap(undici, 'fetch', createWrapFetch(undici.Request, ch))
1818
})

packages/dd-trace/src/plugin_manager.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ loadChannel.subscribe(({ name }) => {
3030

3131
// Globals
3232
maybeEnable(require('../../datadog-plugin-fetch/src'))
33-
maybeEnable(require('../../datadog-plugin-undici/src'))
3433

3534
function maybeEnable (Plugin) {
3635
if (!Plugin || typeof Plugin !== 'function') return

0 commit comments

Comments
 (0)