javonet-nodejs-sdk 2.5.9 → 2.5.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (521) hide show
  1. package/Binaries/Clr/Javonet.Clr.Utils.dll +0 -0
  2. package/Binaries/Clr/JavonetClrRuntime.dll +0 -0
  3. package/Binaries/Jvm/JavonetJvmRuntime.jar +0 -0
  4. package/Binaries/Native/Linux/ARM64/libJavonetActivationService.so +0 -0
  5. package/Binaries/Native/Linux/ARM64/libJavonetCppRuntimeNative.so +0 -0
  6. package/Binaries/Native/Linux/ARM64/libJavonetGoRuntimeNative.so +0 -0
  7. package/Binaries/Native/Linux/ARM64/libJavonetJvmRuntimeNative.so +0 -0
  8. package/Binaries/Native/Linux/ARM64/libJavonetNetcoreRuntimeNative.so +0 -0
  9. package/Binaries/Native/Linux/ARM64/libJavonetPythonRuntimeNative.so +0 -0
  10. package/Binaries/Native/Linux/ARM64/libJavonetRuby278RuntimeNative.so +0 -0
  11. package/Binaries/Native/Linux/ARM64/libJavonetRubyRuntimeNative.so +0 -0
  12. package/Binaries/Native/Linux/ARM64/libJavonetTcpClient.so +0 -0
  13. package/Binaries/Native/Linux/ARM64/libJavonetTcpTlsClient.so +0 -0
  14. package/Binaries/Native/Linux/ARM64/libUtils.so +0 -0
  15. package/Binaries/Native/Linux/ARM64/version.txt +1 -1
  16. package/Binaries/Native/Linux/X64/NativeUtilsUnitTests.xml +30 -30
  17. package/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
  18. package/Binaries/Native/Linux/X64/libJavonetCppRuntimeNative.so +0 -0
  19. package/Binaries/Native/Linux/X64/libJavonetGoRuntimeNative.so +0 -0
  20. package/Binaries/Native/Linux/X64/libJavonetJvmRuntimeNative.so +0 -0
  21. package/Binaries/Native/Linux/X64/libJavonetNetcoreRuntimeNative.so +0 -0
  22. package/Binaries/Native/Linux/X64/libJavonetNodejs1816RuntimeNative.so +0 -0
  23. package/Binaries/Native/Linux/X64/libJavonetNodejsRuntimeNative.so +0 -0
  24. package/Binaries/Native/Linux/X64/libJavonetPerlRuntimeNative.so +0 -0
  25. package/Binaries/Native/Linux/X64/libJavonetPythonRuntimeNative.so +0 -0
  26. package/Binaries/Native/Linux/X64/libJavonetRuby278RuntimeNative.so +0 -0
  27. package/Binaries/Native/Linux/X64/libJavonetRubyRuntimeNative.so +0 -0
  28. package/Binaries/Native/Linux/X64/libJavonetTcpClient.so +0 -0
  29. package/Binaries/Native/Linux/X64/libJavonetTcpTlsClient.so +0 -0
  30. package/Binaries/Native/Linux/X64/libUtils.so +0 -0
  31. package/Binaries/Native/Linux/X64/openssl3/libJavonetActivationService.so +0 -0
  32. package/Binaries/Native/Linux/X64/openssl3/libJavonetTcpTlsClient.so +0 -0
  33. package/Binaries/Native/Linux/X64/openssl3/libUtils.so +0 -0
  34. package/Binaries/Native/Linux/X64/version.txt +1 -1
  35. package/Binaries/Native/MacOs/X64/libJavonetActivationService.dylib +0 -0
  36. package/Binaries/Native/MacOs/X64/libJavonetCppRuntimeNative.dylib +0 -0
  37. package/Binaries/Native/MacOs/X64/libJavonetGoRuntimeNative.dylib +0 -0
  38. package/Binaries/Native/MacOs/X64/libJavonetJvmRuntimeNative.dylib +0 -0
  39. package/Binaries/Native/MacOs/X64/libJavonetNetcoreRuntimeNative.dylib +0 -0
  40. package/Binaries/Native/MacOs/X64/libJavonetNodejs1816RuntimeNative.dylib +0 -0
  41. package/Binaries/Native/MacOs/X64/libJavonetNodejsRuntimeNative.dylib +0 -0
  42. package/Binaries/Native/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
  43. package/Binaries/Native/MacOs/X64/libJavonetPythonRuntimeNative.dylib +0 -0
  44. package/Binaries/Native/MacOs/X64/libJavonetRuby278RuntimeNative.dylib +0 -0
  45. package/Binaries/Native/MacOs/X64/libJavonetRubyRuntimeNative.dylib +0 -0
  46. package/Binaries/Native/MacOs/X64/libJavonetTcpClient.dylib +0 -0
  47. package/Binaries/Native/MacOs/X64/libJavonetTcpTlsClient.dylib +0 -0
  48. package/Binaries/Native/MacOs/X64/libUtils.dylib +0 -0
  49. package/Binaries/Native/MacOs/X64/version.txt +1 -1
  50. package/Binaries/Native/Windows/ARM64/JavonetActivationService.dll +0 -0
  51. package/Binaries/Native/Windows/ARM64/JavonetCppRuntimeNative.dll +0 -0
  52. package/Binaries/Native/Windows/ARM64/JavonetGoRuntimeNative.dll +0 -0
  53. package/Binaries/Native/Windows/ARM64/JavonetJvmRuntimeNative.dll +0 -0
  54. package/Binaries/Native/Windows/ARM64/JavonetNetcoreRuntimeNative.dll +0 -0
  55. package/Binaries/Native/Windows/ARM64/JavonetPythonRuntimeNative.dll +0 -0
  56. package/Binaries/Native/Windows/ARM64/JavonetRuby278RuntimeNative.dll +0 -0
  57. package/Binaries/Native/Windows/ARM64/JavonetRubyRuntimeNative.dll +0 -0
  58. package/Binaries/Native/Windows/ARM64/JavonetTcpClient.dll +0 -0
  59. package/Binaries/Native/Windows/ARM64/JavonetTcpTlsClient.dll +0 -0
  60. package/Binaries/Native/Windows/ARM64/Utils.dll +0 -0
  61. package/Binaries/Native/Windows/ARM64/version.txt +0 -0
  62. package/Binaries/Native/Windows/X64/JavonetActivationService.dll +0 -0
  63. package/Binaries/Native/Windows/X64/JavonetClrRuntimeNative.dll +0 -0
  64. package/Binaries/Native/Windows/X64/JavonetCppRuntimeNative.dll +0 -0
  65. package/Binaries/Native/Windows/X64/JavonetGoRuntimeNative.dll +0 -0
  66. package/Binaries/Native/Windows/X64/JavonetJvmRuntimeNative.dll +0 -0
  67. package/Binaries/Native/Windows/X64/JavonetNetcoreRuntimeNative.dll +0 -0
  68. package/Binaries/Native/Windows/X64/JavonetNodejs1816RuntimeNative.dll +0 -0
  69. package/Binaries/Native/Windows/X64/JavonetNodejsRuntimeNative.dll +0 -0
  70. package/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
  71. package/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
  72. package/Binaries/Native/Windows/X64/JavonetRuby278RuntimeNative.dll +0 -0
  73. package/Binaries/Native/Windows/X64/JavonetRubyRuntimeNative.dll +0 -0
  74. package/Binaries/Native/Windows/X64/JavonetTcpClient.dll +0 -0
  75. package/Binaries/Native/Windows/X64/JavonetTcpTlsClient.dll +0 -0
  76. package/Binaries/Native/Windows/X64/Utils.dll +0 -0
  77. package/Binaries/Native/Windows/X64/version.txt +1 -1
  78. package/Binaries/Native/Windows/X86/JavonetActivationService.dll +0 -0
  79. package/Binaries/Native/Windows/X86/JavonetClrRuntimeNative.dll +0 -0
  80. package/Binaries/Native/Windows/X86/JavonetCppRuntimeNative.dll +0 -0
  81. package/Binaries/Native/Windows/X86/JavonetGoRuntimeNative.dll +0 -0
  82. package/Binaries/Native/Windows/X86/JavonetJvmRuntimeNative.dll +0 -0
  83. package/Binaries/Native/Windows/X86/JavonetNetcoreRuntimeNative.dll +0 -0
  84. package/Binaries/Native/Windows/X86/JavonetPythonRuntimeNative.dll +0 -0
  85. package/Binaries/Native/Windows/X86/JavonetTcpClient.dll +0 -0
  86. package/Binaries/Native/Windows/X86/JavonetTcpTlsClient.dll +0 -0
  87. package/Binaries/Native/Windows/X86/Utils.dll +0 -0
  88. package/Binaries/Native/Windows/X86/version.txt +1 -1
  89. package/Binaries/Netcore/Javonet.Netcore.Core.dll +0 -0
  90. package/Binaries/Netcore/Javonet.Netcore.Utils.dll +0 -0
  91. package/Binaries/Nodejs/index.js +2 -0
  92. package/Binaries/Nodejs/lib/core/delegatesCache/DelegatesCache.js +35 -0
  93. package/Binaries/Nodejs/lib/core/handler/ConvertTypeHandler.js +38 -0
  94. package/Binaries/Nodejs/lib/core/handler/GetInstanceMethodAsDelegateHandler.js +73 -0
  95. package/Binaries/Nodejs/lib/core/handler/GetStaticMethodAsDelegateHandler.js +74 -0
  96. package/Binaries/Nodejs/lib/core/handler/Handler.js +10 -0
  97. package/Binaries/Nodejs/lib/core/handler/InvokeDelegateHandler.js +36 -0
  98. package/Binaries/Nodejs/lib/core/handler/PassDelegateHandler.js +157 -0
  99. package/Binaries/Nodejs/lib/sdk/InvocationContext.js +43 -0
  100. package/Binaries/Nodejs/lib/sdk/RuntimeContext.js +9 -0
  101. package/Binaries/Nodejs/lib/utils/CommandType.js +6 -1
  102. package/Binaries/Nodejs/lib/utils/TypesConverter.js +91 -0
  103. package/Binaries/Nodejs/lib/utils/guid/generateGuid.js +9 -0
  104. package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-events +62 -0
  105. package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-highlight +54 -0
  106. package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-load +144 -0
  107. package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-load-dump +303 -0
  108. package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-parse-emit +123 -0
  109. package/Binaries/Perl/Linux/X64/deps/lib/perl5/Capture/Tiny.pm +23 -7
  110. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Cache.pm +1 -1
  111. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document/File.pm +1 -1
  112. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document/Fragment.pm +1 -1
  113. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document/Normalized.pm +1 -1
  114. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document.pm +102 -19
  115. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Dumper.pm +1 -1
  116. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Element.pm +24 -1
  117. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Exception/ParserRejection.pm +1 -1
  118. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Exception.pm +1 -1
  119. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Find.pm +1 -1
  120. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Lexer.pm +39 -4
  121. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Node.pm +1 -1
  122. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Normal/Standard.pm +1 -1
  123. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Normal.pm +1 -1
  124. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Singletons.pm +1 -1
  125. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Break.pm +1 -1
  126. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Compound.pm +6 -2
  127. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Data.pm +1 -1
  128. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/End.pm +1 -1
  129. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Expression.pm +1 -1
  130. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Given.pm +1 -1
  131. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Include/Perl6.pm +1 -1
  132. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Include.pm +101 -1
  133. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Null.pm +1 -1
  134. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Package.pm +1 -1
  135. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Scheduled.pm +1 -1
  136. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Sub.pm +1 -1
  137. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Unknown.pm +1 -1
  138. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/UnmatchedBrace.pm +1 -1
  139. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Variable.pm +1 -1
  140. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/When.pm +1 -1
  141. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement.pm +1 -1
  142. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Block.pm +1 -1
  143. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Condition.pm +1 -1
  144. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Constructor.pm +1 -1
  145. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/For.pm +1 -1
  146. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Given.pm +1 -1
  147. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/List.pm +1 -1
  148. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Signature.pm +61 -0
  149. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Subscript.pm +1 -1
  150. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Unknown.pm +1 -1
  151. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/When.pm +1 -1
  152. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure.pm +2 -1
  153. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/ArrayIndex.pm +1 -1
  154. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Attribute.pm +1 -1
  155. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/BOM.pm +1 -1
  156. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Cast.pm +1 -1
  157. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Comment.pm +1 -1
  158. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/DashedWord.pm +1 -1
  159. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Data.pm +1 -1
  160. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/End.pm +1 -1
  161. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/HereDoc.pm +1 -1
  162. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Label.pm +1 -1
  163. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Magic.pm +1 -1
  164. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Binary.pm +1 -1
  165. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Exp.pm +1 -1
  166. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Float.pm +1 -1
  167. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Hex.pm +1 -1
  168. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Octal.pm +1 -1
  169. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Version.pm +1 -1
  170. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number.pm +1 -1
  171. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Operator.pm +1 -1
  172. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Pod.pm +1 -1
  173. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Prototype.pm +1 -1
  174. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Double.pm +1 -1
  175. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Interpolate.pm +1 -1
  176. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Literal.pm +1 -1
  177. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Single.pm +1 -1
  178. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote.pm +1 -1
  179. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Backtick.pm +1 -1
  180. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Command.pm +1 -1
  181. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Readline.pm +1 -1
  182. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Regexp.pm +1 -1
  183. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Words.pm +1 -1
  184. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike.pm +1 -1
  185. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp/Match.pm +1 -1
  186. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp/Substitute.pm +1 -1
  187. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp/Transliterate.pm +1 -1
  188. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp.pm +1 -1
  189. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Separator.pm +1 -1
  190. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Structure.pm +1 -1
  191. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Symbol.pm +1 -1
  192. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Unknown.pm +28 -1
  193. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Whitespace.pm +3 -3
  194. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Word.pm +1 -1
  195. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Full.pm +1 -1
  196. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Simple.pm +1 -1
  197. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/_QuoteEngine.pm +1 -1
  198. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token.pm +1 -1
  199. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Tokenizer.pm +26 -1
  200. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Transform/UpdateCopyright.pm +1 -1
  201. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Transform.pm +1 -1
  202. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Util.pm +1 -1
  203. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/XSAccessor.pm +1 -1
  204. package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI.pm +1 -1
  205. package/Binaries/Perl/Linux/X64/deps/lib/perl5/Safe/Isa.pm +213 -0
  206. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Common.pm +273 -0
  207. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Constructor.pm +429 -0
  208. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Dumper.pm +283 -0
  209. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Emitter.pm +1165 -0
  210. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Exception.pm +79 -0
  211. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Grammar.pm +2150 -0
  212. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Highlight.pm +235 -0
  213. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Lexer.pm +962 -0
  214. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Loader.pm +101 -0
  215. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Parser.pm +1469 -0
  216. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Perl.pm +83 -0
  217. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Reader.pm +78 -0
  218. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Render.pm +155 -0
  219. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Representer.pm +230 -0
  220. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Binary.pm +102 -0
  221. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Core.pm +155 -0
  222. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Failsafe.pm +49 -0
  223. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Include.pm +259 -0
  224. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/JSON.pm +259 -0
  225. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Merge.pm +109 -0
  226. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Perl.pm +1000 -0
  227. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Tie/IxHash.pm +156 -0
  228. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/YAML1_1.pm +249 -0
  229. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema.pm +438 -0
  230. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Type/MergeKey.pm +40 -0
  231. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Writer/File.pm +104 -0
  232. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Writer.pm +89 -0
  233. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP.pm +1513 -0
  234. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Attribute-Util-1.07/install.json +1 -1
  235. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/{Capture-Tiny-0.48 → Capture-Tiny-0.50}/MYMETA.json +12 -7
  236. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Capture-Tiny-0.50/install.json +1 -0
  237. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Class-Load-0.25/install.json +1 -1
  238. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Class-Load-XS-0.10/install.json +1 -1
  239. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Clone-0.47/install.json +1 -1
  240. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-Cmp-0.010/install.json +1 -1
  241. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-OptList-0.114/install.json +1 -1
  242. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-UUID-1.227/install.json +1 -1
  243. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-GlobalDestruction-0.14/install.json +1 -1
  244. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-OverloadInfo-0.007/install.json +1 -1
  245. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-StackTrace-2.05/install.json +1 -1
  246. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Dist-CheckConflicts-0.11/install.json +1 -1
  247. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Eval-Closure-0.14/install.json +1 -1
  248. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Config-0.010/install.json +1 -1
  249. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Helpers-0.028/install.json +1 -1
  250. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-InstallPaths-0.014/install.json +1 -1
  251. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-CheckLib-0.31/install.json +1 -1
  252. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/{FFI-Platypus-2.09 → FFI-Platypus-2.10}/MYMETA.json +1 -1
  253. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-Platypus-2.10/install.json +1 -0
  254. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/File-Which-1.27/install.json +1 -1
  255. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/IPC-System-Simple-1.30/install.json +1 -1
  256. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/MRO-Compat-0.15/install.json +1 -1
  257. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-0.4234/install.json +1 -1
  258. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-Tiny-0.051/install.json +1 -1
  259. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Implementation-0.09/install.json +1 -1
  260. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-0.016/install.json +1 -1
  261. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-Conflicts-0.003/install.json +1 -1
  262. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Moose-2.2207/install.json +1 -1
  263. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Nice-Try-v1.3.15/install.json +1 -1
  264. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/{PPI-1.279 → PPI-1.281}/MYMETA.json +101 -94
  265. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-1.281/install.json +1 -0
  266. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-XS-0.910/install.json +1 -1
  267. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-DeprecationManager-0.18/install.json +1 -1
  268. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-Stash-0.40/install.json +1 -1
  269. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-Stash-XS-0.30/install.json +1 -1
  270. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Params-Util-1.102/install.json +1 -1
  271. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Path-Tiny-0.146/install.json +1 -1
  272. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Safe-Isa-1.000010/MYMETA.json +64 -0
  273. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Safe-Isa-1.000010/install.json +1 -0
  274. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-List-Utils-1.68/install.json +1 -1
  275. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-Util-Numeric-0.40/install.json +1 -1
  276. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scope-Guard-0.21/install.json +1 -1
  277. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Exporter-0.991/install.json +1 -1
  278. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Exporter-Progressive-0.001013/install.json +1 -1
  279. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Install-0.929/install.json +1 -1
  280. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Task-Weaken-1.06/install.json +1 -1
  281. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Test-Fatal-0.017/install.json +1 -1
  282. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Try-Tiny-0.32/install.json +1 -1
  283. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Want-0.29/install.json +1 -1
  284. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/YAML-PP-v0.38.0/MYMETA.json +218 -0
  285. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/YAML-PP-v0.38.0/install.json +1 -0
  286. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/aliased-0.34/install.json +1 -1
  287. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/autobox-v3.0.2/install.json +1 -1
  288. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Build.pm +2 -2
  289. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/API.pm +2 -2
  290. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Buffer.pm +2 -2
  291. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Bundle.pm +2 -2
  292. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Closure.pm +3 -3
  293. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Constant.pm +2 -2
  294. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/DL.pm +2 -2
  295. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Function.pm +2 -2
  296. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Internal.pm +2 -2
  297. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang/ASM.pm +2 -2
  298. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang/C.pm +2 -2
  299. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang/Win32.pm +2 -2
  300. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang.pm +2 -2
  301. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Legacy.pm +2 -2
  302. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Memory.pm +2 -2
  303. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Record/Meta.pm +2 -2
  304. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Record/TieArray.pm +2 -2
  305. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Record.pm +2 -2
  306. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/ShareConfig.pm +2 -2
  307. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/PointerSizeBuffer.pm +2 -2
  308. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/StringArray.pm +2 -2
  309. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/StringPointer.pm +2 -2
  310. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/WideString.pm +2 -2
  311. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type.pm +2 -2
  312. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser/Version0.pm +2 -2
  313. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser/Version1.pm +2 -2
  314. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser/Version2.pm +2 -2
  315. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser.pm +2 -2
  316. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus.pm +2 -2
  317. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe/Runner/Builder.pm +2 -2
  318. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe/Runner/Result.pm +2 -2
  319. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe/Runner.pm +2 -2
  320. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe.pm +2 -2
  321. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Temp.pm +2 -2
  322. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Class/Load/XS/XS.so +0 -0
  323. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Data/UUID/UUID.so +0 -0
  324. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/FFI/Platypus/Platypus.so +0 -0
  325. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/List/Util/Util.so +0 -0
  326. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Moose/Moose.so +0 -0
  327. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PPI/.packlist +2 -0
  328. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PPI/XS/XS.so +0 -0
  329. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Package/Stash/XS/XS.so +0 -0
  330. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Params/Util/Util.so +0 -0
  331. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Safe/Isa/.packlist +2 -0
  332. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Want/Want.so +0 -0
  333. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/YAML/PP/.packlist +53 -0
  334. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +131 -87
  335. package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-events +62 -0
  336. package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-events.bat +79 -0
  337. package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-highlight +54 -0
  338. package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-highlight.bat +71 -0
  339. package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load +144 -0
  340. package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load-dump +303 -0
  341. package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load-dump.bat +320 -0
  342. package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load.bat +161 -0
  343. package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-parse-emit +123 -0
  344. package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-parse-emit.bat +140 -0
  345. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Attribute-Util-1.07/install.json +1 -1
  346. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Data-Cmp-0.010/install.json +1 -1
  347. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Data-UUID-1.227/install.json +1 -1
  348. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Nice-Try-v1.3.15/install.json +1 -1
  349. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/{PPI-1.279 → PPI-1.281}/MYMETA.json +101 -94
  350. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-1.281/install.json +1 -0
  351. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-XS-0.910/install.json +1 -1
  352. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Safe-Isa-1.000010/MYMETA.json +64 -0
  353. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Safe-Isa-1.000010/install.json +1 -0
  354. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Scalar-Util-Numeric-0.40/install.json +1 -1
  355. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Test-Fatal-0.017/install.json +1 -1
  356. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Want-0.29/install.json +1 -1
  357. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/YAML-PP-v0.38.0/MYMETA.json +218 -0
  358. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/YAML-PP-v0.38.0/install.json +1 -0
  359. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/autobox-v3.0.2/install.json +1 -1
  360. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Data/UUID/UUID.xs.dll +0 -0
  361. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/.packlist +1 -0
  362. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/XS/XS.xs.dll +0 -0
  363. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Safe/Isa/.packlist +1 -0
  364. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Scalar/Util/Numeric/Numeric.xs.dll +0 -0
  365. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Want/Want.xs.dll +0 -0
  366. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/YAML/PP/.packlist +38 -0
  367. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/autobox/autobox.xs.dll +0 -0
  368. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +62 -18
  369. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Cache.pm +1 -1
  370. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document/File.pm +1 -1
  371. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document/Fragment.pm +1 -1
  372. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document/Normalized.pm +1 -1
  373. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document.pm +102 -19
  374. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Dumper.pm +1 -1
  375. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Element.pm +24 -1
  376. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Exception/ParserRejection.pm +1 -1
  377. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Exception.pm +1 -1
  378. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Find.pm +1 -1
  379. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Lexer.pm +39 -4
  380. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Node.pm +1 -1
  381. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Normal/Standard.pm +1 -1
  382. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Normal.pm +1 -1
  383. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Singletons.pm +1 -1
  384. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Break.pm +1 -1
  385. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Compound.pm +6 -2
  386. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Data.pm +1 -1
  387. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/End.pm +1 -1
  388. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Expression.pm +1 -1
  389. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Given.pm +1 -1
  390. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Include/Perl6.pm +1 -1
  391. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Include.pm +101 -1
  392. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Null.pm +1 -1
  393. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Package.pm +1 -1
  394. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Scheduled.pm +1 -1
  395. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Sub.pm +1 -1
  396. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Unknown.pm +1 -1
  397. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/UnmatchedBrace.pm +1 -1
  398. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Variable.pm +1 -1
  399. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/When.pm +1 -1
  400. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement.pm +1 -1
  401. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Block.pm +1 -1
  402. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Condition.pm +1 -1
  403. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Constructor.pm +1 -1
  404. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/For.pm +1 -1
  405. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Given.pm +1 -1
  406. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/List.pm +1 -1
  407. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Signature.pm +61 -0
  408. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Subscript.pm +1 -1
  409. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Unknown.pm +1 -1
  410. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/When.pm +1 -1
  411. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure.pm +2 -1
  412. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/ArrayIndex.pm +1 -1
  413. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Attribute.pm +1 -1
  414. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/BOM.pm +1 -1
  415. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Cast.pm +1 -1
  416. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Comment.pm +1 -1
  417. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/DashedWord.pm +1 -1
  418. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Data.pm +1 -1
  419. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/End.pm +1 -1
  420. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/HereDoc.pm +1 -1
  421. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Label.pm +1 -1
  422. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Magic.pm +1 -1
  423. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Binary.pm +1 -1
  424. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Exp.pm +1 -1
  425. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Float.pm +1 -1
  426. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Hex.pm +1 -1
  427. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Octal.pm +1 -1
  428. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Version.pm +1 -1
  429. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number.pm +1 -1
  430. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Operator.pm +1 -1
  431. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Pod.pm +1 -1
  432. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Prototype.pm +1 -1
  433. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Double.pm +1 -1
  434. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Interpolate.pm +1 -1
  435. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Literal.pm +1 -1
  436. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Single.pm +1 -1
  437. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote.pm +1 -1
  438. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Backtick.pm +1 -1
  439. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Command.pm +1 -1
  440. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Readline.pm +1 -1
  441. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Regexp.pm +1 -1
  442. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Words.pm +1 -1
  443. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike.pm +1 -1
  444. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp/Match.pm +1 -1
  445. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp/Substitute.pm +1 -1
  446. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp/Transliterate.pm +1 -1
  447. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp.pm +1 -1
  448. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Separator.pm +1 -1
  449. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Structure.pm +1 -1
  450. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Symbol.pm +1 -1
  451. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Unknown.pm +28 -1
  452. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Whitespace.pm +3 -3
  453. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Word.pm +1 -1
  454. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Full.pm +1 -1
  455. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Simple.pm +1 -1
  456. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/_QuoteEngine.pm +1 -1
  457. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token.pm +1 -1
  458. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Tokenizer.pm +26 -1
  459. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Transform/UpdateCopyright.pm +1 -1
  460. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Transform.pm +1 -1
  461. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Util.pm +1 -1
  462. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/XSAccessor.pm +1 -1
  463. package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI.pm +1 -1
  464. package/Binaries/Perl/Windows/X64/deps/lib/perl5/Safe/Isa.pm +213 -0
  465. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Common.pm +273 -0
  466. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Constructor.pm +429 -0
  467. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Dumper.pm +283 -0
  468. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Emitter.pm +1165 -0
  469. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Exception.pm +79 -0
  470. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Grammar.pm +2150 -0
  471. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Highlight.pm +235 -0
  472. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Lexer.pm +962 -0
  473. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Loader.pm +101 -0
  474. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Parser.pm +1469 -0
  475. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Perl.pm +83 -0
  476. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Reader.pm +78 -0
  477. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Render.pm +155 -0
  478. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Representer.pm +230 -0
  479. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Binary.pm +102 -0
  480. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Core.pm +155 -0
  481. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Failsafe.pm +49 -0
  482. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Include.pm +259 -0
  483. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/JSON.pm +259 -0
  484. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Merge.pm +109 -0
  485. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Perl.pm +1000 -0
  486. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Tie/IxHash.pm +156 -0
  487. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/YAML1_1.pm +249 -0
  488. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema.pm +438 -0
  489. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Type/MergeKey.pm +40 -0
  490. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Writer/File.pm +104 -0
  491. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Writer.pm +89 -0
  492. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP.pm +1513 -0
  493. package/Binaries/Python/javonet/core/handler/GetTypeHandler.py +9 -10
  494. package/Binaries/version.txt +1 -1
  495. package/dist/Javonet.d.ts +1137 -102
  496. package/dist/index.js +2 -0
  497. package/dist/lib/core/delegatesCache/DelegatesCache.js +35 -0
  498. package/dist/lib/core/handler/ConvertTypeHandler.js +38 -0
  499. package/dist/lib/core/handler/GetInstanceMethodAsDelegateHandler.js +73 -0
  500. package/dist/lib/core/handler/GetStaticMethodAsDelegateHandler.js +74 -0
  501. package/dist/lib/core/handler/Handler.js +10 -0
  502. package/dist/lib/core/handler/InvokeDelegateHandler.js +36 -0
  503. package/dist/lib/core/handler/PassDelegateHandler.js +157 -0
  504. package/dist/lib/sdk/InvocationContext.js +43 -0
  505. package/dist/lib/sdk/RuntimeContext.js +9 -0
  506. package/dist/lib/utils/CommandType.js +6 -1
  507. package/dist/lib/utils/TypesConverter.js +91 -0
  508. package/dist/lib/utils/guid/generateGuid.js +9 -0
  509. package/lib/core/handler/ConvertTypeHandler.js +38 -0
  510. package/lib/core/handler/GetInstanceMethodAsDelegateHandler.js +73 -0
  511. package/lib/core/handler/GetStaticMethodAsDelegateHandler.js +74 -0
  512. package/lib/core/handler/Handler.js +10 -0
  513. package/lib/core/handler/InvokeDelegateHandler.js +36 -0
  514. package/lib/core/handler/PassDelegateHandler.js +157 -0
  515. package/lib/sdk/RuntimeContext.js +4 -220
  516. package/lib/utils/TypesConverter.js +91 -0
  517. package/package.json +1 -1
  518. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Capture-Tiny-0.48/install.json +0 -1
  519. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-Platypus-2.09/install.json +0 -1
  520. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-1.279/install.json +0 -1
  521. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-1.279/install.json +0 -1
