Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
makers build
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Sep 9, 2024
1 parent 1d9acf3 commit 1ed34c7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2386,6 +2386,7 @@ var require_basename = __commonJS({
for (var i2 = path.length - 1; i2 >= 0; --i2) {
switch (path.charCodeAt(i2)) {
case 47:
// '/'
case 92:
path = path.slice(i2 + 1);
return path === ".." || path === "." ? "" : path;
Expand Down Expand Up @@ -3620,7 +3621,21 @@ var require_util2 = __commonJS({
return referrerOrigin;
}
case "strict-origin":
// eslint-disable-line
/**
* 1. If referrerURL is a potentially trustworthy URL and
* request’s current URL is not a potentially trustworthy URL,
* then return no referrer.
* 2. Return referrerOrigin
*/
case "no-referrer-when-downgrade":
// eslint-disable-line
/**
* 1. If referrerURL is a potentially trustworthy URL and
* request’s current URL is not a potentially trustworthy URL,
* then return no referrer.
* 2. Return referrerOrigin
*/
default:
return isNonPotentiallyTrustWorthy ? "no-referrer" : referrerOrigin;
}
Expand Down

0 comments on commit 1ed34c7

Please sign in to comment.