Skip to content

v2.6.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 01 Jun 22:30
11479cc

Minor Changes

  • 428d52a Thanks @calebeby! - Handle edge case: instance methods of Function.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)