You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

typescript-to-lua

Package Overview
Dependencies
Maintainers
2
Versions
169
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
57
17

1.9.0

Diff
p
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.
p
perryvw
published 1.8.2 •
p
perryvw
published 1.8.1 •
p
perryvw
published 1.8.0 •

Changelog

Source

1.8.0

  • Added support for the tsconfig.json paths configuration option.
  • Fixed spreading lua iterables & iterators translating to incorrect lua.
    • You can now write things like [...pairs(obj)].
  • Fixed a bug in module resolution resolving the wrong lua files when having the same file names in nested directories.
  • Fixed a bug causing temporary variables for nested destructuring in loop variables to be outside the loop, instead of inside.
  • Fixed import expressions not actually requiring their import.
  • Fixed super calls not being source-mapped correctly.
p
perryvw
published 1.7.2 •
p
perryvw
published 1.7.1 •
p
perryvw
published 1.7.0 •

Changelog

Source

1.7.0

  • Added support for LuaMap and LuaSet language extensions that translate to very low level Lua table operations. See our docs for more information.
  • Big performance improvements, speeding up TSTL translation by 2-3x. Thanks @GlassBricks!
  • Reduced the use of temorary variables.
  • Moved tsconfig-schema into main TypeScriptToLua repository.
  • Added support for array options in tstl CLI.
  • Fixed bug where promise then was not correctly forwarding the result value to chained promises.
  • Fixed a bug causing false positive errors from jsdoc documentation comments.
  • Fixed various calling context bugs.
p
perryvw
published 1.6.3 •
p
perryvw
published 1.6.2 •
p
perryvw
published 1.6.1 •
SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.