Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@janslow/ci-build-version
Advanced tools
Readme
Generates an opinionated semantic version from a base version and the current CI context. Currently supports GitLab CI.
The generated versions have the following precendence (from highest to lowest) based on git ref:
release
/hotfix
branches (prerelease starts with rc
).master
/develop
branches (prerelease starts with dev
).ci
).If used outside a CI environment, the prerelease is always local
.
import { SemVer } from 'semver';
import generateBuildVersion, { load, loadSync, parse } from '@janslow/ci-build-version';
// Manually specify base version.
const buildVersion1: SemVer = generateBuildVersion(new SemVer('1.2.3-local'));
// Load base version from a file
const buildVersion2: Promise<SemVer> = load('package.json', 'UTF8');
const buildVersion3: SemVer = loadSync('package.json', 'UTF8');
const buildVersion4: SemVer = parse(require('package.json'));
ci-build-version -b 1.2.3-local # Generate a version using the base version 1.2.3-local
ci-build-version -f package.json # Generate a version using the base version in `package.json`
Must only contain the base version. E.g.,
1.2.3-local
Must either contain a JSON/YAML string which is the base version or an object with the key version
(which is the base version). For example a package.json
file. YAML files must only contain a single document. E.g.,
"0.1.2-local" # Base version
{
"version": "0.1.2-local"
}
version: 0.1.2-local
export DEBUG='ci-build-version*'
FAQs
Generate a CI build version
The npm package @janslow/ci-build-version receives a total of 4 weekly downloads. As such, @janslow/ci-build-version popularity was classified as not popular.
We found that @janslow/ci-build-version 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.