Open
Description
hasufell/abstract-filepath#10 (comment)
But as an example the file you linked makes an assumption that the only valid absolute filepath on Windows is one that starts with a drive letter. Which is not true.
It also makes an assumption that badElements is invalid for all paths on Windows. Which is also not true. e.g. \.\COM1 is perfectly valid and points to the first COM port.
It makes an attempt to distinguish between the different namespaces. As in, it recognizes \?\ but then makeValid doesn't seem to.
Also related: #56