
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.
@scrambled/parse-version
Advanced tools
Takes a version in a format produced by NPM (e.g. "1.9.4"
) and returns an object like:
{
major: 1,
minor: 9,
patch: 4
}
Throws if version string is incorrect.
npm install @scrambled/parse-version
const parse = require("@scrambled/parse-version");
const { name, version } = require("../package.json");
const project = {
name,
version: parse(version)
};
JSON.stringify(project, null, 2) === `{
"name": "my-awesome-project",
"version": {
"major": 1,
"minor": 0,
"patch": 9997
}
}`
// true
Clone the repository and hack on. Check out friendly NPM scripts:
npm run develop # Watch and run tests
npm run debug # Run tests with node inspector
PRs are very welcome.
[1.0.3] - 2017-07-05
FAQs
Takes a version in an NPM format and returns an object
The npm package @scrambled/parse-version receives a total of 0 weekly downloads. As such, @scrambled/parse-version popularity was classified as not popular.
We found that @scrambled/parse-version demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.