reporefit 0.4.3 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -55,4 +55,4 @@ Setup for other clients: https://reporefit.com/en/mcp/
55
55
 
56
56
  Every rule ID (for example `SEC-001`) is explained at https://reporefit.com/en/rules/
57
57
 
58
- RepoRefit 0.4.3 · MIT License · Third-party notices in THIRD_PARTY_NOTICES.md
58
+ RepoRefit 0.5.1 · MIT License · Third-party notices in THIRD_PARTY_NOTICES.md
@@ -650,3 +650,97 @@ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
650
650
  CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
651
651
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
652
652
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
653
+
654
+ ## Derived from open-source projects
655
+
656
+ ### jscpd: per-language comment syntax
657
+
658
+ - Project: jscpd, https://github.com/kucherenko/jscpd
659
+ - Version read: commit `45390947bd3c77ed2c0a9a5863852197505a6821`
660
+ - File: `rust/crates/cpd-tokenizer/src/generic.rs` (function `comment_style`)
661
+ - License: MIT. Copyright (c) 2013-2024 Andrey Kucherenko
662
+ - Used in: `packages/core/src/rules/duplicates.ts` (`STYLE`, the duplicate-code rule DUP-001)
663
+ - What was taken: the mapping of languages to comment styles (`//` and `/* */`; `#`; `--`; Lua `--[[ ]]`; `%`; `'`). No code was copied. The matching is written for RepoRefit's line-based rule.
664
+ - Modified: yes.
665
+ - RepoRefit adds block comments for SQL (`/* */`), Haskell (`{- -}`), Julia (`#= =#`), PowerShell (`<# #>`) and Perl POD (`=pod` … `=cut`).
666
+ - It adds `REM` for Visual Basic and MySQL's `#` for SQL.
667
+ - It reads Haskell `-->` as an operator, not a comment.
668
+ - Languages checked before RepoRefit 0.5.0 keep their earlier handling.
669
+
670
+ ```
671
+ The MIT License (MIT)
672
+
673
+ Copyright (c) 2013-2024 Andrey Kucherenko
674
+
675
+ Permission is hereby granted, free of charge, to any person obtaining a copy
676
+ of this software and associated documentation files (the "Software"), to deal
677
+ in the Software without restriction, including without limitation the rights
678
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
679
+ copies of the Software, and to permit persons to whom the Software is
680
+ furnished to do so, subject to the following conditions:
681
+
682
+ The above copyright notice and this permission notice shall be included in all
683
+ copies or substantial portions of the Software.
684
+
685
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
686
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
687
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
688
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
689
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
690
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
691
+ SOFTWARE.
692
+ ```
693
+
694
+ ## Bundled packages changed by RepoRefit
695
+
696
+ ### micromark-util-edit-map: linear-time edits
697
+
698
+ - Project: micromark, https://github.com/micromark/micromark (package `micromark-util-edit-map` 1.0.0)
699
+ - License: MIT. Copyright (c) Titus Wormer. The full license text is in the bundled-package list.
700
+ - Change: `patches/micromark-util-edit-map@1.0.0.patch`, applied by pnpm at install. `EditMap.consume` keeps the unchanged start of the event list in place instead of copying the whole list on every call. The parser's output is the same; long Markdown documents with many lists or block quotes no longer take quadratic time.
701
+ - Modified: yes (two lines removed, in `index.js` and `dev/index.js`).
702
+
703
+ ## Test data copied from open-source projects
704
+
705
+ ### Lockfiles in the DEP-001 holdout v2 answer set
706
+
707
+ - Location: `fixtures/accuracy/dep-001/holdout-v2/<case>/` (each file with `.fixture` appended). Each case's `expected.json` records the repository, the commit and the license in `source`.
708
+ - What was taken: the lockfile only, unchanged, at the commit below. No source code. The files are test data for the accuracy measurement and are not part of any published package or the web site.
709
+ - Licenses: each file stays under its project's license (MIT, Apache-2.0, BSD-3-Clause or Unlicense, checked against the GitHub license field before download). Copyleft and unlicensed projects were not used.
710
+
711
+ | Project | Commit | License | File |
712
+ | --- | --- | --- | --- |
713
+ | BurntSushi/ripgrep | `3e85c6c148fd` | Unlicense | `Cargo.lock` |
714
+ | EasyPost/easypost-csharp | `1637c45e877c` | MIT | `EasyPost.Tests/packages.lock.json` |
715
+ | MovingBlocks/TerasologyLauncher | `59ecc9e162c5` | Apache-2.0 | `gradle.lockfile` |
716
+ | Netflix/maestro | `4af9a659b4cb` | Apache-2.0 | `maestro-server/gradle.lockfile` |
717
+ | Textualize/textual | `5e5b7ef58b8c` | MIT | `poetry.lock` |
718
+ | ThreeMammals/Ocelot | `0aa0b64baf48` | MIT | `unit/packages.lock.json` |
719
+ | antfu/unplugin-vue2-script-setup | `1aaaf584be97` | MIT | `pnpm-lock.yaml` |
720
+ | composer/composer | `ef70e6e96114` | MIT | `composer.lock` |
721
+ | elysiajs/elysia | `e212071ad419` | MIT | `bun.lock` |
722
+ | encode/httpx | `e347fb5e93b9` | BSD-3-Clause | `requirements.txt` |
723
+ | etcd-io/etcd | `d53e2e0eace8` | Apache-2.0 | `go.mod` |
724
+ | fastapi/full-stack-fastapi-template | `c2a128a5298d` | MIT | `bun.lock` |
725
+ | fastapi/full-stack-fastapi-template | `c2a128a5298d` | MIT | `uv.lock` |
726
+ | flutter/gallery | `d12640d4b08e` | BSD-3-Clause | `pubspec.lock` |
727
+ | gin-gonic/gin | `eb4d4b52e5a0` | MIT | `go.mod` |
728
+ | heartcombo/devise | `05811fb8366e` | MIT | `Gemfile.lock` |
729
+ | honojs/hono | `717dc17cb80b` | MIT | `benchmarks/jsx/yarn.lock` |
730
+ | kennethreitz/requests-html | `075ac162dc62` | MIT | `Pipfile.lock` |
731
+ | livebook-dev/livebook | `4eb46846a135` | Apache-2.0 | `mix.lock` |
732
+ | microsoft/TypeScript-Babel-Starter | `dd37b20ba24b` | MIT | `package-lock.json` |
733
+ | microsoft/vscode-languageserver-node | `927db667a164` | MIT | `package-lock.json` |
734
+ | nodejs/corepack | `d4dcb1f89741` | MIT | `yarn.lock` |
735
+ | pallets/flask | `49943b5a9441` | BSD-3-Clause | `examples/celery/requirements.txt` |
736
+ | pallets/flask | `49943b5a9441` | BSD-3-Clause | `uv.lock` |
737
+ | pdm-project/pdm | `b8e0860708e8` | MIT | `pdm.lock` |
738
+ | phoenixframework/phoenix | `bbbf31dda6cf` | MIT | `mix.lock` |
739
+ | phpstan/phpstan-src | `93d6a19ab813` | MIT | `composer.lock` |
740
+ | polkawallet-io/polkawallet-flutter | `bd3d90a8bf74` | Apache-2.0 | `pubspec.lock` |
741
+ | pypa/pipenv | `b9406c43e767` | MIT | `Pipfile.lock` |
742
+ | python-poetry/poetry-core | `d213296b0c32` | MIT | `poetry.lock` |
743
+ | rails/rails | `403b5c917210` | MIT | `Gemfile.lock` |
744
+ | rails/rails | `403b5c917210` | MIT | `yarn.lock` |
745
+ | reduxjs/react-redux | `8e54f5b9dbbd` | MIT | `pnpm-lock.yaml` |
746
+ | reduxjs/redux-thunk | `184205d49f70` | MIT | `yarn.lock` |