{"id":2411630,"name":"subclass-error","ecosystem":"npm","description":"Workaround for subclassing errors. Both instanceof and stack are functional.","homepage":"https://github.com/dasilvacontin/subclass-error","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/dasilvacontin/subclass-error","keywords_array":["error","subclass","instanceof","stack"],"namespace":null,"versions_count":6,"first_release_published_at":"2014-01-05T12:10:35.476Z","latest_release_published_at":"2015-03-27T09:43:56.248Z","latest_release_number":"0.1.1","last_synced_at":"2026-05-21T04:18:30.442Z","created_at":"2022-04-10T01:24:55.833Z","updated_at":"2026-05-21T04:18:30.442Z","registry_url":"https://www.npmjs.com/package/subclass-error","install_command":"npm install subclass-error","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"0.1.1"}},"repo_metadata":{"id":12971689,"uuid":"15650246","full_name":"dasilvacontin/subclass-error","owner":"dasilvacontin","description":":anger: JS Error subclasser.","archived":false,"fork":false,"pushed_at":"2015-10-04T10:36:54.000Z","size":357,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-20T14:43:42.783Z","etag":null,"topics":[],"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/dasilvacontin.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":"2014-01-05T11:53:29.000Z","updated_at":"2016-11-15T17:18:23.000Z","dependencies_parsed_at":"2022-09-17T14:03:46.471Z","dependency_job_id":null,"html_url":"https://github.com/dasilvacontin/subclass-error","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/dasilvacontin/subclass-error","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasilvacontin%2Fsubclass-error","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasilvacontin%2Fsubclass-error/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasilvacontin%2Fsubclass-error/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasilvacontin%2Fsubclass-error/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dasilvacontin","download_url":"https://codeload.github.com/dasilvacontin/subclass-error/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasilvacontin%2Fsubclass-error/sbom","scorecard":{"id":323824,"data":{"date":"2025-08-11","repo":{"name":"github.com/dasilvacontin/subclass-error","commit":"c512044aafbbfc0e03ff3a705b1b6c2e72d093de"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.2,"checks":[{"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":"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":"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":"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":"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":1,"reason":"Found 3/30 approved changesets -- score normalized to 1","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":"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":"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":"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 3 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-18T01:59:56.526Z","repository_id":12971689,"created_at":"2025-08-18T01:59:56.526Z","updated_at":"2025-08-18T01:59:56.526Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271747137,"owners_count":24813629,"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-08-23T02:00:09.327Z","response_time":69,"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":"dasilvacontin","name":"David da Silva","uuid":"1260830","kind":"user","description":"Senior Product Designer \r\n@emitwise, empowering humankind to be carbon negative. Also drifts on a longboard 🛹🔥🔥 and plays chess ♟. He/him.","email":"","website":"https://dasilvacont.in","location":"London","twitter":"dasilvacontin","company":"Emitwise","icon_url":"https://avatars.githubusercontent.com/u/1260830?u=97ce55a4791349e3859851217d8cfca6b90414c1\u0026v=4","repositories_count":195,"last_synced_at":"2025-02-19T12:49:11.594Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/dasilvacontin","funding_links":[],"total_stars":259,"followers":268,"following":271,"created_at":"2022-11-04T21:01:41.164Z","updated_at":"2025-02-19T12:49:11.594Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dasilvacontin","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dasilvacontin/repositories"},"tags":[{"name":"v0.1.1","sha":"19af071a93df623a323c8d7d7d8ae8e09cf9139a","kind":"tag","published_at":"2015-03-27T09:41:34.000Z","download_url":"https://codeload.github.com/dasilvacontin/subclass-error/tar.gz/v0.1.1","html_url":"https://github.com/dasilvacontin/subclass-error/releases/tag/v0.1.1","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/dasilvacontin/subclass-error@v0.1.1","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasilvacontin%2Fsubclass-error/tags/v0.1.1","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasilvacontin%2Fsubclass-error/tags/v0.1.1/manifests"},{"name":"v0.1.0","sha":"80024762c3236c1d2ec2dbc7f09eb31104d22f51","kind":"tag","published_at":"2015-03-24T09:18:07.000Z","download_url":"https://codeload.github.com/dasilvacontin/subclass-error/tar.gz/v0.1.0","html_url":"https://github.com/dasilvacontin/subclass-error/releases/tag/v0.1.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/dasilvacontin/subclass-error@v0.1.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasilvacontin%2Fsubclass-error/tags/v0.1.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasilvacontin%2Fsubclass-error/tags/v0.1.0/manifests"},{"name":"v0.0.3","sha":"926c834e055ce12249d1e3419191280273021263","kind":"tag","published_at":"2015-03-22T17:57:00.000Z","download_url":"https://codeload.github.com/dasilvacontin/subclass-error/tar.gz/v0.0.3","html_url":"https://github.com/dasilvacontin/subclass-error/releases/tag/v0.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/dasilvacontin/subclass-error@v0.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasilvacontin%2Fsubclass-error/tags/v0.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dasilvacontin%2Fsubclass-error/tags/v0.0.3/manifests"}]},"repo_metadata_updated_at":"2026-04-19T02:45:54.039Z","dependent_packages_count":3,"downloads":178,"downloads_period":"last-month","dependent_repos_count":8,"rankings":{"downloads":3.7107029953637296,"dependent_repos_count":4.090168316514424,"dependent_packages_count":5.9018835679009225,"stargazers_count":12.220043821000068,"forks_count":11.602479073785023,"docker_downloads_count":null,"average":7.5050555549128335},"purl":"pkg:npm/subclass-error","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/subclass-error","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/subclass-error","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/subclass-error/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2025-06-20T14:35:29.334Z","issues_count":5,"pull_requests_count":7,"avg_time_to_close_issue":5734031.0,"avg_time_to_close_pull_request":251066.14285714287,"issues_closed_count":4,"pull_requests_closed_count":7,"pull_request_authors_count":3,"issue_authors_count":2,"avg_comments_per_issue":1.4,"avg_comments_per_pull_request":3.2857142857142856,"merged_pull_requests_count":4,"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/dasilvacontin%2Fsubclass-error/issues","maintainers":[{"login":"dasilvacontin","count":6,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/dasilvacontin"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/subclass-error/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/subclass-error/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/subclass-error/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/subclass-error/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/subclass-error/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/subclass-error/codemeta","maintainers":[{"uuid":"dasilvacontin","login":"dasilvacontin","name":null,"email":"dasilvacontin@gmail.com","url":null,"packages_count":23,"html_url":"https://www.npmjs.com/~dasilvacontin","role":null,"created_at":"2022-11-14T14:53:00.586Z","updated_at":"2022-11-14T14:53:00.586Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/dasilvacontin/packages"}]}