assocPath breaks if path includes digits
eugenezastrogin opened this issue · 3 comments
eugenezastrogin commented
assocPath breaks if string path starts with digit.
It seems that this line is to blame.
Minimal reproducible example (comparison with correct ramda behavior included): https://stackblitz.com/edit/js-e5ro2z?file=index.js
selfrefactor commented
Thank you for the report - it is a valid bug and I will try to apply a fix tomorrow and make a new release.
selfrefactor commented
Fixed with 5.12.1
selfrefactor commented
Properly fixed with 5.13.0
as 5.12.1
cause R.lensPath
to stop working with string as path input.