# ns-upgrade-package

> Claude/Codex skill by [@nodesource](https://omgskills.com/library/nodesource/index.md) · 0 stars · Updated 2026-09-16

Plans an upgrade for a specific npm package already used by a Node.js project. Use when the user wants to bump/update one dependency, assess semver or breaking changes, resolve peer dependency risk, move to a target version, or get exact package-manager commands. Use ns-replace-package when switching to a different library.

## Install

```sh
git clone https://github.com/nodesource/nsolid-skills-plugin /tmp/nsolid-skills-plugin && ln -s /tmp/nsolid-skills-plugin/skills/ns-upgrade-package ~/.claude/skills/ns-upgrade-package
```

## From README

Identify the Package and Current Version Extract the package name from the user's request. If no version context is provided, read package.json and the lockfile to find the installed version (package-lock packages\["nodemodules/ "\], pnpm-lock package snapshots, or matching yarn.lock entry). Use the package.json range only when no lockfile version exists. Note whether the package is a direct dependency, a dev dependency, or not yet installed. Fetch NCM Data Call getPackageQuality with the package name and current version (or latest if not installed) to retrieve vulnerability severity, known issues, license, and quality scores. The tool returns the latest available version as well — record it. If the user specified a target version explicitly, use that instead of latest. Assess Workspace Search workspace source files (/.{ts,tsx,js,jsx,mjs,cjs}) for import ... from ' ' or require(' ') patterns to understand how widely the package is used.

## Links

- HTML page: https://omgskills.com/library/nodesource/nsolid-skills-plugin/skills/ns-upgrade-package/
- GitHub: https://github.com/nodesource/nsolid-skills-plugin
- Author: [@nodesource](https://omgskills.com/library/nodesource/index.md)

## More from this repo

- [ns-advanced-memory-leak-hunter](https://omgskills.com/library/nodesource/nsolid-skills-plugin/skills/ns-advanced-memory-leak-hunter/index.md) — Performs an advanced N|Solid memory leak hunt comparing baseline vs peak heap evidence to isolate retained...
   - [@nodesource](https://omgskills.com/library/nodesource/index.md) · 0 stars
- [ns-analyze-asset](https://omgskills.com/library/nodesource/nsolid-skills-plugin/skills/ns-analyze-asset/index.md) — Analyzes an existing N|Solid diagnostic asset by asset ID or local asset path using asset-summary.
   - [@nodesource](https://omgskills.com/library/nodesource/index.md) · 0 stars
- [ns-analyze-event](https://omgskills.com/library/nodesource/nsolid-skills-plugin/skills/ns-analyze-event/index.md) — Investigates an existing N|Solid event payload and correlates relevant MCP evidence.
   - [@nodesource](https://omgskills.com/library/nodesource/index.md) · 0 stars
