Ah I just copied the compact helper without looking through the others. Will update in 10 minutes.

@nzakas also worth noting the tests for compact the Chai assertions are back to front so the 'expected' and 'actual' are the wrong way round - would you like me to raise and fix in another issue?