reporefit 0.4.3 → 0.5.0
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 +1 -1
- package/THIRD_PARTY_NOTICES.md +85 -0
- package/dist/reporefit.mjs +3404 -623
- package/package.json +4 -4
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.
|
|
58
|
+
RepoRefit 0.5.0 · MIT License · Third-party notices in THIRD_PARTY_NOTICES.md
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -650,3 +650,88 @@ 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
|
+
## Test data copied from open-source projects
|
|
695
|
+
|
|
696
|
+
### Lockfiles in the DEP-001 holdout v2 answer set
|
|
697
|
+
|
|
698
|
+
- 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`.
|
|
699
|
+
- 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.
|
|
700
|
+
- 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.
|
|
701
|
+
|
|
702
|
+
| Project | Commit | License | File |
|
|
703
|
+
| --- | --- | --- | --- |
|
|
704
|
+
| BurntSushi/ripgrep | `3e85c6c148fd` | Unlicense | `Cargo.lock` |
|
|
705
|
+
| EasyPost/easypost-csharp | `1637c45e877c` | MIT | `EasyPost.Tests/packages.lock.json` |
|
|
706
|
+
| MovingBlocks/TerasologyLauncher | `59ecc9e162c5` | Apache-2.0 | `gradle.lockfile` |
|
|
707
|
+
| Netflix/maestro | `4af9a659b4cb` | Apache-2.0 | `maestro-server/gradle.lockfile` |
|
|
708
|
+
| Textualize/textual | `5e5b7ef58b8c` | MIT | `poetry.lock` |
|
|
709
|
+
| ThreeMammals/Ocelot | `0aa0b64baf48` | MIT | `unit/packages.lock.json` |
|
|
710
|
+
| antfu/unplugin-vue2-script-setup | `1aaaf584be97` | MIT | `pnpm-lock.yaml` |
|
|
711
|
+
| composer/composer | `ef70e6e96114` | MIT | `composer.lock` |
|
|
712
|
+
| elysiajs/elysia | `e212071ad419` | MIT | `bun.lock` |
|
|
713
|
+
| encode/httpx | `e347fb5e93b9` | BSD-3-Clause | `requirements.txt` |
|
|
714
|
+
| etcd-io/etcd | `d53e2e0eace8` | Apache-2.0 | `go.mod` |
|
|
715
|
+
| fastapi/full-stack-fastapi-template | `c2a128a5298d` | MIT | `bun.lock` |
|
|
716
|
+
| fastapi/full-stack-fastapi-template | `c2a128a5298d` | MIT | `uv.lock` |
|
|
717
|
+
| flutter/gallery | `d12640d4b08e` | BSD-3-Clause | `pubspec.lock` |
|
|
718
|
+
| gin-gonic/gin | `eb4d4b52e5a0` | MIT | `go.mod` |
|
|
719
|
+
| heartcombo/devise | `05811fb8366e` | MIT | `Gemfile.lock` |
|
|
720
|
+
| honojs/hono | `717dc17cb80b` | MIT | `benchmarks/jsx/yarn.lock` |
|
|
721
|
+
| kennethreitz/requests-html | `075ac162dc62` | MIT | `Pipfile.lock` |
|
|
722
|
+
| livebook-dev/livebook | `4eb46846a135` | Apache-2.0 | `mix.lock` |
|
|
723
|
+
| microsoft/TypeScript-Babel-Starter | `dd37b20ba24b` | MIT | `package-lock.json` |
|
|
724
|
+
| microsoft/vscode-languageserver-node | `927db667a164` | MIT | `package-lock.json` |
|
|
725
|
+
| nodejs/corepack | `d4dcb1f89741` | MIT | `yarn.lock` |
|
|
726
|
+
| pallets/flask | `49943b5a9441` | BSD-3-Clause | `examples/celery/requirements.txt` |
|
|
727
|
+
| pallets/flask | `49943b5a9441` | BSD-3-Clause | `uv.lock` |
|
|
728
|
+
| pdm-project/pdm | `b8e0860708e8` | MIT | `pdm.lock` |
|
|
729
|
+
| phoenixframework/phoenix | `bbbf31dda6cf` | MIT | `mix.lock` |
|
|
730
|
+
| phpstan/phpstan-src | `93d6a19ab813` | MIT | `composer.lock` |
|
|
731
|
+
| polkawallet-io/polkawallet-flutter | `bd3d90a8bf74` | Apache-2.0 | `pubspec.lock` |
|
|
732
|
+
| pypa/pipenv | `b9406c43e767` | MIT | `Pipfile.lock` |
|
|
733
|
+
| python-poetry/poetry-core | `d213296b0c32` | MIT | `poetry.lock` |
|
|
734
|
+
| rails/rails | `403b5c917210` | MIT | `Gemfile.lock` |
|
|
735
|
+
| rails/rails | `403b5c917210` | MIT | `yarn.lock` |
|
|
736
|
+
| reduxjs/react-redux | `8e54f5b9dbbd` | MIT | `pnpm-lock.yaml` |
|
|
737
|
+
| reduxjs/redux-thunk | `184205d49f70` | MIT | `yarn.lock` |
|