You'll noticeTier: how much it should matter to you
3Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
File WritesArea: what it touches
Bug FixesKind: in v2.1.229,
Bug FixesSection of the release
What
The append helper previously routed to the storage backend only when there was content to write, so a write in truncating mode with an empty payload did nothing. It now routes on mode as well, and the file is emptied as asked.
Evidence
r === "w" || t.length > 0
Strings lifted out of the shipped bundle, so the claim above can be checked against them.