hunk.code_window:     return undefined
     }
   }
  
hunk.labels: keep keep add
hunk.after_edit: function pnpmFileExistsSync (pnpmFilePath: string) {
     const pnpmFileRealName = pnpmFilePath.endsWith('.js')
       ? pnpmFilePath
       : `${pnpmFilePath}.js`
     return fs.existsSync(pnpmFileRealName)
   }
hunk.file_path: packages/pnpm/src/requirePnpmfile.ts
hunk.type: add
file: declare module 'camelcase' {
    const anything: any;
    export = anything;
  }
  
  declare module 'caw' {
    const anything: any;
    export = anything;
  }
  
  declare module 'cross-spawn' {
    const anything: any;
    export = anything;
  }
  
  declare module 'is-ci' {
    const isCI: boolean;
    export = isCI;
  }
  
  declare module 'loud-rejection' {
    const anything: any;
    export = anything;
  }
  
  declare module 'meow' {
    const anything: any;
    export = anything;
  }
  
  declare module 'mz/fs' {
    const anything: any;
    export = anything;
  }
  
  declare module 'node-gyp' {
    const anything: any;
    export = anything;
  }
  
  declare module 'normalize-path' {
    const anything: any;
    export = anything;
  }
  
  declare module '@zkochan/npm-package-arg' {
    const anything: any;
    export = anything;
  }
  
  declare module 'observatory' {
    const anything: any;
    export = anything;
  }
  
  declare module 'os-homedir' {
    const anything: any;
    export = anything;
  }
  
  declare module 'rimraf-then' {
    const anything: any;
    export = anything;
  }
  
  declare module 'util.promisify' {
    const anything: any;
    export = anything;
  }
  
  declare module 'isexe' {
    const anything: any;
    export = anything;
  }
  
  declare module 'ncp' {
    const anything: any;
    export = anything;
  }
  
  declare module 'npm-registry-client' {
    const anything: any;
    export = anything;
  }
  
  declare module 'anonymous-npm-registry-client' {
    const anything: any;
    export = anything;
  }
  
  declare module 'find-up' {
    const anything: any;
    export = anything;
  }
  
  declare module 'path-exists' {
    const anything: any;
    export = anything;
  }
  
  declare module 'exists-link' {
    const anything: any;
    export = anything;
  }
  
  declare module 'path-name' {
    const anything: any;
    export = anything;
  }
  
  declare module 'write-pkg' {
    const anything: any;
    export = anything;
  }
  
  declare module 'write-json-file' {
    const anything: any;
    export = anything;
  }
  
  declare module 'mem' {
    const anything: any;
    export = anything;
  }
  
  declare module 'pnpm-install-checks' {
    const anything: any;
    export = anything;
  }
  
  declare module 'bole' {
    const anything: any;
    export = anything;
  }
  
  declare module 'ndjson' {
    const anything: any;
    export = anything;
  }
  
  declare module 'execa' {
    const anything: any;
    export = anything;
  }
  
  declare module 'p-limit' {
    const anything: any;
    export = anything;
  }
  
  declare module 'p-filter' {
    const anything: any;
    export = anything;
  }
  
  declare module 'read-pkg' {
    const anything: any;
    export = anything;
  }
  
  declare module 'mkdirp-promise' {
    const anything: any;
    export = anything;
  }
  
  declare module 'load-yaml-file' {
    interface LoadYamlFile {
      <T>(filepath: string): Promise<T>
      sync<T>(filepath: string): T
    }
  
    const loadYamlFile: LoadYamlFile
  
    export = loadYamlFile;
  }
  
  declare module 'normalize-ssh' {
    function normalizeSsh (url: string): string;
    export = normalizeSsh;
  }
  
  declare module 'graceful-fs' {
    const anything: any;
    export = anything;
  }
  
  declare module 'fs-write-stream-atomic' {
    const anything: any;
    export = anything;
  }
  
  declare module 'remove-all-except-outer-links' {
    const anything: any;
    export = anything;
  }
  
  declare module 'is-inner-link' {
    const anything: any;
    export = anything;
  }
  
  declare module 'npm/lib/config/defaults' {
    const anything: any;
    export = anything;
  }
  
  declare module 'npm/lib/config/get-credentials-by-uri' {
    const anything: any;
    export = anything;
  }
  
  declare namespace pnpmRegistryMock {
    function getIntegrity (pkgName: string, pkgVersion: string): string
    function addDistTag (opts: {package: string, version: string, distTag: string}): Promise<void>
  }
  
  declare module 'pnpm-registry-mock' {
    export = pnpmRegistryMock
  }
  
  declare module 'ssri' {
    const anything: any;
    export = anything;
  }
  
  declare module 'dint' {
    const anything: any;
    export = anything;
  }
  
  declare module 'is-subdir' {
    const anything: any;
    export = anything;
  }
  
  declare module 'normalize-registry-url' {
    function normalizeRegistryUrl (registry: string): string
    export = normalizeRegistryUrl;
  }
  
  declare module 'rename-overwrite' {
    const anything: any;
    export = anything;
  }
  
  declare module 'encode-registry' {
    const anything: any;
    export = anything;
  }
  
  declare module 'validate-npm-package-name' {
    const anything: any;
    export = anything;
  }
  
  declare module 'replace-string' {
    const anything: any;
    export = anything;
  }
  
  declare module 'graph-sequencer' {
    const anything: any;
    export = anything;
  }
  