Open eugenioenko opened 2 months ago
Recently I've upgraded the package @apollo/client to version 3.9.10 in my Ember app and this version is using the global function queueMicrotask which is not available in the default config of fastboot sandbox here:
@apollo/client
3.9.10
https://github.com/ember-fastboot/ember-cli-fastboot/blob/1e6ed038608305c6c0c6008e07e302e6a1b5ce16/packages/fastboot/src/sandbox.js#L24
When queueMicrotask is called, fastboot crashes because its is not defined.
I see setTimeout being set, but not queueMicrotask. Would it make sense to add it to the default sandbox?
setTimeout
queueMicrotask
Recently I've upgraded the package
@apollo/client
to version3.9.10
in my Ember app and this version is using the global function queueMicrotask which is not available in the default config of fastboot sandbox here:https://github.com/ember-fastboot/ember-cli-fastboot/blob/1e6ed038608305c6c0c6008e07e302e6a1b5ce16/packages/fastboot/src/sandbox.js#L24
When queueMicrotask is called, fastboot crashes because its is not defined.
I see
setTimeout
being set, but notqueueMicrotask
. Would it make sense to add it to the default sandbox?