hunk.code_window:   return outdated.sort((pkg1, pkg2) => pkg1.packageName.localeCompare(pkg2.packageName))
   }
   function adaptConfig (
     opts: {
       proxy?: string,
       httpsProxy?: string,
       localAddress?: string,
  
hunk.labels: keep keep add keep keep keep keep keep
hunk.after_edit: // tslint:disable-next-line:no-any
   function packageHasNoDeps (pkg: any) {
     return (!pkg.dependencies || isEmpty(pkg.dependencies)
       && (!pkg.devDependencies || isEmpty(pkg.devDependencies))
       && (!pkg.optionalDependencies || isEmpty(pkg.optionalDependencies)))
   }
   function isEmpty (obj: object) {
     return Object.keys(obj).length === 0
   }
  
hunk.file_path: src/index.ts
hunk.type: add
file: {
    "name": "@pnpm/outdated",
    "version": "0.3.1",
    "description": "Check for outdated packages",
    "main": "lib/index.js",
    "typings": "lib/index.d.ts",
    "engines": {
      "node": ">=6"
    },
    "files": [
      "lib"
    ],
    "scripts": {
      "test": "tslint --config tslint.json --project . && preview && ts-node test --type-check",
      "prepublishOnly": "tsc",
      "tsc": "tsc",
      "md": "mos"
    },
    "repository": {
      "type": "git",
      "url": "git+https://github.com/pnpm/outdated.git"
    },
    "keywords": [
      "pnpm",
      "outdated"
    ],
    "author": {
      "name": "Zoltan Kochan",
      "email": "z@kochan.io",
      "url": "https://www.kochan.io/",
      "twitter": "ZoltanKochan"
    },
    "license": "MIT",
    "bugs": {
      "url": "https://github.com/pnpm/outdated/issues"
    },
    "homepage": "https://github.com/pnpm/outdated#readme",
    "peerDependencies": {
      "@pnpm/logger": "^1.0.0"
    },
    "dependencies": {
      "@pnpm/npm-resolver": "^1.0.0",
      "@pnpm/store-path": "^1.0.0",
      "@pnpm/utils": "^0.2.0",
      "@types/node": "^9.3.0 || 10",
      "dependency-path": "^1.2.0",
      "pnpm-shrinkwrap": "^6.0.0"
    },
    "devDependencies": {
      "@pnpm/logger": "^1.0.0",
      "@types/tape": "^4.2.31",
      "mos": "^2.0.0-alpha.3",
      "mos-plugin-readme": "^1.0.4",
      "package-preview": "^1.0.0",
      "tape": "^4.8.0",
      "ts-node": "^6.0.0",
      "tslint": "^5.8.0",
      "typescript": "^2.6.1"
    },
    "mos": {
      "plugins": [
        "readme"
      ],
      "installation": {
        "useShortAlias": true
      }
    }
  }
  