/**
* Recomposes an (L·E·)I·R·I reference from its component parts.
*
- * See §5.3 of R·F·C 3986.
+ * See §5.3 of R·F·C 3986.
*/
composeReference,
* Removes all dot segments ("." or "..") from the provided
* (L·E·)I·R·I.
*
- * See §5.2.4 of R·F·C 3986.
+ * See §5.2.4 of R·F·C 3986.
*/
removeDotSegments,
} = (() => {
* Returns the result of merging the provided reference path with the
* provided base path.
*
- * See §5.2.3 of R·F·C 3986.
+ * See §5.2.3 of R·F·C 3986.
*/
export const mergePaths = (base, reference) => {
const baseStr = `${base}` || "/";
* Resolves the provided reference relative to the provided base
* (L·E·)I·R·I.
*
- * See §5.2 of R·F·C 3986.
+ * See §5.2 of R·F·C 3986.
*/
export const resolveReference = (R, Base = location ?? "") => {
const {