Closed oktoberfest6 closed 2 years ago
fixed by: https://github.com/api7/jsonschema/pull/72?
Yes this pull request fix the issue. But it seems that the version 0.9.8 does not include this fix (I should honestly say that I'm not familiar with git)
But it seems that the version 0.9.8 does not include this fix (I should honestly say that I'm not familiar with git)
Can't you use the latest version?
I'm installing it through luarocks. And the version registered in luarocks is the 0.9.8. As this issue will be fixed in the next release, I can easily patch my code until the new release come.
Hi,
jsonschema uses the function loadstring(). This function has been deprecated in Lua 5.2 and is not available in Lua >= 5.3. The load() function can be used as it accepts the same arguments as loadstring().
Can you adapt the code so that it works with the different Lua 5.X versions ?
Regards