My node.js app uses firebase-admin (https://www.npmjs.com/package/firebase-admin) for Firebase Cloud Messaging only. When updating its dependencies, I noticed that its node_modules grew hugely in size and number of files.
On further investigation, moving from firebase-admin version 5.0.0 to version 5.8.2 results in an increase from around 21 MB / 1,600 files in node_modules to around 121 MB / 125,000 files.
Obviously I could just fix firebase-admin at version 5.0.0, but I'd rather stay up-to-date. Do I have any better alternatives?