New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

lua_styles

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lua_styles

Only beautify your code (indentation, spacing, alignment), your code lines will not be increased or decreased.

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

lua_styles

Only beautify your code (indentation, spacing, alignment), your code lines will not be increased or decreased.

仅给你的代码做美化处理(缩进,空格,对齐),你的代码行数不会被增加或者减少。 出现错误时仅会跳过行继续处理

local a  =2;
local abbs  =2;
local txxx = {
local x={   
     abc    =1, -- hello world
    ["hello"]=2,
    b=2,c=3,   
     a=2,
     xx={}
     a=function () end; --[[ he
     llo --]]
     local x=1,

     a  =2;
     bb=3
ccc=3,

     a=2,
     bb=2,
     ccc=3
            }}

            local a  =1
            abc  =1
 longolojojo=function() end;
 azz=1

             local a =1
            abc =1
 longolojojo=function() end;
 azz=1

 {1,2,3,4,5}
local a,b, ej={{1,2},{2,{3,4,{2}}}},(1),2,1
function a : b()
    end

    while x >100 do print(x) end

if a and b or c then 
  function a() return 
function () end  end 
  end 

local tab ={1,
2,3,
4,5,6,7,function a() end,function b()
end, function c() if x<1 then end 
end
}

if a>b then
    else end
    if b<a then
        print({1,2,3})
    elseif  xx      then
        print(2)
        else 
            print("3")
end

function a()
while a<b 
do print(1) end do 
    print("abcdefg")
end
    return function 

        (a,b
    ,c,
d,
e,
f) print(a,b,c,d,e);
    end
end
 1aa
dslkfjksdl 20aa

local hero={ name="fox",power=10     ,hp=    100 .1   ,}
local hero=   {    name="fox",
power=10,
hp=100,}
local hero   ={
    name="fox",
power=10,
hp=100,
}

local a= (function() end)() +1/2*3>>1<<3;
error code test  -- note

{1,1 ,}[1](1)
(hello)[1]
helle[1] .a .b[index].c[not not a].de
;
local keys=[1 ]   (1)[    1   ]
{
a=1,
b={1,c={
    sd=1,ds,
}}
a={
b={
c={
d={1,2,3}
}
}
}
}
fun add( a,b)             {
return {(b+a<<1>>2),2}[2]
;                    } print":"
print({1,a().b().c()[1],2}+{}..{}+0x1)
     ::  continue ::
print(function ()
print(function ()
print(function ()
print(12)end)end)end)
{
(
[
123,4
]
)
}

goto     continue 1
local x= function(
a,
    b,
c,
            d,
e
)return{a,b,c,d,e,};
end
1qaaaaaa

to

local a    = 2; 
local abbs = 2; 
local txxx = {
    local x = {
        abc       = 1, -- hello world
        ["hello"] = 2, 
        b         = 2, c = 3, 
        a         = 2, 
        xx        = {}
        a         = function() end; --[[ he
     llo --]]
        local x   = 1, 

        a   = 2; 
        bb  = 3
        ccc = 3, 

        a = 2, 
        bb = 2, 
        ccc = 3
    }}

local a     = 1
abc         = 1
longolojojo = function() end; 
azz         = 1

local a = 1
abc = 1
longolojojo = function() end; 
azz = 1

{1, 2, 3, 4, 5}
local a, b, ej = {{1, 2}, {2, {3, 4, {2}}}}, (1), 2, 1
function a:b()
end

while x > 100 do print(x) end

if a and b or c then 
    function a() return 
        function() end end
end

local tab = {1, 
    2, 3, 
    4, 5, 6, 7, function a() end, function b()
    end, function c() if x < 1 then end
    end
}

if a > b then 
else end
if b < a then 
    print({1, 2, 3})
elseif xx then 
    print(2)
else 
    print("3")
end

function a()
    while a < b
    do print(1) end do 
        print("abcdefg")
    end
    return function

        (a, b
            , c, 
            d, 
            e, 
            f) print(a, b, c, d, e); 
    end
end
1aa
dslkfjksdl 20aa

local hero = {name = "fox", power = 10, hp = 100 .1, }
local hero = {name = "fox", 
    power = 10, 
    hp = 100, }
local hero = {
    name = "fox", 
    power = 10, 
    hp = 100, 
}

local a = (function() end)() + 1 / 2 * 3 >> 1 << 3; 
error code test -- note

{1, 1, }[1](1)
(hello)[1]
helle[1].a.b[index].c[not not a].de
; 
local keys = [1](1)[1]
{
    a = 1, 
    b = {1, c = {
        sd = 1, ds, 
    }}
    a = {
        b = {
            c = {
                d = {1, 2, 3}
            }
        }
    }
}
fun add(a, b){
    return {(b + a << 1 >> 2), 2}[2]
    ; } print ":"
print({1, a().b().c()[1], 2} + {} .. {} + 0x1)
::continue::
print(function()
    print(function()
        print(function()
            print(12) end) end) end)
{
    (
        [
            123, 4
        ]
    )
}

goto continue 1
local x = function(
    a, 
    b, 
    c, 
    d, 
    e
) return {a, b, c, d, e, }; 
end
1qaaaaaa

out error

Uncaught SyntaxError: Invalid or unexpected token "1aa" 75:0
Uncaught SyntaxError: Invalid or unexpected token "20aa" 76:11
Uncaught SyntaxError: Invalid or unexpected token "1qaaaaaa" 135:0

Keywords

lua

FAQs

Package last updated on 20 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts