Skip to content

Conversation

@s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Jan 2, 2026

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

Closes #18663 (added automatically)

Copy link
Member

@andreiborza andreiborza left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning this up!

@s1gr1d s1gr1d merged commit 4aa907e into develop Jan 2, 2026
52 checks passed
@s1gr1d s1gr1d deleted the sig/remove-duplicate-fn branch January 2, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ref(node): Remove duplicate function isCjs

6 participants