@@ -0,0 +1,38 @@
1
+ const { TypesConverter } = require('../../utils/TypesConverter')
2
+ const AbstractHandler = require('./AbstractHandler')
3
+
4
+ /**
5
+ * ConvertTypeHandler class handles the conversion of JType to Type.
6
+ */
7
+ class ConvertTypeHandler extends AbstractHandler {
8
+ constructor() {
9
+ super()
10
+ /**
11
+ * Minimum required parameters count for the command.
12
+ * @type {number}
13
+ */
14
+ this.requiredParametersCount = 1
15
+ }
16
+
17
+ /**
18
+ * Processes the given command to convert JType to Type.
19
+ * @param {Object} command - The command to process.
20
+ * @returns {any} The converted type.
21
+ */
22
+ process(command) {
23
+ this.validateCommand(command)
24
+ return TypesConverter.convertJTypeToType(command.payload[0])
25
+ }
26
+
27
+ /**
28
+ * Validates the command to ensure it has enough parameters.
29
+ * @param {Object} command - The command to validate.
30
+ */
31
+ validateCommand(command) {
32
+ if (command.payload.length < this.requiredParametersCount) {
33
+ throw new Error('ConvertTypeHandler parameters mismatch')
34
+ }
35
+ }
36
+ }
37
+
38
+ module.exports = ConvertTypeHandler
@@ -0,0 +1,73 @@
1
+ const AbstractHandler = require('./AbstractHandler')
2
+
3
+ /**
4
+ * Handles retrieving an instance method as a delegate.
5
+ */
6
+ class GetInstanceMethodAsDelegateHandler extends AbstractHandler {
7
+ constructor() {
8
+ super()
9
+ /** @type {Function|null} */
10
+ this.method = null
11
+ /** @type {number} */
12
+ this.requiredParametersCount = 2
13
+ /** @type {Array<*>} */
14
+ this.args = []
15
+ /** @type {Object|null} */
16
+ this.instance = null
17
+ }
18
+
19
+ /**
20
+ * Processes a command to retrieve an instance method as a delegate.
21
+ * @param {Object} command - The command containing payload data.
22
+ * @param {Array<*>} command.payload - The payload containing instance, method name, and arguments.
23
+ * @returns {Function} The delegate for the instance method.
24
+ * @throws {Error} If the parameters mismatch or the method cannot be found.
25
+ */
26
+ process(command) {
27
+ if (command.payload.length < this.requiredParametersCount) {
28
+ throw new Error(`${this.constructor.name} parameters mismatch`)
29
+ }
30
+
31
+ this.instance = command.payload[0]
32
+ const methodName = command.payload[1]
33
+ this.args = command.payload.length > 2 ? command.payload.slice(2) : []
34
+
35
+ // Find the method on the instance
36
+ this.method = this.getMethod(this.instance, methodName)
37
+ if (!this.method) {
38
+ throw this.createMethodNotFoundError(this.instance, methodName)
39
+ }
40
+
41
+ // Create a delegate from the method
42
+ const methodDelegate = this.method.bind(this.instance)
43
+ return methodDelegate
44
+ }
45
+
46
+ /**
47
+ * Retrieves the method from the type.
48
+ * @param {Object} type - The class or constructor to search for the method.
49
+ * @param {string} methodName - The name of the method.
50
+ * @returns {Function|null} The found method or null if not found.
51
+ */
52
+ getMethod(type, methodName) {
53
+ const method = type[methodName]
54
+ return typeof method === 'function' ? method : null
55
+ }
56
+
57
+ /**
58
+ * Creates an error message when the method is not found.
59
+ * @param {Object} type - The class or constructor.
60
+ * @param {string} methodName - The method name.
61
+ * @returns {Error} The error with detailed message.
62
+ */
63
+ createMethodNotFoundError(type, methodName) {
64
+ const methods = Object.getOwnPropertyNames(type.prototype).filter(
65
+ (key) => typeof type.prototype[key] === 'function'
66
+ )
67
+ const availableMethods = methods.map((name) => `${name}()`)
68
+ const message = `Method ${methodName} not found in class ${type.name}. Available instance public methods:\n${availableMethods.join('\n')}`
69
+ return new Error(message)
70
+ }
71
+ }
72
+
73
+ module.exports = new GetInstanceMethodAsDelegateHandler()
@@ -0,0 +1,74 @@
1
+ // eslint-disable-next-line no-unused-vars
2
+ const { Command } = require('@javonet/core')
3
+ const AbstractHandler = require('./AbstractHandler')
4
+
5
+ /**
6
+ * Handles retrieving a static method as a delegate.
7
+ */
8
+ class GetStaticMethodAsDelegateHandler extends AbstractHandler {
9
+ /** @type {Array<*>} */
10
+ args = []
11
+
12
+ constructor() {
13
+ super()
14
+ /** @type {Function|null} */
15
+ this.method = null
16
+ /** @type {number} */
17
+ this.requiredParametersCount = 2
18
+ }
19
+
20
+ /**
21
+ * Processes a command to retrieve a static method as a delegate.
22
+ * @param {Command} command - The command containing payload data.
23
+ * @param {Array<*>} command.payload - The payload containing type, method name, and arguments.
24
+ * @returns {Function} The delegate for the static method.
25
+ * @throws {Error} If the parameters mismatch or the method cannot be found.
26
+ */
27
+ process(command) {
28
+ if (command.payload.length < this.requiredParametersCount) {
29
+ throw new Error(`${this.constructor.name} parameters mismatch`)
30
+ }
31
+
32
+ const type = command.payload[0]
33
+ const methodName = command.payload[1]
34
+ this.args = command.payload.length > 2 ? command.payload.slice(2) : []
35
+
36
+ // Find the method on the type
37
+ this.method = this.getMethod(type, methodName)
38
+ if (!this.method) {
39
+ throw this.createMethodNotFoundError(type, methodName)
40
+ }
41
+
42
+ // Create a delegate from the method
43
+ const methodDelegate = this.method.bind(this)
44
+ return methodDelegate
45
+ }
46
+
47
+ /**
48
+ * Retrieves the method from the type.
49
+ * @param {Object} type - The class or constructor to search for the method.
50
+ * @param {string} methodName - The name of the method.
51
+ * @param {Array<Function>} argsType - The argument types.
52
+ * @param {Object} modifier - Parameter modifier (not used in JS implementation).
53
+ * @returns {Function|null} The found method or null if not found.
54
+ */
55
+ getMethod(type, methodName) {
56
+ const method = type[methodName]
57
+ return typeof method === 'function' ? method : null
58
+ }
59
+
60
+ /**
61
+ * Creates an error message when the method is not found.
62
+ * @param {Object} type - The class or constructor.
63
+ * @param {string} methodName - The method name.
64
+ * @returns {Error} The error with detailed message.
65
+ */
66
+ createMethodNotFoundError(type, methodName) {
67
+ const methods = Object.keys(type).filter((key) => typeof type[key] === 'function')
68
+ const availableMethods = methods.map((name) => `${name}()`)
69
+ const message = `Method ${methodName} not found in class ${type.name}. Available public static methods:\n${availableMethods.join('\n')}`
70
+ return new Error(message)
71
+ }
72
+ }
73
+
74
+ module.exports = new GetStaticMethodAsDelegateHandler()
@@ -23,6 +23,11 @@ const EnableTypeHandler = require('./EnableTypeHandler')
23
23
  const { CommandType, Command, ExceptionSerializer } = require('@javonet/core')
