{"id":971875,"name":"@hapipal/avocat","ecosystem":"npm","description":"A utility to convert Objection database errors into Boom HTTP errors","homepage":"https://github.com/hapipal/avocat#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/hapipal/avocat","keywords_array":["objection","errors","database","hapi","boom"],"namespace":"hapipal","versions_count":3,"first_release_published_at":"2021-02-02T17:03:09.421Z","latest_release_published_at":"2022-03-12T20:54:23.050Z","latest_release_number":"3.1.0","last_synced_at":"2026-08-23T20:29:18.083Z","created_at":"2022-04-07T18:10:46.571Z","updated_at":"2026-08-23T20:29:18.083Z","registry_url":"https://www.npmjs.com/package/@hapipal/avocat","install_command":"npm install @hapipal/avocat","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"3.1.0","types":"3.1.0-types.0"}},"repo_metadata":{"id":41040734,"uuid":"127412919","full_name":"hapipal/avocat","owner":"hapipal","description":"A simple library to convert objection errors to boom errors","archived":false,"fork":false,"pushed_at":"2023-04-05T18:00:20.000Z","size":30,"stargazers_count":8,"open_issues_count":2,"forks_count":4,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-08-03T00:11:14.286Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/hapipal.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":"2018-03-30T10:02:16.000Z","updated_at":"2023-02-14T09:52:25.000Z","dependencies_parsed_at":"2024-06-19T09:53:52.442Z","dependency_job_id":"eb6f82af-e3d3-4c37-b627-433583485e47","html_url":"https://github.com/hapipal/avocat","commit_stats":{"total_commits":26,"total_committers":6,"mean_commits":4.333333333333333,"dds":0.6923076923076923,"last_synced_commit":"dbb7b709624d17f8b91068e5404e1192a1305f78"},"previous_names":["pixulhq/avocat"],"tags_count":9,"template":false,"template_full_name":null,"purl":"pkg:github/hapipal/avocat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hapipal","download_url":"https://codeload.github.com/hapipal/avocat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/sbom","scorecard":{"id":114397,"data":{"date":"2025-08-11","repo":{"name":"github.com/hapipal/avocat","commit":"dbb7b709624d17f8b91068e5404e1192a1305f78"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"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":"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":"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":3,"reason":"Found 7/23 approved changesets -- score normalized to 3","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":"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":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":"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":"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":"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":"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 14 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-16T00:33:08.692Z","repository_id":41040734,"created_at":"2025-08-16T00:33:08.693Z","updated_at":"2025-08-16T00:33:08.693Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36843169,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-08-23T02:00:05.822Z","response_time":128,"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":"hapipal","name":"hapi pal","uuid":"36996446","kind":"organization","description":"an ecosystem of tools and best practices for the working hapijs developer","email":null,"website":"https://hapipal.com","location":"the hapi-verse","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/36996446?v=4","repositories_count":22,"last_synced_at":"2025-03-13T07:39:45.569Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/hapipal","funding_links":[],"total_stars":975,"followers":13,"following":0,"created_at":"2022-11-05T11:47:42.567Z","updated_at":"2025-03-13T07:39:45.569Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hapipal","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hapipal/repositories"},"tags":[{"name":"v3.1.0","sha":"dbb7b709624d17f8b91068e5404e1192a1305f78","kind":"tag","published_at":"2022-03-12T20:53:59.000Z","download_url":"https://codeload.github.com/hapipal/avocat/tar.gz/v3.1.0","html_url":"https://github.com/hapipal/avocat/releases/tag/v3.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hapipal/avocat@v3.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/tags/v3.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/tags/v3.1.0/manifests"},{"name":"v3.1.0-types.0","sha":"465d792b34e7e492e5e2b0e9fe6d31dd71d451f8","kind":"tag","published_at":"2022-03-12T20:51:45.000Z","download_url":"https://codeload.github.com/hapipal/avocat/tar.gz/v3.1.0-types.0","html_url":"https://github.com/hapipal/avocat/releases/tag/v3.1.0-types.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hapipal/avocat@v3.1.0-types.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/tags/v3.1.0-types.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/tags/v3.1.0-types.0/manifests"},{"name":"v3.0.0","sha":"cdaf7aee82a652d867921c6d99c86014960857d6","kind":"commit","published_at":"2021-02-02T13:53:11.000Z","download_url":"https://codeload.github.com/hapipal/avocat/tar.gz/v3.0.0","html_url":"https://github.com/hapipal/avocat/releases/tag/v3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hapipal/avocat@v3.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/tags/v3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/tags/v3.0.0/manifests"},{"name":"v2.0.0","sha":"584442f5a86952e05a00be20c800418dc6668f40","kind":"tag","published_at":"2020-02-21T06:32:27.000Z","download_url":"https://codeload.github.com/hapipal/avocat/tar.gz/v2.0.0","html_url":"https://github.com/hapipal/avocat/releases/tag/v2.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hapipal/avocat@v2.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/tags/v2.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/tags/v2.0.0/manifests"},{"name":"v1.1.0","sha":"6cab8f4542c4ad02c88f670fd6597e0dfbfc0bf0","kind":"tag","published_at":"2019-12-06T09:42:18.000Z","download_url":"https://codeload.github.com/hapipal/avocat/tar.gz/v1.1.0","html_url":"https://github.com/hapipal/avocat/releases/tag/v1.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hapipal/avocat@v1.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/tags/v1.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/tags/v1.1.0/manifests"},{"name":"v1.0.2","sha":"ab1ba94192d9003b2c666597c4e7dbcae1629275","kind":"tag","published_at":"2019-06-28T12:23:07.000Z","download_url":"https://codeload.github.com/hapipal/avocat/tar.gz/v1.0.2","html_url":"https://github.com/hapipal/avocat/releases/tag/v1.0.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hapipal/avocat@v1.0.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/tags/v1.0.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/tags/v1.0.2/manifests"},{"name":"v1.0.1","sha":"a42eca67d41f57175b0ec868ab70562eedb33c8c","kind":"tag","published_at":"2018-04-18T14:45:33.000Z","download_url":"https://codeload.github.com/hapipal/avocat/tar.gz/v1.0.1","html_url":"https://github.com/hapipal/avocat/releases/tag/v1.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hapipal/avocat@v1.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/tags/v1.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/tags/v1.0.1/manifests"},{"name":"v1.0.0","sha":"2b1012c7bc551cc45421d725603ece50787bd3c0","kind":"tag","published_at":"2018-04-18T09:11:01.000Z","download_url":"https://codeload.github.com/hapipal/avocat/tar.gz/v1.0.0","html_url":"https://github.com/hapipal/avocat/releases/tag/v1.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hapipal/avocat@v1.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/tags/v1.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/tags/v1.0.0/manifests"},{"name":"v0.0.1","sha":"6d34ecee709ab54567bde3b81086136c76473758","kind":"tag","published_at":"2018-03-30T11:57:19.000Z","download_url":"https://codeload.github.com/hapipal/avocat/tar.gz/v0.0.1","html_url":"https://github.com/hapipal/avocat/releases/tag/v0.0.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hapipal/avocat@v0.0.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/tags/v0.0.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hapipal%2Favocat/tags/v0.0.1/manifests"}]},"repo_metadata_updated_at":"2026-08-23T05:16:35.420Z","dependent_packages_count":2,"downloads":2621,"downloads_period":"last-month","dependent_repos_count":5,"rankings":{"downloads":4.24375877303484,"dependent_repos_count":5.04270036470973,"dependent_packages_count":8.8589471387427,"stargazers_count":10.066806127269047,"forks_count":8.218157770206721,"docker_downloads_count":null,"average":7.286074034792608},"purl":"pkg:npm/%40hapipal/avocat","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@hapipal/avocat","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@hapipal/avocat","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@hapipal/avocat/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-15T19:18:41.134Z","issues_count":5,"pull_requests_count":10,"avg_time_to_close_issue":11409550.4,"avg_time_to_close_pull_request":1558608.125,"issues_closed_count":5,"pull_requests_closed_count":8,"pull_request_authors_count":5,"issue_authors_count":2,"avg_comments_per_issue":0.8,"avg_comments_per_pull_request":0.6,"merged_pull_requests_count":8,"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/hapipal%2Favocat/issues","maintainers":[{"login":"devinivy","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/devinivy"},{"login":"optii","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/optii"},{"login":"mattboutet","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/mattboutet"},{"login":"Nargonath","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/Nargonath"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@hapipal%2Favocat/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@hapipal%2Favocat/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@hapipal%2Favocat/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@hapipal%2Favocat/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@hapipal%2Favocat/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@hapipal%2Favocat/codemeta","maintainers":[{"uuid":"devinivy","login":"devinivy","name":null,"email":"devinivy@gmail.com","url":null,"packages_count":329,"html_url":"https://www.npmjs.com/~devinivy","role":null,"created_at":"2022-11-20T16:44:19.592Z","updated_at":"2022-11-20T16:44:19.592Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/devinivy/packages"},{"uuid":"optii","login":"optii","name":null,"email":"daniel@leggett.fr","url":null,"packages_count":26,"html_url":"https://www.npmjs.com/~optii","role":null,"created_at":"2022-11-20T16:44:19.624Z","updated_at":"2022-11-20T16:44:19.624Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/optii/packages"},{"uuid":"mattboutet","login":"mattboutet","name":null,"email":"mattboutet@gmail.com","url":null,"packages_count":23,"html_url":"https://www.npmjs.com/~mattboutet","role":null,"created_at":"2022-11-20T16:44:19.638Z","updated_at":"2022-11-20T16:44:19.638Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mattboutet/packages"}]}