Skip to content

Replace glob with tinyglobby#200

Open
wojtekmaj wants to merge 1 commit intoarchiverjs:masterfrom
wojtekmaj:tinyglobby
Open

Replace glob with tinyglobby#200
wojtekmaj wants to merge 1 commit intoarchiverjs:masterfrom
wojtekmaj:tinyglobby

Conversation

@wojtekmaj
Copy link
Copy Markdown

This PR replaces glob with tinyglobby, its lighter (and faster!) counterpart. This makes archiver-utils much lighter, by removing 27 dependencies, and adding back just 3.

This PR replaces glob with tinyglobby, its lighter (and faster!) counterpart.  This makes archiver-utils much lighter, by removing 27 dependencies, and adding back just 3.
@ThisIsMissEm
Copy link
Copy Markdown

Is tinyglobby 100% API compatible with glob?

@wojtekmaj
Copy link
Copy Markdown
Author

@ThisIsMissEm Technically, no. But given the very basic use of glob in archiver-utils, this should be fine. The only change is that the order of items is non-deterministic, and that by default, directories are not included, the opposite of glob's default. There's a onlyFiles flag for that.

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