24
24
  const ReferencesCache = require('../referenceCache/ReferencesCache')
25
25
  const InvokeStandaloneMethodHandler = require('./InvokeStandaloneMethodHandler')
26
+ const GetStaticMethodAsDelegateHandler = require('./GetStaticMethodAsDelegateHandler')
27
+ const GetInstanceMethodAsDelegateHandler = require('./GetInstanceMethodAsDelegateHandler')
28
+ const PassDelegateHandler = require('./PassDelegateHandler')
29
+ const InvokeDelegateHandler = require('./InvokeDelegateHandler')
30
+ const { ConvertTypeHandler } = require('../../utils/TypesConverter')
26
31
 
27
32
  function isResponseSimpleType(response) {
28
33
  let type = typeof response
@@ -56,6 +61,11 @@ const handlers = {
56
61
  [CommandType.Array]: ArrayHandler,
57
62
  [CommandType.EnableNamespace]: EnableNamespaceHandler,
58
63
  [CommandType.EnableType]: EnableTypeHandler,
64
+ [CommandType.GetStaticMethodAsDelegate]: GetStaticMethodAsDelegateHandler,
65
+ [CommandType.GetInstanceMethodAsDelegate]: GetInstanceMethodAsDelegateHandler,
66
+ [CommandType.PassDelegate]: PassDelegateHandler,
67
+ [CommandType.InvokeDelegate]: InvokeDelegateHandler,
68
+ [CommandType.ConvertType]: ConvertTypeHandler,
59
69
  }
60
70
 
61
71
  Object.keys(handlers).forEach((commandTypeHandler) => {
@@ -0,0 +1,36 @@
1
+ const { DelegatesCache } = require('@javonet/core')
2
+ const AbstractHandler = require('./AbstractHandler')
3
+
4
+ /**
5
+ * Handles invoking a delegate by GUID.
6
+ */
7
+ class InvokeDelegateHandler extends AbstractHandler {
8
+ constructor() {
9
+ super()
10
+ /** @type {number} */
11
+ this.requiredParametersCount = 1
12
+ }
13
+
14
+ /**
15
+ * Processes a command to invoke a delegate.
16
+ * @param {Command} command - The command containing payload data.
17
+ * @returns {*} The result of the delegate invocation.
18
+ * @throws {Error} If the parameters mismatch or the delegate cannot be found.
19
+ */
20
+ process(command) {
21
+ const payload = command.payload
22
+ if (payload.length < this.requiredParametersCount) {
23
+ throw new Error(`${this.constructor.name} parameters mismatch`)
24
+ }
25
+
26
+ const guid = payload[0]
27
+ const delegate = DelegatesCache.getDelegate(guid)
28
+ if (!delegate) {
29
+ throw new Error('Delegate not found in cache')
30
+ }
31
+
32
+ return delegate
33
+ }
34
+ }
35
+
36
+ module.exports = new InvokeDelegateHandler()
@@ -0,0 +1,157 @@
1
+ // eslint-disable-next-line no-unused-vars
2
+ const { Interpreter, Command, CommandType, InMemoryConnectionData, DelegatesCache } = require('@javonet/core')
3
+ const AbstractHandler = require('./AbstractHandler')
4
+
5
+ /**
6
+ * PassDelegateHandler class responsible for processing a command to create a delegate.
7
+ */
8
+ class PassDelegateHandler extends AbstractHandler {
9
+ constructor() {
10
+ super()
11
+ /**
12
+ * Minimum required parameters count for the command.
13
+ * @type {number}
14
+ */
15
+ this.requiredParametersCount = 1
16
+ this.interpreter = new Interpreter()
17
+ }
18
+
19
+ /**
20
+ * Processes the given command to create and compile a delegate.
21
+ * @param {Command} command - The command to process.
22
+ * @returns {Function} The compiled delegate function.
23
+ */
24
+ process(command) {
25
+ this.validateCommand(command)
26
+
27
+ const delegateGuid = command.payload[0]
28
+ const delegate = DelegatesCache.getDelegate(delegateGuid)
29
+
30
+ return delegate
31
+ }
32
+
33
+ /**
34
+ * Validates the command to ensure it has enough parameters.
35
+ * @param {Command} command - The command to validate.
36
+ */
37
+ validateCommand(command) {
38
+ if (command.payload.length < this.requiredParametersCount) {
39
+ throw new Error('PassDelegateHandler parameters mismatch')
40
+ }
41
+ }
42
+
43
+ /**
44
+ * Retrieves the arguments from the command payload.
45
+ * @param {Command} command - The command containing the payload.
46
+ * @returns {Array} The extracted arguments.
47
+ */
48
+ getArguments(command) {
49
+ return command.payload.length > 2 ? command.payload.slice(2) : []
50
+ }
51
+
52
+ /**
53
+ * Extracts argument types from the arguments array.
54
+ * @param {Array} args - The arguments array.
55
+ * @returns {Array} The argument types.
56
+ */
57
+ getArgumentTypes(args) {
58
+ return args.slice(0, -1).map((arg) => arg.constructor)
59
+ }
60
+
61
+ /**
62
+ * Retrieves the return type from the arguments array.
63
+ * @param {Array} args - The arguments array.
64
+ * @returns {Function} The return type.
65
+ */
66
+ getReturnType(args) {
67
+ return args[args.length - 1].constructor
68
+ }
69
+
70
+ /**
71
+ * Creates parameter expressions from argument types.
72
+ * @param {Array} argsTypes - The argument types.
73
+ * @returns {Array} The parameter expressions.
74
+ */
75
+ createParameters(argsTypes) {
76
+ return argsTypes.map((type, index) => ({ name: `arg${index}`, type }))
77
+ }
78
+
79
+ /**
80
+ * Creates an array of arguments for the delegate.
81
+ * @param {string} delegateGuid - The delegate identifier.
82
+ * @param {Array} parameters - The parameter expressions.
83
+ * @returns {Array} The arguments array.
84
+ */
85
+ createArgsArray(delegateGuid, parameters) {
86
+ return [delegateGuid, ...parameters.map((param) => param.name)]
87
+ }
88
+
89
+ /**
90
+ * Creates a command expression.
91
+ * @param {string} callingRuntimeName - The runtime name.
92
+ * @param {Array} payload - The arguments array.
93
+ * @returns {Object} The command object.
94
+ */
95
+ createCommand(callingRuntimeName, payload) {
96
+ return {
97
+ runtimeName: callingRuntimeName,
98
+ type: CommandType.InvokeDelegate,
99
+ payload,
100
+ }
101
+ }
102
+
103
+ /**
104
+ * Creates a method call to execute the command.
105
+ * @param {Command} command - The command object.
106
+ * @returns {Object} The response object.
107
+ */
108
+ createExecuteCall(command) {
109
+ return this.interpreter.execute(command, new InMemoryConnectionData())
110
+ }
111
+
112
+ /**
113
+ * Retrieves the response payload from the execution call.
114
+ * @param {Object} executeCall - The execution call.
115
+ * @returns {Array} The response payload.
116
+ */
117
+ getResponse(executeCall) {
118
+ return executeCall.payload
119
+ }
120
+
121
+ /**
122
+ * Converts the first element of the response to the return type.
123
+ * @param {Array} response - The response payload.
124
+ * @param {Function} returnType - The return type.
125
+ * @returns {*} The converted first element.
126
+ */
127
+ convertFirstElement(response, returnType) {
128
+ return returnType(response[0])
129
+ }
130
+
131
+ /**
132
+ * Creates a block of expressions for the delegate.
133
+ * @param {Function} returnType - The return type.
134
+ * @param {*} convertedFirstElement - The converted first element.
135
+ * @returns {Object} The block expression.
136
+ */
137
+ createBlock(returnType, convertedFirstElement) {
138
+ return { returnType, body: convertedFirstElement }
139
+ }
140
+
141
+ /**
142
+ * Creates a delegate type.
143
+ * @param {Array} parameters - The parameter expressions.
144
+ * @param {Function} returnType - The return type.
145
+ * @returns {Function} The delegate type.
146
+ */
147
+ createDelegateType(parameters, returnType) {
148
+ return (...args) => {
149
+ if (args.length !== parameters.length) {
150
+ throw new Error('Invalid argument count.')
151
+ }
152
+ return returnType
153
+ }
154
+ }
155
+ }
156
+
157
+ module.exports = new PassDelegateHandler()
@@ -1,6 +1,6 @@
1
- const { ConnectionType, CommandType, ExceptionThrower, Command, Interpreter } = require('@javonet/core')
1
+ /* eslint-disable no-unused-private-class-members */
2
+ const { Interpreter, RuntimeContext: RuntimeContextCore } = require('@javonet/core')
2
3
  const GeneratorHandler = require('../core/generator/handler/GeneratorHandler')
3
- const { InvocationWsContext, InvocationContext } = require('./InvocationContext')
4
4
 
5
5
  /**
6
6
  * Represents a single context which allows interaction with a selected technology.
@@ -13,17 +13,17 @@ const { InvocationWsContext, InvocationContext } = require('./InvocationContext'
13
13
  * @see [Javonet Guides]{@link https://www.javonet.com/guides/v2/javascript/foundations/runtime-context}
14
14
  * @class
15
15
  */
16
- class RuntimeContext {
16
+ class RuntimeContext extends RuntimeContextCore {
17
17
  static memoryRuntimeContexts = new Map()
18
18
  static networkRuntimeContexts = new Map()
19
19
  static webSocketRuntimeContexts = new Map()
20
20
  #currentCommand
21
21
  #responseCommand
22
22
  #interpreter
23
- // eslint-disable-next-line no-unused-private-class-members
24
23
  #generatorHandler
25
24
 
26
25
  constructor(runtimeName, connectionData) {
26
+ super()
27
27
  this.runtimeName = runtimeName
28
28
  this.connectionData = connectionData
29
29
  this.#currentCommand = null
@@ -31,222 +31,6 @@ class RuntimeContext {
31
31
  this.#interpreter = new Interpreter()
32
32
  this.#generatorHandler = new GeneratorHandler()
33
33
  }
34
-
35
- static getInstance(runtimeName, connectionData) {
36
- switch (connectionData.connectionType) {
37
- case ConnectionType.IN_MEMORY:
38
- if (runtimeName in RuntimeContext.memoryRuntimeContexts) {
39
- let runtimeCtx = RuntimeContext.memoryRuntimeContexts[runtimeName]
40
- runtimeCtx.currentCommand = null
41
- return runtimeCtx
42
- } else {
43
- let runtimeCtx = new RuntimeContext(runtimeName, connectionData)
44
- RuntimeContext.memoryRuntimeContexts[runtimeName] = runtimeCtx
45
- return runtimeCtx
46
- }
47
- case ConnectionType.TCP: {
48
- let key1 = runtimeName + JSON.stringify(connectionData)
49
- if (key1 in RuntimeContext.networkRuntimeContexts) {
50
- let runtimeCtx = RuntimeContext.networkRuntimeContexts[key1]
51
- runtimeCtx.currentCommand = null
52
- return runtimeCtx
53
- } else {
54
- let runtimeCtx = new RuntimeContext(runtimeName, connectionData)
55
- RuntimeContext.networkRuntimeContexts[key1] = runtimeCtx
56
- return runtimeCtx
57
- }
58
- }
59
- case ConnectionType.WEB_SOCKET: {
60
- let key2 = runtimeName + JSON.stringify(connectionData)
61
- if (key2 in RuntimeContext.webSocketRuntimeContexts) {
62
- let runtimeCtx = RuntimeContext.webSocketRuntimeContexts[key2]
63
- runtimeCtx.currentCommand = null
64
- return runtimeCtx
65
- } else {
66
- let runtimeCtx = new RuntimeContext(runtimeName, connectionData)
67
- RuntimeContext.webSocketRuntimeContexts[key2] = runtimeCtx
68
- return runtimeCtx
69
- }
70
- }
71
- default:
72
- throw new Error('Invalid connection type')
73
- }
74
- }
75
-
76
- /**
77
- * Executes the current command. The initial state of RuntimeContext is non-materialized,
78
- * wrapping either a single command or a chain of recursively nested commands.
79
- * Commands become nested through each invocation of methods on RuntimeContext.
80
- * Each invocation triggers the creation of a new RuntimeContext instance wrapping the current command with a new parent command.
81
- * The developer can decide at any moment of the materialization for the context, taking full control of the chunks of the expression being transferred and processed on the target runtime.
82
- * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/execute-method)
83
- * @method
84
- */
85
- execute() {
86
- this.#responseCommand = this.#interpreter.execute(this.#currentCommand, this.connectionData)
87
- this.#currentCommand = null
88
- if (this.#responseCommand.commandType === CommandType.Exception) {
89
- throw ExceptionThrower.throwException(this.#responseCommand)
90
- }
91
- }
92
-
93
- /**
94
- * Adds a reference to a library. Javonet allows you to reference and use modules or packages written in various languages.
95
- * This method allows you to use any library from all supported technologies. The necessary libraries need to be referenced.
96
- * The argument is a relative or full path to the library. If the library has dependencies on other libraries, the latter needs to be added first.
97
- * After referencing the library, any objects stored in this package can be used. Use static classes, create instances, call methods, use fields and properties, and much more.
98
- * @param {string} libraryPath - The relative or full path to the library.
99
- * @returns {RuntimeContext} RuntimeContext instance.
100
- * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/getting-started/adding-references-to-libraries)
101
- * @method
102
- */
103
- loadLibrary(libraryPath) {
104
- let localCommand = new Command(this.runtimeName, CommandType.LoadLibrary, [libraryPath])
105
- this.#currentCommand = this.#buildCommand(localCommand)
106
- this.execute()
107
- return this
108
- }
109
-
110
- /**
111
- * Retrieves a reference to a specific type. The type can be a class, interface or enum. The type can be retrieved from any referenced library.
112
- * @param {string} typeName - The full name of the type.
113
- * @param {...any} args - The arguments to be passed, if needed
114
- * @returns {InvocationContext} InvocationContext instance, that wraps the command to get the type.
115
- * @method
116
- */
117
- getType(typeName, ...args) {
118
- let localCommand = new Command(this.runtimeName, CommandType.GetType, [typeName, ...args])
119
- this.#currentCommand = null
120
- if (this.connectionData.connectionType === ConnectionType.WEB_SOCKET) {
121
- return new InvocationWsContext(
122
- this.runtimeName,
123
- this.connectionData,
124
- this.#buildCommand(localCommand)
125
- )
126
- }
127
- return new InvocationContext(this.runtimeName, this.connectionData, this.#buildCommand(localCommand))
128
- }
129
-
130
- /**
131
- * Casts the provided value to a specific type. This method is used when invoking methods that require specific types of arguments.
132
- * The arguments include the target type and the value to be cast. The target type must be retrieved from the called runtime using the getType method.
133
- * After casting the value, it can be used as an argument when invoking methods.
134
- * @param {...any} args - The target type and the value to be cast.
135
- * @returns {InvocationContext} InvocationContext instance that wraps the command to cast the value.
136
- * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/casting/casting)
137
- * @method
138
- */
139
- cast(...args) {
140
- let localCommand = new Command(this.runtimeName, CommandType.Cast, args)
141
- this.#currentCommand = null
142
- if (this.connectionData.connectionType === ConnectionType.WEB_SOCKET) {
143
- return new InvocationWsContext(
144
- this.runtimeName,
145
- this.connectionData,
146
- this.#buildCommand(localCommand)
147
- )
148
- }
149
- return new InvocationContext(this.runtimeName, this.connectionData, this.#buildCommand(localCommand))
150
- }
151
-
152
- /**
153
- * Retrieves a specific item from an enum type. This method is used when working with enums from the called runtime.
154
- * The arguments include the enum type and the name of the item. The enum type must be retrieved from the called runtime using the getType method.
155
- * After retrieving the item, it can be used as an argument when invoking methods or for other operations.
156
- * @param {...any} args - The enum type and the name of the item.
157
- * @returns {InvocationContext} InvocationContext instance that wraps the command to get the enum item.
158
- * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/enums/using-enum-type)
159
- * @method
160
- */
161
- getEnumItem(...args) {
162
- let localCommand = new Command(this.runtimeName, CommandType.GetEnumItem, args)
163
- this.#currentCommand = null
164
- if (this.connectionData.connectionType === ConnectionType.WEB_SOCKET) {
165
- return new InvocationWsContext(
166
- this.runtimeName,
167
- this.connectionData,
168
- this.#buildCommand(localCommand)
169
- )
170
- }
171
- return new InvocationContext(this.runtimeName, this.connectionData, this.#buildCommand(localCommand))
172
- }
173
-
174
- /**
175
- * Creates a reference type argument that can be passed to a method with a ref parameter modifier. This method is used when working with methods from the called runtime that require arguments to be passed by reference.
176
- * The arguments include the value and optionally the type of the reference. The type must be retrieved from the called runtime using the getType method.
177
- * After creating the reference, it can be used as an argument when invoking methods.
178
- * @param {...any} args - The value and optionally the type of the reference.
179
- * @returns {InvocationContext} InvocationContext instance that wraps the command to create a reference as ref.
180
- * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/methods-arguments/passing-arguments-by-reference-with-ref-keyword)
181
- * @method
182
- */
183
- asRef(...args) {
184
- let localCommand = new Command(this.runtimeName, CommandType.AsRef, args)
185
- this.#currentCommand = null
186
- if (this.connectionData.connectionType === ConnectionType.WEB_SOCKET) {
187
- return new InvocationWsContext(
188
- this.runtimeName,
189
- this.connectionData,
190
- this.#buildCommand(localCommand)
191
- )
192
- }
193
- return new InvocationContext(this.runtimeName, this.connectionData, this.#buildCommand(localCommand))
194
- }
195
-
196
- /**
197
- * Creates a reference type argument that can be passed to a method with an out parameter modifier. This method is used when working with methods from the called runtime that require arguments to be passed by reference.
198
- * The arguments include the value and optionally the type of the reference. The type must be retrieved from the called runtime using the getType method.
199
- * After creating the reference, it can be used as an argument when invoking methods.
200
- * @param {...any} args - The value and optionally the type of the reference.
201
- * @returns {InvocationContext} InvocationContext instance that wraps the command to create a reference as out.
202
- * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/methods-arguments/passing-arguments-by-reference-with-out-keyword |Passing Arguments by Reference with out Keyword Guide)
203
- * @method
204
- */
205
- asOut(...args) {
206
- let localCommand = new Command(this.runtimeName, CommandType.AsOut, args)
207
- this.#currentCommand = null
208
- if (this.connectionData.connectionType === ConnectionType.WEB_SOCKET) {
209
- return new InvocationWsContext(
210
- this.runtimeName,
211
- this.connectionData,
212
- this.#buildCommand(localCommand)
213
- )
214
- }
215
- return new InvocationContext(this.runtimeName, this.connectionData, this.#buildCommand(localCommand))
216
- }
217
-
218
- #buildCommand = function (command) {
219
- for (let i = 0; i < command.payload.length; i++) {
220
- command.payload[i] = this.#encapsulatePayloadItem(command.payload[i])
221
- }
222
- return command.prependArgToPayload(this.#currentCommand)
223
- }
224
-
225
- #encapsulatePayloadItem = function (payloadItem) {
226
- // eslint-disable-next-line valid-typeof
227
- if (typeof payloadItem === 'Command' || payloadItem instanceof Command) {
228
- for (let i = 0; i < payloadItem.payload.length; i++) {
229
- payloadItem.payload[i] = this.#encapsulatePayloadItem(payloadItem.payload[i])
230
- }
231
- return payloadItem
232
- // eslint-disable-next-line valid-typeof
233
- } else if (typeof payloadItem === 'InvocationContext' || payloadItem instanceof InvocationContext) {
234
- return payloadItem.get_current_command()
235
- } else if (payloadItem instanceof Array) {
236
- for (let i = 0; i < payloadItem.length; i++) {
237
- payloadItem[i] = this.#encapsulatePayloadItem(payloadItem[i])
238
- }
239
- return new Command(this.runtimeName, CommandType.Array, payloadItem)
240
- } else {
241
- return new Command(this.runtimeName, CommandType.Value, [payloadItem])
242
- }
243
- }
244
-
245
- healthCheck() {
246
- let localCommand = new Command(this.runtimeName, CommandType.Value, ['health_check'])
247
- this.#currentCommand = this.#buildCommand(localCommand)
248
- this.execute()
249
- }
250
34
  }
251
35
 
252
36
  module.exports = RuntimeContext