Skip to content

3.0.1 - bugfix for non-numeric field names

Latest

Choose a tag to compare

@brainfoolong brainfoolong released this 26 Mar 15:11
· 3 commits to master since this release

bugfix for non-numeric field names starting with 0 and arrayify enabled
the check if a key is equally numeric to the internal counter fall through some edge cases
parseInt() for string that starts with a number just silently ignores non-numeric chars
an additional regex check is added in to verify if the key is an integer number
also adding bun as alternative build script
added tests for this issue case

Full Changelog: 3.0.0...3.0.1