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
remove special-casing of default in hook.js (#6401)
Fixed ESM instrumentation, the previous model of assuming default === exports was very incorrect for ESM since they're never the exact same object. We also can't assume they should have the same properties, or even that they're both objects/functions, at least not in the general case.
Therefore, we need to be specific about what's being instrumented in every single instrumentation.
Added appropriate testing and modifications to ensure any known broken instrumentation is properly instrumented with all import scenarios.
---------
Co-authored-by: perhardhernandez <[email protected]>
0 commit comments