LuaRocks.org had a security incident in September 2026. Read the incident report.

compat52

Compatibility module providing Lua-5.2-style APIs for Lua 5.1

$ luarocks install compat52

This is a small module that aims to make it easier to write Lua code
in a Lua-5.2-style that runs on both Lua 5.1 and Lua 5.2. This does *not*
make Lua 5.1 entirely compatible with Lua 5.2, but it brings the API
closer to that of Lua 5.2.

Versions

scm-1dev12 years ago4 downloads
0.3-111 years ago1,838 downloads
0.2-112 years ago192 downloads
0.1-112 years ago108 downloads

Dependencies

lua >= 5.1, < 5.3

Dependency for

hotswap

Manifests