@netlify/cache-utils
Advanced tools
Comparing version 4.1.3 to 4.1.4
{ | ||
"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 @@ } |
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
21488
+ Addedglobby@13.2.2(transitive)
+ Addedjunk@4.0.1(transitive)
+ Addedmove-file@3.1.0(transitive)
+ Addedslash@4.0.0(transitive)
- Removedmove-file@2.1.0(transitive)
- Removedpath-exists@4.0.0(transitive)
Updatedglobby@^13.0.0
Updatedjunk@^4.0.0
Updatedmove-file@^3.0.0