As far as I can tell, there is no need to actually have this dependency anymore, it should just use the native module instead. This trips up certain bundlers, probably because the package is not really correct - it refers to a index.js entrypoint that does not exist (I suspect node does some internal stuff for this??) - see https://www.npmjs.com/package/crypto?activeTab=code
Closes https://github.com/actions/toolkit/issues/1614
As far as I can tell, there is no need to actually have this dependency anymore, it should just use the native module instead. This trips up certain bundlers, probably because the package is not really correct - it refers to a
index.js
entrypoint that does not exist (I suspect node does some internal stuff for this??) - see https://www.npmjs.com/package/crypto?activeTab=code