
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
#luvit-set Straightforward Lua Set library for Luvit
##Install
npmnpm install luvit-set##Usage Start off with
local Set = require("luvit-set")
Then, to create a set (of things you like):
local ilike = Set:new()
to add items to a set:
ilike:add("apples")
ilike:add("bananas")
or, initialise with values on creation:
local ilike = Set:new({"apples", "bananas"})
Let's create another set:
local ulike = Set:new({"apples", "strawberries"})
Then we can:
local welike = ilike + ulike -- union: apples, bananas, strawberries
local webothlike = ilike * ulike -- intersection: apples
local udontlike = ilike - ulike -- subtraction: bananas
Lastly, some conveniences:
local somethingilike = ilike:anelement()
ilike:len() -- 2
for k, _ in pairs(ilike) do
print(k)
end
print(ilike) -- '{"apples", "bananas"}'
local list = ilike:tolist() -- {"apples", "bananas"}
##Tests
npm test luvit-set
##License
LGPL+; see the LICENSE file
FAQs
Straightforward Lua Set library for Luvit
The npm package luvit-set receives a total of 10 weekly downloads. As such, luvit-set popularity was classified as not popular.
We found that luvit-set demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.