Socket
Socket
Sign inDemoInstall

typescript-to-lua

Package Overview
Dependencies
Maintainers
2
Versions
157
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-to-lua - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

4

dist/Transpiler.js

@@ -79,3 +79,3 @@ "use strict";

LuaTranspiler.prototype.accessPrefix = function (node) {
return node && this.isModule ?
return node && (this.isModule || this.namespace.length > 0) ?
"local " : "";

@@ -329,3 +329,3 @@ };

var variableDeclaration = _a[_i];
result += this.transpileVariableDeclaration(variableDeclaration);
result += this.indent + this.transpileVariableDeclaration(variableDeclaration);
}

@@ -332,0 +332,0 @@ result += this.indent + ("while(" + this.transpileExpression(node.condition) + ") do\n");

{
"name": "typescript-to-lua",
"license": "MIT",
"version": "0.1.3",
"version": "0.1.4",
"repository": "https://github.com/Perryvw/TypescriptToLua",

@@ -6,0 +6,0 @@ "scripts": {

@@ -41,2 +41,3 @@ # TypescriptToLua

- [Dota 2 Modding](https://github.com/ModDota/API/tree/master/declarations/server)
- [Defold Game Engine Scripting](https://github.com/dasannikov/DefoldTypeScript/blob/master/defold.d.ts)

@@ -43,0 +44,0 @@ ## Sublime Text integration

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc