镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Make util.isArray() EOL #58013

Description

@Renegade334

util.isArray() was the sole util.is* type-checking method left over from #52744. The remainder are all EOL as of v23.0.0.

It looks like the motivation for leaving this at the time was to allow for its use to be removed from the form-data library, which it has since been.

Is there another motivation for leaving this as-is, or can it now be made EOL?

cc: @marco-ippolito

Activity

  1. anonrig commented on Apr 25, 2025

    @anonrig
    Member

    Can you open a pull-request?

  2. marco-ippolito commented on Apr 25, 2025

    @marco-ippolito
    Member

    I remember there were other libraries affected, we need to run citgm

  3. miguelmarcondesf commented on Apr 25, 2025

    @miguelmarcondesf
    Contributor

    I can take a look if you want to @Renegade334

  4. Renegade334 commented on Apr 25, 2025

    @Renegade334
    MemberAuthor

    I can take a look if you want to

    Sure, if you fancy.

    Could also experiment with running citgm against removing util._extend(), as the other surviving graduate of #50488, although I suspect that legacy debug dependencies will still be an issue there.

  5. jasnell commented on Apr 25, 2025

    @jasnell
    Member

    This is one I'm less convinced that we can do. I still encounter a fair number of util.isArray(...) calls in third party dependencies.

  6. ljharb commented on Apr 25, 2025

    @ljharb
    SponsorMember

    fwiw if it's a small enough list, then like form-data, i could attempt to steward them and maximally backport a change.

  7. Renegade334 commented on Jul 27, 2025

    @Renegade334
    MemberAuthor

    The original question has effectively been answered in the linked PR, so I'll close this unless there's a strong desire to keep a tracking issue.

  8. marco-ippolito commented on Jul 28, 2025

    @marco-ippolito
    Member

    I'm okay with keeping the issue open, someone might want to give it a try in a a few months/next year, and hopefully the situation has changed

  9. added
    utilIssues and PRs related to the built-in util module.
    on Sep 12, 2025
  10. BridgeAR commented on Sep 12, 2025

    @BridgeAR
    Member

    I think closing this for now is actually better than keeping it around since this is not a crucial issue. We can still open a new one in a few years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    utilIssues and PRs related to the built-in util module.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions