@ciscorn.bsky.social has raised a good #security @nodejs.org question! What are the best practices for masking the paths in the output generated by the library? Currently, the solution we came up with is to trim the project root path, which basically is converting absolute to relative.
Post
Reference: github.com/svelte-docge...
github.comfeat: Convert paths inside `sources` set to relative to project root by xeho91 · Pull Request #34 · svelte-docgen/svelte-docgenResolves #29
We could also remove the <process-cwd> from the snapshot serializer.
But... on the second thought. It could also help us detect when this feature isn't working?
0 reposts1 like
No replies yet.