Skip to content

chore(deps-dev): bump typescript-to-lua from 1.0.1 to 1.3.4#53

Closed
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/typescript-to-lua-1.3.4
Closed

chore(deps-dev): bump typescript-to-lua from 1.0.1 to 1.3.4#53
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/typescript-to-lua-1.3.4

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 2, 2022

Bumps typescript-to-lua from 1.0.1 to 1.3.4.

Changelog

Sourced from typescript-to-lua's changelog.

Changelog

1.3.0

  • Added LuaPairsIterable language extension to mark objects as iterable with Lua's pairs.
  • Added support for properties on functions.
  • Unicode is no longer escaped and used as-is for "luaTarget": "JIT".
  • Fixed some bugs related to destructuring in loops and function parameters.
  • Fixed incorrect global being generated for some try statements.
  • Fixed some incorrect behavior for ?? and ? : when generic types were involved.
  • Added missing ... optimization in cases where casts or parentheses are used.
  • Fixed a bug for Promise when resolving with another Promise. This also fixes some unexpected behavior with async which is built with Promises.
  • Fixed async functions not aborting after returning from a catch block.

1.2.0

  • Upgraded to TypeScript 4.5.x.
  • Improved general output formatting.
  • Added support for more complicated (nested) destructuring patterns, also fixing an exception they caused before.
  • Fixed incorrect interactions between standard library functionality and optional chaining, e.g. myArray?.forEach().
  • Fixed rejected promises sometimes not getting the correct rejection reason.
  • Fixed some delete behavior that was different in Lua compared to JS.
  • Fixed a bug causing exported classes to lose their decorators.
  • Fixed plugins checking for ts-node from the wrong location (tsconfig directory), plugins will now check for ts-node relative to the tstl directory.

Under the hood:

  • We can now transform using preceding statements, allowing all kinds of optimizations and improvements to output Lua.
  • Updated various language constructs to use preceding statements instead of inline immediately-invoked functions.

1.1.0

  • [Breaking] We now use TypeScript's JSX transformer instead of maintaining our own. As a result, React.createElement now requires a self parameter, so remove @noSelf, this: void if necessary.
  • [Breaking(-ish)] Due to limitations in 5.1, try/catch can no longer be used in async or generator functions when targetting Lua 5.1. This was already broken but now tstl will explicitly give an error if you try.
  • Added support for the switch statement in all versions! (Before they were not supported in 5.1 and universal).
  • Added support for string.prototype.replaceAll and improved string.prototype.replace implementation.
  • Added noResolvePaths tsconfig option to disable module resolution for environment-provided modules.
  • Implemented support for void expressions, i.e void(0) or void(ignoreThisReturnValue()).
  • Upgraded TypeScript to 4.4.4 and made it a peer dependency to hopefully avoid plugin issues due to mismatching TypeScript versions.
  • The $vararg language extension can be used to access CLI arguments, now also in bundles.
  • Fixed a bug regarding baseUrl and relative imports.
  • Fixed sourceMapTraceback: true not working correctly for bundles.
  • Fixed an issue regarding hoisting in switch case clauses.
  • Added missing function context validation cases for object literals.
  • Fixed a problem where awaiting rejected promises in try/catch would give the wrong result.
  • Fixed an issue where chained .then calls on already-resolved or already-rejected promises would cause some callbacks to not fire while they should.
  • Fixed source file paths in source maps being absolute, they are now relative again.

1.0.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.0.1 to 1.3.4.
- [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.3.4)

---
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 added the dependencies Pull requests that update a dependency file label Mar 2, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 18, 2022

Superseded by #54.

@dependabot dependabot bot closed this Mar 18, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/typescript-to-lua-1.3.4 branch March 18, 2022 06:06
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