FredKSchott / rollup-plugin-polyfill-node

A modern Node.js polyfill for your Rollup bundle.
Other
179 stars 57 forks source link

crypto and fs shims are not compiled #83

Open tbrannam opened 6 months ago

tbrannam commented 6 months ago

The current release does not shim fs and crypto. The current crypto tests pass only because there is no positive test for expected values vs unexpected values.

Additionally, tests has note about including/excluding crypto:true which I think isn't actually used in the implementation.

https://github.com/FredKSchott/rollup-plugin-polyfill-node/blob/31face71b94b8408a907f04753318dff589adc2f/scripts/build-polyfills.js#L12