a breaking changes version
Added:
- Shape Class
- static File.tmpFile() and Dir.tmpDir() methods
- CHANGELOG.md
- Dir.moveTo() and Dir.copyTo()
- "createParents" options in Dir.createFile() and Dir.createDir()
Removed:
- Model Class
- Structure Class
Improvements:
- Splitting testing into multiple files
- Change testing to use tmp files and folders
- Prevent addPlugin from overwriting Class' native methods
- Change File.validator from receiving the file content in string to nothing
- Change File.validator to return and array of Error or nothing
- Changing Dir.delete() to use the "recursive" options instead of manual deleting
- Prevent addPlugin form loading a plugin twice
Fix:
- Some method "return this"
Improvements:
- Switching watch lib to "chokidar"
- Add testing for File.watch() and Dir.watch() and unwatch
- Adding private property "watcher" to File
- Changing API for File.watch() and Dir.watch()
- Fixing Bug found in Shape.createShapeInst()
Fix:
- Shape typing issues
Remove:
- File.createReadStream()
- File.createWriteStream()
Improvements:
- Support Deno
Added:
- getPluginTrack
- getPluginTrackFormatted
- "desc" property for plugins and plugins' methods
Added:
- File.close()
- File.open()
Added:
- File.link()
- File.symlink()
- File.truncate()
- File.read(position?: number, length?: number, buffer?: BufferType | TypedArray | DataView, offset?: number) overwrite
- File.write(data: BufferType | string | obj, position?: number, length?: number, offset?: number) overwrite
Removed:
- File.read(splitter: string, callback: Function) overwrite
Added:
- File.Pattern()
- some testing
Fixed:
- #127
- #128
- #129
- #130
- #131
- some bugs mentioned in #133
Fixed
- Bug mentioned in #135
- repetition of tests across node and deno
Added
- getFs()
- BufferModules.getBuffer()
Fixed
- #136
- bug mentioned in #137
Fixed
- Bug mentioned in #138
Fixed
- correctly name
File.exits()
andDir.exits()
to.exists()