+18
-17
lines changedFilter options
+18
-17
lines changed Original file line number Diff line number Diff line change
@@ -71,7 +71,7 @@ function readStream (cache, integrity, opts = {}) {
71
71
module.exports.copy = copy
72
72
73
73
function copy (cache, integrity, dest) {
74
-
return withContentSri(cache, integrity, (cpath, sri) => {
74
+
return withContentSri(cache, integrity, (cpath) => {
75
75
return fs.copyFile(cpath, dest)
76
76
})
77
77
}
Original file line number Diff line number Diff line change
@@ -160,7 +160,7 @@ async function makeTmp (cache, opts) {
160
160
}
161
161
}
162
162
163
-
async function moveToDestination (tmp, cache, sri, opts) {
163
+
async function moveToDestination (tmp, cache, sri) {
164
164
const destination = contentPath(cache, sri)
165
165
const destDir = path.dirname(destination)
166
166
if (moveOperations.has(destination)) {
Original file line number Diff line number Diff line change
@@ -240,7 +240,7 @@ async function bucketEntries (bucket, filter) {
240
240
return _bucketEntries(data, filter)
241
241
}
242
242
243
-
function _bucketEntries (data, filter) {
243
+
function _bucketEntries (data) {
244
244
const entries = []
245
245
data.split('\n').forEach((entry) => {
246
246
if (!entry) {
Original file line number Diff line number Diff line change
@@ -68,11 +68,11 @@ async function verify (cache, opts) {
68
68
return stats
69
69
}
70
70
71
-
async function markStartTime (cache, opts) {
71
+
async function markStartTime () {
72
72
return { startTime: new Date() }
73
73
}
74
74
75
-
async function markEndTime (cache, opts) {
75
+
async function markEndTime () {
76
76
return { endTime: new Date() }
77
77
}
78
78
@@ -213,7 +213,7 @@ async function rebuildIndex (cache, opts) {
213
213
return stats
214
214
}
215
215
216
-
async function rebuildBucket (cache, bucket, stats, opts) {
216
+
async function rebuildBucket (cache, bucket, stats) {
217
217
await truncate(bucket._path)
218
218
// This needs to be serialized because cacache explicitly
219
219
// lets very racy bucket conflicts clobber each other.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "cacache",
3
-
"version": "18.0.2",
3
+
"version": "18.0.3",
4
4
"cache-version": {
5
5
"content": "2",
6
6
"index": "5"
@@ -26,7 +26,7 @@
26
26
},
27
27
"repository": {
28
28
"type": "git",
29
-
"url": "https://github.com/npm/cacache.git"
29
+
"url": "git+https://github.com/npm/cacache.git"
30
30
},
31
31
"keywords": [
32
32
"cache",
@@ -60,7 +60,7 @@
60
60
},
61
61
"devDependencies": {
62
62
"@npmcli/eslint-config": "^4.0.0",
63
-
"@npmcli/template-oss": "4.21.3",
63
+
"@npmcli/template-oss": "4.22.0",
64
64
"tap": "^16.0.0"
65
65
},
66
66
"engines": {
@@ -69,7 +69,7 @@
69
69
"templateOSS": {
70
70
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
71
71
"windowsCI": false,
72
-
"version": "4.21.3",
72
+
"version": "4.22.0",
73
73
"publish": "true"
74
74
},
75
75
"author": "GitHub Inc.",
Original file line number Diff line number Diff line change
@@ -98,7 +98,7 @@
98
98
"@sigstore/tuf": "^2.3.2",
99
99
"abbrev": "^2.0.0",
100
100
"archy": "~1.0.0",
101
-
"cacache": "^18.0.2",
101
+
"cacache": "^18.0.3",
102
102
"chalk": "^5.3.0",
103
103
"ci-info": "^4.0.0",
104
104
"cli-columns": "^4.0.0",
@@ -2812,10 +2812,11 @@
2812
2812
}
2813
2813
},
2814
2814
"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==",
2818
2818
"inBundle": true,
2819
+
"license": "ISC",
2819
2820
"dependencies": {
2820
2821
"@npmcli/fs": "^3.1.0",
2821
2822
"fs-minipass": "^3.0.0",
@@ -14793,7 +14794,7 @@
14793
14794
"@npmcli/redact": "^2.0.0",
14794
14795
"@npmcli/run-script": "^8.1.0",
14795
14796
"bin-links": "^4.0.4",
14796
-
"cacache": "^18.0.0",
14797
+
"cacache": "^18.0.3",
14797
14798
"common-ancestor-path": "^1.0.1",
14798
14799
"hosted-git-info": "^7.0.1",
14799
14800
"json-parse-even-better-errors": "^3.0.0",
Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@
63
63
"@sigstore/tuf": "^2.3.2",
64
64
"abbrev": "^2.0.0",
65
65
"archy": "~1.0.0",
66
-
"cacache": "^18.0.2",
66
+
"cacache": "^18.0.3",
67
67
"chalk": "^5.3.0",
68
68
"ci-info": "^4.0.0",
69
69
"cli-columns": "^4.0.0",
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@
15
15
"@npmcli/redact": "^2.0.0",
16
16
"@npmcli/run-script": "^8.1.0",
17
17
"bin-links": "^4.0.4",
18
-
"cacache": "^18.0.0",
18
+
"cacache": "^18.0.3",
19
19
"common-ancestor-path": "^1.0.1",
20
20
"hosted-git-info": "^7.0.1",
21
21
"json-parse-even-better-errors": "^3.0.0",
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4