@@ -1812,6 +1812,7 @@ module.exports = [["0","\u0000",127],["8ea1","。",62],["a1a1"," 、。,.
18121812// ignored, since we can never get coverage for them.
18131813var assert = __webpack_require__(357)
18141814var signals = __webpack_require__(654)
1815+ var isWin = /^win/i.test(process.platform)
18151816
18161817var EE = __webpack_require__(614)
18171818/* istanbul ignore if */
@@ -1901,6 +1902,11 @@ signals.forEach(function (sig) {
19011902 /* istanbul ignore next */
19021903 emit('afterexit', null, sig)
19031904 /* istanbul ignore next */
1905+ if (isWin && sig === 'SIGHUP') {
1906+ // "SIGHUP" throws an `ENOSYS` error on Windows,
1907+ // so use a supported signal instead
1908+ sig = 'SIGINT'
1909+ }
19041910 process.kill(process.pid, sig)
19051911 }
19061912 }
@@ -6281,6 +6287,12 @@ function convertBody(buffer, headers) {
62816287 // html4
62826288 if (!res && str) {
62836289 res = /<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(str);
6290+ if (!res) {
6291+ res = /<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(str);
6292+ if (res) {
6293+ res.pop(); // drop last quote
6294+ }
6295+ }
62846296
62856297 if (res) {
62866298 res = /charset=(.*)/i.exec(res.pop());
@@ -7288,7 +7300,7 @@ function fetch(url, opts) {
72887300 // HTTP fetch step 5.5
72897301 switch (request.redirect) {
72907302 case 'error':
7291- reject(new FetchError(`redirect mode is set to error: ${request.url}`, 'no-redirect'));
7303+ reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect'));
72927304 finalize();
72937305 return;
72947306 case 'manual':
@@ -7327,7 +7339,8 @@ function fetch(url, opts) {
73277339 method: request.method,
73287340 body: request.body,
73297341 signal: request.signal,
7330- timeout: request.timeout
7342+ timeout: request.timeout,
7343+ size: request.size
73317344 };
73327345
73337346 // HTTP-redirect fetch step 9
@@ -12724,7 +12737,8 @@ class GithubHelper {
1272412737 this.octokit = github.getOctokit(token);
1272512738 if (github.context.eventName === 'pull_request') {
1272612739 this.isPR = true;
12727- this.payload = github.context.payload;
12740+ this.payload = github.context
12741+ .payload;
1272812742 this.owner = this.payload.pull_request.head.repo.owner.login;
1272912743 this.repo = this.payload.pull_request.head.repo.name;
1273012744 this.sha = this.payload.pull_request.head.sha;
0 commit comments