Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 19, 2022

Bumps typescript-to-lua from 1.0.1 to 1.9.0.

Changelog

Sourced from typescript-to-lua's changelog.

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.

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.

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.

1.6.0

  • [Breaking] Upgraded TypeScript to 4.7
  • Fixed a bug where EmitOptions plugins were ignored
  • Fixed a bug where sometimes function calls (like those to a custom jsx factory) would have a context argument even though noImplicitSelf was specified.
  • Fixed a bug where sometimes noImplicitSelf was ignored because of incorrect file path separators.
  • Fixed lualib_bundle files not correctly being included from node_module packages.
  • Fixed compound assignment operators (e.g. ??= or ||=) not correctly updating the lhs if used as expression instead of statement.

1.5.0

  • Added support for Array.from and Array.of
  • Added support for beforeEmit hook to plugins that runs after tstl is totally done, but before emitting the result.
  • Added support for import expressions (import("./module").then(m => m.foo());)
  • Added tsconfig setting lua51AllowTryCatchInAsyncAwait to disable restrictions on try/catch in combination with async/await in 5.1 (default: false)
  • Added tsconfig setting noImplicitGlobalVariables to disable tstl making variables global in non-module files.
  • Various lualib optimizations
  • JSDoc comments from input TS are now also part of output Lua as LDoc comments.
    • Can be disabled with removeComments tsconfig setting.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 19, 2022
Bumps [typescript-to-lua](https://github.com/TypeScriptToLua/TypeScriptToLua) from 1.0.1 to 1.9.0.
- [Release notes](https://github.com/TypeScriptToLua/TypeScriptToLua/releases)
- [Changelog](https://github.com/TypeScriptToLua/TypeScriptToLua/blob/master/CHANGELOG.md)
- [Commits](TypeScriptToLua/TypeScriptToLua@v1.0.1...v1.9.0)

---
updated-dependencies:
- dependency-name: typescript-to-lua
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/typescript-to-lua-1.9.0 branch from 2f4b827 to 38110c0 Compare August 28, 2022 09:10
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 4, 2022

Looks like typescript-to-lua is up-to-date now, so this is no longer needed.

@dependabot dependabot bot closed this Sep 4, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/typescript-to-lua-1.9.0 branch September 4, 2022 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants