
Research
/Security News
Popular Go Decimal Library Targeted by Long-Running Typosquat with DNS Backdoor
A long-running Go typosquat impersonated the popular shopspring/decimal library and used DNS TXT records to execute commands.
@changesets/parse
Advanced tools
Parses a changeset from its written format to a data object.
import { parseChangesetFile } from "@changesets/parse";
const changeset = `---
"@changesets/something": minor
"@changesets/something-else": patch
---
A description of a minor change`;
const parsedChangeset = parseChangesetFile(changeset);
For example, it can convert:
---
"@changesets/something": minor
"@changesets/something-else": patch
---
A description of a minor change
to
{
"summary": "A description of a minor change",
"releases": [
{ "name": "@changesets/something", "type": "minor" },
{ "name": "@changesets/something-else", "type": "patch" }
]
}
Note that this is not quite a complete Changeset for most tools as it lacks an id.
For written changesets, the id is normally given as the file name, which parse is not aware of.
The `conventional-changelog` package is used to generate changelogs based on conventional commit messages. It provides a way to automate the process of creating changelogs and managing versioning. Unlike @changesets/parse, which focuses on parsing changeset files, `conventional-changelog` is more about generating changelogs from commit messages.
The `standard-version` package is a utility for versioning and changelog generation based on conventional commit messages. It automates the process of version bumping, changelog generation, and git tagging. While `standard-version` focuses on the entire release process, @changesets/parse is specifically for parsing changeset files.
Lerna is a tool for managing JavaScript projects with multiple packages. It optimizes the workflow around managing multi-package repositories. Lerna includes features for versioning and publishing packages, which can be compared to the functionality provided by changesets. However, Lerna is a more comprehensive tool for monorepo management, whereas @changesets/parse is focused on parsing changeset files.
FAQs
Parse a changeset file's contents into a usable json object
The npm package @changesets/parse receives a total of 2,368,024 weekly downloads. As such, @changesets/parse popularity was classified as popular.
We found that @changesets/parse demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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
A long-running Go typosquat impersonated the popular shopspring/decimal library and used DNS TXT records to execute commands.

Research
Active npm supply chain attack compromises @antv packages in a fast-moving malicious publish wave tied to Mini Shai-Hulud.

Security News
/Research
Socket detected malicious node-ipc versions with obfuscated stealer/backdoor behavior in a developing npm supply chain attack.