ARROW-12636: [JS] ESM Tree-Shaking produces broken code
ARROW-12636: [JS] ESM Tree-Shaking produces broken code

This pull request marks arrow as having side effects since we do have side effects in the code.

Closes #10826 from domoritz/sideEffects

Authored-by: Dominik Moritz <addeb72ed7b7df5f4ba2327b9379e72239c27bb5@gmail.com>
Signed-off-by: Dominik Moritz <addeb72ed7b7df5f4ba2327b9379e72239c27bb5@gmail.com>

laurentgo/arrow,apache/arrow,icexelloss/arrow,laurentgo/arrow,kou/arrow,kou/arrow,cpcloud/arrow,kou/arrow,icexelloss/arrow,icexelloss/arrow,icexelloss/arrow,apache/arrow,laurentgo/arrow,laurentgo/arrow,apache/arrow,icexelloss/arrow,laurentgo/arrow,wesm/arrow,wesm/arrow,cpcloud/arrow,icexelloss/arrow,cpcloud/arrow,kou/arrow,kou/arrow,cpcloud/arrow,kou/arrow,cpcloud/arrow,apache/arrow,cpcloud/arrow,apache/arrow,icexelloss/arrow,wesm/arrow,wesm/arrow,wesm/arrow,wesm/arrow,kou/arrow,kou/arrow,laurentgo/arrow,kou/arrow,laurentgo/arrow,kou/arrow,apache/arrow,cpcloud/arrow,icexelloss/arrow,wesm/arrow,apache/arrow,wesm/arrow,wesm/arrow,cpcloud/arrow,laurentgo/arrow,apache/arrow,wesm/arrow,icexelloss/arrow,icexelloss/arrow,cpcloud/arrow,apache/arrow,laurentgo/arrow,kou/arrow,cpcloud/arrow,laurentgo/arrow,icexelloss/arrow,kou/arrow,apache/arrow,laurentgo/arrow,wesm/arrow,apache/arrow,icexelloss/arrow,icexelloss/arrow,wesm/arrow,cpcloud/arrow,cpcloud/arrow,apache/arrow,laurentgo/arrow,kou/arrow,wesm/arrow,cpcloud/arrow,laurentgo/arrow,apache/arrow,cpcloud/arrow,laurentgo/arrow,laurentgo/arrow,wesm/arrow,icexelloss/arrow,apache/arrow,kou/arrow