UNPKG

1.21 kBMarkdownView Raw
1## 3.2.0
2- [#47](https://github.com/SparshithNR/fs-merger/pull/47) Remove unused dependencies and update remaining to latest
3- [#46](https://github.com/SparshithNR/fs-merger/pull/46) Add basic linting setup
4- [#45](https://github.com/SparshithNR/fs-merger/pull/45) Refactors to simplify the FS proxy implementation
5- [#44](https://github.com/SparshithNR/fs-merger/pull/44) Fix typo in workflow configuration
6- [#41](https://github.com/SparshithNR/fs-merger/pull/41) Migrate to GitHub Actions
7- [#40](https://github.com/SparshithNR/fs-merger/pull/40) Ensure all of dist/ is published to npm
8- [#39](https://github.com/SparshithNR/fs-merger/pull/39) Ensure yarn.lock is checked in
9
10## 3.0.0
11- changed interface for fs proxy from `FSMergerFileOperations` to `FS`
12
13## 2.0.0
14
15- This is a breaking change to migrate from 1.0.0 to 2.0.0.
16- `readDirSync` is now `readdirSync` aligning with `fs` function.
17- Now you can perform all the `fs` operation other than `write operation` with object created from FSMerger. Below the example usage.
18
19```js
20const FSMerger = require('fs-merger');
21let fsMerger = new FSMerger([`test`,`bin`]);
22fsMerger.fs.readFileSync(`unit-test.js`);
23fsMerger.fs.existSync(`unit-test.js`);
24```
25