@@ -8,7 +8,7 @@ import { babel as babelPlugin } from '@rollup/plugin-babel'
88import commonjsPlugin from '@rollup/plugin-commonjs'
99import jsonPlugin from '@rollup/plugin-json'
1010import { nodeResolve } from '@rollup/plugin-node-resolve'
11- import { glob as tinyGlob } from 'tinyglobby '
11+ import fastGlob from 'fast-glob '
1212import trash from 'trash'
1313
1414import {
@@ -141,7 +141,7 @@ async function copyExternalPackages() {
141141 // Rewire 'blessed' inside 'blessed-contrib'.
142142 await Promise . all (
143143 (
144- await tinyGlob ( [ '**/*.js' ] , {
144+ await fastGlob . glob ( [ '**/*.js' ] , {
145145 absolute : true ,
146146 cwd : blessedContribPath ,
147147 ignore : [ NODE_MODULES_GLOB_RECURSIVE ] ,
@@ -168,7 +168,7 @@ async function copyPackage(pkgName, options) {
168168 await fs . cp ( pkgNmPath , pkgDestPath , { recursive : true } )
169169 if ( strict ) {
170170 // Add 'use strict' directive to js files.
171- const jsFiles = await tinyGlob ( [ '**/*.js' ] , {
171+ const jsFiles = await fastGlob . glob ( [ '**/*.js' ] , {
172172 absolute : true ,
173173 cwd : pkgDestPath ,
174174 ignore : [ NODE_MODULES_GLOB_RECURSIVE ] ,
@@ -292,7 +292,7 @@ async function updatePackageLockFile() {
292292async function removeEmptyDirs ( thePath ) {
293293 await trash (
294294 (
295- await tinyGlob ( [ '**/' ] , {
295+ await fastGlob . glob ( [ '**/' ] , {
296296 ignore : [ NODE_MODULES_GLOB_RECURSIVE ] ,
297297 absolute : true ,
298298 cwd : thePath ,
@@ -309,7 +309,7 @@ async function removeFiles(thePath, options) {
309309 const { exclude } = { __proto__ : null , ...options }
310310 const ignore = Array . isArray ( exclude ) ? exclude : exclude ? [ exclude ] : [ ]
311311 return await trash (
312- await tinyGlob ( [ '**/*' ] , {
312+ await fastGlob . glob ( [ '**/*' ] , {
313313 absolute : true ,
314314 onlyFiles : true ,
315315 cwd : thePath ,
@@ -465,7 +465,7 @@ export default async () => {
465465 // Bundle <root>/src/external/blessed-contrib/ files and output to
466466 // <root>/external/blessed-contrib/.
467467 ...(
468- await tinyGlob ( [ '**/*.mjs' ] , {
468+ await fastGlob . glob ( [ '**/*.mjs' ] , {
469469 absolute : true ,
470470 cwd : blessedContribSrcPath ,
471471 } )
0 commit comments