You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
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).