New Features
- v4 config backward compatibility — fields , , , and are now read and applied, matching jscpd v4 behavior
- and are now distinct: matches file-level globs, matches code-level regex patterns (previously conflated)
- path config support — reads scan directories from the field, resolving relative paths against the config file's directory
- npm wrapper package — publishes the same Rust binary under the name on npm with v5.x versioning
- now matches v4 behavior: accepts optional integer value ( exits 1, exits 2); and are now independent
- Performance improvements: memory-mapped file I/O (via ) eliminates heap copies of file contents; SIMD-accelerated line counting (via ); parallel detection pipeline uses to avoid intermediate allocations; JS tokenizer no longer clones source strings before parsing (thanks to @auterium, #808)
Bug Fixes
- Fixed to match jscpd v4's behavior (was boolean, now optional integer)
- Fixed unique temp dir generation in reporter tests (added PID to prevent race conditions under parallel test runners)