Skip to content

v7.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 14 Sep 23:42
· 4 commits to main since this release

Breaking

  • Require Node.js 20 cc39041
  • Fix Unicode normalization ea8b961
    • Previously, it used the incorrect NFD Unicode normalization. It now uses the correct NFC normalization. This could be a breaking change if you stored the filenames and then compare, as they won't match. You could run a NFC normalization on the stored once to fix that.

Improvements

  • Use grapheme-safe truncation 98169ce
  • Fix trailing spaces and periods handling 43eea4d

v6.0.0...v7.0.0