All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
10.1.0 - 2024-09-01
Array.prototype.forEachAsync
to execute Array.prototype.forEach asynchronouslyArray.prototype.map
to execute Array.prototype.map asynchronously
10.0.6 - 2024-05-25
- Fix types in array.ts
- Update examples for string.ts
10.0.5 - 2024-03-26
- Fix README.md
- Update dependencies
10.0.4 - 2024-03-20
fs
to always ensure directory when write file- Update dependencies
10.0.3 - 2024-03-17
- Fix test coverage for non-win32 systems
10.0.2 - 2024-03-17
- Do not test fs.win32.recurse on non-Windows system that don't support backslash separators
10.0.1 - 2024-03-16
- Use dedicated .eslintignore
10.0.0 - 2024-03-16
String.prototype.urlEscape
to support russian lettersError.parse
to build Error instance from an object of unknown type
- Update eslint config and raise minimum supported NodeJS version to match one in typescript-eslint plugin
- Update .npmignore
- Unify jest.config.js by removing redundant patterns and providing support for both ts and tsx
9.0.2 - 2024-01-30
- Migrate to GitHub
9.0.1 - 2024-01-29
- Explicitly specify ignores from .gitignore in .eslintrc.js
9.0.0 - 2024-01-19
- Rename
ownKeys
totypedKeys
andownEntries
totypedEntries
in order to get rid of conflict withReflect.ownKeys
exposed byownKeys
property of classProxy
8.1.0 - 2024-01-19
Object.ownEntries
to get typed entries of an object
8.0.0 - 2024-01-19
- Make
Object.ownKeys
type-safe by requiring set of keys
7.0.0 - 2024-01-14
- Update project configurations
- Update dependencies
6.0.3 - 2024-01-02
- Extract mockFS function to
@anmiles/extensions
6.0.1 - 2024-01-01
- Use named functions in prototypes and arrow functions in tests
6.0.0 - 2023-12-28
fs.ensureDir
andfs.ensureFile
return action result and do not throw if not exists
5.4.0 - 2023-12-28
fs.joinPath
joins two portions of file path using specified or default separator and return the path as typed as possible
fs.joinPath
andfs.recurse
are now separator-specific
5.3.2 - 2023-12-26
Object.ownKeys
works with partial records
5.3.1 - 2023-12-26
Object.fill
receives callback function that generates value
5.3.0 - 2023-12-26
Object.fill
to fill object with default values by keys
5.2.2 - 2023-12-25
Object.ownKeys
to get typed keys
- Update dependencies
5.1.3 - 2023-11-12
- Update dependencies
5.1.2 - 2023-11-12
- Update dependencies
5.1.1 - 2023-11-12
- Update dependencies
5.1.0 - 2023-10-08
- Support for
fs.promises
5.0.0 - 2023-10-06
- Extension filter for
fs.recurse
4.0.0 - 2023-09-13
- Update dependencies with breaking changes
3.0.0 - 2023-09-13
- Useful strings for testing purposes
- Cleaned up test strings and values
htmlEscape
now prefers some known html entities
2.3.0 - 2023-08-15
fs.ensureDir
andfs.ensureFile
now can be asked to throw if not exists
2.2.1 - 2023-08-11
fs.prototype.size
to get directory size
2.1.7 - 2023-08-11
- Use Dirent type in
fs.recurse
to reduce functions calls
2.1.6 - 2023-08-05
- Collapse excess dots
2.1.4 - 2023-08-05
- Use regex unicode categories and specify ranges more precisely
2.1.3 - 2023-08-04
- Multiple fixes for
String.prototype.toFilename
2.1.0 - 2023-08-04
String.prototype.beautify
unifies similar special symbolsString.prototype.toFilename
converts string into a valid filename
2.0.2 - 2023-05-08
- Use shared eslint config * explicitly specify ignorePatterns
2.0.1 - 2023-05-08
- Remove BOM when reading back just written JSON
2.0.0 - 2023-05-08
- Forwarding validation error for validateCallback in
fs.getJSON
andfs.getJSONAsync
1.1.0 - 2023-05-08
- Introduce
fs.ensureDir
,fs.ensureFile
,fs.getJSON
,fs.getJSONAsync
1.0.7 - 2023-05-07
- Better types for
fs.readJSON
andfs.writeJSON
1.0.5 - 2023-05-07
- Updated
@anmiles/eslint-config
- Cleanup cSpell words
1.0.4 - 2023-05-07
- Changed README formatting
1.0.3 - 2023-05-06
- Add usage examples
1.0.2 - 2023-05-06
- Use shared eslint configuration
1.0.1 - 2023-05-06
- Rephrased tests to use "should" verb
1.0.0 - 2023-05-05
- Added changelog and converted project to TS