Updated the files.

This commit is contained in:
Batuhan Berk Başoğlu 2024-02-08 19:38:41 -05:00
parent 1553e6b971
commit 753967d4f5
23418 changed files with 3784666 additions and 0 deletions

11
my-app/node_modules/karma/lib/middleware/strip_host.js generated vendored Executable file
View file

@ -0,0 +1,11 @@
/**
* Strip hostname from request path
* This to handle requests that uses (normally over proxies) an absoluteURI as request path
*/
function stripHostFromUrl (url) {
return url.replace(/^https?:\/\/[a-z.:\d-]+\//, '/')
}
// PUBLIC API
exports.stripHost = stripHostFromUrl