hunk.code_window:       node: '>=0.10.0'
       resolution:
         integrity: sha1-PFMZQukIwml8DsNEhYwobHygpgo=
     /supi/0.7.2:
       dependencies:
         '@pnpm/types': 1.0.0
         '@types/byline': 4.2.31
         '@types/common-tags': 1.4.0
         '@types/load-json-file': 2.0.7
  
hunk.labels: keep keep keep replace keep keep keep keep keep
hunk.after_edit:   /supi/0.7.3:
  
hunk.file_path: shrinkwrap.yaml
hunk.type: replace
file: import {LogBase} from '@pnpm/logger'
  
  export default (
    streamParser: {
      on: (event: 'data', handler: (obj: LogBase) => void) => void,
    },
  ) => {
    streamParser.on('data', (obj: LogBase) => {
      if (obj.level !== 'error') return
  
      console.log(obj['err'] && obj['err'].message || obj['message']) // tslint:disable-line
      if (obj['err'] && obj['err'] && obj['err'].stack) { // tslint:disable-line
        console.log(`\n${obj['err'].stack}`) // tslint:disable-line
      }
    })
  }
  