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: # Logs
  logs
  *.log
  npm-debug.log*
  
  # Dependency directory
  node_modules
  
  # Coverage directory used by tools like istanbul
  coverage
  
  .tmp
  _docpress
  
  lib
  
  # Visual Studio Code configs
  .vscode/
  
  # pnpm uses npm for publishing a new version with
  # dependencies bundled but the npm lockfile is not needed
  # because pnpm use pnpm for installation
  package-lock.json
  