signal-desktop/ts/logging
Nikita Karamov 7cd566726f Replace mkdirp with native fs.mkdir
Prior to this change, Signal-Desktop was using a rather ancient version
of `mkdirp`, which was meant for Node.js versions without native support
for this kind of functionality. Starting with Node v10, `fs.mkdir()` can
perform recursive directory creation.

Since Signal-Desktop doesn't utilize any advantages of using such an old
version of `mkdirp` [1] (let alone any version of `mkdirp`), we can
replace it with the native methods of `fs` (or `fs/promises`).

This transition slightly reduces the amount of packages needed to be
downloaded and included in the final app since it now relies on the
built-in API of Node.js.
2022-12-13 11:01:10 -08:00
..
debuglogs.ts Report process cpu/memory usage in debug log 2022-05-09 18:12:04 -07:00
formatCountForLogging.ts Show additional data in debug log header 2021-07-30 09:43:16 -07:00
log.ts Prefer import type when importing types 2021-10-26 14:15:33 -05:00
main_process_logging.ts Replace mkdirp with native fs.mkdir 2022-12-13 11:01:10 -08:00
set_up_renderer_logging.ts Improve error handling during group sends 2022-11-22 10:43:43 -08:00
shared.ts Report process cpu/memory usage in debug log 2022-05-09 18:12:04 -07:00
uploadDebugLog.ts On debug log upload fail, log out top-level error message 2022-12-08 19:44:34 -07:00