safe-stream dependency