-
Notifications
You must be signed in to change notification settings - Fork 39
Open
Description
Expected Behavior
- Invoking a Node 22 Lambda function with the Datadog layer active does not produce any errors on startup
Actual Behavior
When using the Lambda extension for Datadog, this library is logging several errors related to deprecated methods:
[DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
I see that datadog-ci was already upgraded to update the form-data dependency and remove this error: DataDog/datadog-ci#1700
Not sure if there is another dependency that is still using an outdated version of form-data or a different library that calls util.isArray.
Steps to Reproduce the Problem
- Deploy a Lambda function using the Node 22 version of the Datadog extension
- Make a request to the Lambda
- See the above error in the logs during startup of the Lambda layer
Specifications
- Datadog Lambda Layer version: 124
- Datadog extension version: 76
- Node version: 22.9.0
Stacktrace

Metadata
Metadata
Assignees
Labels
No labels