npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@realvendex/pi-dep-upgrade

v1.0.0

Published

Safe dependency upgrade automation for pi.dev extensions — dry-run, rollback, and changelog integration. Natural companion to pi-dep-audit.

Readme

pi-dep-upgrade

Safe dependency upgrade automation for pi.dev extensions — dry-run, rollback, and changelog integration.

Installation

pi install npm:@realvendex/pi-dep-upgrade

What It Does

pi-dep-upgrade provides safe, automated dependency upgrades for pi.dev extensions. It's the natural companion to pi-dep-audit — audit finds outdated/vulnerable deps, upgrade fixes them.

Key features:

  • Dry-run mode — preview what would change before applying
  • Automatic backup — snapshots package.json + lockfile before every upgrade
  • One-click rollback — restore to pre-upgrade state if something breaks
  • Risk classification — semver-aware risk levels (low/medium/high)
  • Selective upgrades — upgrade specific packages or sweep all

Tools

dep_upgrade

Execute safe dependency upgrades with automatic backup.

Parameters:

  • packageNames (string[], optional) — Specific packages to upgrade. If omitted, upgrades all.
  • dryRun (boolean, optional) — Preview changes without applying. Default: false.
  • includeDev (boolean, optional) — Include devDependencies. Default: true.

Example:

Use the dep_upgrade tool with dryRun=true to preview all available upgrades

dep_upgrade_dry_run

Preview dependency upgrades without applying any changes.

Parameters:

  • packageNames (string[], optional) — Specific packages to check.
  • includeDev (boolean, optional) — Include devDependencies. Default: true.

Example:

Use the dep_upgrade_dry_run tool to see what dependencies can be upgraded

dep_upgrade_rollback

Roll back failed dependency upgrades by restoring a pre-upgrade snapshot.

Parameters:

  • backupId (string, optional) — Specific backup ID to restore. If omitted, restores the most recent.

Example:

Use the dep_upgrade_rollback tool to restore the last backup

Integration with pi-dep-audit

pi-dep-upgrade is designed to work seamlessly with pi-dep-audit:

  1. Audit first: Use dep_outdated from pi-dep-audit to identify outdated dependencies
  2. Preview: Use dep_upgrade_dry_run to see what would change
  3. Upgrade: Use dep_upgrade to apply the changes safely
  4. Rollback if needed: Use dep_upgrade_rollback if something goes wrong

Resources

License

MIT