Socket
Socket
Sign inDemoInstall

typescript-to-lua

Package Overview
Dependencies
Maintainers
2
Versions
156
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-to-lua - npm Package Versions

1
16

1.12.1

Diff

perryvw
published 1.12.0 •

Changelog

Source

1.12.0

  • Reworked how tstl detects and rewrites require statements during dependency resolution. This should reduce the amount of false-positive matches of require statements: require statements in string literals or comments should no longer be detected by tstl. This means require statements in string literals or comments can survive the transpiler without causing a 'could not resolve lua sources' error or getting rewritten into nonsense.
  • Now using math.mod for Lua 5.0 modulo operations.
perryvw
published 1.11.1 •

perryvw
published 1.11.0 •

Changelog

Source

1.11.0

  • [Breaking] Upgraded TypeScript to 4.9.
  • --tstlVerbose now prints more resolver output when failing to resolve Lua sources.
  • Fixed a bug breaking default exported classes with unicode names
  • Relaxed conditions for the always-true warning to false positives.
perryvw
published 1.10.1 •

perryvw
published 1.10.0 •

Changelog

Source

1.10.0

  • [Breaking] Upgraded TypeScript to 4.8.
  • [Breaking] Changed how language-extensions are distributed, you should now put "types": ["@typescript-to-lua/language-extensions"] in your tsconfig.json (instead of "typescript-to-lua/...").
  • Added support for Lua 5.0, thanks for the effort @YoRyan!
  • Added support for TypeScript 4.7 instantiation expressions.
  • Fixed a bug causing some require uses not being recognized my module resolution, leading to missing files in the output.
perryvw
published 1.10.0-beta.0 •

perryvw
published 1.9.0 •

Changelog

Source

1.9.0

  • Added a warning when trying to use a type in a condition that can never be false in Lua, such as numbers or strings. (Only when strictNullChecks is enabled.)
  • Fixed some missing and misplaced errors when trying to reference LuaTable/LuaMap/LuaSet functions without calling them.
  • Fixed a bug in the get() type of ReadOnlyLuaMap. It is now typed the same as LuaMap, i.e. it can return undefined.
  • Fixed an issue in bundling that could sometimes lead to invalid bundle entry requires.
  • Added a warning when using paths without specifying baseUrl.
  • Fixed exception while checking for standard library types.
perryvw
published 1.8.2 •

perryvw
published 1.8.1 •

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc