Skip to content

v2.4.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 16:53
7ca0be0

Added

  • Spanish, German and Italian language packs: fuzzy-toolkit/lang/es, /de and /it. Numbers in words (treinta y dos, einundzwanzig, ventitré), ordinals, articles, stop words and phonetic rules. Import one and pass it in languages; bundles only carry the packs they import. See Languages and presets.
  • fuzzy-toolkit/testing, a kit for people who write language packs and presets: assertLanguage(pack, { numbers, articles, stopwords, sounds, distinct }) and assertPreset(preset, { matches, differs, normalized }) check the cases you expect and list every one that fails, with any test runner. See Testing your pack.

Project

  • RELEASING.md: the npm trusted publisher needs Allow npm publish ticked.
  • Releases are automatic: merging a version bump creates the tag, the GitHub release and the npm publish.
  • CI checks test coverage (95% of lines, 90% of branches) and runs the OpenSSF Scorecard.
  • The tests pass on Windows.