Comparing version 18.0.2 to 18.0.3
@@ -74,3 +74,3 @@ 'use strict' | ||
function copy (cache, integrity, dest) { | ||
return withContentSri(cache, integrity, (cpath, sri) => { | ||
return withContentSri(cache, integrity, (cpath) => { | ||
return fs.copyFile(cpath, dest) | ||
@@ -77,0 +77,0 @@ }) |
@@ -163,3 +163,3 @@ 'use strict' | ||
async function moveToDestination (tmp, cache, sri, opts) { | ||
async function moveToDestination (tmp, cache, sri) { | ||
const destination = contentPath(cache, sri) | ||
@@ -166,0 +166,0 @@ const destDir = path.dirname(destination) |
@@ -243,3 +243,3 @@ 'use strict' | ||
function _bucketEntries (data, filter) { | ||
function _bucketEntries (data) { | ||
const entries = [] | ||
@@ -246,0 +246,0 @@ data.split('\n').forEach((entry) => { |
@@ -71,7 +71,7 @@ 'use strict' | ||
async function markStartTime (cache, opts) { | ||
async function markStartTime () { | ||
return { startTime: new Date() } | ||
} | ||
async function markEndTime (cache, opts) { | ||
async function markEndTime () { | ||
return { endTime: new Date() } | ||
@@ -217,3 +217,3 @@ } | ||
async function rebuildBucket (cache, bucket, stats, opts) { | ||
async function rebuildBucket (cache, bucket, stats) { | ||
await truncate(bucket._path) | ||
@@ -220,0 +220,0 @@ // This needs to be serialized because cacache explicitly |
{ | ||
"name": "cacache", | ||
"version": "18.0.2", | ||
"version": "18.0.3", | ||
"cache-version": { | ||
@@ -29,3 +29,3 @@ "content": "2", | ||
"type": "git", | ||
"url": "https://github.com/npm/cacache.git" | ||
"url": "git+https://github.com/npm/cacache.git" | ||
}, | ||
@@ -64,3 +64,3 @@ "keywords": [ | ||
"@npmcli/eslint-config": "^4.0.0", | ||
"@npmcli/template-oss": "4.21.3", | ||
"@npmcli/template-oss": "4.22.0", | ||
"tap": "^16.0.0" | ||
@@ -74,3 +74,3 @@ }, | ||
"windowsCI": false, | ||
"version": "4.21.3", | ||
"version": "4.22.0", | ||
"publish": "true" | ||
@@ -77,0 +77,0 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63516