Skip to content

Commit

Permalink
deps: cacache@18.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed May 7, 2024
1 parent 43331e4 commit f94d672
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion node_modules/cacache/lib/content/read.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ function readStream (cache, integrity, opts = {}) {
module.exports.copy = copy

function copy (cache, integrity, dest) {
return withContentSri(cache, integrity, (cpath, sri) => {
return withContentSri(cache, integrity, (cpath) => {
return fs.copyFile(cpath, dest)
})
}
Expand Down
2 changes: 1 addition & 1 deletion node_modules/cacache/lib/content/write.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ async function makeTmp (cache, opts) {
}
}

async function moveToDestination (tmp, cache, sri, opts) {
async function moveToDestination (tmp, cache, sri) {
const destination = contentPath(cache, sri)
const destDir = path.dirname(destination)
if (moveOperations.has(destination)) {
Expand Down
2 changes: 1 addition & 1 deletion node_modules/cacache/lib/entry-index.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ async function bucketEntries (bucket, filter) {
return _bucketEntries(data, filter)
}

function _bucketEntries (data, filter) {
function _bucketEntries (data) {
const entries = []
data.split('\n').forEach((entry) => {
if (!entry) {
Expand Down
6 changes: 3 additions & 3 deletions node_modules/cacache/lib/verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ async function verify (cache, opts) {
return stats
}

async function markStartTime (cache, opts) {
async function markStartTime () {
return { startTime: new Date() }
}

async function markEndTime (cache, opts) {
async function markEndTime () {
return { endTime: new Date() }
}

Expand Down Expand Up @@ -213,7 +213,7 @@ async function rebuildIndex (cache, opts) {
return stats
}

async function rebuildBucket (cache, bucket, stats, opts) {
async function rebuildBucket (cache, bucket, stats) {
await truncate(bucket._path)
// This needs to be serialized because cacache explicitly
// lets very racy bucket conflicts clobber each other.
Expand Down
8 changes: 4 additions & 4 deletions node_modules/cacache/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cacache",
"version": "18.0.2",
"version": "18.0.3",
"cache-version": {
"content": "2",
"index": "5"
Expand All @@ -26,7 +26,7 @@
},
"repository": {
"type": "git",
"url": "https://github.com/npm/cacache.git"
"url": "git+https://github.com/npm/cacache.git"
},
"keywords": [
"cache",
Expand Down Expand Up @@ -60,7 +60,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.21.3",
"@npmcli/template-oss": "4.22.0",
"tap": "^16.0.0"
},
"engines": {
Expand All @@ -69,7 +69,7 @@
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"windowsCI": false,
"version": "4.21.3",
"version": "4.22.0",
"publish": "true"
},
"author": "GitHub Inc.",
Expand Down
11 changes: 6 additions & 5 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
"@sigstore/tuf": "^2.3.2",
"abbrev": "^2.0.0",
"archy": "~1.0.0",
"cacache": "^18.0.2",
"cacache": "^18.0.3",
"chalk": "^5.3.0",
"ci-info": "^4.0.0",
"cli-columns": "^4.0.0",
Expand Down Expand Up @@ -2812,10 +2812,11 @@
}
},
"node_modules/cacache": {
"version": "18.0.2",
"resolved": "https://registry.npmjs.org/cacache/-/cacache-18.0.2.tgz",
"integrity": "sha512-r3NU8h/P+4lVUHfeRw1dtgQYar3DZMm4/cm2bZgOvrFC/su7budSOeqh52VJIC4U4iG1WWwV6vRW0znqBvxNuw==",
"version": "18.0.3",
"resolved": "https://registry.npmjs.org/cacache/-/cacache-18.0.3.tgz",
"integrity": "sha512-qXCd4rh6I07cnDqh8V48/94Tc/WSfj+o3Gn6NZ0aZovS255bUx8O13uKxRFd2eWG0xgsco7+YItQNPaa5E85hg==",
"inBundle": true,
"license": "ISC",
"dependencies": {
"@npmcli/fs": "^3.1.0",
"fs-minipass": "^3.0.0",
Expand Down Expand Up @@ -14793,7 +14794,7 @@
"@npmcli/redact": "^2.0.0",
"@npmcli/run-script": "^8.1.0",
"bin-links": "^4.0.4",
"cacache": "^18.0.0",
"cacache": "^18.0.3",
"common-ancestor-path": "^1.0.1",
"hosted-git-info": "^7.0.1",
"json-parse-even-better-errors": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@sigstore/tuf": "^2.3.2",
"abbrev": "^2.0.0",
"archy": "~1.0.0",
"cacache": "^18.0.2",
"cacache": "^18.0.3",
"chalk": "^5.3.0",
"ci-info": "^4.0.0",
"cli-columns": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/arborist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@npmcli/redact": "^2.0.0",
"@npmcli/run-script": "^8.1.0",
"bin-links": "^4.0.4",
"cacache": "^18.0.0",
"cacache": "^18.0.3",
"common-ancestor-path": "^1.0.1",
"hosted-git-info": "^7.0.1",
"json-parse-even-better-errors": "^3.0.0",
Expand Down

0 comments on commit f94d672

Please sign in to comment.