This repository was archived by the owner on May 31, 2026. It is now read-only.
v12.0.0
π mem-fs-editor v12 β Release Notes
π Major Internal Rewrite
The internal implementation of mem-fs-editor has been almost completely rewritten.
What this means:
- Cleaner and more maintainable internal architecture
- Improved consistency across core operations
- Better separation of concerns
- Stronger foundation for future enhancements
- Reduced technical debt
π§ templateOptions Refactoring
The templateOptions parameter, previously the 4th argument of methods such as copyTpl, has been moved inside the options object (the 4th and only options parameter).
Before:
copyTpl(
'file.js.ejs',
'file.js',
data,
{ delimiter: '?' },
{ someOption: true }
);After:
copyTpl(
'file.js.ejs',
'file.js',
data,
{
someOption: true,
transformOptions: { delimiter: '?' }
}
);π― Why This Change?
- templateOptions is not commonly used
- Improves API clarity and readability
- Reduces ambiguity around parameter ordering