{"id":14075129,"name":"@depup/ts-pattern","ecosystem":"npm","description":"[DepUp]  The exhaustive Pattern Matching library for TypeScript.","homepage":"https://github.com/gvergnaud/ts-pattern#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/gvergnaud/ts-pattern","keywords_array":["depup","dependency-bumped","updated-deps","ts-pattern","pattern","matching","pattern-matching","typescript","match-with","match","switch","adt"],"namespace":"depup","versions_count":1,"first_release_published_at":"2026-03-17T16:39:13.022Z","latest_release_published_at":"2026-03-17T16:39:13.022Z","latest_release_number":"5.9.0-depup.0","last_synced_at":"2026-04-16T09:16:24.630Z","created_at":"2026-03-19T04:24:07.238Z","updated_at":"2026-04-16T09:16:24.630Z","registry_url":"https://www.npmjs.com/package/@depup/ts-pattern","install_command":"npm install @depup/ts-pattern","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"5.9.0-depup.0"}},"repo_metadata":{"id":37280435,"uuid":"266582853","full_name":"gvergnaud/ts-pattern","owner":"gvergnaud","description":"🎨 The exhaustive Pattern Matching library for TypeScript, with smart type inference.","archived":false,"fork":false,"pushed_at":"2026-03-25T23:40:50.000Z","size":3587,"stargazers_count":14863,"open_issues_count":62,"forks_count":162,"subscribers_count":30,"default_branch":"main","last_synced_at":"2026-03-27T18:49:46.027Z","etag":null,"topics":["branching","conditions","exhaustive","inference","javascript","matching","pattern","pattern-matching","ts","type-inference","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gvergnaud.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":"docs/roadmap.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["gvergnaud"]}},"created_at":"2020-05-24T16:41:02.000Z","updated_at":"2026-03-27T16:11:14.000Z","dependencies_parsed_at":"2024-01-13T16:31:32.087Z","dependency_job_id":"a5f30ce8-98b1-466c-b166-5782f72b841f","html_url":"https://github.com/gvergnaud/ts-pattern","commit_stats":{"total_commits":655,"total_committers":16,"mean_commits":40.9375,"dds":"0.056488549618320616","last_synced_commit":"276485cac9410debb609e1f8bcd3d6b00a69daa3"},"previous_names":[],"tags_count":65,"template":false,"template_full_name":null,"purl":"pkg:github/gvergnaud/ts-pattern","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvergnaud%2Fts-pattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvergnaud%2Fts-pattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvergnaud%2Fts-pattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvergnaud%2Fts-pattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gvergnaud","download_url":"https://codeload.github.com/gvergnaud/ts-pattern/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvergnaud%2Fts-pattern/sbom","scorecard":{"id":450602,"data":{"date":"2025-08-11","repo":{"name":"github.com/gvergnaud/ts-pattern","commit":"999128b1c34c5dce4141eb64e4e35818cf7a5dba"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.2,"checks":[{"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":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"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":"Maintained","score":10,"reason":"11 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","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":0,"reason":"Found 0/11 approved changesets -- score normalized to 0","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":"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":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: 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":"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":"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 'main'"],"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 24 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":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-4j66-8f4r-3pjx"],"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-19T08:07:03.768Z","repository_id":37280435,"created_at":"2025-08-19T08:07:03.768Z","updated_at":"2025-08-19T08:07:03.768Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31309834,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T12:59:32.332Z","status":"ssl_error","status_checked_at":"2026-04-02T12:54:48.875Z","response_time":89,"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"}},"repo_metadata_updated_at":"2026-04-12T10:33:39.334Z","dependent_packages_count":0,"downloads":59,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":22.40941024303714,"dependent_packages_count":32.301555319200475,"stargazers_count":null,"forks_count":null,"docker_downloads_count":null,"average":27.35548278111881},"purl":"pkg:npm/%40depup/ts-pattern","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@depup/ts-pattern","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@depup/ts-pattern","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@depup/ts-pattern/dependencies","status":null,"funding_links":["https://github.com/sponsors/gvergnaud"],"critical":null,"issue_metadata":{"last_synced_at":"2026-04-02T16:23:21.993Z","issues_count":147,"pull_requests_count":143,"avg_time_to_close_issue":9996222.792079208,"avg_time_to_close_pull_request":4606763.991304348,"issues_closed_count":101,"pull_requests_closed_count":114,"pull_request_authors_count":40,"issue_authors_count":122,"avg_comments_per_issue":2.1904761904761907,"avg_comments_per_pull_request":1.2587412587412588,"merged_pull_requests_count":86,"bot_issues_count":0,"bot_pull_requests_count":47,"past_year_issues_count":8,"past_year_pull_requests_count":15,"past_year_avg_time_to_close_issue":10444264.0,"past_year_avg_time_to_close_pull_request":639862.3333333334,"past_year_issues_closed_count":1,"past_year_pull_requests_closed_count":6,"past_year_pull_request_authors_count":6,"past_year_issue_authors_count":6,"past_year_avg_comments_per_issue":0.5,"past_year_avg_comments_per_pull_request":0.0,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":7,"past_year_merged_pull_requests_count":6,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/gvergnaud%2Fts-pattern/issues","maintainers":[{"login":"gvergnaud","count":40,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/gvergnaud"}],"active_maintainers":[{"login":"gvergnaud","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/gvergnaud"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@depup%2Fts-pattern/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@depup%2Fts-pattern/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@depup%2Fts-pattern/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@depup%2Fts-pattern/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@depup%2Fts-pattern/codemeta","maintainers":[{"uuid":"chiefmikey","login":"chiefmikey","name":null,"email":"wolfemikl@gmail.com","url":null,"packages_count":2064,"html_url":"https://www.npmjs.com/~chiefmikey","role":null,"created_at":"2026-03-19T04:24:10.801Z","updated_at":"2026-03-19T04:24:10.801Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/chiefmikey/packages"}]}