code: function patchContent (content, parts) {
    return Object.keys(parts).reduce((content, type) => {
      let paths = parts[type].filter(({ valid }) => valid).map(({ path }) => path)
      return patchType(content, type, paths)
    }, content)
  }
docs: Patch content with extracted parts metadata
  
  @param {string} content Module content
  @param {Object} parts Extracted parts metadata