@@ -28,8 +28,11 @@ export enum LuaLibFeature {
2828 ArraySetLength = "ArraySetLength" ,
2929 Class = "Class" ,
3030 ClassExtends = "ClassExtends" ,
31+ CloneDescriptor = "CloneDescriptor" ,
3132 Decorate = "Decorate" ,
32- Descriptors = "Descriptors" ,
33+ DecorateParam = "DecorateParam" ,
34+ Delete = "Delete" ,
35+ DelegatedYield = "DelegatedYield" ,
3336 Error = "Error" ,
3437 FunctionBind = "FunctionBind" ,
3538 Generator = "Generator" ,
@@ -44,14 +47,18 @@ export enum LuaLibFeature {
4447 NumberIsNaN = "NumberIsNaN" ,
4548 NumberToString = "NumberToString" ,
4649 ObjectAssign = "ObjectAssign" ,
50+ ObjectDefineProperty = "ObjectDefineProperty" ,
4751 ObjectEntries = "ObjectEntries" ,
4852 ObjectFromEntries = "ObjectFromEntries" ,
53+ ObjectGetOwnPropertyDescriptor = "ObjectGetOwnPropertyDescriptor" ,
54+ ObjectGetOwnPropertyDescriptors = "ObjectGetOwnPropertyDescriptors" ,
4955 ObjectKeys = "ObjectKeys" ,
5056 ObjectRest = "ObjectRest" ,
5157 ObjectValues = "ObjectValues" ,
5258 ParseFloat = "ParseFloat" ,
5359 ParseInt = "ParseInt" ,
5460 Set = "Set" ,
61+ SetDescriptor = "SetDescriptor" ,
5562 WeakMap = "WeakMap" ,
5663 WeakSet = "WeakSet" ,
5764 SourceMapTraceBack = "SourceMapTraceBack" ,
@@ -81,11 +88,14 @@ export enum LuaLibFeature {
8188const luaLibDependencies : Partial < Record < LuaLibFeature , LuaLibFeature [ ] > > = {
8289 ArrayFlat : [ LuaLibFeature . ArrayConcat ] ,
8390 ArrayFlatMap : [ LuaLibFeature . ArrayConcat ] ,
91+ Decorate : [ LuaLibFeature . CloneDescriptor ] ,
92+ Delete : [ LuaLibFeature . ObjectGetOwnPropertyDescriptors ] ,
8493 Error : [ LuaLibFeature . New , LuaLibFeature . Class ] ,
8594 FunctionBind : [ LuaLibFeature . Unpack ] ,
8695 Generator : [ LuaLibFeature . Symbol ] ,
8796 InstanceOf : [ LuaLibFeature . Symbol ] ,
8897 Iterator : [ LuaLibFeature . Symbol ] ,
98+ ObjectDefineProperty : [ LuaLibFeature . CloneDescriptor , LuaLibFeature . SetDescriptor ] ,
8999 ObjectFromEntries : [ LuaLibFeature . Iterator , LuaLibFeature . Symbol ] ,
90100 Map : [ LuaLibFeature . InstanceOf , LuaLibFeature . Iterator , LuaLibFeature . Symbol , LuaLibFeature . Class ] ,
91101 Set : [ LuaLibFeature . InstanceOf , LuaLibFeature . Iterator , LuaLibFeature . Symbol , LuaLibFeature . Class ] ,
0 commit comments