more stuff

This commit is contained in:
Sockenklaus
2025-07-08 17:21:03 +02:00
parent 8f6d7bc570
commit 0771297a46
502 changed files with 115009 additions and 77 deletions

15
node_modules/axios/lib/helpers/combineURLs.js generated vendored Normal file
View File

@@ -0,0 +1,15 @@
'use strict';
/**
* Creates a new URL by combining the specified URLs
*
* @param {string} baseURL The base URL
* @param {string} relativeURL The relative URL
*
* @returns {string} The combined URL
*/
export default function combineURLs(baseURL, relativeURL) {
return relativeURL
? baseURL.replace(/\/?\/$/, '') + '/' + relativeURL.replace(/^\/+/, '')
: baseURL;
}