Skip to content

[clone-assets] The util.isArray API is deprecated #34

@davidsandoz

Description

@davidsandoz

Expected Behavior

The clone-assets too runs without any warning.

Current Behavior

When running the clone-assets tool, I got the following Node.js warning:

(node:78626) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.

Note: As it is only a deprecation warning, it didn't prevent the script from running successfully.

Steps to Reproduce

  1. Checkout the latest state of the repo main branch
    • currently 72f2e48
    • v0.3.0 according to the version in clone-assets/package.json.
  2. Make sure you're running the latest LTS version of node
    • currently v22.14.0
  3. Set up the tool like instructed in the README.
  4. Run the script.Screenshot of the full run:

Image


Thank you for this tool! It worked very well for me 🙂

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions