Skip to content

Commit cfe70f9

Browse files
update dependencies
1 parent b259ba4 commit cfe70f9

File tree

4 files changed

+38
-20
lines changed

4 files changed

+38
-20
lines changed

.licenses/npm/node-fetch.dep.yml

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/cache-save/index.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40320,6 +40320,12 @@ function convertBody(buffer, headers) {
4032040320
// html4
4032140321
if (!res && str) {
4032240322
res = /<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(str);
40323+
if (!res) {
40324+
res = /<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(str);
40325+
if (res) {
40326+
res.pop(); // drop last quote
40327+
}
40328+
}
4032340329

4032440330
if (res) {
4032540331
res = /charset=(.*)/i.exec(res.pop());
@@ -41327,7 +41333,7 @@ function fetch(url, opts) {
4132741333
// HTTP fetch step 5.5
4132841334
switch (request.redirect) {
4132941335
case 'error':
41330-
reject(new FetchError(`redirect mode is set to error: ${request.url}`, 'no-redirect'));
41336+
reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect'));
4133141337
finalize();
4133241338
return;
4133341339
case 'manual':
@@ -41366,7 +41372,8 @@ function fetch(url, opts) {
4136641372
method: request.method,
4136741373
body: request.body,
4136841374
signal: request.signal,
41369-
timeout: request.timeout
41375+
timeout: request.timeout,
41376+
size: request.size
4137041377
};
4137141378

4137241379
// HTTP-redirect fetch step 9

dist/setup/index.js

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46327,6 +46327,12 @@ function convertBody(buffer, headers) {
4632746327
// html4
4632846328
if (!res && str) {
4632946329
res = /<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(str);
46330+
if (!res) {
46331+
res = /<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(str);
46332+
if (res) {
46333+
res.pop(); // drop last quote
46334+
}
46335+
}
4633046336

4633146337
if (res) {
4633246338
res = /charset=(.*)/i.exec(res.pop());
@@ -47334,7 +47340,7 @@ function fetch(url, opts) {
4733447340
// HTTP fetch step 5.5
4733547341
switch (request.redirect) {
4733647342
case 'error':
47337-
reject(new FetchError(`redirect mode is set to error: ${request.url}`, 'no-redirect'));
47343+
reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect'));
4733847344
finalize();
4733947345
return;
4734047346
case 'manual':
@@ -47373,7 +47379,8 @@ function fetch(url, opts) {
4737347379
method: request.method,
4737447380
body: request.body,
4737547381
signal: request.signal,
47376-
timeout: request.timeout
47382+
timeout: request.timeout,
47383+
size: request.size
4737747384
};
4737847385

4737947386
// HTTP-redirect fetch step 9

package-lock.json

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)