Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@currents/jest
Advanced tools
A Jest reporter for Currents - a cloud platform for debugging, troubleshooting and analysing CI test results:
npm install @currents/jest --save-dev
Add the reporter to Jest configuration:
import type { Config } from "jest";
const config: Config = {
reporters: ["default", ["@currents/jest"]],
};
export default config;
or set the --reporters
option when running the jest
npx jest --reporters=@currents/jest
The reporter saves the test results in a folder named using the pattern .currents-report-[timestamp]-[uuidv4()]
in the root directory. We recomment to add .currents-report*
to your .gitignore
file.
Property | Type | Description | Environment variable | Default |
---|---|---|---|---|
reportDir | string | Test results directory | CURRENTS_REPORT_DIR | .currents-report-[timestamp]-[uuidv4] |
Set DEBUG=currents-jest
before running the tests to obtain detailed information about the reporter execution process.
FAQs
Currents reporter for Jest
The npm package @currents/jest receives a total of 300 weekly downloads. As such, @currents/jest popularity was classified as not popular.
We found that @currents/jest demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.