Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2021-05-27 20:11:48 +0300
committerGar <gar+gh@danger.computer>2021-05-27 20:11:48 +0300
commit7b56bfdf3f2ac67a926fc7893b883a16b46eb3fd (patch)
treeac34f8a016c3815a07b6d5767da8c5285404e3da /node_modules/cacache/rm.js
parentb70d797d5dd45a0f557615820a9409b66850c896 (diff)
cacache@15.2.0
* feat: allow fully deleting indices * feat: add a validateEntry option to compact * chore: lint * chore: use standard npm style release scripts
Diffstat (limited to 'node_modules/cacache/rm.js')
-rw-r--r--node_modules/cacache/rm.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/cacache/rm.js b/node_modules/cacache/rm.js
index 7dd4e8c8b..f2ef6b190 100644
--- a/node_modules/cacache/rm.js
+++ b/node_modules/cacache/rm.js
@@ -11,9 +11,9 @@ const rmContent = require('./lib/content/rm')
module.exports = entry
module.exports.entry = entry
-function entry (cache, key) {
+function entry (cache, key, opts) {
memo.clearMemoized()
- return index.delete(cache, key)
+ return index.delete(cache, key, opts)
}
module.exports.content = content