lazy-file@3.8.0
Breaking Changes📦 remix
⚠ 1 breaking✨ 1 features🔧 3 symbols
Summary
This release introduces a new findFile utility and changes the default naming behavior of openFile to preserve the full provided path string.
⚠️ Breaking Changes
- openFile() now sets file.name to the exact filename argument provided instead of the base name. To maintain previous behavior, use the options.name parameter.
Migration Steps
- Update calls to openFile() where the code expects file.name to be a base name; either wrap the input with path.basename() or pass the desired name via the options.name argument.
✨ New Features
- Added findFile function to locate files within a specified root directory.
🔧 Affected Symbols
findFileopenFilefile.name