unstale

npm / picomatch

picomatch

What changed in picomatch 3 to 4, from its official release notes, upgrade guides and advisories. Also covers @types/picomatch. Sources checked 2026-11-30.

2 breaking2 security1 new APIs and options6 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

picomatch 48 changes

Security 2

Fixes and other changes 6

picomatch 33 changes

Breaking changes 2

  • The undocumented constants property is no longer copied to the package's main export.

    3.0.0release notes

  • Windows path-separator handling is controlled by this option instead of automatic platform detection. Calls without an options object use POSIX behavior; pass windows: true when backslashes should be treated as path separators.

    3.0.0release notes

New APIs and options 1

  • A dependency-free entry point is available for browser and other non-Node.js environments; it uses POSIX path semantics unless windows: true is passed.

    3.0.0release notes