change flatten to Array#flat (Node 10.x EOL) #1

Open
f0x wants to merge 2 commits from f0x-validatem/either:master into master

2 Commits (master)