seratojs
seratojs copied to clipboard
Remove sanitize from Crate constructor
Hey @bcollazo -- this is a fantastic library!
The sanitize method you're using when creating new Crate objects breaks subcrates, which are formatted with %%
as an indicator of nesting (e.g. NOSTALGIA FACTORY%%1950's.crate
where 1950's is nested under NOSTALGIA FACTORY).
I heavily use subcrates and this library was unable to access / manage my subcrates. Curious what issues caused the need for sanitize? Or if it was just a precaution?
If the latter, removing sanitize provides additional functionality for this library.
FYI - I'm using your library in a cli util to programmatically update file paths for my entire library.