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 4.1.3 to 4.1.4

8

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

@@ -51,6 +51,6 @@ "type": "module",

"get-stream": "^6.0.0",
"globby": "^11.0.0",
"junk": "^3.1.0",
"globby": "^13.0.0",
"junk": "^4.0.0",
"locate-path": "^7.0.0",
"move-file": "^2.0.0",
"move-file": "^3.0.0",
"path-exists": "^5.0.0",

@@ -57,0 +57,0 @@ "readdirp": "^3.4.0"

@@ -5,5 +5,5 @@ import { promises as fs } from 'fs'

import cpy from 'cpy'
import globby from 'globby'
import junk from 'junk'
import moveFile from 'move-file'
import { globby } from 'globby'
import { isNotJunk } from 'junk'
import { moveFile } from 'move-file'

@@ -34,3 +34,3 @@ // Move or copy a cached file/directory from/to a local one

const files = await globby(srcGlob, { cwd })
const filteredFiles = files.filter((file) => junk.not(basename(file)))
const filteredFiles = files.filter((file) => isNotJunk(basename(file)))
return filteredFiles.length === 0

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