When my sandbox was updated from winter 17 to spring 17 I noticed the format function doesn't work any more.
Instead of returning a string with the correct format, it returns a string with a function.
I've been reading through the releases notes and there is no mention of the eval function not supported anymore, however, it's not used in that library.
I found a workaround by using the Lightning's LocalizationService for formatting in conjunction with the rest of the momentjs library now to make it work so I'm not actually looking for a solution to my problem but more of an explanation as to why it doesn't work any more. What does the momentjs format function do that Lightning doesn't support any more?