Skip to content

Conversation

@RafaelGSS
Copy link
Member

This API has been deprecated for quite a long time.

This commit removes it completely.


How do we feel about removing this API now? @nodejs/tsc

This API has been deprecated for quite a long time.

This commit removes it completely.
@RafaelGSS RafaelGSS added the deprecations Issues and PRs related to deprecations. label Sep 22, 2025
@nodejs-github-bot nodejs-github-bot added needs-ci PRs that need a full CI run. util Issues and PRs related to the built-in util module. labels Sep 22, 2025
@richardlau richardlau added the semver-major PRs that contain breaking changes and should be released in the next major version. label Sep 22, 2025
@richardlau
Copy link
Member

You'll need to change

node/doc/api/deprecations.md

Lines 983 to 1005 in 81af7b9

### DEP0044: `util.isArray()`
<!-- YAML
changes:
- version: v22.0.0
pr-url: https://github.com/nodejs/node/pull/50488
description: Runtime deprecation.
- version:
- v6.12.0
- v4.8.6
pr-url: https://github.com/nodejs/node/pull/10116
description: A deprecation code has been assigned.
- version:
- v4.0.0
- v3.3.1
pr-url: https://github.com/nodejs/node/pull/2447
description: Documentation-only deprecation.
-->
Type: Runtime
The [`util.isArray()`][] API is deprecated. Please use `Array.isArray()`
instead.
to End-of-Life deprecation.

@richardlau
Copy link
Member

And isn't this #58027?

@RafaelGSS
Copy link
Member Author

And isn't this #58027?

Uh, it is! I didn't see that.

@RafaelGSS RafaelGSS closed this Sep 23, 2025
@codecov
Copy link

codecov bot commented Sep 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.44%. Comparing base (81af7b9) to head (779042e).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #59981      +/-   ##
==========================================
- Coverage   88.45%   88.44%   -0.02%     
==========================================
  Files         703      703              
  Lines      207367   207364       -3     
  Branches    39976    39974       -2     
==========================================
- Hits       183436   183409      -27     
- Misses      15931    15968      +37     
+ Partials     8000     7987      -13     
Files with missing lines Coverage Δ
lib/util.js 97.77% <ø> (-0.20%) ⬇️

... and 34 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@richardlau richardlau added the duplicate Issues and PRs that are duplicates of other issues or PRs. label Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

deprecations Issues and PRs related to deprecations. duplicate Issues and PRs that are duplicates of other issues or PRs. needs-ci PRs that need a full CI run. semver-major PRs that contain breaking changes and should be released in the next major version. util Issues and PRs related to the built-in util module.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants