graphql-tools
                                
                                 graphql-tools copied to clipboard
                                
                                    graphql-tools copied to clipboard
                            
                            
                            
                        Dependency cleanup
🚨 IMPORTANT: Please do not create a Pull Request without creating an issue first.
Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request.
Description
Cleans up some dependencies without introducing breaking changes that much.
- replaces globby with tinyglobby (-21 dependencies)
- removes lodash.sortby dependency in favor of native sort
Related #6895
Type of change
Please delete options that are not relevant.
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
- bun test
Test Environment:
- OS: macOS
- @graphql-tools/...:
- NodeJS: 22
Checklist:
- [x] I have followed the CONTRIBUTING doc and the style guidelines of this project
- [x] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my feature works
- [x] New and existing unit tests and linter rules pass locally with my changes
- [x] Any dependent changes have been merged and published in downstream modules
Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...
Summary by CodeRabbit
- 
Chores - Updated dependencies to enhance file matching and reduce the overall footprint.
 
- 
Refactor - Streamlined file loading and document sorting using native JavaScript methods for improved performance and reliability.
 
- 
Tests - Adjusted test cases to verify consistent behavior with the new file handling approach.