I don’t know of any hard disk drives or enclosures that do not work with any macOS versions, High Sierra included. That WD “Passport” drive will work just fine.
The software their manufacturers are fond of including with them are a completely different and unrelated subject though. That software is usually poorly implemented, generally causes problems, is not required, and should never be used on a Mac.
The very first thing anyone should do with any newly acquired hard disk drive is to erase it using Apple’s Disk Utility. That accomplishes three fundamental requirements: it prepares the drive for use with a Mac or a PC, it removes its typically poorly implemented and unreliable non-Apple software, and it maximizes its available space.