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 1.13.2 to 1.13.3

dist/lualib/5.0/NumberToFixed.lua

1

dist/LuaLib.d.ts

@@ -58,2 +58,3 @@ import { EmitHost } from "./transpilation";

NumberToString = "NumberToString",
NumberToFixed = "NumberToFixed",
ObjectAssign = "ObjectAssign",

@@ -60,0 +61,0 @@ ObjectDefineProperty = "ObjectDefineProperty",

@@ -63,2 +63,3 @@ "use strict";

LuaLibFeature["NumberToString"] = "NumberToString";
LuaLibFeature["NumberToFixed"] = "NumberToFixed";
LuaLibFeature["ObjectAssign"] = "ObjectAssign";

@@ -65,0 +66,0 @@ LuaLibFeature["ObjectDefineProperty"] = "ObjectDefineProperty";

@@ -351,2 +351,7 @@ {

},
"NumberToFixed": {
"exports": [
"__TS__NumberToFixed"
]
},
"ObjectAssign": {

@@ -353,0 +358,0 @@ "exports": [

@@ -351,2 +351,7 @@ {

},
"NumberToFixed": {
"exports": [
"__TS__NumberToFixed"
]
},
"ObjectAssign": {

@@ -353,0 +358,0 @@ "exports": [

@@ -18,2 +18,4 @@ "use strict";

: (0, lualib_1.transformLuaLibFunction)(context, lualib_1.LuaLibFeature.NumberToString, node, caller, ...params);
case "toFixed":
return (0, lualib_1.transformLuaLibFunction)(context, lualib_1.LuaLibFeature.NumberToFixed, node, caller, ...params);
default:

@@ -20,0 +22,0 @@ context.diagnostics.push((0, diagnostics_1.unsupportedProperty)(calledMethod.name, "number", expressionName));

2

package.json
{
"name": "typescript-to-lua",
"version": "1.13.2",
"version": "1.13.3",
"description": "A generic TypeScript to Lua transpiler. Write your code in TypeScript and publish Lua!",

@@ -5,0 +5,0 @@ "repository": "https://github.com/TypeScriptToLua/TypeScriptToLua",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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