aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2025-01-15 23:47:08 -0300
committerHisham Muhammad <hisham@gobolinux.org>2025-01-15 23:49:49 -0300
commit1ada2ea4bbd94ac0c58e3e2cc918194140090a75 (patch)
treedcde421364f6d8bb672e811af200d7aed951d0e5
parent1ab24ce81191495bce09458fc55e65fdecb75aab (diff)
downloadluarocks-1ada2ea4bbd94ac0c58e3e2cc918194140090a75.tar.gz
luarocks-1ada2ea4bbd94ac0c58e3e2cc918194140090a75.tar.bz2
luarocks-1ada2ea4bbd94ac0c58e3e2cc918194140090a75.zip
update generated code
-rw-r--r--src/luarocks/build.lua2
-rw-r--r--src/luarocks/build/cmake.lua2
-rw-r--r--src/luarocks/build/command.lua2
-rw-r--r--src/luarocks/build/make.lua2
-rw-r--r--src/luarocks/cmd.lua2
-rw-r--r--src/luarocks/cmd/list.lua2
-rw-r--r--src/luarocks/cmd/show.lua2
-rw-r--r--src/luarocks/cmd/upload.lua2
-rw-r--r--src/luarocks/core/types/query.lua2
-rw-r--r--src/luarocks/core/types/result.lua2
-rw-r--r--src/luarocks/core/types/rockspec.lua2
-rw-r--r--src/luarocks/fetch.lua2
-rw-r--r--src/luarocks/repos.lua2
-rw-r--r--src/luarocks/tools/patch.lua2
-rw-r--r--src/luarocks/tools/tar.lua2
-rw-r--r--src/luarocks/tools/zip.lua2
-rw-r--r--src/luarocks/type_check.lua2
-rw-r--r--src/luarocks/upload/api.lua2
-rw-r--r--src/luarocks/upload/multipart.lua2
-rw-r--r--src/luarocks/util.lua2
20 files changed, 20 insertions, 20 deletions
diff --git a/src/luarocks/build.lua b/src/luarocks/build.lua
index 1201cdef..c43e8fdc 100644
--- a/src/luarocks/build.lua
+++ b/src/luarocks/build.lua
@@ -1,5 +1,5 @@
1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local pairs = _tl_compat and _tl_compat.pairs or pairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local type = type 1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local pairs = _tl_compat and _tl_compat.pairs or pairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local type = type
2local build = {Builder = {}, } 2local build = { Builder = {} }
3 3
4 4
5 5
diff --git a/src/luarocks/build/cmake.lua b/src/luarocks/build/cmake.lua
index 3f86fe9e..ea132a3e 100644
--- a/src/luarocks/build/cmake.lua
+++ b/src/luarocks/build/cmake.lua
@@ -2,7 +2,7 @@ local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 th
2 2
3 3
4 4
5local cmake = {CMakeBuild = {Install = {}, }, } 5local cmake = { CMakeBuild = {} }
6 6
7 7
8 8
diff --git a/src/luarocks/build/command.lua b/src/luarocks/build/command.lua
index f795321b..a4eddb87 100644
--- a/src/luarocks/build/command.lua
+++ b/src/luarocks/build/command.lua
@@ -2,7 +2,7 @@
2 2
3 3
4 4
5local command = {CommandBuild = {Install = {}, }, } 5local command = { CommandBuild = {} }
6 6
7 7
8 8
diff --git a/src/luarocks/build/make.lua b/src/luarocks/build/make.lua
index 3110198c..7cf4505b 100644
--- a/src/luarocks/build/make.lua
+++ b/src/luarocks/build/make.lua
@@ -2,7 +2,7 @@ local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 th
2 2
3 3
4 4
5local make = {MakeBuild = {Install = {}, }, } 5local make = { MakeBuild = {} }
6 6
7 7
8 8
diff --git a/src/luarocks/cmd.lua b/src/luarocks/cmd.lua
index 92b31857..4890593d 100644
--- a/src/luarocks/cmd.lua
+++ b/src/luarocks/cmd.lua
@@ -1,6 +1,6 @@
1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local assert = _tl_compat and _tl_compat.assert or assert; local debug = _tl_compat and _tl_compat.debug or debug; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local loadfile = _tl_compat and _tl_compat.loadfile or loadfile; local os = _tl_compat and _tl_compat.os or os; local package = _tl_compat and _tl_compat.package or package; local pairs = _tl_compat and _tl_compat.pairs or pairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local _tl_table_pack = table.pack or function(...) return { n = select("#", ...), ... } end; local _tl_table_unpack = unpack or table.unpack; local type = type; local xpcall = _tl_compat and _tl_compat.xpcall or xpcall 1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local assert = _tl_compat and _tl_compat.assert or assert; local debug = _tl_compat and _tl_compat.debug or debug; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local loadfile = _tl_compat and _tl_compat.loadfile or loadfile; local os = _tl_compat and _tl_compat.os or os; local package = _tl_compat and _tl_compat.package or package; local pairs = _tl_compat and _tl_compat.pairs or pairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local _tl_table_pack = table.pack or function(...) return { n = select("#", ...), ... } end; local _tl_table_unpack = unpack or table.unpack; local type = type; local xpcall = _tl_compat and _tl_compat.xpcall or xpcall
2 2
3local cmd = {Module = {}, } 3local cmd = { Module = {} }
4 4
5 5
6 6
diff --git a/src/luarocks/cmd/list.lua b/src/luarocks/cmd/list.lua
index 84fb6588..1af8e481 100644
--- a/src/luarocks/cmd/list.lua
+++ b/src/luarocks/cmd/list.lua
@@ -1,7 +1,7 @@
1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table 1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table
2 2
3 3
4local list = {Outdated = {}, } 4local list = { Outdated = {} }
5 5
6 6
7 7
diff --git a/src/luarocks/cmd/show.lua b/src/luarocks/cmd/show.lua
index d9552197..087defb2 100644
--- a/src/luarocks/cmd/show.lua
+++ b/src/luarocks/cmd/show.lua
@@ -1,6 +1,6 @@
1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local math = _tl_compat and _tl_compat.math or math; local os = _tl_compat and _tl_compat.os or os; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type 1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local math = _tl_compat and _tl_compat.math or math; local os = _tl_compat and _tl_compat.os or os; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type
2 2
3local show = {Return = {}, } 3local show = { Return = {} }
4 4
5 5
6 6
diff --git a/src/luarocks/cmd/upload.lua b/src/luarocks/cmd/upload.lua
index 6a3ef3d2..755dd4e7 100644
--- a/src/luarocks/cmd/upload.lua
+++ b/src/luarocks/cmd/upload.lua
@@ -1,5 +1,5 @@
1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local string = _tl_compat and _tl_compat.string or string 1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local string = _tl_compat and _tl_compat.string or string
2local upload = {Response = {version = {}, }, } 2local upload = { Response = { version = {} } }
3 3
4 4
5 5
diff --git a/src/luarocks/core/types/query.lua b/src/luarocks/core/types/query.lua
index e8f318fe..55c3b197 100644
--- a/src/luarocks/core/types/query.lua
+++ b/src/luarocks/core/types/query.lua
@@ -1,6 +1,6 @@
1 1
2 2
3local query = {Query = {}, } 3local query = { Query = {} }
4 4
5 5
6 6
diff --git a/src/luarocks/core/types/result.lua b/src/luarocks/core/types/result.lua
index 974bd23a..4a564278 100644
--- a/src/luarocks/core/types/result.lua
+++ b/src/luarocks/core/types/result.lua
@@ -1,6 +1,6 @@
1 1
2 2
3local result = {Result = {}, } 3local result = { Result = {} }
4 4
5 5
6 6
diff --git a/src/luarocks/core/types/rockspec.lua b/src/luarocks/core/types/rockspec.lua
index 5d90fbf1..f23baf9b 100644
--- a/src/luarocks/core/types/rockspec.lua
+++ b/src/luarocks/core/types/rockspec.lua
@@ -2,7 +2,7 @@
2 2
3 3
4 4
5local rockspec = {Description = {}, Source = {}, Test = {}, Dependencies = {}, Hooks = {}, Deploy = {}, Rockspec = {}, } 5local rockspec = { Description = {}, Source = {}, Test = {}, Dependencies = {}, Hooks = {}, Deploy = {}, Rockspec = {} }
6 6
7 7
8 8
diff --git a/src/luarocks/fetch.lua b/src/luarocks/fetch.lua
index be0cbcb7..07c4bf94 100644
--- a/src/luarocks/fetch.lua
+++ b/src/luarocks/fetch.lua
@@ -1,6 +1,6 @@
1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local assert = _tl_compat and _tl_compat.assert or assert; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type 1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local assert = _tl_compat and _tl_compat.assert or assert; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type
2 2
3local fetch = {Fetch = {}, } 3local fetch = { Fetch = {} }
4 4
5 5
6 6
diff --git a/src/luarocks/repos.lua b/src/luarocks/repos.lua
index 32cb9aa3..e283301c 100644
--- a/src/luarocks/repos.lua
+++ b/src/luarocks/repos.lua
@@ -1,6 +1,6 @@
1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local assert = _tl_compat and _tl_compat.assert or assert; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local os = _tl_compat and _tl_compat.os or os; local pairs = _tl_compat and _tl_compat.pairs or pairs; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type 1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local assert = _tl_compat and _tl_compat.assert or assert; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local os = _tl_compat and _tl_compat.os or os; local pairs = _tl_compat and _tl_compat.pairs or pairs; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type
2 2
3local repos = {Op = {}, Paths = {}, } 3local repos = { Op = {}, Paths = {} }
4 4
5 5
6 6
diff --git a/src/luarocks/tools/patch.lua b/src/luarocks/tools/patch.lua
index 4bf27e31..8dc188a6 100644
--- a/src/luarocks/tools/patch.lua
+++ b/src/luarocks/tools/patch.lua
@@ -8,7 +8,7 @@ local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 th
8 8
9 9
10 10
11local patch = {Lineends = {}, Hunk = {}, File = {}, Files = {}, } 11local patch = { Lineends = {}, Hunk = {}, File = {}, Files = {} }
12 12
13 13
14 14
diff --git a/src/luarocks/tools/tar.lua b/src/luarocks/tools/tar.lua
index 6db1334a..26090d24 100644
--- a/src/luarocks/tools/tar.lua
+++ b/src/luarocks/tools/tar.lua
@@ -1,6 +1,6 @@
1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local math = _tl_compat and _tl_compat.math or math; local string = _tl_compat and _tl_compat.string or string 1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local math = _tl_compat and _tl_compat.math or math; local string = _tl_compat and _tl_compat.string or string
2 2
3local tar = {Header = {}, } 3local tar = { Header = {} }
4 4
5 5
6 6
diff --git a/src/luarocks/tools/zip.lua b/src/luarocks/tools/zip.lua
index 6ff368d0..169a3004 100644
--- a/src/luarocks/tools/zip.lua
+++ b/src/luarocks/tools/zip.lua
@@ -1,7 +1,7 @@
1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local math = _tl_compat and _tl_compat.math or math; local os = _tl_compat and _tl_compat.os or os; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local _tl_table_pack = table.pack or function(...) return { n = select("#", ...), ... } end; local type = type 1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local math = _tl_compat and _tl_compat.math or math; local os = _tl_compat and _tl_compat.os or os; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local _tl_table_pack = table.pack or function(...) return { n = select("#", ...), ... } end; local type = type
2 2
3 3
4local zip = {ZipHandle = {}, LocalFileHeader = {}, Zip = {}, } 4local zip = { ZipHandle = {}, LocalFileHeader = {}, Zip = {} }
5 5
6 6
7 7
diff --git a/src/luarocks/type_check.lua b/src/luarocks/type_check.lua
index 6ca49fc7..cf37462c 100644
--- a/src/luarocks/type_check.lua
+++ b/src/luarocks/type_check.lua
@@ -1,5 +1,5 @@
1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local pairs = _tl_compat and _tl_compat.pairs or pairs; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type 1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local pairs = _tl_compat and _tl_compat.pairs or pairs; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type
2local type_check = {TableSchema = {}, } 2local type_check = { TableSchema = {} }
3 3
4 4
5 5
diff --git a/src/luarocks/upload/api.lua b/src/luarocks/upload/api.lua
index 48a657eb..e6762d76 100644
--- a/src/luarocks/upload/api.lua
+++ b/src/luarocks/upload/api.lua
@@ -1,4 +1,4 @@
1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local os = _tl_compat and _tl_compat.os or os; local package = _tl_compat and _tl_compat.package or package; local pairs = _tl_compat and _tl_compat.pairs or pairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type; local api = {Configuration = {}, Api = {}, } 1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local os = _tl_compat and _tl_compat.os or os; local package = _tl_compat and _tl_compat.package or package; local pairs = _tl_compat and _tl_compat.pairs or pairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local type = type; local api = { Configuration = {}, Api = {} }
2 2
3 3
4 4
diff --git a/src/luarocks/upload/multipart.lua b/src/luarocks/upload/multipart.lua
index 4867aa3d..48da065b 100644
--- a/src/luarocks/upload/multipart.lua
+++ b/src/luarocks/upload/multipart.lua
@@ -1,5 +1,5 @@
1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local math = _tl_compat and _tl_compat.math or math; local pairs = _tl_compat and _tl_compat.pairs or pairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local _tl_table_unpack = unpack or table.unpack; local type = type 1local _tl_compat; if (tonumber((_VERSION or ''):match('[%d.]*$')) or 0) < 5.3 then local p, m = pcall(require, 'compat53.module'); if p then _tl_compat = m end end; local io = _tl_compat and _tl_compat.io or io; local ipairs = _tl_compat and _tl_compat.ipairs or ipairs; local math = _tl_compat and _tl_compat.math or math; local pairs = _tl_compat and _tl_compat.pairs or pairs; local pcall = _tl_compat and _tl_compat.pcall or pcall; local string = _tl_compat and _tl_compat.string or string; local table = _tl_compat and _tl_compat.table or table; local _tl_table_unpack = unpack or table.unpack; local type = type
2local multipart = {File = {}, } 2local multipart = { File = {} }
3 3
4 4
5 5
diff --git a/src/luarocks/util.lua b/src/luarocks/util.lua
index e9c92a8f..ffa53b09 100644
--- a/src/luarocks/util.lua
+++ b/src/luarocks/util.lua
@@ -10,7 +10,7 @@ local cfg = require("luarocks.core.cfg")
10 10
11 11
12 12
13local util = {Fn = {}, } 13local util = { Fn = {} }
14 14
15 15
16 16