{"id":783578,"name":"@2toad/diff-match-patch","ecosystem":"npm","description":"Diff Match and Patch","homepage":"https://github.com/2Toad/diff-match-patch#readme","licenses":"Apache-2.0","normalized_licenses":["Apache-2.0"],"repository_url":"https://github.com/2Toad/diff-match-patch","keywords_array":["diff","diff-match-patch","levenshtein"],"namespace":"2toad","versions_count":3,"first_release_published_at":"2018-01-25T20:52:50.299Z","latest_release_published_at":"2022-05-19T16:51:55.068Z","latest_release_number":"1.0.2","last_synced_at":"2026-03-25T23:23:20.533Z","created_at":"2022-04-07T12:52:10.475Z","updated_at":"2026-03-25T23:23:20.533Z","registry_url":"https://www.npmjs.com/package/@2toad/diff-match-patch","install_command":"npm install @2toad/diff-match-patch","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.2"}},"repo_metadata":{"id":28618787,"uuid":"118884555","full_name":"2Toad/diff-match-patch","owner":"2Toad","description":"Diff Match and Patch","archived":false,"fork":false,"pushed_at":"2022-05-19T16:52:18.000Z","size":50,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-21T15:34:07.979Z","etag":null,"topics":["diff","diff-match-patch","levenshtein"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/2Toad.png","metadata":{},"created_at":"2018-01-25T08:24:43.000Z","updated_at":"2022-05-04T16:57:14.000Z","dependencies_parsed_at":"2022-07-26T07:17:01.823Z","dependency_job_id":null,"html_url":"https://github.com/2Toad/diff-match-patch","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/2Toad/diff-match-patch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2Toad%2Fdiff-match-patch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2Toad%2Fdiff-match-patch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2Toad%2Fdiff-match-patch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2Toad%2Fdiff-match-patch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2Toad","download_url":"https://codeload.github.com/2Toad/diff-match-patch/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2Toad%2Fdiff-match-patch/sbom","scorecard":{"id":2855,"data":{"date":"2025-08-11","repo":{"name":"github.com/2Toad/diff-match-patch","commit":"f49d6a18b7159eed8fbe53da2d5b3390dd990dd2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"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/nodejs.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":"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":"Code-Review","score":2,"reason":"Found 2/9 approved changesets -- score normalized to 2","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":"Pinned-Dependencies","score":3,"reason":"dependency not pinned by hash detected -- score normalized to 3","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/2Toad/diff-match-patch/nodejs.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/nodejs.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/2Toad/diff-match-patch/nodejs.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand 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":"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":"0 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":"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":"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":"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":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"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":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"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"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 8 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"}}]},"last_synced_at":"2025-08-14T12:56:27.143Z","repository_id":28618787,"created_at":"2025-08-14T12:56:27.143Z","updated_at":"2025-08-14T12:56:27.143Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280958226,"owners_count":26420235,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2Toad","name":"2Toad","uuid":"1313449","kind":"organization","description":"","email":null,"website":"http://2toad.com/","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/1313449?v=4","repositories_count":31,"last_synced_at":"2024-03-27T06:53:55.993Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/2Toad","funding_links":[],"total_stars":112,"followers":0,"following":0,"created_at":"2022-11-05T13:54:32.573Z","updated_at":"2024-03-27T06:53:56.468Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2Toad","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/2Toad/repositories"},"tags":[{"name":"v1.0.2","sha":"f49d6a18b7159eed8fbe53da2d5b3390dd990dd2","kind":"commit","published_at":"2022-05-19T16:43:43.000Z","download_url":"https://codeload.github.com/2Toad/diff-match-patch/tar.gz/v1.0.2","html_url":"https://github.com/2Toad/diff-match-patch/releases/tag/v1.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/2Toad/diff-match-patch@v1.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2Toad%2Fdiff-match-patch/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2Toad%2Fdiff-match-patch/tags/v1.0.2/manifests"},{"name":"v1.0.1","sha":"94a6f667aebcfc866452c2f55ea7cd11a0598297","kind":"commit","published_at":"2018-01-25T21:26:44.000Z","download_url":"https://codeload.github.com/2Toad/diff-match-patch/tar.gz/v1.0.1","html_url":"https://github.com/2Toad/diff-match-patch/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/2Toad/diff-match-patch@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2Toad%2Fdiff-match-patch/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2Toad%2Fdiff-match-patch/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"e86649486155a8122530ebd2ababbe67eb376d85","kind":"commit","published_at":"2018-01-25T19:04:07.000Z","download_url":"https://codeload.github.com/2Toad/diff-match-patch/tar.gz/v1.0.0","html_url":"https://github.com/2Toad/diff-match-patch/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/2Toad/diff-match-patch@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2Toad%2Fdiff-match-patch/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/2Toad%2Fdiff-match-patch/tags/v1.0.0/manifests"}]},"repo_metadata_updated_at":"2025-10-25T12:54:48.744Z","dependent_packages_count":2,"downloads":1009,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":11.052003210271973,"dependent_repos_count":10.302192564346997,"dependent_packages_count":20.916208435344245,"stargazers_count":16.710498942137473,"forks_count":11.580692789207504,"docker_downloads_count":null,"average":14.11231918826164},"purl":"pkg:npm/%402toad/diff-match-patch","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@2toad/diff-match-patch","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@2toad/diff-match-patch","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@2toad/diff-match-patch/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-19T02:17:40.248Z","issues_count":2,"pull_requests_count":3,"avg_time_to_close_issue":466937.5,"avg_time_to_close_pull_request":446425.0,"issues_closed_count":2,"pull_requests_closed_count":3,"pull_request_authors_count":2,"issue_authors_count":1,"avg_comments_per_issue":0.0,"avg_comments_per_pull_request":1.6666666666666667,"merged_pull_requests_count":3,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/2Toad%2Fdiff-match-patch/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@2toad%2Fdiff-match-patch/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@2toad%2Fdiff-match-patch/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@2toad%2Fdiff-match-patch/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@2toad%2Fdiff-match-patch/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@2toad%2Fdiff-match-patch/codemeta","maintainers":[{"uuid":"jasonpierce","login":"jasonpierce","name":null,"email":"support@2toad.com","url":null,"packages_count":10,"html_url":"https://www.npmjs.com/~jasonpierce","role":null,"created_at":"2022-11-08T10:16:16.658Z","updated_at":"2022-11-08T10:16:16.658Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/jasonpierce/packages"}]}