Skip to content

Releases: 686f6c61/minimatch-fast

v0.3.1 - Documentation improvements

31 Jan 23:46

Choose a tag to compare

Documentation

  • Complete examples for all 15 extended options in README
  • Practical use cases for: ignore, failglob, contains, format, callbacks, literalBrackets
  • Landing page updated with interactive examples grid

Full Changelog: v0.3.0...v0.3.1

v0.3.0 - Extended picomatch options

31 Jan 23:42

Choose a tag to compare

What's New

Extended picomatch options (15 new options)

  • ignore - Patterns to exclude from matching
  • failglob - Throw error if no matches found
  • maxLength - Configurable pattern length limit (default: 65536)
  • expandRange - Custom range expansion function
  • bash - Strict bash matching rules
  • contains - Match pattern anywhere in string
  • format - Custom string formatting function
  • flags - Regex flags for generated regex
  • strictBrackets - Throw on imbalanced brackets
  • literalBrackets - Escape brackets literally
  • keepQuotes - Retain quotes in regex
  • unescape - Remove escape backslashes

Callback options

  • onMatch - Called when pattern matches
  • onIgnore - Called when pattern is ignored
  • onResult - Called for all results

Improvements

  • Better error messages for maxLength and failglob
  • Validation for maxLength option (rejects invalid values)
  • 378 tests (22 new)

Full Changelog: v0.2.3...v0.3.0

v0.2.3

31 Jan 23:05

Choose a tag to compare

Cambios

Seguridad

  • Añadida validación de tipo para el parámetro path en minimatch()

Código limpio

  • Corregido mensaje de error genérico por mensaje descriptivo
  • Eliminado console.warn del código de librería
  • Eliminado código muerto (hasMagicChars, escapeRegex, hasBraces, mergeOptions)
  • Eliminada interfaz no utilizada TranslatedOptions
  • Operadores consistentes (?? en lugar de || para valores por defecto)
  • Documentación mejorada para constantes mágicas

Tests

  • Añadidos tests para validación de path (5 casos)
  • Total: 356 tests pasando