mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00:00
chore: upgrade dprint plugins (#10397)
This commit is contained in:
parent
8c6f977192
commit
2bd087ab1b
22 changed files with 349 additions and 360 deletions
|
@ -53,7 +53,7 @@
|
|||
|
||||
/**
|
||||
* @param {number} status
|
||||
* @returns {boolean}
|
||||
* @returns {boolean}
|
||||
*/
|
||||
function nullBodyStatus(status) {
|
||||
return status === 101 || status === 204 || status === 205 || status === 304;
|
||||
|
@ -61,7 +61,7 @@
|
|||
|
||||
/**
|
||||
* @param {number} status
|
||||
* @returns {boolean}
|
||||
* @returns {boolean}
|
||||
*/
|
||||
function redirectStatus(status) {
|
||||
return status === 301 || status === 302 || status === 303 ||
|
||||
|
@ -70,7 +70,7 @@
|
|||
|
||||
/**
|
||||
* https://fetch.spec.whatwg.org/#concept-response-clone
|
||||
* @param {InnerResponse} response
|
||||
* @param {InnerResponse} response
|
||||
* @returns {InnerResponse}
|
||||
*/
|
||||
function cloneInnerResponse(response) {
|
||||
|
@ -220,8 +220,8 @@
|
|||
}
|
||||
|
||||
/**
|
||||
* @param {BodyInit | null} body
|
||||
* @param {ResponseInit} init
|
||||
* @param {BodyInit | null} body
|
||||
* @param {ResponseInit} init
|
||||
*/
|
||||
constructor(body = null, init = {}) {
|
||||
const prefix = "Failed to construct 'Response'";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue