Skip to content

Remove encoding package from dependencies #98

@MelkorNemesis

Description

@MelkorNemesis

before working on this, please check if the published version of the package @actions/github is more recent than the one shown below. If it isn't there's no chance this issue can be fixed

node-fetch version 2.6.7 has been causing us some esm/cjs compatibility issues. To avoid these issues we had to manually install encoding package as a dependency. Newer versions of node-fetch package no longer have encoding package as just a peerDependency (or dependency or devDependency) and when we learn that the application is using newer version of node-fetch we can remove the dependency from package.json.

$ npm ls node-fetch
[email protected]
└─┬ @actions/[email protected]
  └─┬ @octokit/[email protected]
    └─┬ @octokit/[email protected]
      └── [email protected]

More information about the issue:

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