You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

typescript-to-lua

Package Overview
Dependencies
Maintainers
2
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.7.0 to 1.7.1

15

language-extensions/index.d.ts

@@ -633,3 +633,3 @@ type AnyTable = Record<any, any>;

*/
declare interface LuaReadonlyMap<K extends AnyNotNil = AnyNotNil, V = any> extends LuaPairsIterable<K, V> {
declare interface ReadonlyLuaMap<K extends AnyNotNil = AnyNotNil, V = any> extends LuaPairsIterable<K, V> {
get: LuaTableGetMethod<K, V>;

@@ -664,4 +664,15 @@ has: LuaTableHasMethod<K>;

*/
declare interface LuaReadonlySet<T extends AnyNotNil = AnyNotNil> extends LuaPairsKeyIterable<T> {
declare interface ReadonlyLuaSet<T extends AnyNotNil = AnyNotNil> extends LuaPairsKeyIterable<T> {
has: LuaTableHasMethod<T>;
}
interface ObjectConstructor {
/** Returns an array of keys of an object, when iterated with `pairs`. */
keys<K>(o: LuaPairsIterable<K, any> | LuaPairsKeyIterable<K>): K[];
/** Returns an array of values of an object, when iterated with `pairs`. */
values<V>(o: LuaPairsIterable<any, V>): V[];
/** Returns an array of key/values of an object, when iterated with `pairs`. */
entries<K, V>(o: LuaPairsIterable<K, V>): Array<[K, V]>;
}

2

package.json
{
"name": "typescript-to-lua",
"version": "1.7.0",
"version": "1.7.1",
"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",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc