chore(deps): update dependency jscpd to v5.2.1 - #299
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
This PR contains the following updates:
5.2.0→5.2.1Release Notes
kucherenko/jscpd (jscpd)
v5.2.1Compare Source
New Features
--history: duplication trend over git history —jscpd src --history v5.0.0..HEADscans every commit in the range in a detached worktree and prints a bar chart, a per-commit table with the change between points, the overall trend and how far--thresholdcould be tightened without failing the build.--history-since,--history-every Nand--history-limit Nnarrow the range; the JSON reporter carries the points under ahistorykey and the GitHub Action takes ahistoryinput. (#1002, #1050, #1052)--fail-on-empty— an unknown--format, a scan path that does not exist and a reporter that cannot write its file now print an error and exit 1 instead of passing with an empty report.--fail-on-empty(config keyfailOnEmpty, action inputfail-on-empty) turns "analyzed no files" into a failure, so a mistyped path or an over-broad ignore cannot look like a clean run. (#1047, #1049)pip install jscpd— the release now publishes eight platform wheels built from the same prebuilt binaries as the npm and GitHub Release artifacts, sopip install jscpdanduvx jscpdget the Rust engine with no Python code and no Node.js runtime involved. The repository-hosted pre-commit hook installs from PyPI instead of npm, which removes Node.js from the pre-commit path. (#1037, #1039)Bug Fixes
fixtures/haxereportedfile1.hx [1:1 - 62:76]againstfile2.hx [1:1 - 62:2]). The match now asks first whether the clone's own anchor continues, and starts a new clone when it does not, so N-way copies no longer lose pairs. (#1033, #1034)xmllintrefused the file withPCDATA invalid Char value 27;]]>inside a fragment closed the CDATA section early, and attribute values were escaped twice. Such characters are now replaced with U+FFFD,]]>is split across two CDATA sections, and paths are escaped once. (#375, #1055)--follow-symlinksrenamed and double-counted linked files — a file reached through a symlink was reported by its resolved real path, which could be an absolute path outside the scan root, so the report and--ignoredisagreed about its name; a file reachable through two paths counted as two sources, and a file symlink next to its target was reported as a clone of itself. Files now keep the path they were found at, and each real file is scanned once. (#1059, #1060)Other
--noSymlinkswas set; v5 needs--follow-symlinks(config keyfollowSymlinks, and a v4noSymlinks: falsestill maps to following). This was true in every 5.x release but undocumented, and it silently drops a corpus mounted through a symlink. Now in the README and the migration table. (#1059)CITATION.cffand a Citation section — GitHub's "Cite this repository" button and a BibTeX entry for the papers that use jscpd as their detector. The version and release date are kept in step bysync-version.mjs. (#1051)jscpdanddry-refactoringskills (npx skills add kucherenko/jscpd) document--summary, the Type-2 and Type-3 flags with their kind suffixes, and warn that normalized passes surface look-alike code, with conservative defaults and a triage step before refactoring. (#1056, #1057)console-fullprints the--historyblock likeconsoledoes, and the test scaffolding behind the CLI, MCP, reporter and finder suites was deduplicated. (#1053)Dependencies
askamafrom 0.16.0 to 0.16.1 in/rust(#1045)taiki-e/install-actionfrom 2.87.3 to 2.87.8 in/.github/workflows(#1046)Thank You ❤️
--ignore-patternhas no short flag and a barenode_modulesdoes not match, since globs are matched against the whole path (#1038)Published Packages
cpd-core@0.1.13on crates.iocpd-finder@0.1.16on crates.iocpd-reporter@0.1.14on crates.iocpd-tokenizer@0.1.15on crates.iojscpd@5.2.1on crates.iocpd@5.2.1on npmjscpd@5.2.1on npmjscpd-darwin-arm64@5.2.1on npmjscpd-darwin-x64@5.2.1on npmjscpd-linux-x64-gnu@5.2.1on npmjscpd-linux-arm64-gnu@5.2.1on npmjscpd-linux-x64-musl@5.2.1on npmjscpd-linux-arm64-musl@5.2.1on npmjscpd-windows-x64-msvc@5.2.1on npmjscpd-windows-arm64-msvc@5.2.1on npmjscpd==5.2.1on PyPIVerify
Archives are signed with Sigstore (keyless,
<asset>.sigstore.json)and carry SLSA build provenance. Replace
jscpd-linux-x64-gnu.tar.gzwith your asset:cosign verify-blob \ --bundle jscpd-linux-x64-gnu.tar.gz.sigstore.json \ --certificate-identity-regexp '^https://github\.com/kucherenko/jscpd/' \ --certificate-oidc-issuer https://token.actions.githubusercontent.com \ jscpd-linux-x64-gnu.tar.gz gh attestation verify jscpd-linux-x64-gnu.tar.gz --repo kucherenko/jscpd sha256sum --check --ignore-missing checksums.txtConfiguration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.