Not sure if there's a better approach for this, but currently I'm getting hundreds of warning lines from the decompress-zip library every time I use it to decompress the target.dat (which I do on server restart to ensure the file didn't change while the server was off), like:
2024-01-12T20:03:10.652Z - warn: Possibly unsupported ZIP platform type, 19
2024-01-12T20:03:10.652Z - warn: Possibly unsupported ZIP platform type, 19
2024-01-12T20:03:10.652Z - warn: Possibly unsupported ZIP platform type, 19
...
2024-01-12T20:03:10.652Z - warn: Possibly unsupported ZIP platform type, 19
This seems to work for suppressing those messages.
Not sure if there's a better approach for this, but currently I'm getting hundreds of warning lines from the decompress-zip library every time I use it to decompress the target.dat (which I do on server restart to ensure the file didn't change while the server was off), like:
This seems to work for suppressing those messages.