summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2023-09-16 13:45:15 +0000
committerAlexandre Flament <alex@al-f.net>2023-09-16 18:30:57 +0000
commit72f5e7cfb8b1fc7be862bbe96e9e0123de252e5d (patch)
tree31ad90bec9e13992e5d709498874b03e72dfc9a5 /LICENSE
parentec540a967a66156baa06797183cc64c4a3e345be (diff)
downloadsearxng-update_js_ariable_to_python.tar.gz
searxng-update_js_ariable_to_python.zip
js_variable_to_python: add tests, handle more JS syntaxupdate_js_ariable_to_python
The tests from chompjs are copied. The comment out tests do not pass. The implementation of js_variable_to_python has been updated: * in the main looop, try to make the four different cases more clear * handle decimal number like "-.5", "5." or "- 5" (without double quote) * the character ` is seen a string delimiter as intended in JS * the identifiers follow JS specification ($, _, letters and numbers)
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions