Skip to content

Commit

Permalink
makers setup && makers check
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Aug 19, 2024
1 parent 5f3b660 commit b97d796
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2252,6 +2252,7 @@ var require_decodeText = __commonJS({
return decoders.utf8;
case "latin1":
case "ascii":
// TODO: Make these a separate, strict decoder?
case "us-ascii":
case "iso-8859-1":
case "iso8859-1":
Expand Down Expand Up @@ -2951,6 +2952,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 @@ -4185,7 +4187,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 b97d796

Please sign in to comment.