Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@netlify/cache-utils

Package Overview
Dependencies
Maintainers
15
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@netlify/cache-utils - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8-0

2

package.json
{
"name": "@netlify/cache-utils",
"version": "1.0.7",
"version": "1.0.8-0",
"description": "Utility for caching files in Netlify Build",

@@ -5,0 +5,0 @@ "main": "src/main.js",

@@ -9,9 +9,9 @@ 'use strict'

// Retrieve the cache directory location
const getCacheDir = function ({ cacheDir, mode, isTest } = {}) {
const getCacheDir = function ({ cacheDir, cwd = '.', mode, isTest } = {}) {
if (cacheDir !== undefined) {
return resolve(cacheDir)
return resolve(cwd, cacheDir)
}
if (mode !== 'buildbot') {
return resolve(LOCAL_CACHE_DIR)
return resolve(cwd, LOCAL_CACHE_DIR)
}

@@ -18,0 +18,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