Node started to deprecate process.binding: https://nodejs.org/dist/latest-v11.x/docs/api/deprecations.html#deprecations_dep0111_process_binding
This function is used by spawn-wrap to patch spawnSync.
It is possible to avoid patching the internals at the top level by creating a wrapped spawn function. The main issue is caused by processes deep in the process tree: spawn-wrap tries to hook into user-code spawning processes and we cannot change it so we still have to patch the internals.
There is an open Node issue discussing the issue: nodejs/node#27344
/cc @isaacs @bcoe @coreyfarrell
Node started to deprecate
process.binding: https://nodejs.org/dist/latest-v11.x/docs/api/deprecations.html#deprecations_dep0111_process_bindingThis function is used by spawn-wrap to patch
spawnSync.It is possible to avoid patching the internals at the top level by creating a wrapped
spawnfunction. The main issue is caused by processes deep in the process tree: spawn-wrap tries to hook into user-code spawning processes and we cannot change it so we still have to patch the internals.There is an open Node issue discussing the issue: nodejs/node#27344
/cc @isaacs @bcoe @coreyfarrell