diff --git a/README.md b/README.md index c76b9b5..2ce5d89 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ jobs: - name: Create GitHub Deployment id: defaults continue-on-error: true # Setting to true so the job doesn't fail if updating the board fails. - uses: im-open/create-github-deployment@v1.0.8 # You may also reference just the major or major.minor version + uses: im-open/create-github-deployment@v1.0.9 # You may also reference just the major or major.minor version with: workflow-actor: ${{ github.actor }} # This will add the user who kicked off the workflow to the deployment payload token: ${{ secrets.GITHUB_TOKEN }} # If a different token is used, update github-login with the corresponding account diff --git a/dist/index.js b/dist/index.js index ca01df4..52fd783 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2405,6 +2405,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': @@ -3095,6 +3096,7 @@ var require_basename = __commonJS({ for (var i = path.length - 1; i >= 0; --i) { switch (path.charCodeAt(i)) { case 47: + // '/' case 92: path = path.slice(i + 1); return path === '..' || path === '.' ? '' : path; @@ -4242,7 +4244,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; } @@ -23887,7 +23903,21 @@ var require_util9 = __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; }