feat: support lpeg 1.148/head
commit473d61d262a1c86a69ad9b4882352d122e42f3fa
authorJosh <jokajak@gmail.com>
Thu, 20 Jul 2023 19:49:33 +0000 (20 15:49 -0400)
committerGitHub <noreply@github.com>
Thu, 20 Jul 2023 19:49:33 +0000 (20 15:49 -0400)
tree4380e7829fb46ff7d3b8826e46db142848c57e41
parentb5e3c9bf73cb7908e246230e991d853aaa35552d
feat: support lpeg 1.1

This changeset adds support for lpeg 1.1 which updated the lpeg.version from a function to a string.

Therefore we have to check the type of the value.

Refs: #47
lua/json/decode/util.lua