Minor Changes
-
428d52a
Thanks @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)