Gathering detailed insights and metrics for assertion-error-formatter
Gathering detailed insights and metrics for assertion-error-formatter
Gathering detailed insights and metrics for assertion-error-formatter
Gathering detailed insights and metrics for assertion-error-formatter
npm install assertion-error-formatter
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
2 Stars
22 Commits
1 Forks
1 Watching
11 Branches
1 Contributors
Updated on 18 Jun 2022
JavaScript (100%)
Cumulative downloads
Total Downloads
Last day
-3.9%
251,801
Compared to previous day
Last week
2.4%
1,438,189
Compared to previous week
Last month
7.6%
6,043,090
Compared to previous month
Last year
8.3%
60,475,900
Compared to previous year
3
20
Format errors to display a diff between the actual and expected
Originally extracted from mocha
1import {format} from 'assertion-error-formatter' 2 3format(error)
format(error [, options])
error
: a javascript erroroptions
: An object with the following keys:
colorFns
: An object with the keys 'diffAdded', 'diffRemoved', 'errorMessage', 'errorStack'. The values are functions to colorize a string, each defaults to identity.inlineDiff
: boolean (default: false)
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 0/20 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
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
34 existing vulnerabilities detected
Details
Score
Last Scanned on 2024-11-25
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