The TOML library that I would like to use needs the Date object, it looks like it isn't available in the default sandbox used to evaluate modules. A quick look at the code makes it look like it is possible to define a custom sandbox environment but I don't see how to actually do that.
I think that there may be security concerns for allowing the Date object to be accessible in the sandboxed modules so I would rather find a way to make a custom sandbox than to make a pull request to change the available modules.
I feel like I am missing something very simple here but I have no idea what.