Using argument.call
yonathan06 opened this issue · comments
I get the following error trying to register a plugin in fastify v3, which uses avvio which uses this library:
'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them
stack trace:
Plugin.exec (node_modules/avvio/plugin.js:129:17)
Boot.loadPlugin (node_modules/avvio/plugin.js:263:10)
Task.release (node_modules/fastq/queue.js:140:16)
worked (node_modules/fastq/queue.js:182:10)
node_modules/avvio/plugin.js:266:7
done (node_modules/avvio/plugin.js:198:5)
check (node_modules/avvio/plugin.js:222:9)
it seams that fastq is using worker.call()
, when worker is an argument (assigned from context
argument), but using argument.call()
is desecrated from es5
Hope I'm not missing anything
I'm totally lost on the error you are getting, can you please include an example to reproduce?
Error on my side, sorry for the trouble