json-replace-exponentials

Replace numbers in exponential notation by numbers in fixed-point notation (or anything else) in a string of JSON.

MIT License

Downloads
154
Stars
0
Committers
3

Bot releases are visible (Hide)

json-replace-exponentials - Latest Release

Published by kevinoid about 1 year ago

BREAKING CHANGES

  • Require Node.js >= 16. Drop support for previous versions.

Bug Fixes

  • Don't match digits in the non-string, non-number portion of the regular expression for replacing numbers in JSON. This could cause ReDoS due to super-linear backtracking of malicious input. (f1db670)
json-replace-exponentials -

Published by kevinoid over 3 years ago

  • Initial release.