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,36 @@
1
+ const { DelegatesCache } = require('../../..')
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('../../..')
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,8 +1,10 @@
1
+ const DelegatesCache = require('../core/delegatesCache/DelegatesCache')
1
2
  const Interpreter = require('../core/interpreter/Interpreter')
2
3
  const Command = require('../utils/Command')
3
4
  const CommandType = require('../utils/CommandType')
4
5
  const ConnectionType = require('../utils/ConnectionType')
5
6
  const ExceptionThrower = require('../utils/exception/ExceptionThrower')
7
+ const RuntimeName = require('../utils/RuntimeName')
6
8
 
7
9
  /**
8
10
  * InvocationContext is a class that represents a context for invoking commands.
@@ -338,6 +340,40 @@ class InvocationContext {
338
340
  return this.#createInstanceContext(localCommand)
339
341
  }
340
342
 
343
+ /**
344
+ * Creates a null object of a specific type on the target runtime.
345
+ * @param {string} methodName - The name of the method to invoke.
346
+ * @param {...any} args - Method arguments.
347
+ * @returns {InvocationContext} An InvocationContext instance with the command to create a null object.
348
+ * TODO: connect documentation page url
349
+ * @see [Javonet Guides](https://www.javonet.com/guides/)
350
+ * @method
351
+ */
352
+ getStaticMethodAsDelegate(methodName, ...args) {
353
+ const localCommand = new Command(this.#runtimeName, CommandType.GetStaticMethodAsDelegate, [
354
+ methodName,
355
+ ...args,
356
+ ])
357
+ return this.#createInstanceContext(localCommand)
358
+ }
359
+
360
+ /**
361
+ * Creates a null object of a specific type on the target runtime.
362
+ * @param {string} methodName - The name of the method to invoke.
363
+ * @param {...any} args - Method arguments.
364
+ * @returns {InvocationContext} An InvocationContext instance with the command to create a null object.
365
+ * TODO: connect documentation page url
366
+ * @see [Javonet Guides](https://www.javonet.com/guides/)
367
+ * @method
368
+ */
369
+ getInstanceMethodAsDelegate(methodName, ...args) {
370
+ const localCommand = new Command(this.#runtimeName, CommandType.GetInstanceMethodAsDelegate, [
371
+ methodName,
372
+ ...args,
373
+ ])
374
+ return this.#createInstanceContext(localCommand)
375
+ }
376
+
341
377
  /**
342
378
  * Retrieves an array from the target runtime.
343
379
  * @returns {InvocationContext} A new InvocationContext instance that wraps the command to retrieve the array.
@@ -390,6 +426,13 @@ class InvocationContext {
390
426
  payloadItem[i] = this.#encapsulatePayloadItem(payloadItem[i])
391
427
  }
392
428
  return new Command(this.runtimeName, CommandType.Array, payloadItem)
429
+ } else if (typeof payloadItem === 'function') {
430
+ let newArray = new Array(payloadItem.length + 1)
431
+ for (let i = 0; i < newArray.length; i++) {
432
+ newArray[i] = typeof Object
433
+ }
434
+ const args = [DelegatesCache.addDelegate(payloadItem), RuntimeName.Nodejs].push(...newArray);
435
+ return new Command(this.#runtimeName, CommandType.PassDelegate, args)
393
436
  } else {
394
437
  return new Command(this.runtimeName, CommandType.Value, [payloadItem])
395
438
  }
@@ -5,6 +5,8 @@ const CommandType = require('../utils/CommandType')
5
5
  const { InvocationContext, InvocationWsContext } = require('./InvocationContext')
6
6
  const ConnectionType = require('../utils/ConnectionType')
7
7
  const ExceptionThrower = require('../utils/exception/ExceptionThrower')
8
+ const DelegatesCache = require('../core/delegatesCache/DelegatesCache')
9
+ const RuntimeName = require('../utils/RuntimeName')
8
10
 
9
11
  /**
10
12
  * Represents a single context which allows interaction with a selected technology.
@@ -251,6 +253,13 @@ class RuntimeContext {
251
253
  payloadItem[i] = this.#encapsulatePayloadItem(payloadItem[i])
252
254
  }
253
255
  return new Command(this.runtimeName, CommandType.Array, payloadItem)
256
+ } else if (typeof payloadItem === 'function') {
257
+ let newArray = new Array(payloadItem.length + 1)
258
+ for (let i = 0; i < newArray.length; i++) {
259
+ newArray[i] = 'object'
260
+ }
261
+ const args = [DelegatesCache.addDelegate(payloadItem), RuntimeName.Nodejs].push(...newArray);
262
+ return new Command(this.runtimeName, CommandType.PassDelegate, args)
254
263
  } else {
255
264
  return new Command(this.runtimeName, CommandType.Value, [payloadItem])
256
265
  }
@@ -37,7 +37,12 @@ const CommandType = /** @type {const} */ ({
37
37
  EnableNamespace: 34,
38
38
  EnableType: 35,
39
39
  CreateNull: 36,
40
- InvokeStandaloneMethod: 37,
40
+ GetStaticMethodAsDelegate: 37,
41
+ GetInstanceMethodAsDelegate: 38,
42
+ PassDelegate: 39,
43
+ InvokeDelegate: 40,
44
+ ConvertType: 41,
45
+ InvokeStandaloneMethod: 42,
41
46
  })
