-
428d52aThanks @calebeby! - Handle edge case: instance methods ofFunction.prototype:If an imported binding only is referenced using properties of
Function.prototype, this suggests that the imported binding itself is probably a function instead of a namespace, so we create a default import instead of a namespace import.var bind = require('function-bind') bind.call(Function.call, Object.prototype.hasOwnProperty)
to
import bind from 'function-bind' bind.call(Function.call, Object.prototype.hasOwnProperty)
d61b766Thanks @calebeby! - Fix an edge case whereexport * from ""generated an extra import/export of default
-
ec2f33bThanks @calebeby! - Handle changed babel output forexport * from ""The change was introduced in babel PR babel/babel#11739. This was first released as babel v7.12.0. Both the old and new output are supported by babel-plugin-un-cjs