{"id":1599118,"name":"db-errors","ecosystem":"npm","description":"Unified node.js error API for mysql, postgres and sqlite3","homepage":"https://github.com/Vincit/db-errors#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/Vincit/db-errors","keywords_array":["mysql","postgres","postgresql","sqlite3","error","errors","error","handling","error","handler"],"namespace":null,"versions_count":6,"first_release_published_at":"2017-12-04T04:52:07.779Z","latest_release_published_at":"2019-05-31T09:54:55.548Z","latest_release_number":"0.2.3","last_synced_at":"2026-03-29T05:18:11.177Z","created_at":"2022-04-09T11:14:56.559Z","updated_at":"2026-03-29T05:18:11.177Z","registry_url":"https://www.npmjs.com/package/db-errors","install_command":"npm install db-errors","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.2.3"}},"repo_metadata":{"id":26586338,"uuid":"103810344","full_name":"Vincit/db-errors","owner":"Vincit","description":"Unified node.js error API for mysql, postgres and sqlite3","archived":false,"fork":false,"pushed_at":"2024-02-29T10:02:45.000Z","size":570,"stargazers_count":86,"open_issues_count":18,"forks_count":13,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-10-09T07:37:11.835Z","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/Vincit.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":"2017-09-17T07:15:01.000Z","updated_at":"2024-11-19T07:08:58.000Z","dependencies_parsed_at":"2024-06-18T13:41:28.914Z","dependency_job_id":"adaa60c8-5db3-4525-8a79-babf313dbdf9","html_url":"https://github.com/Vincit/db-errors","commit_stats":{"total_commits":50,"total_committers":8,"mean_commits":6.25,"dds":0.5800000000000001,"last_synced_commit":"7258cf09ce83002243b7c7d301a0e97bb186e5bb"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/Vincit/db-errors","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincit%2Fdb-errors","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincit%2Fdb-errors/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincit%2Fdb-errors/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincit%2Fdb-errors/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vincit","download_url":"https://codeload.github.com/Vincit/db-errors/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincit%2Fdb-errors/sbom","scorecard":{"id":148288,"data":{"date":"2025-08-11","repo":{"name":"github.com/Vincit/db-errors","commit":"7258cf09ce83002243b7c7d301a0e97bb186e5bb"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"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":"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":"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":"Code-Review","score":2,"reason":"Found 5/25 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/test.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/Vincit/db-errors/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/Vincit/db-errors/test.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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/test.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":"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":"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 10 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":0,"reason":"46 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-m5vv-6r4h-3vj9","Warn: Project is vulnerable to: GHSA-93q8-gq69-wqmw","Warn: Project is vulnerable to: GHSA-fwr7-v2mv-hh25","Warn: Project is vulnerable to: GHSA-cph5-m8f7-6c5x","Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx","Warn: Project is vulnerable to: GHSA-jr5f-v2jv-69x6","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-74fj-2j2h-c42q","Warn: Project is vulnerable to: GHSA-pw2r-vq6v-hr8c","Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc","Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-8cf7-32gw-wr33","Warn: Project is vulnerable to: GHSA-hjrf-2m68-5959","Warn: Project is vulnerable to: GHSA-qwph-4952-7xr6","Warn: Project is vulnerable to: GHSA-4jv9-3563-23j3","Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-mqr2-w7wj-jjgr","Warn: Project is vulnerable to: GHSA-49j4-86m8-q2jw","Warn: Project is vulnerable to: GHSA-fpw7-j2hg-69v5","Warn: Project is vulnerable to: GHSA-4rch-2fh8-94vw","Warn: Project is vulnerable to: GHSA-pmh2-wpjm-fj45","Warn: Project is vulnerable to: GHSA-qrpm-p2h7-hrv2","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-r683-j2x4-v87g","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5","Warn: Project is vulnerable to: GHSA-wpg7-2c88-r8xv","Warn: Project is vulnerable to: GHSA-9qrh-qjmc-5w2p","Warn: Project is vulnerable to: GHSA-jqv5-7xpx-qj74","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-pq67-2wwv-3xjx","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-776f-qx25-q3cc","Warn: Project is vulnerable to: GHSA-5fg8-2547-mr8q","Warn: Project is vulnerable to: GHSA-crh6-fp67-6883"],"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-16T09:54:40.617Z","repository_id":26586338,"created_at":"2025-08-16T09:54:40.617Z","updated_at":"2025-08-16T09:54:40.617Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005656,"owners_count":26083942,"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-10T02:00:06.843Z","response_time":62,"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":"Vincit","name":"Vincit","uuid":"710715","kind":"organization","description":"Software Development Expert","email":"info@vincit.fi","website":"https://www.vincit.com","location":null,"twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/710715?v=4","repositories_count":69,"last_synced_at":"2024-04-14T06:39:08.359Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/Vincit","funding_links":[],"total_stars":8791,"followers":36,"following":0,"created_at":"2022-11-02T16:28:38.588Z","updated_at":"2024-04-14T06:39:15.553Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vincit","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Vincit/repositories"},"tags":[{"name":"0.2.3","sha":"98d2025c60c9f70e99867dd2a22907aac9da46d8","kind":"commit","published_at":"2019-05-31T06:33:59.000Z","download_url":"https://codeload.github.com/Vincit/db-errors/tar.gz/0.2.3","html_url":"https://github.com/Vincit/db-errors/releases/tag/0.2.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/Vincit/db-errors@0.2.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincit%2Fdb-errors/tags/0.2.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincit%2Fdb-errors/tags/0.2.3/manifests"},{"name":"0.2.2","sha":"d01d36ba1ab21f58b55a72a9fed759999f14db41","kind":"commit","published_at":"2019-04-08T09:36:11.000Z","download_url":"https://codeload.github.com/Vincit/db-errors/tar.gz/0.2.2","html_url":"https://github.com/Vincit/db-errors/releases/tag/0.2.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/Vincit/db-errors@0.2.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincit%2Fdb-errors/tags/0.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincit%2Fdb-errors/tags/0.2.2/manifests"},{"name":"0.2.1","sha":"83e8414e94a9242c1e9d3a3ec6ca8cd619769d81","kind":"commit","published_at":"2019-04-05T06:32:00.000Z","download_url":"https://codeload.github.com/Vincit/db-errors/tar.gz/0.2.1","html_url":"https://github.com/Vincit/db-errors/releases/tag/0.2.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/Vincit/db-errors@0.2.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincit%2Fdb-errors/tags/0.2.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincit%2Fdb-errors/tags/0.2.1/manifests"},{"name":"0.2.0","sha":"e338c44119a4e70612354ce4be98de918ba9a2ad","kind":"commit","published_at":"2019-04-04T20:09:49.000Z","download_url":"https://codeload.github.com/Vincit/db-errors/tar.gz/0.2.0","html_url":"https://github.com/Vincit/db-errors/releases/tag/0.2.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/Vincit/db-errors@0.2.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincit%2Fdb-errors/tags/0.2.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincit%2Fdb-errors/tags/0.2.0/manifests"},{"name":"0.1.1","sha":"3845c3ebfca437e4ee8d375c3f193ba40b3d2667","kind":"commit","published_at":"2018-12-29T14:14:56.000Z","download_url":"https://codeload.github.com/Vincit/db-errors/tar.gz/0.1.1","html_url":"https://github.com/Vincit/db-errors/releases/tag/0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/Vincit/db-errors@0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincit%2Fdb-errors/tags/0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincit%2Fdb-errors/tags/0.1.1/manifests"},{"name":"0.1.0","sha":"a98347a23be63770a44385a2c4c3cfbe15be4c73","kind":"commit","published_at":"2017-12-04T04:39:29.000Z","download_url":"https://codeload.github.com/Vincit/db-errors/tar.gz/0.1.0","html_url":"https://github.com/Vincit/db-errors/releases/tag/0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/Vincit/db-errors@0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincit%2Fdb-errors/tags/0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Vincit%2Fdb-errors/tags/0.1.0/manifests"}]},"repo_metadata_updated_at":"2025-10-11T00:27:06.744Z","dependent_packages_count":16,"downloads":613345,"downloads_period":"last-month","dependent_repos_count":1925,"rankings":{"downloads":0.35724754146412474,"dependent_repos_count":0.4772199891128306,"dependent_packages_count":1.4160729237783944,"stargazers_count":5.226212906794257,"forks_count":5.637083847111008,"docker_downloads_count":0.19062382581428242,"average":2.2174101723458164},"purl":"pkg:npm/db-errors","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/db-errors","docker_dependents_count":103,"docker_downloads_count":55130159,"usage_url":"https://repos.ecosyste.ms/usage/npm/db-errors","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/db-errors/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-16T14:31:23.265Z","issues_count":15,"pull_requests_count":25,"avg_time_to_close_issue":8110385.857142857,"avg_time_to_close_pull_request":20341615.2,"issues_closed_count":7,"pull_requests_closed_count":15,"pull_request_authors_count":11,"issue_authors_count":15,"avg_comments_per_issue":2.0,"avg_comments_per_pull_request":1.2,"merged_pull_requests_count":5,"bot_issues_count":0,"bot_pull_requests_count":15,"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/Vincit%2Fdb-errors/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/db-errors/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/db-errors/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/db-errors/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/db-errors/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/db-errors/codemeta","maintainers":[{"uuid":"koskimas","login":"koskimas","name":null,"email":"koskomi@gmail.com","url":null,"packages_count":13,"html_url":"https://www.npmjs.com/~koskimas","role":null,"created_at":"2022-11-11T23:52:10.671Z","updated_at":"2022-11-11T23:52:10.671Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/koskimas/packages"}]}