Skip to content

Commit dde34c7

Browse files
committed
chore(deps): switch to tinyglobby
1 parent db0e710 commit dde34c7

File tree

3 files changed

+73
-6
lines changed

3 files changed

+73
-6
lines changed

package-lock.json

Lines changed: 69 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,10 @@
5656
"dayjs": "1.11.13",
5757
"debug": "4.4.0",
5858
"execa": "4.1.0",
59-
"globby": "11.1.0",
6059
"istanbul-lib-coverage": "^3.0.0",
6160
"js-yaml": "4.1.0",
62-
"nyc": "15.1.0"
61+
"nyc": "15.1.0",
62+
"tinyglobby": "^0.2.14"
6363
},
6464
"devDependencies": {
6565
"@babel/core": "^7.16.0",

task-utils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const { readFileSync, writeFileSync, existsSync } = require('fs')
77
const { isAbsolute, resolve, join } = require('path')
88
const debug = require('debug')('code-coverage')
99
const chalk = require('chalk')
10-
const globby = require('globby')
10+
const tinyglobby = require('tinyglobby')
1111
const yaml = require('js-yaml')
1212
const {
1313
combineNycOptions,
@@ -330,7 +330,7 @@ function findSourceFiles(nycOptions) {
330330

331331
debug('searching files to include using patterns %o', patterns)
332332

333-
const allFiles = globby.sync(patterns, { absolute: true })
333+
const allFiles = tinyglobby.globSync(patterns, { absolute: true })
334334
return allFiles
335335
}
336336
/**

0 commit comments

Comments
 (0)