import getRootNode from '../../core/utils/get-root-node';

/**
 * Return the document or document fragment (shadow DOM)
 * @method getRootNode
 * @memberof axe.commons.dom
 * @instance
 * @param {Element} node
 * @returns {DocumentFragment|Document}
 * @deprecated use axe.utils.getRootNode
 */
export default getRootNode;
