Comparing version 19.0.0 to 19.0.1
@@ -22,3 +22,2 @@ 'use strict' | ||
const pMap = require('p-map') | ||
const lsStreamConcurrency = 5 | ||
@@ -188,2 +187,3 @@ | ||
Promise.resolve().then(async () => { | ||
const { default: pMap } = await import('p-map') | ||
const buckets = await readdirOrEmpty(indexDir) | ||
@@ -190,0 +190,0 @@ await pMap(buckets, async (bucket) => { |
@@ -11,3 +11,2 @@ 'use strict' | ||
} = require('fs/promises') | ||
const pMap = require('p-map') | ||
const contentPath = require('./content/path') | ||
@@ -97,2 +96,3 @@ const fsm = require('fs-minipass') | ||
opts.log.silly('verify', 'garbage collecting content') | ||
const { default: pMap } = await import('p-map') | ||
const indexStream = index.lsStream(cache) | ||
@@ -181,2 +181,3 @@ const liveContent = new Set() | ||
opts.log.silly('verify', 'rebuilding index') | ||
const { default: pMap } = await import('p-map') | ||
const entries = await index.ls(cache) | ||
@@ -183,0 +184,0 @@ const stats = { |
{ | ||
"name": "cacache", | ||
"version": "19.0.0", | ||
"version": "19.0.1", | ||
"cache-version": { | ||
@@ -57,3 +57,3 @@ "content": "2", | ||
"minipass-pipeline": "^1.2.4", | ||
"p-map": "^4.0.0", | ||
"p-map": "^7.0.2", | ||
"ssri": "^12.0.0", | ||
@@ -60,0 +60,0 @@ "tar": "^7.4.3", |
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
63801
1249
+ Addedp-map@7.0.2(transitive)
- Removedaggregate-error@3.1.0(transitive)
- Removedclean-stack@2.2.0(transitive)
- Removedindent-string@4.0.0(transitive)
- Removedp-map@4.0.0(transitive)
Updatedp-map@^7.0.2