
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@uscreen.de/versionize
Advanced tools
Opinionated package versioner
This package can be used for versioning your Node.js projects. It uses Semantic Versioning and increments versions by specifying the desired release type.
node
v18 or higherAdd the module within your monorepo:
$ yarn add -D @uscreen.de/versionize
$ versionize latest // => increments (minor) pre-release version
$ versionize stable // => increments minor version
$ versionize hotfix // => increments patch version
$ versionize // => outputs current version
Versions are written into package.json
and manifest.json
. The package.json
always contains the current stable release version. The manifest.json
contains the current pre-release version, if given, otherwise also the current stable release version.
If you want to use versionize's output for shell scripts or similar, use the option --raw
. Instead of the default output, versionize will only write the new version to stdout, without any pretty printing.
If used with option --commit
, versionize will automatically commit the changes it made to package.json
and manifest.json
. If used with option --tag
, versionize will additionally tag the automatic commit with the new version.
You need a working git
binary in your PATH
.
The package also exposes some methods so you could use versionize
inside your project:
import { getCurrentVersion, bumpVersion } from '@uscreen.de/versionize'
Get the current version of your project:
const myVersion = getCurrentVersion()
You could overwrite the current working directory with the option cwd
:
const myVersion = getCurrentVersion({ cwd: '/path/to/my/project' })
Bump the version of your project:
bumpVersion('stable')
You could overwrite the current working directory with the option cwd
:
bumpVersion('stable', { cwd: '/path/to/my/project' })
To commit or tag the version bump, use the corresponding options:
// commit:
bumpVersion('stable', { commit: true })
// (commit &) tag:
bumpVersion('stable', { tag: true })
Format according to https://keepachangelog.com
Licensed under MIT.
Published, Supported and Sponsored by u|screen
FAQs
opinionated package versioner
The npm package @uscreen.de/versionize receives a total of 12 weekly downloads. As such, @uscreen.de/versionize popularity was classified as not popular.
We found that @uscreen.de/versionize demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.