The problem was this crypto-browserify didn’t have an update in 6 years!
To fix this, I forked its repository into our meteor-compat organization and published a new updated version of the crypto-browserify in our meteorjs npm organization, now called @meteorjs/crypto-browserify.
So, just for the sake of it, make sure to update your meteor-node-stub dependency by running:
No problem – I am able to reproduce by creating a new app with meteor create (selecting the “minimal” option) and then adding this to the top of main.js:
import path from 'path';
Then I get this error in the console when running the app:
I would appreciate a lot, if some could help with upgrades to newest Meteor 3.0 and newest dependencies.
There is some PR about some updates at wekan repo, but it’s incomplete. I’m not even able to upgrade to newest Meteor 2 without breaking creating new board.
Hi, just to throw our vote in the hat here too, our CI pipeline updated to the latest version of meteor-node-stubs too on the weekend because of our “flexiple” pinning to the major version, and it also brakes our build…
For our pipeline we’ll roll back now as it’s unlikely that it’s exploitable, but a fix would be required for us to release again then.
Thank you for trying to prevent the security issue though @denyhs !