hunk.code_window:         if (currentShrinkwrap.specifiers[childAlias]) {
             continue
           }
           // if this alias has already been taken, skip it
           if (pkgIdByAlias[childAlias]) {
             continue
           }
  
hunk.labels: keep keep keep keep replace keep keep
hunk.after_edit:         if (dependencyPathByAlias[childAlias]) {
  
hunk.file_path: src/link/index.ts
hunk.type: replace
file: import isexe = require('isexe')
  import fs = require('mz/fs')
  import {Test} from 'tape'
  import semver = require('semver')
  import {Stats} from 'fs'
  import isWindows = require('is-windows')
  
  const IS_WINDOWS = isWindows()
  
  export default async function isExecutable (t: Test, filePath: string) {
    if (IS_WINDOWS) {
      t.ok(isexe(filePath), `${filePath} is executable`)
      return
    }
  
    const stat = await fs.stat(filePath)
    t.equal(stat.mode, parseInt('100755', 8), `${filePath} is executable`)
    t.ok(stat.isFile(), `${filePath} refers to a file`)
    return
  }
  