{"id":2035037,"name":"morphic","ecosystem":"npm","description":"Ad-hoc polymorphism / pattern matching / destructuring for function parameters","homepage":"https://github.com/ojj11/morphic#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/ojj11/morphic","keywords_array":["polymorphism","shape","destructuring","pattern","pattern matching"],"namespace":null,"versions_count":15,"first_release_published_at":"2017-04-12T22:16:39.316Z","latest_release_published_at":"2022-04-23T16:07:32.920Z","latest_release_number":"1.0.16","last_synced_at":"2026-07-31T09:32:58.684Z","created_at":"2022-04-09T19:54:53.378Z","updated_at":"2026-07-31T10:11:57.483Z","registry_url":"https://www.npmjs.com/package/morphic","install_command":"npm install morphic","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.0.16"},"contentPolicy":null},"repo_metadata":{"id":19852959,"uuid":"88080266","full_name":"ojj11/morphic","owner":"ojj11","description":"Ad-hoc polymorphism / pattern matching / destructuring for function parameters in JavaScript","archived":false,"fork":false,"pushed_at":"2022-12-30T20:31:02.000Z","size":161,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-23T08:53:12.715Z","etag":null,"topics":["javascript","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ojj11.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}},"created_at":"2017-04-12T17:46:57.000Z","updated_at":"2022-04-09T16:06:37.000Z","dependencies_parsed_at":"2023-01-13T20:37:56.732Z","dependency_job_id":null,"html_url":"https://github.com/ojj11/morphic","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/ojj11/morphic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ojj11%2Fmorphic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ojj11%2Fmorphic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ojj11%2Fmorphic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ojj11%2Fmorphic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ojj11","download_url":"https://codeload.github.com/ojj11/morphic/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ojj11%2Fmorphic/sbom","scorecard":{"id":703825,"data":{"date":"2025-08-11","repo":{"name":"github.com/ojj11/morphic","commit":"9bcfa52daf9eba2786e6bb8b9a3e90b756b65567"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"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":"Code-Review","score":0,"reason":"Found 0/21 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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/node.js.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":"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":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/ojj11/morphic/node.js.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/ojj11/morphic/node.js.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/ojj11/morphic/node.js.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/ojj11/morphic/node.js.yml/master?enable=pin","Info:   0 out of   4 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":"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: 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":"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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 15 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":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-gxpj-cx7g-858c","Warn: Project is vulnerable to: GHSA-2j2x-2gpw-g8fm","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw"],"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-22T05:53:47.532Z","repository_id":19852959,"created_at":"2025-08-22T05:53:47.532Z","updated_at":"2025-08-22T05:53:47.532Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29901931,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T14:46:13.553Z","status":"ssl_error","status_checked_at":"2026-02-27T14:46:10.522Z","response_time":57,"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":"ojj11","name":"Olli Jones","uuid":"3420903","kind":"user","description":"","email":"","website":null,"location":"London","twitter":null,"company":"Microsoft","icon_url":"https://avatars.githubusercontent.com/u/3420903?u=2c72547f2ca482f186a4ff69b10c6e606ce7d908\u0026v=4","repositories_count":10,"last_synced_at":"2023-08-04T18:21:54.181Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/ojj11","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-06T07:27:19.004Z","updated_at":"2023-08-04T18:21:54.183Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ojj11","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ojj11/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-07-31T10:11:57.478Z","dependent_packages_count":2,"downloads":1933,"downloads_period":"last-month","dependent_repos_count":1,"rankings":{"downloads":9.485136213291925,"dependent_repos_count":10.406813519820098,"dependent_packages_count":8.90712248139882,"stargazers_count":16.80956962639632,"forks_count":15.487242285130625,"docker_downloads_count":null,"average":12.219176825207558},"purl":"pkg:npm/morphic","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/morphic","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/morphic","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/morphic/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-10T16:32:30.564Z","issues_count":3,"pull_requests_count":19,"avg_time_to_close_issue":361587.6666666667,"avg_time_to_close_pull_request":5330068.777777778,"issues_closed_count":3,"pull_requests_closed_count":18,"pull_request_authors_count":3,"issue_authors_count":2,"avg_comments_per_issue":0.6666666666666666,"avg_comments_per_pull_request":1.0,"merged_pull_requests_count":16,"bot_issues_count":2,"bot_pull_requests_count":12,"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/ojj11%2Fmorphic/issues","maintainers":[{"login":"ojj11","count":7,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/ojj11"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/morphic/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/morphic/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/morphic/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/morphic/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/morphic/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/morphic/codemeta","maintainers":[{"uuid":"ojj11","login":"ojj11","name":null,"email":"icelollyolli+npm@icloud.com","url":null,"packages_count":4,"html_url":"https://www.npmjs.com/~ojj11","role":null,"created_at":"2022-11-13T08:37:35.323Z","updated_at":"2022-11-13T08:37:35.323Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/ojj11/packages"}]}