{"id":3492911,"name":"sourcegraph.com/sourcegraph/go-diff","ecosystem":"go","description":"","homepage":"https://github.com/sourcegraph/go-diff","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":null,"keywords_array":[],"namespace":"sourcegraph.com/sourcegraph","versions_count":7,"first_release_published_at":"2018-10-09T14:01:03.000Z","latest_release_published_at":"2023-01-22T19:17:19.000Z","latest_release_number":"v0.7.0","last_synced_at":"2026-04-15T22:00:39.051Z","created_at":"2022-04-10T19:13:18.642Z","updated_at":"2026-04-15T22:00:39.052Z","registry_url":"https://pkg.go.dev/sourcegraph.com/sourcegraph/go-diff","install_command":"go get sourcegraph.com/sourcegraph/go-diff","documentation_url":"https://pkg.go.dev/sourcegraph.com/sourcegraph/go-diff#section-documentation","metadata":{},"repo_metadata":{"id":20232484,"uuid":"23504425","full_name":"sourcegraph/go-diff","owner":"sourcegraph","description":"Unified diff parser and printer for Go","archived":false,"fork":false,"pushed_at":"2025-07-14T10:14:33.000Z","size":182,"stargazers_count":449,"open_issues_count":7,"forks_count":49,"subscribers_count":79,"default_branch":"master","last_synced_at":"2026-01-24T09:15:17.837Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://sourcegraph.com/github.com/sourcegraph/go-diff","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sourcegraph.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-08-31T01:51:51.000Z","updated_at":"2025-12-24T02:59:35.000Z","dependencies_parsed_at":"2024-01-13T22:55:13.791Z","dependency_job_id":"f8c310fe-42b2-4e37-8b4a-7e8a479a18d6","html_url":"https://github.com/sourcegraph/go-diff","commit_stats":{"total_commits":90,"total_committers":22,"mean_commits":4.090909090909091,"dds":0.6888888888888889,"last_synced_commit":"1b4d09c1adcb524fc1fa2cb9f027bc9ddf48d3ee"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/sourcegraph/go-diff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sourcegraph","download_url":"https://codeload.github.com/sourcegraph/go-diff/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff/sbom","scorecard":{"id":839334,"data":{"date":"2025-08-11","repo":{"name":"github.com/sourcegraph/go-diff","commit":"005b93085ec3bbbc715fb13513269da629a885e8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"name":"Code-Review","score":9,"reason":"Found 12/13 approved changesets -- score normalized to 9","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/scip.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/scip.yml:9: update your workflow using https://app.stepsecurity.io/secureworkflow/sourcegraph/go-diff/scip.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 29 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-23T20:02:59.022Z","repository_id":20232484,"created_at":"2025-08-23T20:02:59.022Z","updated_at":"2025-08-23T20:02:59.022Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29961889,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T05:59:08.471Z","status":"ssl_error","status_checked_at":"2026-03-01T05:58:04.208Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"sourcegraph","name":"Sourcegraph","uuid":"3979584","kind":"organization","description":"Helping developers search, understand, and write code in complex codebases with AI","email":"hi@sourcegraph.com","website":"https://sourcegraph.com","location":null,"twitter":"sourcegraph","company":null,"icon_url":"https://avatars.githubusercontent.com/u/3979584?v=4","repositories_count":605,"last_synced_at":"2026-01-15T14:39:57.768Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/sourcegraph","funding_links":[],"total_stars":48725,"followers":1576,"following":0,"created_at":"2022-11-05T04:21:26.329Z","updated_at":"2026-01-15T14:39:57.768Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sourcegraph","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sourcegraph/repositories"},"tags":[{"name":"v0.7.0","sha":"bc7d968bff04cdbb080028f2432eaf50ebec94c1","kind":"commit","published_at":"2023-01-22T19:17:19.000Z","download_url":"https://codeload.github.com/sourcegraph/go-diff/tar.gz/v0.7.0","html_url":"https://github.com/sourcegraph/go-diff/releases/tag/v0.7.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sourcegraph/go-diff@v0.7.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff/tags/v0.7.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff/tags/v0.7.0/manifests"},{"name":"v0.6.1","sha":"842d2c12cc52ab06942669cffeb4e2b43d8c0c71","kind":"commit","published_at":"2020-09-28T17:25:20.000Z","download_url":"https://codeload.github.com/sourcegraph/go-diff/tar.gz/v0.6.1","html_url":"https://github.com/sourcegraph/go-diff/releases/tag/v0.6.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sourcegraph/go-diff@v0.6.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff/tags/v0.6.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff/tags/v0.6.1/manifests"},{"name":"v0.6.0","sha":"96789e3401eadc2247f02d416dc90be9ccd98962","kind":"commit","published_at":"2020-09-04T16:27:41.000Z","download_url":"https://codeload.github.com/sourcegraph/go-diff/tar.gz/v0.6.0","html_url":"https://github.com/sourcegraph/go-diff/releases/tag/v0.6.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sourcegraph/go-diff@v0.6.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff/tags/v0.6.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff/tags/v0.6.0/manifests"},{"name":"v0.5.3","sha":"f935979a5d70d2f3034edc6de94c77be621ce500","kind":"commit","published_at":"2020-05-27T11:49:05.000Z","download_url":"https://codeload.github.com/sourcegraph/go-diff/tar.gz/v0.5.3","html_url":"https://github.com/sourcegraph/go-diff/releases/tag/v0.5.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sourcegraph/go-diff@v0.5.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff/tags/v0.5.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff/tags/v0.5.3/manifests"},{"name":"v0.5.2","sha":"8c3ae631394422297497fc68d5090625de498b6e","kind":"commit","published_at":"2020-05-08T14:50:11.000Z","download_url":"https://codeload.github.com/sourcegraph/go-diff/tar.gz/v0.5.2","html_url":"https://github.com/sourcegraph/go-diff/releases/tag/v0.5.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sourcegraph/go-diff@v0.5.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff/tags/v0.5.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff/tags/v0.5.2/manifests"},{"name":"v0.5.1","sha":"042635e6444e67483d777aaa240274f13691500c","kind":"commit","published_at":"2019-03-24T22:05:57.000Z","download_url":"https://codeload.github.com/sourcegraph/go-diff/tar.gz/v0.5.1","html_url":"https://github.com/sourcegraph/go-diff/releases/tag/v0.5.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sourcegraph/go-diff@v0.5.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff/tags/v0.5.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff/tags/v0.5.1/manifests"},{"name":"v0.5.0","sha":"c613306ac97fb4807862c088149199f0dab8685a","kind":"commit","published_at":"2018-10-09T14:01:03.000Z","download_url":"https://codeload.github.com/sourcegraph/go-diff/tar.gz/v0.5.0","html_url":"https://github.com/sourcegraph/go-diff/releases/tag/v0.5.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/sourcegraph/go-diff@v0.5.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff/tags/v0.5.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff/tags/v0.5.0/manifests"}]},"repo_metadata_updated_at":"2026-03-15T03:16:09.971Z","dependent_packages_count":3504,"downloads":null,"downloads_period":null,"dependent_repos_count":6557,"rankings":{"downloads":null,"dependent_repos_count":0.09803840200517061,"dependent_packages_count":0.05301335812131448,"stargazers_count":2.8126128219705615,"forks_count":3.626590919465343,"docker_downloads_count":1.1422533137271575,"average":1.5465017630579094},"purl":"pkg:golang/sourcegraph.com/sourcegraph/go-diff","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/go/sourcegraph.com/sourcegraph/go-diff","docker_dependents_count":5,"docker_downloads_count":592,"usage_url":"https://repos.ecosyste.ms/usage/go/sourcegraph.com/sourcegraph/go-diff","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/go/sourcegraph.com/sourcegraph/go-diff/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-01-11T09:00:48.026Z","issues_count":20,"pull_requests_count":56,"avg_time_to_close_issue":3552013.5,"avg_time_to_close_pull_request":7836590.566037736,"issues_closed_count":16,"pull_requests_closed_count":53,"pull_request_authors_count":30,"issue_authors_count":15,"avg_comments_per_issue":2.8,"avg_comments_per_pull_request":1.875,"merged_pull_requests_count":41,"bot_issues_count":0,"bot_pull_requests_count":1,"past_year_issues_count":0,"past_year_pull_requests_count":2,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":246632.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":2,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":2,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/sourcegraph%2Fgo-diff/issues","maintainers":[{"login":"eseliger","count":8,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/eseliger"},{"login":"sqs","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/sqs"},{"login":"slimsag","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/slimsag"},{"login":"Strum355","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Strum355"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/sourcegraph.com%2Fsourcegraph%2Fgo-diff/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/sourcegraph.com%2Fsourcegraph%2Fgo-diff/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/sourcegraph.com%2Fsourcegraph%2Fgo-diff/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/sourcegraph.com%2Fsourcegraph%2Fgo-diff/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/proxy.golang.org/packages/sourcegraph.com%2Fsourcegraph%2Fgo-diff/codemeta","maintainers":[]}