chore(deps): update dependency jscpd to v5.0.15 - #289
Merged
Conversation
Contributor
✅ 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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
5.0.14→5.0.15Release Notes
kucherenko/jscpd (jscpd)
v5.0.15Compare Source
New Features
--sarif-error-tokens <N>flag (alsosarifErrorTokensin.jscpd.json): clones with at least N tokens are reported at levelerrorwhile smaller ones staywarning. When overall duplication exceeds--threshold, all SARIF results are emitted aserror, matching the threshold check that fails the build. Default output is unchanged when neither option is set. (#908)token_countand aclone_hashin its properties bag, plus apartialFingerprintsentry (jscpdCloneHash/v1) for cross-run result identity in consumers like GitHub code scanning. The hash is order-insensitive, so the same clone pair produces the same hash regardless of file discovery order. (#909)Duplicated at <path>:<line>), and the primary message references it via a SARIF embedded link so GitHub code scanning displays it. (#911)jscpd/duplicate-coderule now includes a display name, full description, default configuration, and quality tags for better presentation in SARIF viewers and Azure DevOps. (#914)Bug Fixes
source_root), so report paths are relative to the scanned directory again (as in 4.x) while reporters can still resolve and read source files; SARIF emitsoriginalUriBaseIdswith per-root base ids. Fixes empty snippets and unresolvable paths when scanning from outside the target directory, including multi-root scans. (#872, #892)tool.driver.version(previously hardcoded5.0.3) and the HTML report version now matchcpd --version, bundled at build time. (#915)Dependencies
serde_jsonto 1.0.151 in/rustignoreto 0.4.32 in/rustanyhowto 1.0.104 in/rustThank You ❤️
This release was shaped by community contributions — huge thanks to:
Published Packages
cpd-core@0.1.8on crates.iocpd-finder@0.1.10on crates.iocpd-reporter@0.1.8on crates.iocpd-tokenizer@0.1.9on crates.iojscpd@5.0.15on crates.iocpd@5.0.15on npmjscpd-darwin-arm64@5.0.15on npmjscpd-darwin-x64@5.0.15on npmjscpd-linux-x64-gnu@5.0.15on npmjscpd-linux-arm64-gnu@5.0.15on npmjscpd-linux-x64-musl@5.0.15on npmjscpd-windows-x64-msvc@5.0.15on npmjscpd@5.0.15on npmConfiguration
📅 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.