Skip to content

Commit f94d672

Browse files
committed
deps: cacache@18.0.3
1 parent 43331e4 commit f94d672

File tree

8 files changed

+18
-17
lines changed

8 files changed

+18
-17
lines changed

node_modules/cacache/lib/content/read.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function readStream (cache, integrity, opts = {}) {
7171
module.exports.copy = copy
7272

7373
function copy (cache, integrity, dest) {
74-
return withContentSri(cache, integrity, (cpath, sri) => {
74+
return withContentSri(cache, integrity, (cpath) => {
7575
return fs.copyFile(cpath, dest)
7676
})
7777
}

node_modules/cacache/lib/content/write.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ async function makeTmp (cache, opts) {
160160
}
161161
}
162162

163-
async function moveToDestination (tmp, cache, sri, opts) {
163+
async function moveToDestination (tmp, cache, sri) {
164164
const destination = contentPath(cache, sri)
165165
const destDir = path.dirname(destination)
166166
if (moveOperations.has(destination)) {

node_modules/cacache/lib/entry-index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ async function bucketEntries (bucket, filter) {
240240
return _bucketEntries(data, filter)
241241
}
242242

243-
function _bucketEntries (data, filter) {
243+
function _bucketEntries (data) {
244244
const entries = []
245245
data.split('\n').forEach((entry) => {
246246
if (!entry) {

node_modules/cacache/lib/verify.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ async function verify (cache, opts) {
6868
return stats
6969
}
7070

71-
async function markStartTime (cache, opts) {
71+
async function markStartTime () {
7272
return { startTime: new Date() }
7373
}
7474

75-
async function markEndTime (cache, opts) {
75+
async function markEndTime () {
7676
return { endTime: new Date() }
7777
}
7878

@@ -213,7 +213,7 @@ async function rebuildIndex (cache, opts) {
213213
return stats
214214
}
215215

216-
async function rebuildBucket (cache, bucket, stats, opts) {
216+
async function rebuildBucket (cache, bucket, stats) {
217217
await truncate(bucket._path)
218218
// This needs to be serialized because cacache explicitly
219219
// lets very racy bucket conflicts clobber each other.

node_modules/cacache/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cacache",
3-
"version": "18.0.2",
3+
"version": "18.0.3",
44
"cache-version": {
55
"content": "2",
66
"index": "5"
@@ -26,7 +26,7 @@
2626
},
2727
"repository": {
2828
"type": "git",
29-
"url": "https://github.com/npm/cacache.git"
29+
"url": "git+https://github.com/npm/cacache.git"
3030
},
3131
"keywords": [
3232
"cache",
@@ -60,7 +60,7 @@
6060
},
6161
"devDependencies": {
6262
"@npmcli/eslint-config": "^4.0.0",
63-
"@npmcli/template-oss": "4.21.3",
63+
"@npmcli/template-oss": "4.22.0",
6464
"tap": "^16.0.0"
6565
},
6666
"engines": {
@@ -69,7 +69,7 @@
6969
"templateOSS": {
7070
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
7171
"windowsCI": false,
72-
"version": "4.21.3",
72+
"version": "4.22.0",
7373
"publish": "true"
7474
},
7575
"author": "GitHub Inc.",

package-lock.json

+6-5
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
"@sigstore/tuf": "^2.3.2",
9999
"abbrev": "^2.0.0",
100100
"archy": "~1.0.0",
101-
"cacache": "^18.0.2",
101+
"cacache": "^18.0.3",
102102
"chalk": "^5.3.0",
103103
"ci-info": "^4.0.0",
104104
"cli-columns": "^4.0.0",
@@ -2812,10 +2812,11 @@
28122812
}
28132813
},
28142814
"node_modules/cacache": {
2815-
"version": "18.0.2",
2816-
"resolved": "https://registry.npmjs.org/cacache/-/cacache-18.0.2.tgz",
2817-
"integrity": "sha512-r3NU8h/P+4lVUHfeRw1dtgQYar3DZMm4/cm2bZgOvrFC/su7budSOeqh52VJIC4U4iG1WWwV6vRW0znqBvxNuw==",
2815+
"version": "18.0.3",
2816+
"resolved": "https://registry.npmjs.org/cacache/-/cacache-18.0.3.tgz",
2817+
"integrity": "sha512-qXCd4rh6I07cnDqh8V48/94Tc/WSfj+o3Gn6NZ0aZovS255bUx8O13uKxRFd2eWG0xgsco7+YItQNPaa5E85hg==",
28182818
"inBundle": true,
2819+
"license": "ISC",
28192820
"dependencies": {
28202821
"@npmcli/fs": "^3.1.0",
28212822
"fs-minipass": "^3.0.0",
@@ -14793,7 +14794,7 @@
1479314794
"@npmcli/redact": "^2.0.0",
1479414795
"@npmcli/run-script": "^8.1.0",
1479514796
"bin-links": "^4.0.4",
14796-
"cacache": "^18.0.0",
14797+
"cacache": "^18.0.3",
1479714798
"common-ancestor-path": "^1.0.1",
1479814799
"hosted-git-info": "^7.0.1",
1479914800
"json-parse-even-better-errors": "^3.0.0",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"@sigstore/tuf": "^2.3.2",
6464
"abbrev": "^2.0.0",
6565
"archy": "~1.0.0",
66-
"cacache": "^18.0.2",
66+
"cacache": "^18.0.3",
6767
"chalk": "^5.3.0",
6868
"ci-info": "^4.0.0",
6969
"cli-columns": "^4.0.0",

workspaces/arborist/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"@npmcli/redact": "^2.0.0",
1616
"@npmcli/run-script": "^8.1.0",
1717
"bin-links": "^4.0.4",
18-
"cacache": "^18.0.0",
18+
"cacache": "^18.0.3",
1919
"common-ancestor-path": "^1.0.1",
2020
"hosted-git-info": "^7.0.1",
2121
"json-parse-even-better-errors": "^3.0.0",

0 commit comments

Comments
 (0)