@devries-cameron20 / composio Mirror · read-only / commits / 303ad9b7e
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 14:45 UTC

fix(deps): keep undici on v7 for native fetch compatibility (#4195)

## Summary - retain Undici 7 in @composio/core and @composio/slim - ignore future Undici semver-major Dependabot updates until supported Node runtimes use the compatible dispatcher protocol - preserve the real-socket DNS-pinning regression coverage ## Why Undici 8 dispatchers require the new request handler API, while the built-in fetch implementation in supported Node 22, 24, and 25 releases dispatches through the legacy API. Passing the SDK pinned Undici 8 Agent to native fetch fails with UND_ERR_INVALID_ARG: invalid onRequestStart method, breaking SSRF-safe URL fetches. ## Verification - pnpm --filter @composio/core exec vitest run test/utils/pinnedDispatcher.node.test.ts - pnpm --filter @composio/core test - pnpm --filter @composio/core typecheck - pnpm test --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: jkomyno <alberto@composio.dev>

dependabot[bot] committed Aug 24, 2026 at 21:12 UTC 303ad9b7eb6e7d07ad61a15bec19ed0b96ba6a38
2 files changed +58 -55
.github/dependabot.yml
+3
@@ -24,6 +24,9 @@ updates:
24 update-types: ["version-update:semver-major"]
25 - dependency-name: "openai"
26 update-types: ["version-update:semver-major"]
27 + # Node 22/24/25 built-in fetch uses the legacy dispatcher handler API.
28 + - dependency-name: "undici"
29 + update-types: ["version-update:semver-major"]
30 - dependency-name: "zod"
31 update-types: ["version-update:semver-major"]
32 # Version 1.0.0 is not compatible with the Effect package family in use.
pnpm-lock.yaml
+55 -55
@@ -4059,28 +4059,28 @@ packages:
4059 resolution: {integrity: sha512-CyogUINxvi7C7LDsh8Syo6hVJOT9ckz4rG8dRZfTJ8r91HkMY59PnNooaj7WcHyxEkxPfBAmbgztZU+xTo76lg==}
4060 engines: {node: '>=18.0.0'}
4061
4062 - '@smithy/core@3.33.0':
4063 - resolution: {integrity: sha512-uKbkxgqLyepQDZoq8aRSdUqD1ID//rOqG96ixBhp++O7vBtmwYM6fwldGhr9HJP0iYrdc7GP/AlgzPWEZIrNRg==}
4062 + '@smithy/core@3.33.2':
4063 + resolution: {integrity: sha512-CUGXpnPkVdjUCbix+83sWLW9VFgQOm44MDOx/ihITJMAnOZKvL8YYIc7DR9pP/tZ8CIRvMiON/TucvygqbHO3w==}
4064 engines: {node: '>=18.0.0'}
4065
4066 - '@smithy/credential-provider-imds@4.5.0':
4067 - resolution: {integrity: sha512-2jsPi+7Zv2hSzD9IXR9D7DTqSn7mv4XalzRm+bESh53jiaUS3NKEUbpQFTJP0HhQy9qzZvluxQ3yS24zdRrqsA==}
4066 + '@smithy/credential-provider-imds@4.5.2':
4067 + resolution: {integrity: sha512-A9uSdn72ozbRUSit0eib0TW7nXuNPlaeM0zcGkJ+nE6tFcSDbnmtwoxbTCFBukVQcszDAyvsd7+rTduPTXpygg==}
4068 engines: {node: '>=18.0.0'}
4069
4070 '@smithy/fetch-http-handler@5.6.13':
4071 resolution: {integrity: sha512-4fW86pEUOMbrD5nkbyl/tTvPHHWJFbuB2odl6ps9lWfHoXf9HWh3Q/Smh59qH1g7+c/BSZghX6bbUk4gsiMs8A==}
4072 engines: {node: '>=18.0.0'}
4073
4074 - '@smithy/fetch-http-handler@5.7.0':
4075 - resolution: {integrity: sha512-W/exA8T0LEzCQtJ02w4IzaEQPIspgarqZprb7W8FwnYiDowgCrjl2fTQ6FvuSSUnJORuepBF81abmBJwqh+0XQ==}
4074 + '@smithy/fetch-http-handler@5.7.2':
4075 + resolution: {integrity: sha512-nZyWTmSpJEXl6VtWVMBJve/7x12DZu6sIX1z1a+ZMaHlQQRs9Zpu6NbTe/gmxYXVRpkjxyDYpZ5gx2IM6f/Wkw==}
4076 engines: {node: '>=18.0.0'}
4077
4078 '@smithy/is-array-buffer@2.2.0':
4079 resolution: {integrity: sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA==}
4080 engines: {node: '>=14.0.0'}
4081
4082 - '@smithy/node-http-handler@4.11.0':
4083 - resolution: {integrity: sha512-ssHIZsadPUA3lGdnoByxfnjtb9xPYQLvdfJRLKIwxOoa6tO1suG4sLFSsgd7D/CsvYd8QbBIuKTImuJha5l6aQ==}
4082 + '@smithy/node-http-handler@4.11.2':
4083 + resolution: {integrity: sha512-avwAh9HM3h2lcfjvP3zYIZGf+XVgLQ91wOJ2qoFbNpW1UZeZb33aGlhTZvtkANHfcGhJroRY64525OjfgOg30g==}
4084 engines: {node: '>=18.0.0'}
4085
4086 '@smithy/node-http-handler@4.7.3':
@@ -4099,8 +4099,8 @@ packages:
4099 resolution: {integrity: sha512-0JFs3V2y2M9tKW5na/qxe69Zv+uxLMO7QBbhxF/FHu/Gp2NFZAAL9tWl9PU02xxo07pb3G9FTyjNc6D5uZrJIg==}
4100 engines: {node: '>=18.0.0'}
4101
4102 - '@smithy/types@4.17.0':
4103 - resolution: {integrity: sha512-Aw4joiM0ZdErpo39lCj8phT2lxoiKZV+KZzBxnnQhWVtU2Is/WffQSL04uUWRcXUse9Ln8vXZK6V/FwqRVnQpg==}
4102 + '@smithy/types@4.17.2':
4103 + resolution: {integrity: sha512-FOKpVZob9MPTn2znRzGrnsMHv7BOsKVw3XiP/cOyYLDVZ9qKp4nifIiSCuUU/fIj5Vu0UOAxCFr+qRAtG0NUkA==}
4104 engines: {node: '>=18.0.0'}
4105
4106 '@smithy/util-buffer-from@2.2.0':
@@ -7540,9 +7540,9 @@ snapshots:
7540 '@aws-sdk/types': 3.974.4
7541 '@aws-sdk/xml-builder': 3.972.39
7542 '@aws/lambda-invoke-store': 0.3.0
7543 - '@smithy/core': 3.33.0
7543 + '@smithy/core': 3.33.2
7544 '@smithy/signature-v4': 5.6.12
7545 - '@smithy/types': 4.17.0
7545 + '@smithy/types': 4.17.2
7546 bowser: 2.14.1
7547 tslib: 2.8.1
7548
@@ -7550,18 +7550,18 @@ snapshots:
7550 dependencies:
7551 '@aws-sdk/core': 3.977.8
7552 '@aws-sdk/types': 3.974.4
7553 - '@smithy/core': 3.33.0
7554 - '@smithy/types': 4.17.0
7553 + '@smithy/core': 3.33.2
7554 + '@smithy/types': 4.17.2
7555 tslib: 2.8.1
7556
7557 '@aws-sdk/credential-provider-http@3.972.71':
7558 dependencies:
7559 '@aws-sdk/core': 3.977.8
7560 '@aws-sdk/types': 3.974.4
7561 - '@smithy/core': 3.33.0
7562 - '@smithy/fetch-http-handler': 5.7.0
7563 - '@smithy/node-http-handler': 4.11.0
7564 - '@smithy/types': 4.17.0
7561 + '@smithy/core': 3.33.2
7562 + '@smithy/fetch-http-handler': 5.7.2
7563 + '@smithy/node-http-handler': 4.11.2
7564 + '@smithy/types': 4.17.2
7565 tslib: 2.8.1
7566
7567 '@aws-sdk/credential-provider-ini@3.973.14':
@@ -7575,9 +7575,9 @@ snapshots:
7575 '@aws-sdk/credential-provider-web-identity': 3.972.75
7576 '@aws-sdk/nested-clients': 3.997.43
7577 '@aws-sdk/types': 3.974.4
7578 - '@smithy/core': 3.33.0
7579 - '@smithy/credential-provider-imds': 4.5.0
7580 - '@smithy/types': 4.17.0
7578 + '@smithy/core': 3.33.2
7579 + '@smithy/credential-provider-imds': 4.5.2
7580 + '@smithy/types': 4.17.2
7581 tslib: 2.8.1
7582
7583 '@aws-sdk/credential-provider-login@3.972.76':
@@ -7585,8 +7585,8 @@ snapshots:
7585 '@aws-sdk/core': 3.977.8
7586 '@aws-sdk/nested-clients': 3.997.43
7587 '@aws-sdk/types': 3.974.4
7588 - '@smithy/core': 3.33.0
7589 - '@smithy/types': 4.17.0
7588 + '@smithy/core': 3.33.2
7589 + '@smithy/types': 4.17.2
7590 tslib: 2.8.1
7591
7592 '@aws-sdk/credential-provider-node@3.972.78':
@@ -7598,17 +7598,17 @@ snapshots:
7598 '@aws-sdk/credential-provider-sso': 3.973.13
7599 '@aws-sdk/credential-provider-web-identity': 3.972.75
7600 '@aws-sdk/types': 3.974.4
7601 - '@smithy/core': 3.33.0
7602 - '@smithy/credential-provider-imds': 4.5.0
7603 - '@smithy/types': 4.17.0
7601 + '@smithy/core': 3.33.2
7602 + '@smithy/credential-provider-imds': 4.5.2
7603 + '@smithy/types': 4.17.2
7604 tslib: 2.8.1
7605
7606 '@aws-sdk/credential-provider-process@3.972.69':
7607 dependencies:
7608 '@aws-sdk/core': 3.977.8
7609 '@aws-sdk/types': 3.974.4
7610 - '@smithy/core': 3.33.0
7611 - '@smithy/types': 4.17.0
7610 + '@smithy/core': 3.33.2
7611 + '@smithy/types': 4.17.2
7612 tslib: 2.8.1
7613
7614 '@aws-sdk/credential-provider-sso@3.973.13':
@@ -7617,8 +7617,8 @@ snapshots:
7617 '@aws-sdk/nested-clients': 3.997.43
7618 '@aws-sdk/token-providers': 3.1111.0
7619 '@aws-sdk/types': 3.974.4
7620 - '@smithy/core': 3.33.0
7621 - '@smithy/types': 4.17.0
7620 + '@smithy/core': 3.33.2
7621 + '@smithy/types': 4.17.2
7622 tslib: 2.8.1
7623
7624 '@aws-sdk/credential-provider-web-identity@3.972.75':
@@ -7626,8 +7626,8 @@ snapshots:
7626 '@aws-sdk/core': 3.977.8
7627 '@aws-sdk/nested-clients': 3.997.43
7628 '@aws-sdk/types': 3.974.4
7629 - '@smithy/core': 3.33.0
7630 - '@smithy/types': 4.17.0
7629 + '@smithy/core': 3.33.2
7630 + '@smithy/types': 4.17.2
7631 tslib: 2.8.1
7632
7633 '@aws-sdk/eventstream-handler-node@3.972.31':
@@ -7670,10 +7670,10 @@ snapshots:
7670 '@aws-sdk/core': 3.977.8
7671 '@aws-sdk/signature-v4-multi-region': 3.996.45
7672 '@aws-sdk/types': 3.974.4
7673 - '@smithy/core': 3.33.0
7674 - '@smithy/fetch-http-handler': 5.7.0
7675 - '@smithy/node-http-handler': 4.11.0
7676 - '@smithy/types': 4.17.0
7673 + '@smithy/core': 3.33.2
7674 + '@smithy/fetch-http-handler': 5.7.2
7675 + '@smithy/node-http-handler': 4.11.2
7676 + '@smithy/types': 4.17.2
7677 tslib: 2.8.1
7678
7679 '@aws-sdk/signature-v4-multi-region@3.996.43':
@@ -7687,7 +7687,7 @@ snapshots:
7687 dependencies:
7688 '@aws-sdk/types': 3.974.4
7689 '@smithy/signature-v4': 5.6.12
7690 - '@smithy/types': 4.17.0
7690 + '@smithy/types': 4.17.2
7691 tslib: 2.8.1
7692
7693 '@aws-sdk/token-providers@3.1048.0':
@@ -7704,8 +7704,8 @@ snapshots:
7704 '@aws-sdk/core': 3.977.8
7705 '@aws-sdk/nested-clients': 3.997.43
7706 '@aws-sdk/types': 3.974.4
7707 - '@smithy/core': 3.33.0
7708 - '@smithy/types': 4.17.0
7707 + '@smithy/core': 3.33.2
7708 + '@smithy/types': 4.17.2
7709 tslib: 2.8.1
7710
7711 '@aws-sdk/types@3.974.2':
@@ -7715,7 +7715,7 @@ snapshots:
7715
7716 '@aws-sdk/types@3.974.4':
7717 dependencies:
7718 - '@smithy/types': 4.17.0
7718 + '@smithy/types': 4.17.2
7719 tslib: 2.8.1
7720
7721 '@aws-sdk/util-locate-window@3.965.8':
@@ -7729,7 +7729,7 @@ snapshots:
7729
7730 '@aws-sdk/xml-builder@3.972.39':
7731 dependencies:
7732 - '@smithy/types': 4.17.0
7732 + '@smithy/types': 4.17.2
7733 tslib: 2.8.1
7734
7735 '@aws/lambda-invoke-store@0.3.0': {}
@@ -9594,15 +9594,15 @@ snapshots:
9594 '@smithy/types': 4.16.1
9595 tslib: 2.8.1
9596
9597 - '@smithy/core@3.33.0':
9597 + '@smithy/core@3.33.2':
9598 dependencies:
9599 - '@smithy/types': 4.17.0
9599 + '@smithy/types': 4.17.2
9600 tslib: 2.8.1
9601
9602 - '@smithy/credential-provider-imds@4.5.0':
9602 + '@smithy/credential-provider-imds@4.5.2':
9603 dependencies:
9604 - '@smithy/core': 3.33.0
9605 - '@smithy/types': 4.17.0
9604 + '@smithy/core': 3.33.2
9605 + '@smithy/types': 4.17.2
9606 tslib: 2.8.1
9607
9608 '@smithy/fetch-http-handler@5.6.13':
@@ -9611,20 +9611,20 @@ snapshots:
9611 '@smithy/types': 4.16.1
9612 tslib: 2.8.1
9613
9614 - '@smithy/fetch-http-handler@5.7.0':
9614 + '@smithy/fetch-http-handler@5.7.2':
9615 dependencies:
9616 - '@smithy/core': 3.33.0
9617 - '@smithy/types': 4.17.0
9616 + '@smithy/core': 3.33.2
9617 + '@smithy/types': 4.17.2
9618 tslib: 2.8.1
9619
9620 '@smithy/is-array-buffer@2.2.0':
9621 dependencies:
9622 tslib: 2.8.1
9623
9624 - '@smithy/node-http-handler@4.11.0':
9624 + '@smithy/node-http-handler@4.11.2':
9625 dependencies:
9626 - '@smithy/core': 3.33.0
9627 - '@smithy/types': 4.17.0
9626 + '@smithy/core': 3.33.2
9627 + '@smithy/types': 4.17.2
9628 tslib: 2.8.1
9629
9630 '@smithy/node-http-handler@4.7.3':
@@ -9641,15 +9641,15 @@ snapshots:
9641
9642 '@smithy/signature-v4@5.6.12':
9643 dependencies:
9644 - '@smithy/core': 3.33.0
9645 - '@smithy/types': 4.17.0
9644 + '@smithy/core': 3.33.2
9645 + '@smithy/types': 4.17.2
9646 tslib: 2.8.1
9647
9648 '@smithy/types@4.16.1':
9649 dependencies:
9650 tslib: 2.8.1
9651
9652 - '@smithy/types@4.17.0':
9652 + '@smithy/types@4.17.2':
9653 dependencies:
9654 tslib: 2.8.1
9655