lib/appdir.js
function orphanedLibraries (src, dst) {
  // list all the libs that are not referenced from the main binary and their dependencies
  const orphan = [];
  for (let lib of dst) {
    if (src.indexOf(lib) === -1) {
      orphan.push(lib);
    }
  }
  return orphan;
}
function orphanedLibraries (src, dst) {
  // list all the libs that are not referenced from the main binary and their dependencies
  const orphan = [];
  for (let lib of dst) {
    if (src.indexOf(lib) === -1) {
      orphan.push(lib);
    }
  }
  return orphan;
}
internal functions //