NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #263 most downloaded on npm
Unopinionated, no-frills CLI argument parser
Last release 4 years ago
no release in 18 months
Ships fairly regularly
a new release about every 5 months
Some releases are documented
notes for 6 of 14 stable releases
Nothing withdrawn
no release was ever pulled
14 years old
14 releases · first in 2012
Fix(types): export flagSymbol: #63
Update all deps, run Prettier.: #58
One column per quarter.
tl;dr unless you are checking/validating the types or messages of errors thrown by arg , it is safe to upgrade with no changes to your codebase. In su
tl;dr unless you are checking/validating the types or messages of errors thrown by arg, it is safe to upgrade with no changes to your codebase. In such cases, arg will behave exactly the same as the previous version.
Despite the major release bump, the changes here should affect only the most remote corner cases. Nonetheless, this release was a major bump out of an abundance of caution.
require('arg').ArgError. All arg-related (non-TypeError) errors are an instance of this class, and each has a .code property with a unique arg-related failure. All errors relating to the configuration of arg itself (and thus cannot be fixed by changing user input) begin with ARG_CONFIG_. The circumstances under which the errors are thrown, or the variety of errors, remain unchanged.If any of these changes have broken you in any way, feel free to open an issue on the arg issue tracker.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Ensure each arg property starts with hyphen: #13
Bring down arg publish size: a4dfc59bdf7a8bc7009ab967eab553c4d0a69612
Nothing published for this version
Move from scoped package to public package: 2b8abb8339b996ee5161ff2f2ccbfa1a1957884d
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →