Skip to content

Releases: solovets/valid-path

2.1.0

20 Sep 14:27

Choose a tag to compare

Flags that are added to output object:

  • sepDuplications
  • driveLetter
  • globPatterns
  • forbiddenWindowsNames
  • fobiddenWindowsChars
  • forbiddenUnixChars

README file is updated

2.0.0

11 Sep 00:12

Choose a tag to compare

Renamed options:

  1. sepDuplications option renamed to allowSepDuplications
  2. disk option renamed to allowDriveLetter.

Added options:

  1. migrate (for users of v1.0.0)
  2. simpleReturn
  3. allowGlobPatterns
  4. allowForbiddenWindowsNames
  5. allowFobiddenWindowsChars
  6. allowForbiddenUnixChars

Tests are added

valid-path

12 Jun 09:40

Choose a tag to compare

  • check for argument type
  • check is string is empty
  • check for forbidden names and characters
  • allow to chane separator
  • allow dupicated setarator
  • allow to use drive letter