antongolub / yarn-audit-fix

The missing `yarn audit fix`
MIT License
181 stars 9 forks source link

Temporary dowgrading __metadata version from 6 to 5 during run #287

Closed ssbarnea closed 1 year ago

ssbarnea commented 1 year ago

I observed that that when using yarn-audit-fix as a pre-commit hook it does temporary downgrades the metadata version from my current 6 to 5 but it does put it back after.

__metadata:
  version: 5

This is still a bug as the file should not be modified during run if that is not needed.

antongolub commented 1 year ago

@ssbarnea,

Well, I agree, __metadata mutation seems redundant.

ssbarnea commented 1 year ago

@antongolub Thanks! That was blazing fast reaction! Added a bit of sunshine to what was looking like boring working day.