Socket
Socket
Sign inDemoInstall

cacache

Package Overview
Dependencies
Maintainers
5
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cacache - npm Package Compare versions

Comparing version 18.0.2 to 18.0.3

2

lib/content/read.js

@@ -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 @@ },

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc