Gathering detailed insights and metrics for @semantic-release-plus/error
Gathering detailed insights and metrics for @semantic-release-plus/error
Gathering detailed insights and metrics for @semantic-release-plus/error
Gathering detailed insights and metrics for @semantic-release-plus/error
semantic-release-plus monorepo to build and publish all semantic-release related repositories
npm install @semantic-release-plus/error
Typescript
Module System
Min. Node Version
Node Version
NPM Version
docker-v4.0.0-alpha.8
Updated on Mar 19, 2024
gitlab-terraform-module-v1.0.0-alpha.6
Updated on Mar 19, 2024
srp-v20.0.0-alpha.18
Updated on Mar 19, 2024
core-v2.0.0-alpha.6
Updated on Mar 19, 2024
gitlab-terraform-module-v1.0.0-alpha.5
Updated on Mar 15, 2024
gitlab-terraform-module-v1.0.0-alpha.4
Updated on Mar 14, 2024
TypeScript (92.16%)
JavaScript (7.71%)
Shell (0.13%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
74 Stars
387 Commits
7 Forks
2 Watchers
70 Branches
13 Contributors
Updated on Apr 13, 2025
Latest Version
3.0.1
Package Id
@semantic-release-plus/error@3.0.1
Unpacked Size
4.43 kB
Size
1.72 kB
File Count
8
NPM Version
9.8.1
Node Version
18.18.2
Published on
Oct 29, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
Error type used by all "@semantic-release-plus packages.
Errors of type SemanticReleaseError
or an inherited type will be considered by "@semantic-release-plus as an expected exception case (no release to be done, running on a PR etc..). That indicate to the semantic-release
process to stop and exit with the 0
success code.
Any other type of error will be considered by "@semantic-release-plus as an unexpected error (i/o issue, code problem etc...). That indicate to the semantic-release
process to stop, log the error and exit with the 1
failure code.
1const SemanticReleaseError = require('@semantic-release-plus/error'); 2 3// Default 4throw new SemanticReleaseError(); 5 6// With error message 7throw new SemanticReleaseError('An error happened'); 8 9// With error message and error code 10throw new SemanticReleaseError('An error happened', 'ECODE'); 11 12// With error message, error code and details 13throw new SemanticReleaseError('An error happened', 'ECODE', 'Here is some suggestions to solve this error.'); 14 15// With inheritance 16class InheritedError extends SemanticReleaseError { 17 constructor(message, code, newProperty, details) { 18 super(message); 19 Error.captureStackTrace(this, this.constructor); 20 this.name = this.constructor.name; 21 this.code = code; 22 this.details = details; 23 this.newProperty = 'newProperty'; 24 } 25} 26 27throw new InheritedError('An error happened', 'ECODE', 'Here is some suggestions to solve this error.');
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
Reason
Found 0/3 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
24 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More