Skip to content

ref(node): Remove duplicate function isCjs #18663

@github-actions

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).

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