From 3706920f38e7fff3d3f6fac4b4fc8a3184972e4a Mon Sep 17 00:00:00 2001 From: Yuki Hattori Date: Sun, 30 Jun 2019 02:54:18 +0900 Subject: [PATCH] Upgrade `fast-glob` package to v3 (#126) --- index.js | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 029a19e..904338d 100644 --- a/index.js +++ b/index.js @@ -24,7 +24,7 @@ const checkCwdOption = options => { } }; -const getPathString = p => p instanceof fs.Stats ? p.path : p; +const getPathString = p => p.stats instanceof fs.Stats ? p.path : p; const generateGlobTasks = (patterns, taskOptions) => { patterns = arrayUnion([].concat(patterns)); diff --git a/package.json b/package.json index 3c66658..9704f8a 100644 --- a/package.json +++ b/package.json @@ -58,8 +58,8 @@ "dependencies": { "@types/glob": "^7.1.1", "array-union": "^2.1.0", - "dir-glob": "^2.2.2", - "fast-glob": "^2.2.6", + "dir-glob": "^3.0.1", + "fast-glob": "^3.0.3", "glob": "^7.1.3", "ignore": "^5.1.1", "merge2": "^1.2.3",