Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
TypeScript definitions for Lua standard library
NOTE: In most of cases your environment-specific types would already include this package. In that case you don't need to do anything. If you're a developer of such types you should add
lua-types
as a dependency and load it by adding/// <reference types="lua-types/VERSION" />
yarn add -D lua-types
# or
npm install -D lua-types
tsconfig.json
{
"compilerOptions": {
"types": ["lua-types/VERSION"]
}
}
Currently supported values of VERSION
are:
5.1
5.2
5.3
5.4
jit
Some Lua environments are sandboxed and don't have some globals declared, like io
, os
and
debug
. To avoid registering these globals, you can import core files separately. For example:
{
"compilerOptions": {
"types": [
"lua-types/core/coroutine",
"lua-types/core/global",
"lua-types/core/math",
"lua-types/core/metatable",
"lua-types/core/modules",
"lua-types/core/string",
"lua-types/core/table",
"lua-types/special/jit"
]
}
}
FAQs
TypeScript definitions for Lua standard library
The npm package lua-types receives a total of 521 weekly downloads. As such, lua-types popularity was classified as not popular.
We found that lua-types demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.