Hide a current directory from ModuleSpecifier
Is your feature request related to a problem? Please describe. Current implementation adds a a current directory to ModuleSpecifier(s) so the current directory may appear to users executing scripts on a javascript runtime powered by rustyscript when some error occurred in v8. This leaks the internal directory structure to users so can be kind of security risk.
Describe the solution you'd like It might be good to get rid of a current directory from ModuleSpecifier(s) to mitigate the risk described above.
Ah. Solid point.
The main issue is that deno requires an absolute path. I'll consult with them for ideas
So I addressed this by adding hide_current_directory to Error::as_highlighted
You can use it to hide the current working dir in formatted error output
I'll leave this open till the next published release
@rscarson when will be the next release?
I will try to do one today, sorry
Fixed in release 0.12.0