hunk.code_window:   }
     if (opts.dependencyAbsolutePath !== opts.id) {
       result['id'] = opts.id
     }
     if (pkg.peerDependencies) {
       result['peerDependencies'] = pkg.peerDependencies
     }
     if (pkg.engines) {
       // TODO: if node: '*' then don't include
  
hunk.labels: keep keep keep keep keep replace keep keep keep
hunk.after_edit:     const ownDeps = new Set(
         R.keys(pkg.dependencies).concat(R.keys(pkg.optionalDependencies))
       )
       for (let peer of R.keys(pkg.peerDependencies)) {
         if (ownDeps.has(peer)) continue
         result['peerDependencies'] = result['peerDependencies'] || {}
         result['peerDependencies'][peer] = pkg.peerDependencies[peer]
       }
  
hunk.file_path: src/link/updateShrinkwrap.ts
hunk.type: replace
file: // Patch the global fs module here at the app level
  import './fs/gracefulify'
  
  export * from './api'
  export {PnpmOptions, Package} from './types'
  export {PnpmError, PnpmErrorCode} from './errorTypes'
  