Updated the project.

This commit is contained in:
Batuhan Berk Başoğlu 2024-06-03 15:44:25 -04:00
parent 5dfe9f128d
commit 7919556077
1550 changed files with 17063 additions and 40183 deletions

0
my-app/node_modules/make-fetch-happen/LICENSE generated vendored Executable file → Normal file
View file

0
my-app/node_modules/make-fetch-happen/README.md generated vendored Executable file → Normal file
View file

2
my-app/node_modules/make-fetch-happen/lib/cache/entry.js generated vendored Executable file → Normal file
View file

@ -274,6 +274,8 @@ class CacheEntry {
const cacheWritePromise = new Promise((resolve, reject) => {
cacheWriteResolve = resolve
cacheWriteReject = reject
}).catch((err) => {
body.emit('error', err)
})
body = new CachingMinipassPipeline({ events: ['integrity', 'size'] }, new MinipassFlush({

0
my-app/node_modules/make-fetch-happen/lib/cache/errors.js generated vendored Executable file → Normal file
View file

0
my-app/node_modules/make-fetch-happen/lib/cache/index.js generated vendored Executable file → Normal file
View file

0
my-app/node_modules/make-fetch-happen/lib/cache/key.js generated vendored Executable file → Normal file
View file

0
my-app/node_modules/make-fetch-happen/lib/cache/policy.js generated vendored Executable file → Normal file
View file

0
my-app/node_modules/make-fetch-happen/lib/fetch.js generated vendored Executable file → Normal file
View file

0
my-app/node_modules/make-fetch-happen/lib/index.js generated vendored Executable file → Normal file
View file

0
my-app/node_modules/make-fetch-happen/lib/options.js generated vendored Executable file → Normal file
View file

0
my-app/node_modules/make-fetch-happen/lib/pipeline.js generated vendored Executable file → Normal file
View file

4
my-app/node_modules/make-fetch-happen/lib/remote.js generated vendored Executable file → Normal file
View file

@ -2,6 +2,7 @@ const { Minipass } = require('minipass')
const fetch = require('minipass-fetch')
const promiseRetry = require('promise-retry')
const ssri = require('ssri')
const { log } = require('proc-log')
const CachingMinipassPipeline = require('./pipeline.js')
const { getAgent } = require('@npmcli/agent')
@ -89,6 +90,8 @@ const remoteFetch = (request, options) => {
options.onRetry(res)
}
/* eslint-disable-next-line max-len */
log.http('fetch', `${req.method} ${req.url} attempt ${attemptNum} failed with ${res.status}`)
return retryHandler(res)
}
@ -112,6 +115,7 @@ const remoteFetch = (request, options) => {
options.onRetry(err)
}
log.http('fetch', `${req.method} ${req.url} attempt ${attemptNum} failed with ${err.code}`)
return retryHandler(err)
}
}, options.retry).catch((err) => {

15
my-app/node_modules/make-fetch-happen/package.json generated vendored Executable file → Normal file
View file

@ -1,6 +1,6 @@
{
"name": "make-fetch-happen",
"version": "13.0.0",
"version": "13.0.1",
"description": "Opinionated, caching, retrying fetch client",
"main": "lib/index.js",
"files": [
@ -11,7 +11,7 @@
"test": "tap",
"posttest": "npm run lint",
"eslint": "eslint",
"lint": "eslint \"**/*.js\"",
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
"lintfix": "npm run lint -- --fix",
"postlint": "template-oss-check",
"snap": "tap",
@ -42,12 +42,13 @@
"minipass-flush": "^1.0.5",
"minipass-pipeline": "^1.2.4",
"negotiator": "^0.6.3",
"proc-log": "^4.2.0",
"promise-retry": "^2.0.1",
"ssri": "^10.0.0"
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.18.0",
"@npmcli/template-oss": "4.21.4",
"nock": "^13.2.4",
"safe-buffer": "^5.2.1",
"standard-version": "^9.3.2",
@ -68,13 +69,7 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"ciVersions": [
"16.14.0",
"16.x",
"18.0.0",
"18.x"
],
"version": "4.18.0",
"version": "4.21.4",
"publish": "true"
}
}