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

shopify-upgrade-guard

v0.5.0

Published

Check documented Shopify API and platform upgrade compatibility risks with an offline CLI and GitHub Action.

Downloads

1,378

Readme

Shopify Upgrade Guard

Find evidence-backed Shopify API and platform migration risks against a target version.

RexCode Open Source · Shopify developer tools

npm CI CodeQL OpenSSF Scorecard Node.js 22+ MIT licence

Shopify Upgrade Guard scans local application source and configuration for documented API removals, deprecations and platform changes. Each finding includes a version boundary and an official source where available.

Features

  • Checks migration risks against an explicit Shopify API target.
  • Separates current debt from target-version findings.
  • Supports JSON and SARIF output, baselines and pull-request-only findings.
  • Keeps rules deterministic and links Shopify-specific checks to official evidence.

Install and run

Requires Node.js 22 or later.

npm install --save-dev shopify-upgrade-guard
npx shopify-upgrade-guard scan --target 2026-10

Use npx shopify-upgrade-guard --help for all commands. See the CLI guide and version model.

GitHub Action

Pin the v0.5.0 release tag for the UG-TAX-001 rule. The repository ruleset prevents released semantic version tags from being changed or deleted:

name: Check Shopify API migration
on: [pull_request]
permissions:
  contents: read

jobs:
  upgrade-guard:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
        with:
          fetch-depth: 0
      - uses: RexCode-Digital/[email protected] # v0.5.0
        with:
          target: 2026-10
          fail-on: warning

Inputs are target, fail-on, fail-on-new, base-ref and path. Outputs include active/new/resolved finding counts, error count, version inventory, policy outcome and JSON results. See action.yml.

Example output

Shopify Upgrade Guard
Target version: 2026-10
Files scanned: 1

ERROR  UG-CUSTOMER-001
Customer Account checkout types are removed
  customer.graphql:1
  This usage is affected by target 2026-10.
  Migration: Use Storefront cart flows or Customer.orders as appropriate.
  Source: https://shopify.dev/changelog/customer-account-api-last-incomplete-checkout-and-checkout-types-removed

1 active risk found
Result: migration recommended

The example is shortened from a scan of a synthetic GraphQL document.

Supported capabilities and evidence

Rules cover documented Shopify API and platform lifecycle changes across supported Admin GraphQL, Customer Account, Checkout UI, POS, extension-configuration and other tracked surfaces. Each rule defines its affected version and migration guidance; the CLI guide, generated rule catalogue from the rules command, and migration documentation describe current coverage. Rules only apply at their documented version boundary.

Version 0.5.0 adds UG-TAX-001 for an explicit tax_summaries/create subscription when the selected target is 2027-01 or later. It reports a review warning; it cannot determine whether the handler already accepts Global IDs. See the 2027-01 research and limits.

Limitations and privacy

Scans are offline and do not call Shopify or execute application code. A match is a review signal, not proof of a production failure. Static detection cannot see runtime-generated operations, every framework wrapper, live subscription configuration or whether application code already handles a changed payload. Review the linked source and test the migration in your application.

Documentation

Related RexCode OSS tools

Use the four-tool workflow to run the published Actions together.

Contributing and support

Read CONTRIBUTING.md and the RexCode Open Source standards. For usage questions or safe reproductions, use SUPPORT.md or the issue tracker.

Security

Use SECURITY.md for private vulnerability reporting. Do not post credentials, merchant data or private source in public issues.

Licence and affiliation

MIT licensed. Shopify's names and marks belong to Shopify. This independent open-source project is not affiliated with, endorsed by, or certified by Shopify.