Skip to content

chore(deps-dev): bump typescript-to-lua from 0.32.2 to 0.37.1#16

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

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

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 29, 2021

Bumps typescript-to-lua from 0.32.2 to 0.37.1.

Changelog

Sourced from typescript-to-lua's changelog.

Changelog

0.37.0

  • [Important] Deprecated the @phantom, @extension, @metaExtension and @pureAbstract annotations. This is done because there are good alternatives in regular TypeScript, and this helps us simplify the transpiler. For now, using these annotations will result in a warning but they will still continue to function. A few months from now these annotations will no longer be supported, so upgrade if possible. See Compiler Annotations for more info.
  • Added the MultiReturn<> type and $multi() helper function as the first language extensions. This is to provide a type-safe alternative to the @tupleReturn annotation. For more information see the new Language Extensions page on the docs website.
  • Removed some class transformation code from the transpiler that was no longer used.
  • Fixed a bug causing object spread to malfunction in some cases (#898).
  • Omitted tostring for parameters of template literals (`${}`) that are already known strings.
  • Fixed a bug causing incorrect Lua syntax to be generated in some cases (#944).

0.36.0

  • Upgraded to TypeScript 4.0.
  • Added support for parseInt and parseFloat.
  • Added support for yield* for generator functions.
  • Added support for method, property and accessor decorators.
  • Shebangs at the top of a .ts file will now be preserved.
  • Fixed an issue causing declarations referencing their own identifier to cause a nil reference error.

0.35.0

  • In preparation for some new features, some public APIs have been changed:
    • High-level APIs that read input files from the file system (transpileFiles and transpileProject) now write transpiled files by default. This behavior can be changed by providing a writeFile callback, similarly to TypeScript's program.emit.
    • transpile and emitTranspiledFiles functions have been replaced with the Transpiler class. See documentation for usage examples.
  • Fixed declarationDir option not being respected.
  • Function.length is supported now.
  • String iteration is now supported.
  • Exposed parseConfigFileWithSystem to parse tsconfig.json files as part of the tstl API.
  • Fixed string.replace incorrectly escaping some replaceValue characters (().+-*?[^$)
  • Fixed several other string operations behaving differently from JS (mostly regarding indices out of bounds and NaN arguments).
  • Fixed a bug where the length argument of String.prototype.substr was evaluated twice.
  • Fixed some missing dependencies in LuaLib classes (Map, Set, WeakMap, WeakSet)

0.34.0

  • Added new "luaTarget" option value - "universal". Choosing this target makes TypeScriptToLua generate code compatible with all supported Lua targets.

    • BREAKING CHANGE: This is a new default target. If you have been depending on LuaJIT being chosen implicitly, you now have to enable it explicitly with "luaTarget": "JIT" in the tsconfig.json file.
  • TypeScript has been updated to 3.9. See release notes for details. This update includes some fixes specific to our API usage:

    • Importing a non-module using import "./file" produced a TS2307 error #35973
    • TypeScript now tries to find a call signature even in presence of type errors #36665:
      function foo(this: void, x: string) {}
      foo(1);
      -- Before: with 3.8 (this: void ignored due to signature mismatch)

... (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 Jan 29, 2021
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 12, 2021

Superseded by #17.

@dependabot dependabot bot closed this Feb 12, 2021
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/typescript-to-lua-0.37.1 branch February 12, 2021 06:59
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