chore(object): update stream-dirs to 2.0.0

Added test on array in parameters