Skip to content
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

Use Array.isArray instead of util.isArray #237

Merged
merged 2 commits into from
Sep 27, 2024

Conversation

swaldmann
Copy link
Contributor

Hi, we're currently getting this deprecation warning in our CAP server logs coming from hdb with Node 22:

(node:95002) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

This PR replaces all util.isArray by Array.isArray. Node 22 becomes active LTS very soon and this fix is compatible with older Node.js versions.

@jeffalbion jeffalbion merged commit 23a73cf into SAP:master Sep 27, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants