code: function isPathChild(pathA, pathB) {
    const relPath = relative(normalizePath(pathA), normalizePath(pathB));
    return relPath === '..';
  }
docs: Check if one path is a direct child of another.
  
  @param {String} pathA
  @param {String} pathB
  @return {Boolean}
  
  @example
  isPathChild('components/button', 'components');
  // true