Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 10, 2023

Bumps typescript-to-lua from 1.4.0 to 1.13.3.

Changelog

Sourced from typescript-to-lua's changelog.

Changelog

1.13.0

  • Fixed alternate file extensions (other than .lua, if configured) breaking module resolution and emitted require statements.
  • Added experimental support for "luaLibImport": "require-minimal" configuration option. This will output a lualib bundle containing only the lualib functions used by your code. This might not work if you are including external tstl-generated Lua, for example from a npm package.
  • Added support for the "exports" field in package.json.
  • Fixed some exceptions resulting from invalid language-extensions use.
  • Fixed an exception when using compound assignment (like +=) with array length.

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.

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.

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.

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

... (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)

Bumps [typescript-to-lua](https://github.com/TypeScriptToLua/TypeScriptToLua) from 1.4.0 to 1.13.3.
- [Release notes](https://github.com/TypeScriptToLua/TypeScriptToLua/releases)
- [Changelog](https://github.com/TypeScriptToLua/TypeScriptToLua/blob/master/CHANGELOG.md)
- [Commits](TypeScriptToLua/TypeScriptToLua@v1.4.0...v1.13.3)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 10, 2023
@dependabot dependabot bot requested a review from Toliak March 10, 2023 00:58
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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant