Use is-generator-function instead of is-generator to detect generator functions
Merge pull request #1 from ljharb/use_better_generator_fn_detection

Use is-generator-function instead of is-generator to detect generator functions