1.1.0 - allow passing in an object to be used in place of `fs`