Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
ci-parallel-vars
Advanced tools
Get CI environment variables for parallelizing builds
yarn add ci-parallel-vars
const ciParallelVars = require('ci-parallel-vars');
console.log(ciParallelVars); // { index: 3, total: 10 } || null
If you want to add support for another pair, please open a pull request and add them to
index.js
and to this list.
CI_NODE_INDEX
/CI_NODE_TOTAL
CIRCLE_NODE_INDEX
/CIRCLE_NODE_TOTAL
BITBUCKET_PARALLEL_STEP
/BITBUCKET_PARALLEL_STEP_COUNT
BUILDKITE_PARALLEL_JOB
/BUILDKITE_PARALLEL_JOB_COUNT
SEMAPHORE_CURRENT_JOB
/SEMAPHORE_JOB_COUNT
One of these pairs must both be defined as numbers or ci-parallel-vars
will
be null
.
FAQs
Get CI environment variables for parallelizing builds
We found that ci-parallel-vars demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.