extism/js-pdk

Add support for `Date()`

Closed this issue · 2 comments

Add basic support for Date() for simple timing. Need to consider possibility of exposing too much timing information.

Could it be opt-in with a flag? In my use case I only need it for some logging during development and debugging. So if it exposed vulnerability, I could disable it for production.

Yes, that might be a good compromise for the time being.