Deprecation Warning Buffer() is deprecated due to security and usability issues

I am getting this warning in server console more often now.

Does anyone know how can this be fixed?


W20230201-00:50:39.012(9)? (STDERR) (node:708127) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
W20230201-00:50:39.013(9)? (STDERR) (Use `node --trace-deprecation ...` to show where the warning was created)

Hi,

By launching your app with

SERVER_NODE_OPTIONS=--trace-deprecation meteor

you can see what causes the problem. In my case it was an old version of CollectionFS, which I had been keeping during a transition to Ostrio:Files.