Skip to content

ref(node): Remove duplicate function isCjs #18663

Description

@github-actions

Note

The pull request "ref(node): Remove duplicate function isCjs" was created by @s1gr1d but did not reference an issue. Therefore this issue was created for better visibility in external tools like Linear.

While working on something else I stumbled over this unused, duplicated function. Also, there was still one implementation in Google Cloud Serverless, which checked for typeof require !== 'undefined', which does not work well all the time (see this PR: #15927).

Activity

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions