You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.239,
ImprovementsSection of the release
What
Update and asset downloads now open the destination with an exclusive-create flag, so a download into a path that already exists fails instead of truncating whatever was there.
Details
The write stream is created with { flags: "wx" }, which errors rather than replacing an existing target.
Evidence
createWriteStream(t, { flags: "wx" })
Strings lifted out of the shipped bundle, so the claim above can be checked against them.