42
47
 
43
48
  module.exports = CommandType
@@ -0,0 +1,91 @@
1
+ /**
2
+ * ConvertTypeHandler class handles the conversion of JType to Type.
3
+ */
4
+ class ConvertTypeHandler {
5
+ constructor() {
6
+ /**
7
+ * Minimum required parameters count for the command.
8
+ * @type {number}
9
+ */
10
+ this.requiredParametersCount = 1
11
+ }
12
+
13
+ /**
14
+ * Processes the given command to convert JType to Type.
15
+ * @param {Object} command - The command to process.
16
+ * @returns {any} The converted type.
17
+ */
18
+ process(command) {
19
+ this.validateCommand(command)
20
+ return TypesConverter.convertJTypeToType(command.payload[0])
21
+ }
22
+
23
+ /**
24
+ * Validates the command to ensure it has enough parameters.
25
+ * @param {Object} command - The command to validate.
26
+ */
27
+ validateCommand(command) {
28
+ if (command.payload.length < this.requiredParametersCount) {
29
+ throw new Error('ConvertTypeHandler parameters mismatch')
30
+ }
31
+ }
32
+ }
33
+
34
+ /**
35
+ * TypesConverter class provides utilities for converting between types.
36
+ */
37
+ class TypesConverter {
38
+ /**
39
+ * Converts a JavaScript type to a JType equivalent.
40
+ * @param {Function} type - The JavaScript type.
41
+ * @returns {number} The corresponding JType.
42
+ */
43
+ static convertTypeToJType(type) {
44
+ switch (type) {
45
+ case Boolean:
46
+ return JType.Boolean
47
+ case Number:
48
+ return JType.Float // Assuming Number maps to Float
49
+ case String:
50
+ return JType.String
51
+ case Object:
52
+ return JType.Null // Assuming Object maps to Null
53
+ default:
54
+ return JType.Null
55
+ }
56
+ }
57
+
58
+ /**
59
+ * Converts a JType to a JavaScript type equivalent.
60
+ * @param {number} type - The JType to convert.
61
+ * @returns {Function} The corresponding JavaScript type.
62
+ */
63
+ static convertJTypeToType(type) {
64
+ switch (type) {
65
+ case JType.Boolean:
66
+ return Boolean
67
+ case JType.Float:
68
+ return Number
69
+ case JType.String:
70
+ return String
71
+ case JType.Null:
72
+ return null
73
+ default:
74
+ return null
75
+ }
76
+ }
77
+ }
78
+
79
+ /**
80
+ * Enum for JType mappings.
81
+ * @readonly
82
+ * @enum {number}
83
+ */
84
+ const JType = {
85
+ Boolean: 1,
86
+ Float: 2,
87
+ String: 3,
88
+ Null: 4,
89
+ }
90
+
91
+ module.exports = { ConvertTypeHandler, TypesConverter, JType }
@@ -0,0 +1,9 @@
1
+ function generateGUID() {
2
+ return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
3
+ const r = (Math.random() * 16) | 0
4
+ const v = c === 'x' ? r : (r & 0x3) | 0x8
5
+ return v.toString(16)
6
+ })
7
+ }
8
+
9
+ module.exports = generateGUID
@@ -0,0 +1,62 @@
1
+ #!/usr/bin/perl
2
+ use strict;
3
+ use warnings;
4
+
5
+ use Encode;
6
+ use YAML::PP::Parser;
7
+ use YAML::PP::Common;
8
+ use Getopt::Long;
9
+ Getopt::Long::Configure('bundling');
10
+ GetOptions(
11
+ 'help|h' => \my $help,
12
+ 'module|M=s' => \my $module,
13
+ ) or usage(1);
14
+
15
+ usage(0) if $help;
16
+
17
+ $module ||= 'YAML::PP';
18
+ if ($module eq 'YAML::PP') {
19
+ $module = 'YAML::PP::Parser';
20
+ }
21
+ elsif ($module eq 'YAML::PP::LibYAML') {
22
+ require YAML::PP::LibYAML::Parser;
23
+ $module = 'YAML::PP::LibYAML::Parser';
24
+ }
25
+ elsif ($module eq 'YAML::PP::Ref') {
26
+ require YAML::PP::Ref;
27
+ $module = 'YAML::PP::Ref::Parser';
28
+ }
29
+
30
+ my ($file) = @ARGV;
31
+
32
+ my $parser = $module->new(
33
+ receiver => sub {
34
+ my ($self, undef, $event) = @_;
35
+ print encode_utf8(YAML::PP::Common::event_to_test_suite($event, { flow => 1 })), "\n";
36
+ },
37
+ $file ? (reader => YAML::PP::Reader::File->new) : (),
38
+ );
39
+ if ($file) {
40
+ $parser->parse_file($file);
41
+ }
42
+ else {
43
+ my $yaml;
44
+ $yaml = do { local $/; <STDIN> };
45
+ $yaml = decode_utf8($yaml);
46
+ $parser->parse_string($yaml);
47
+ }
48
+
49
+ sub usage {
50
+ my ($rc) = @_;
51
+ print <<"EOM";
52
+ Usage:
53
+
54
+ $0 [options] < file
55
+ $0 [options] file
56
+
57
+ Options:
58
+ --module -M Module to use for parsing. YAML::PP (default),
59
+ YAML::PP::LibYAML or YAML::PP::Ref
60
+ EOM
61
+ exit $rc;
62
+ }
@@ -0,0 +1,54 @@
1
+ #!/usr/bin/perl
2
+ use strict;
3
+ use warnings;
4
+
5
+ use YAML::PP::Highlight;
6
+ use Encode;
7
+ use Getopt::Long;
8
+
9
+ GetOptions(
10
+ 'help|h' => \my $help,
11
+ 'expand-tabs|et!' => \my $expand_tabs,
12
+ ) or usage(1);
13
+
14
+ $expand_tabs = 1 unless defined $expand_tabs;
15
+
16
+ usage(0) if $help;
17
+
18
+ my ($file) = @ARGV;
19
+ my $yaml;
20
+
21
+ unless ($file) {
22
+ $yaml = do { local $/; <STDIN> };
23
+ $yaml = decode_utf8($yaml);
24
+ }
25
+
26
+ my $error;
27
+ my $tokens;
28
+ if (defined $file) {
29
+ ($error, $tokens) = YAML::PP::Parser->yaml_to_tokens( file => $file );
30
+ }
31
+ else {
32
+ ($error, $tokens) = YAML::PP::Parser->yaml_to_tokens( string => $yaml );
33
+ }
34
+ my $highlighted = YAML::PP::Highlight->ansicolored($tokens, expand_tabs => $expand_tabs);
35
+ print encode_utf8 $highlighted;
36
+ if ($error) {
37
+ die $error;
38
+ }
39
+
40
+ sub usage {
41
+ my ($rc) = @_;
42
+ print <<"EOM";
43
+ Usage:
44
+
45
+ $0 [options] < file
46
+ $0 [options] file
47
+
48
+ Options:
49
+ --expand-tabs --et Expand tabs to 8 spaces (default true)
50
+ --no-expand-tabs --no-et Don't expand tabs
51
+ EOM
52
+ exit $rc;
53
+ }
54
+
@@ -0,0 +1,144 @@
1
+ #!/usr/bin/perl
2
+ use strict;
3
+ use warnings;
4
+
5
+ use Data::Dumper;
6
+ use YAML::PP;
7
+ use YAML::PP::Common qw/ PRESERVE_ORDER /;
8
+ use Encode;
9
+ use Getopt::Long;
10
+ Getopt::Long::Configure('bundling');
11
+
12
+ GetOptions(
13
+ 'help|h' => \my $help,
14
+ 'boolean=s' => \my $boolean,
15
+ 'cyclic' => \my $cyclic,
16
+ 'merge' => \my $merge,
17
+ 'perl' => \my $perl,
18
+ 'module|M=s' => \my $module,
19
+ 'yaml-version=s' => \my $yaml_version,
20
+ ) or usage(1);
21
+
22
+ usage(0) if $help;
23
+
24
+ $module ||= 'YAML::PP';
25
+ $boolean ||= 'JSON::PP';
26
+ $yaml_version ||= 1.2;
27
+ my @yaml_versions = split m/,/, $yaml_version;
28
+ my @schema = ('+');
29
+ if ($merge) {
30
+ push @schema, 'Merge';
31
+ }
32
+ if ($perl) {
33
+ push @schema, 'Perl';
34
+ }
35
+
36
+ my ($file) = @ARGV;
37
+ my $yaml;
38
+
39
+ my $decode = 1;
40
+ if ($module eq 'YAML::XS') {
41
+ $decode = 0;
42
+ }
43
+ if ($file) {
44
+ open my $fh, '<', $file or die "Can not open '$file'";
45
+ $yaml = do { local $/; <$fh> };
46
+ close $fh;
47
+ }
48
+ else {
49
+ $yaml = do { local $/; <STDIN> };
50
+ }
51
+ $yaml = decode_utf8($yaml) if $decode;
52
+
53
+ my %codes = (
54
+ 'YAML::PP' => \&yamlpp,
55
+ 'YAML::PP::LibYAML' => \&yamlpplibyaml,
56
+ 'YAML::PP::Ref' => \&yamlppref,
57
+ 'YAML::XS' => \&yamlxs,
58
+ 'YAML::Tiny' => \&yamltiny,
59
+ 'YAML::Syck' => \&yamlsyck,
60
+ 'YAML' => \&yaml,
61
+ );
62
+
63
+ my $code = $codes{ $module } or die "Module '$module' not supported";
64
+
65
+ my @docs = $code->($yaml);
66
+
67
+ sub _yamlpp {
68
+ my ($class, $yaml) = @_;
69
+ my $ypp = $class->new(
70
+ schema => \@schema,
71
+ boolean => $boolean,
72
+ cyclic_refs => $cyclic ? 'allow' : 'fatal',
73
+ preserve => PRESERVE_ORDER,
74
+ yaml_version => \@yaml_versions,
75
+ );
76
+ my @docs = $ypp->load_string($yaml);
77
+ return @docs;
78
+ }
79
+ sub yamlpp {
80
+ _yamlpp('YAML::PP' => $_[0]);
81
+ }
82
+ sub yamlpplibyaml {
83
+ eval { require YAML::PP::LibYAML };
84
+ _yamlpp('YAML::PP::LibYAML' => $_[0]);
85
+ }
86
+ sub yamlppref {
87
+ eval { require YAML::PP::Ref };
88
+ _yamlpp('YAML::PP::Ref' => $_[0]);
89
+ }
90
+
91
+ sub yamlxs {
92
+ eval { require YAML::XS };
93
+ my ($yaml) = @_;
94
+ no warnings 'once';
95
+ local $YAML::XS::LoadBlessed = $perl;
96
+ return YAML::XS::Load($yaml);
97
+ }
98
+ sub yamlsyck {
99
+ eval { require YAML::Syck };
100
+ my ($yaml) = @_;
101
+ no warnings 'once';
102
+ local $YAML::Syck::LoadBlessed = $perl;
103
+ local $YAML::Syck::ImplicitTyping = 1;
104
+ local $YAML::Syck::ImplicitUnicode = 1;
105
+ return YAML::Syck::Load($yaml);
106
+ }
107
+ sub yaml {
108
+ eval { require YAML };
109
+ my ($yaml) = @_;
110
+ no warnings 'once';
111
+ local $YAML::LoadBlessed = $perl;
112
+ return YAML::Load($yaml);
113
+ }
114
+ sub yamltiny {
115
+ eval { require YAML::Tiny };
116
+ my ($yaml) = @_;
117
+ return YAML::Tiny::Load($yaml);
118
+ }
119
+
120
+ local $Data::Dumper::Useqq = 1;
121
+ local $Data::Dumper::Sortkeys = 1;
122
+ print Data::Dumper->Dump([$docs[ $_ ]], ["doc$_"]) for 0 ..$#docs;
123
+
124
+
125
+ sub usage {
126
+ my ($rc) = @_;
127
+ print <<"EOM";
128
+ Usage:
129
+
130
+ $0 [options] < file
131
+ $0 [options] file
132
+
133
+ Options:
134
+ --boolean= 'perl', 'JSON::PP', 'boolean'
135
+ --cyclic Allow cyclic references
136
+ --merge Enable loading merge keys '<<'
137
+ --perl Enable loading perl types and objects (use only
138
+ on trusted input!)
139
+ --module -M YAML::PP (default), YAML, YAML::PP::LibYAML,
140
+ YAML::Syck, YAML::Tiny, YAML::XS, YAML::PP::Ref
141
+ --yaml-version= '1.2' (default), '1.1', '1.2,1.1', '1.1,1.2'
142
+ EOM
143
+ exit $rc;
144
+ }