Skip to content

Migrate cpy to node:fs #124

@pralkarz

Description

@pralkarz

I noticed it in https://github.com/semantic-release/github/blob/7d64dbbc83496db2fef0a4fb419a554106e226a6/package.json#L45, haven't had the chance to check other projects yet. A few reasons:

  1. node:fs is sufficient for modern Node versions.
  2. cpy pulls in relatively many transitive dependencies, including is-number.
  3. The author himself recommends against using the package.
    image

Activity

Namchee

Namchee commented on Oct 10, 2024

@Namchee

Note: cpy is only used for devDependencies here

added
umbrella issueThis issue contains a list of dependents of a package and tracks the progress in each
on Dec 18, 2024
talentlessguy

talentlessguy commented on Aug 4, 2025

@talentlessguy
# Downloads Traffic Version Package PR
1 1.70M 10.46 GB ^10.1.0 cpy-cli
2 1.02M 6.32 GB ^11.0.0 @netlify/cache-utils
3 777.95k 4.80 GB ^11.0.0 @netlify/functions-utils
4 151.99k 937.95 MB ^11.1.0 @adonisjs/assembler
5 73.81k 455.48 MB ^11.0.0 playwright-test hugomrdias/playwright-test#698

most seems to come from Netlify

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

    umbrella issueThis issue contains a list of dependents of a package and tracks the progress in each

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @Fuzzyma@pralkarz@Namchee@talentlessguy

      Issue actions

        Migrate `cpy` to `node:fs` · Issue #124 · e18e/ecosystem-issues