
Security News
minimatch Patches 3 High-Severity ReDoS Vulnerabilities
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.
factorio-type-kit
Advanced tools
 [](https://github.com/semantic-release/semantic-release)
Generate type definitions for the Factorio Lua API.
Currently supports typescript and a JSON IR.
factorio-type-kit is generally used to write mods. It can also be used to generate code based on the Factorio API.
Writing a factorio mod in TypeScript?
npm install factorio-type-kit or yarn add factorio-type-kitGenerate API definitions
import * from "factorio-type-kit" directly into your JS or TS applicationproduce & printTs, etc. Please see src/bin.ts to see them in self-documenting action :)npxnpx factorio-type-kit --help to use the CLI$ npx factorio-type-kit --help
Usage
$ factorio-type-kit --language=[...]
Options
--language, -l ts,json
--output, -o path/to/filename/outupt.[ts|json]
Examples
$ factorio-type-kit -l ts -o factorio.schema.d.ts
factorio-type-kit is an essential part of the solution. FTK does or supports the following:
With your programming tools of choice, hopefully, you can now author factorio greatness with more power than Lua. Lua is a fine scripting language--but mods can be challenging without sufficient static analysis. Types can help!
FAQs
 [](https://github.com/semantic-release/semantic-release)
The npm package factorio-type-kit receives a total of 2 weekly downloads. As such, factorio-type-kit popularity was classified as not popular.
We found that factorio-type-kit 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
minimatch patched three high-severity ReDoS vulnerabilities that can stall the Node.js event loop, and Socket has released free certified patches.

Research
/Security News
Socket uncovered 26 malicious npm packages tied to North Korea's Contagious Interview campaign, retrieving a live 9-module infostealer and RAT from the adversary's C2.

Research
An impersonated golang.org/x/crypto clone exfiltrates passwords, executes a remote shell stager, and delivers a Rekoobe backdoor on Linux.