actions / toolkit

The GitHub ToolKit for developing GitHub Actions.
https://github.com/features/actions
MIT License
4.93k stars 1.42k forks source link

Use native `crypto` package from node #1815

Open mydea opened 1 month ago

mydea commented 1 month ago

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