hunk.code_window:     "pnpm-file-reporter": "^0.0.1",
       "pnpm-list": "^2.0.0",
       "ramda": "^0.25.0",
       "strip-color": "^0.1.0",
       "supi": "^0.7.2",
       "text-table": "^0.2.0",
       "update-notifier": "^2.1.0"
     },
     "devDependencies": {
  
hunk.labels: keep keep keep keep replace keep keep keep keep
hunk.after_edit:     "supi": "^0.7.3",
  
hunk.file_path: package.json
hunk.type: replace
file: import logger from '@pnpm/logger'
  import {
    PnpmOptions,
    storePrune,
    storeStatus,
  } from 'supi'
  import {PnpmError} from '../errorTypes'
  import help from './help'
  
  class StoreStatusError extends PnpmError {
    public modified: string[]
    constructor (modified: string[]) {
      super('MODIFIED_DEPENDENCY', '')
      this.modified = modified
    }
  }
  
  export default async function (input: string[], opts: PnpmOptions) {
    switch (input[0]) {
      case 'status':
        return statusCmd(opts)
      case 'prune':
        return storePrune(opts)
      default:
        help(['store'])
    }
  }
  
  async function statusCmd (opts: PnpmOptions) {
    const modifiedPkgs = await storeStatus(opts)
    if (!modifiedPkgs || !modifiedPkgs.length) {
      logger.info('Packages in the store are untouched')
      return
    }
  
    throw new StoreStatusError(modifiedPkgs)
  }
  