- FIX type in parseEnv
- revert changes because mongoId is not just any strings
- FIX getId so that it can accept any strings
- Add parent and lastElement key to informations returned by findByAddressAll
- FIX recursiveGenericFunction and findByAddressAll
- ADD new option in escapeRegexp
- alias parseRegexp => escapeRegexp
- FIX recursiveGenericFunctionSync returning bad address (starting with a point)
- add nbOccurenceInString and fix some types
- improving types for object helpers
- FIX capitalize1st error when emptyy string
- convertAccentedCharacters now taking in account upper case letters
- FIX typeof config partial and required
- other fix logFromOtherErr is not iterable
- FIX "cannot read propertie undefined..." error when logging an undefined entry
- FIX typescript errors when on projects with strict mode
- FIX loading spinner not exported
- FIX type in randomItemInArray
- FIX validator isset not working on undefined values
- improve int typing accepting both string and number
- FIX isType not working on emty string
- improve tryCatch / failSafe to work with async and sync functions natively
- Added forcePathInObject() to force an existing path in an object, like an empty object or array
- adding failSafe as an alias of tryCatch for readability
- improving type for tryCatch()
- remove usage of array.at(-1) since it's not compatible with react native or older versions of node
- FIX error was not logging in some case with DescriptieError
- remove arrayToObjectSorted
- greatly improve typings on all compareArrays functions
- improve error display and logging, adding originalError to extraInfos, cleanStackTrace of original error
- added eslintconfig
- added a relevant toString method to DescriptiveError class
- improved error logging
- ADD onError to config for custom error handling
- improve logging
- add frontend compatibility
- Find by address now accepts string array for address
- objForceWrite now return main object
- improve type on objectutils
- add ability to hide generated api code in errors by setting { code } value to undefined, null or option.doNotDisplayCode to true
- allow all casing function to receive an array of string as first argument OR rest param as a string array
- ADD returnValueIfUndefined for asArray function and improve type
- FIX on terminal noColor detection nodeJs env
- NEW isNodeJs fn
- Default terminal color when on nodejs
- Fix error noStackTrace
- adding option noStackTrace to error
- improve type of findByAddressAll
- mini fix on escapeRegexp option parseStarChar, now replacing
- will 'match all until'. Before it was just 'match all'
- improve deleteByAddress to accept [0] array syntax in addr AND string AND string array as addr argument
- default terminal no color to avoid displaying strange characters when outputting logs for front end
- fix ts problem compiling class with ES6
- NEW DescriptiveError class for more explicit errors
- MINOR VERSION TRANSITION => A little change of api with validatorReturnErrArray that returns [msg, extraInfos][] instead of [msg, httpErrorCode, extraInfos][]. Now the ode is in the extra infos
- add option disableCircularDependencyRemoval to recursive helpers
- add isset to validator (improves readability)
- test OK
- NEW WTF utils removed circular dependencies
- BREAKING remove export default
- improve typings for recursive generic
- add param to
findByAddressAll
returnAddresses for returning found items alongside their address
- Add/fix email type in validator
- imrove typings on forI function
- deep clone type improvement
- FIX templater undefined no error anymore
- type for date function
- NEW forI iterate function
- NEW ability for restTestMini to throw error
- add generateObjectId
- cleaning and typing improvements
- fix in asArray typing
- safer generateToken
- nextWeekDay
- arrayCount count the nb of occurence of an item in array
- isBetween inclusive option (default true)
- NEW restTestMini mini test framework
- assert used for testing
- new alias randomize array
- type for asArray
- new err handling
- escapeRegexp config with parseStarChar option