Closed
Description
🐛 Bug Report
I am currently using nodejs v9.5 and getting error on new client version v7.7.0 that has been released hours ago. I don't know if it is done intentionally or not(Sorry if it is done intentionally). But seems like older node versions does not work with the following declaration of generator functions:
async * FunctionName(){}
giving me error on lib/Helpers.js
on line 56:
async * scrollSearch (params, options = {}) {
^
To Reproduce
Running on an older version on node reproduces the error.
Adding the error screenshot
Your Environment
- node version: 9.5
@elastic/elasticsearch
version: >=7.7.0- os: Mac
Metadata
Metadata
Assignees
Labels
No labels