Skip to content

chore: replace glob with tinyglobby#4935

Open
stianjensen wants to merge 1 commit into
wix:masterfrom
stianjensen:tinyglobby
Open

chore: replace glob with tinyglobby#4935
stianjensen wants to merge 1 commit into
wix:masterfrom
stianjensen:tinyglobby

Conversation

@stianjensen
Copy link
Copy Markdown
Contributor

Description

glob pulls in a heavy dependency tree (inflight, once, minimatch, etc.). tinyglobby is a modern, lightweight alternative with minimal dependencies (fdir + picomatch) and ships dual CJS/ESM exports.

Detox only uses basic glob patterns (*, simple extensions) with a cwd option, so the migration is a straightforward drop-in replacement with no behavioral differences for our use cases.

  • Replace glob with tinyglobby in temporaryPath.js, DetoxLogFinalizer test, and e2e artifactUtils
  • Remove glob from dependencies

glob pulls in a heavy dependency tree (inflight, once, minimatch, etc.).
tinyglobby is a modern, lightweight alternative with minimal dependencies
(fdir + picomatch) and ships dual CJS/ESM exports.

Detox only uses basic glob patterns (*, simple extensions) with a cwd
option, so the migration is a straightforward drop-in replacement with
no behavioral differences for our use cases.

- Replace glob with tinyglobby in temporaryPath.js, DetoxLogFinalizer
  test, and e2e artifactUtils
- Remove glob from dependencies
@stianjensen stianjensen requested a review from noomorph as a code owner April 23, 2026 18:09
@noomorph
Copy link
Copy Markdown
Collaborator

Hi, I'll see if we can take these dependency PRs next week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants