javonet-nodejs-sdk 2.5.11 → 2.5.12

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 (348) 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/libUtils.so +0 -0
  6. package/Binaries/Native/Linux/ARM64/version.txt +1 -1
  7. package/Binaries/Native/Linux/X64/NativeUtilsUnitTests.xml +30 -30
  8. package/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
  9. package/Binaries/Native/Linux/X64/libUtils.so +0 -0
  10. package/Binaries/Native/Linux/X64/openssl3/libJavonetActivationService.so +0 -0
  11. package/Binaries/Native/Linux/X64/openssl3/libUtils.so +0 -0
  12. package/Binaries/Native/Linux/X64/version.txt +1 -1
  13. package/Binaries/Native/MacOs/X64/libJavonetActivationService.dylib +0 -0
  14. package/Binaries/Native/MacOs/X64/libJavonetNodejs1816RuntimeNative.dylib +0 -0
  15. package/Binaries/Native/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
  16. package/Binaries/Native/MacOs/X64/libUtils.dylib +0 -0
  17. package/Binaries/Native/MacOs/X64/version.txt +1 -1
  18. package/Binaries/Native/Windows/ARM64/JavonetActivationService.dll +0 -0
  19. package/Binaries/Native/Windows/ARM64/JavonetCppRuntimeNative.dll +0 -0
  20. package/Binaries/Native/Windows/ARM64/JavonetGoRuntimeNative.dll +0 -0
  21. package/Binaries/Native/Windows/ARM64/JavonetJvmRuntimeNative.dll +0 -0
  22. package/Binaries/Native/Windows/ARM64/JavonetNetcoreRuntimeNative.dll +0 -0
  23. package/Binaries/Native/Windows/ARM64/JavonetPythonRuntimeNative.dll +0 -0
  24. package/Binaries/Native/Windows/ARM64/JavonetRuby278RuntimeNative.dll +0 -0
  25. package/Binaries/Native/Windows/ARM64/JavonetRubyRuntimeNative.dll +0 -0
  26. package/Binaries/Native/Windows/ARM64/JavonetTcpClient.dll +0 -0
  27. package/Binaries/Native/Windows/ARM64/JavonetTcpTlsClient.dll +0 -0
  28. package/Binaries/Native/Windows/ARM64/Utils.dll +0 -0
  29. package/Binaries/Native/Windows/ARM64/version.txt +0 -0
  30. package/Binaries/Native/Windows/X64/JavonetActivationService.dll +0 -0
  31. package/Binaries/Native/Windows/X64/JavonetClrRuntimeNative.dll +0 -0
  32. package/Binaries/Native/Windows/X64/JavonetCppRuntimeNative.dll +0 -0
  33. package/Binaries/Native/Windows/X64/JavonetGoRuntimeNative.dll +0 -0
  34. package/Binaries/Native/Windows/X64/JavonetJvmRuntimeNative.dll +0 -0
  35. package/Binaries/Native/Windows/X64/JavonetNetcoreRuntimeNative.dll +0 -0
  36. package/Binaries/Native/Windows/X64/JavonetNodejs1816RuntimeNative.dll +0 -0
  37. package/Binaries/Native/Windows/X64/JavonetNodejsRuntimeNative.dll +0 -0
  38. package/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
  39. package/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
  40. package/Binaries/Native/Windows/X64/JavonetRuby278RuntimeNative.dll +0 -0
  41. package/Binaries/Native/Windows/X64/JavonetRubyRuntimeNative.dll +0 -0
  42. package/Binaries/Native/Windows/X64/JavonetTcpClient.dll +0 -0
  43. package/Binaries/Native/Windows/X64/JavonetTcpTlsClient.dll +0 -0
  44. package/Binaries/Native/Windows/X64/Utils.dll +0 -0
  45. package/Binaries/Native/Windows/X64/version.txt +1 -1
  46. package/Binaries/Native/Windows/X86/JavonetActivationService.dll +0 -0
  47. package/Binaries/Native/Windows/X86/JavonetClrRuntimeNative.dll +0 -0
  48. package/Binaries/Native/Windows/X86/JavonetCppRuntimeNative.dll +0 -0
  49. package/Binaries/Native/Windows/X86/JavonetGoRuntimeNative.dll +0 -0
  50. package/Binaries/Native/Windows/X86/JavonetJvmRuntimeNative.dll +0 -0
  51. package/Binaries/Native/Windows/X86/JavonetNetcoreRuntimeNative.dll +0 -0
  52. package/Binaries/Native/Windows/X86/JavonetPythonRuntimeNative.dll +0 -0
  53. package/Binaries/Native/Windows/X86/JavonetTcpClient.dll +0 -0
  54. package/Binaries/Native/Windows/X86/JavonetTcpTlsClient.dll +0 -0
  55. package/Binaries/Native/Windows/X86/Utils.dll +0 -0
  56. package/Binaries/Native/Windows/X86/version.txt +1 -1
  57. package/Binaries/Netcore/Javonet.Netcore.Core.dll +0 -0
  58. package/Binaries/Netcore/Javonet.Netcore.Utils.dll +0 -0
  59. package/Binaries/Nodejs/lib/core/handler/Handler.js +6 -9
  60. package/Binaries/Nodejs/lib/core/handler/InvokeGlobalFunctionHandler.js +39 -0
  61. package/Binaries/Nodejs/lib/core/interpreter/Interpreter.js +11 -15
  62. package/Binaries/Nodejs/lib/core/protocol/TypeSerializer.js +7 -0
  63. package/Binaries/Nodejs/lib/core/transmitter/TransmitterWrapper.js +1 -1
  64. package/Binaries/Nodejs/lib/sdk/InvocationContext.js +7 -17
  65. package/Binaries/Nodejs/lib/sdk/RuntimeContext.js +27 -0
  66. package/Binaries/Nodejs/lib/utils/CommandType.js +1 -2
  67. package/Binaries/Nodejs/lib/utils/CustomError.js +8 -0
  68. package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-load +8 -5
  69. package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-load-dump +8 -5
  70. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Common.pm +1 -1
  71. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Constructor.pm +7 -1
  72. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Dumper.pm +1 -1
  73. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Emitter.pm +1 -1
  74. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Exception.pm +1 -1
  75. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Grammar.pm +1 -1
  76. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Highlight.pm +1 -1
  77. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Lexer.pm +1 -1
  78. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Loader.pm +3 -1
  79. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Parser.pm +1 -1
  80. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Perl.pm +1 -1
  81. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Reader.pm +1 -1
  82. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Render.pm +1 -1
  83. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Representer.pm +1 -1
  84. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Binary.pm +1 -1
  85. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Catchall.pm +1 -1
  86. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Core.pm +1 -1
  87. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Failsafe.pm +1 -1
  88. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Include.pm +1 -1
  89. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/JSON.pm +1 -1
  90. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Merge.pm +1 -1
  91. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Perl.pm +1 -1
  92. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Tie/IxHash.pm +1 -1
  93. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/YAML1_1.pm +1 -1
  94. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema.pm +6 -6
  95. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Type/MergeKey.pm +1 -1
  96. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Writer/File.pm +1 -1
  97. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Writer.pm +1 -1
  98. package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP.pm +29 -3
  99. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Attribute-Util-1.07/install.json +1 -1
  100. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Capture-Tiny-0.50/install.json +1 -1
  101. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Class-Load-0.25/install.json +1 -1
  102. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Class-Load-XS-0.10/install.json +1 -1
  103. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Clone-0.47/install.json +1 -1
  104. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-Cmp-0.010/install.json +1 -1
  105. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-OptList-0.114/install.json +1 -1
  106. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-UUID-1.227/install.json +1 -1
  107. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-GlobalDestruction-0.14/install.json +1 -1
  108. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-OverloadInfo-0.007/install.json +1 -1
  109. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-StackTrace-2.05/install.json +1 -1
  110. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Dist-CheckConflicts-0.11/install.json +1 -1
  111. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Eval-Closure-0.14/install.json +1 -1
  112. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Config-0.010/install.json +1 -1
  113. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Helpers-0.028/install.json +1 -1
  114. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-InstallPaths-0.014/install.json +1 -1
  115. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-CheckLib-0.31/install.json +1 -1
  116. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-Platypus-2.10/install.json +1 -1
  117. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/File-Which-1.27/install.json +1 -1
  118. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/IPC-System-Simple-1.30/install.json +1 -1
  119. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/MRO-Compat-0.15/install.json +1 -1
  120. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-0.4234/install.json +1 -1
  121. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-Tiny-0.051/install.json +1 -1
  122. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Implementation-0.09/install.json +1 -1
  123. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-0.016/install.json +1 -1
  124. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-Conflicts-0.003/install.json +1 -1
  125. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Moose-2.2207/install.json +1 -1
  126. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Nice-Try-v1.3.15/install.json +1 -1
  127. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-1.281/install.json +1 -1
  128. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-XS-0.910/install.json +1 -1
  129. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-DeprecationManager-0.18/install.json +1 -1
  130. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-Stash-0.40/install.json +1 -1
  131. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-Stash-XS-0.30/install.json +1 -1
  132. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Params-Util-1.102/install.json +1 -1
  133. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Path-Tiny-0.146/install.json +1 -1
  134. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Safe-Isa-1.000010/install.json +1 -1
  135. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-List-Utils-1.68/install.json +1 -1
  136. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-Util-Numeric-0.40/install.json +1 -1
  137. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scope-Guard-0.21/install.json +1 -1
  138. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Exporter-0.991/install.json +1 -1
  139. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Exporter-Progressive-0.001013/install.json +1 -1
  140. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Install-0.929/install.json +1 -1
  141. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Task-Weaken-1.06/install.json +1 -1
  142. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Test-Fatal-0.017/install.json +1 -1
  143. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Try-Tiny-0.32/install.json +1 -1
  144. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Want-0.29/install.json +1 -1
  145. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/{YAML-PP-v0.38.1 → YAML-PP-v0.39.0}/MYMETA.json +34 -34
  146. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/YAML-PP-v0.39.0/install.json +1 -0
  147. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/aliased-0.34/install.json +1 -1
  148. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/autobox-v3.0.2/install.json +1 -1
  149. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Class/Load/XS/XS.so +0 -0
  150. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Data/UUID/UUID.so +0 -0
  151. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/FFI/Platypus/Platypus.so +0 -0
  152. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/List/Util/Util.so +0 -0
  153. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Moose/Moose.so +0 -0
  154. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PPI/XS/XS.so +0 -0
  155. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Package/Stash/XS/XS.so +0 -0
  156. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Params/Util/Util.so +0 -0
  157. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Want/Want.so +0 -0
  158. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +96 -96
  159. package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/CommandHandler/InvokeGlobalFunctionHandler.pm +63 -0
  160. package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Handler/PerlHandler.pm +7 -0
  161. package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm +6 -1
  162. package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Internal/Abstract/AbstractRuntimeContext.pm +17 -0
  163. package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Internal/RuntimeContext.pm +21 -0
  164. package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load +8 -5
  165. package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load-dump +8 -5
  166. package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load-dump.bat +8 -5
  167. package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load.bat +8 -5
  168. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Attribute-Util-1.07/install.json +1 -1
  169. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Data-Cmp-0.010/install.json +1 -1
  170. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Data-UUID-1.227/install.json +1 -1
  171. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Nice-Try-v1.3.15/install.json +1 -1
  172. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-1.281/install.json +1 -1
  173. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-XS-0.910/install.json +1 -1
  174. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Safe-Isa-1.000010/install.json +1 -1
  175. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Scalar-Util-Numeric-0.40/install.json +1 -1
  176. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Test-Fatal-0.017/install.json +1 -1
  177. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Want-0.29/install.json +1 -1
  178. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/{YAML-PP-v0.38.1 → YAML-PP-v0.39.0}/MYMETA.json +34 -34
  179. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/YAML-PP-v0.39.0/install.json +1 -0
  180. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/autobox-v3.0.2/install.json +1 -1
  181. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Data/UUID/UUID.xs.dll +0 -0
  182. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/XS/XS.xs.dll +0 -0
  183. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Scalar/Util/Numeric/Numeric.xs.dll +0 -0
  184. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Want/Want.xs.dll +0 -0
  185. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/autobox/autobox.xs.dll +0 -0
  186. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +26 -26
  187. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Common.pm +1 -1
  188. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Constructor.pm +7 -1
  189. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Dumper.pm +1 -1
  190. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Emitter.pm +1 -1
  191. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Exception.pm +1 -1
  192. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Grammar.pm +1 -1
  193. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Highlight.pm +1 -1
  194. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Lexer.pm +1 -1
  195. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Loader.pm +3 -1
  196. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Parser.pm +1 -1
  197. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Perl.pm +1 -1
  198. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Reader.pm +1 -1
  199. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Render.pm +1 -1
  200. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Representer.pm +1 -1
  201. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Binary.pm +1 -1
  202. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Catchall.pm +1 -1
  203. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Core.pm +1 -1
  204. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Failsafe.pm +1 -1
  205. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Include.pm +1 -1
  206. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/JSON.pm +1 -1
  207. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Merge.pm +1 -1
  208. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Perl.pm +1 -1
  209. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Tie/IxHash.pm +1 -1
  210. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/YAML1_1.pm +1 -1
  211. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema.pm +6 -6
  212. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Type/MergeKey.pm +1 -1
  213. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Writer/File.pm +1 -1
  214. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Writer.pm +1 -1
  215. package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP.pm +29 -3
  216. package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/CommandHandler/InvokeGlobalFunctionHandler.pm +63 -0
  217. package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Handler/PerlHandler.pm +7 -0
  218. package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/PerlCommandType.pm +6 -1
  219. package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Internal/Abstract/AbstractRuntimeContext.pm +17 -0
  220. package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Internal/RuntimeContext.pm +21 -0
  221. package/Binaries/Python/javonet/core/handler/Handler.py +2 -0
  222. package/Binaries/Python/javonet/core/handler/InvokeGlobalFunctionHandler.py +46 -0
  223. package/Binaries/Python/javonet/utils/CommandType.py +2 -1
  224. package/Binaries/Ruby/Linux/X64/core/handler/handler.rb +3 -0
  225. package/Binaries/Ruby/Linux/X64/core/handler/invoke_global_function_handler.rb +45 -0
  226. package/Binaries/Ruby/Linux/X64/core/handler/invoke_instance_method_handler.rb +9 -5
  227. package/Binaries/Ruby/Linux/X64/core/handler/invoke_static_method_handler.rb +4 -3
  228. package/Binaries/Ruby/Linux/X64/core/receiver/receiver.rb +6 -2
  229. package/Binaries/Ruby/Linux/X64/utils/command_type.rb +18 -3
  230. package/Binaries/Ruby/MacOs/X64/core/handler/handler.rb +3 -0
  231. package/Binaries/Ruby/MacOs/X64/core/handler/invoke_global_function_handler.rb +45 -0
  232. package/Binaries/Ruby/MacOs/X64/core/handler/invoke_instance_method_handler.rb +9 -5
  233. package/Binaries/Ruby/MacOs/X64/core/handler/invoke_static_method_handler.rb +4 -3
  234. package/Binaries/Ruby/MacOs/X64/core/receiver/receiver.rb +6 -2
  235. package/Binaries/Ruby/MacOs/X64/utils/command_type.rb +18 -3
  236. package/Binaries/Ruby/Windows/X64/core/handler/handler.rb +3 -0
  237. package/Binaries/Ruby/Windows/X64/core/handler/invoke_global_function_handler.rb +45 -0
  238. package/Binaries/Ruby/Windows/X64/core/handler/invoke_instance_method_handler.rb +9 -5
  239. package/Binaries/Ruby/Windows/X64/core/handler/invoke_static_method_handler.rb +4 -3
  240. package/Binaries/Ruby/Windows/X64/core/receiver/receiver.rb +6 -2
  241. package/Binaries/Ruby/Windows/X64/utils/command_type.rb +18 -3
  242. package/Binaries/version.txt +1 -1
  243. package/dist/Javonet.d.ts +89 -682
  244. package/dist/lib/core/handler/Handler.js +6 -9
  245. package/dist/lib/core/handler/InvokeGlobalFunctionHandler.js +39 -0
  246. package/dist/lib/core/interpreter/Interpreter.js +11 -15
  247. package/dist/lib/core/protocol/TypeSerializer.js +7 -0
  248. package/dist/lib/core/transmitter/TransmitterWrapper.js +1 -1
  249. package/dist/lib/sdk/InvocationContext.js +7 -17
  250. package/dist/lib/sdk/RuntimeContext.js +27 -0
  251. package/dist/lib/utils/CommandType.js +1 -2
  252. package/dist/lib/utils/CustomError.js +8 -0
  253. package/lib/core/handler/Handler.js +6 -9
  254. package/lib/core/handler/InvokeGlobalFunctionHandler.js +39 -0
  255. package/lib/core/transmitter/TransmitterWrapper.js +1 -1
  256. package/package.json +1 -1
  257. package/Binaries/Nodejs/lib/core/generator/handler/AbstractGeneratorHandler.js +0 -11
  258. package/Binaries/Nodejs/lib/core/generator/handler/CreateInstanceGeneratorHandler.js +0 -27
  259. package/Binaries/Nodejs/lib/core/generator/handler/GeneratorHandler.js +0 -38
  260. package/Binaries/Nodejs/lib/core/generator/handler/GetInstanceFieldGeneratorHandler.js +0 -26
  261. package/Binaries/Nodejs/lib/core/generator/handler/GetStaticFieldGeneratorHandler.js +0 -24
  262. package/Binaries/Nodejs/lib/core/generator/handler/GetTypeGeneratorHandler.js +0 -39
  263. package/Binaries/Nodejs/lib/core/generator/handler/Handlers.js +0 -58
  264. package/Binaries/Nodejs/lib/core/generator/handler/InvokeInstanceMethodGeneratorHandler.js +0 -33
  265. package/Binaries/Nodejs/lib/core/generator/handler/InvokeStandaloneMethodGeneratorHandler.js +0 -35
  266. package/Binaries/Nodejs/lib/core/generator/handler/InvokeStaticMethodGeneratorHandler.js +0 -35
  267. package/Binaries/Nodejs/lib/core/generator/handler/shared/SharedArgumentNameHandler.js +0 -15
  268. package/Binaries/Nodejs/lib/core/generator/handler/shared/SharedClassInstanceHandler.js +0 -12
  269. package/Binaries/Nodejs/lib/core/generator/handler/shared/SharedClassNameHandler.js +0 -44
  270. package/Binaries/Nodejs/lib/core/generator/handler/shared/SharedMethodNameHandler.js +0 -42
  271. package/Binaries/Nodejs/lib/core/generator/handler/shared/SharedReturnTypeHandler.js +0 -9
  272. package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedBodyHandler.js +0 -18
  273. package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedCreateInstanceBodyHandler.js +0 -29
  274. package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedGetInstanceFieldBodyHandler.js +0 -21
  275. package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedGetStaticFieldBodyHandler.js +0 -31
  276. package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedGetTypeBodyHandler.js +0 -21
  277. package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedInvokeInstanceMethodBodyHandler.js +0 -33
  278. package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedInvokeStandaloneMethodBodyHandler.js +0 -39
  279. package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedInvokeStaticMethodBodyHandler.js +0 -39
  280. package/Binaries/Nodejs/lib/core/generator/internal/CommonGenerator.js +0 -39
  281. package/Binaries/Nodejs/lib/core/generator/internal/NodejsStringBuilder.js +0 -17
  282. package/Binaries/Nodejs/lib/core/generator/internal/SharedHandlerType.js +0 -10
  283. package/Binaries/Nodejs/lib/core/generator/utils/StringUtils.js +0 -7
  284. package/Binaries/Nodejs/lib/core/handler/InvokeGlobalMethodHandler.js +0 -43
  285. package/Binaries/Nodejs/lib/core/handler/InvokeStandaloneMethodHandler.js +0 -56
  286. package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/YAML-PP-v0.38.1/install.json +0 -1
  287. package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Internal/Abstract/AbstractModuleContext.pm +0 -11
  288. package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/YAML-PP-v0.38.1/install.json +0 -1
  289. package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Internal/Abstract/AbstractModuleContext.pm +0 -11
  290. package/dist/lib/core/generator/handler/AbstractGeneratorHandler.js +0 -11
  291. package/dist/lib/core/generator/handler/CreateInstanceGeneratorHandler.js +0 -27
  292. package/dist/lib/core/generator/handler/GeneratorHandler.js +0 -38
  293. package/dist/lib/core/generator/handler/GetInstanceFieldGeneratorHandler.js +0 -26
  294. package/dist/lib/core/generator/handler/GetStaticFieldGeneratorHandler.js +0 -24
  295. package/dist/lib/core/generator/handler/GetTypeGeneratorHandler.js +0 -39
  296. package/dist/lib/core/generator/handler/Handlers.js +0 -58
  297. package/dist/lib/core/generator/handler/InvokeInstanceMethodGeneratorHandler.js +0 -33
  298. package/dist/lib/core/generator/handler/InvokeStandaloneMethodGeneratorHandler.js +0 -35
  299. package/dist/lib/core/generator/handler/InvokeStaticMethodGeneratorHandler.js +0 -35
  300. package/dist/lib/core/generator/handler/shared/SharedArgumentNameHandler.js +0 -15
  301. package/dist/lib/core/generator/handler/shared/SharedClassInstanceHandler.js +0 -12
  302. package/dist/lib/core/generator/handler/shared/SharedClassNameHandler.js +0 -44
  303. package/dist/lib/core/generator/handler/shared/SharedMethodNameHandler.js +0 -42
  304. package/dist/lib/core/generator/handler/shared/SharedReturnTypeHandler.js +0 -9
  305. package/dist/lib/core/generator/handler/shared/body/SharedBodyHandler.js +0 -18
  306. package/dist/lib/core/generator/handler/shared/body/SharedCreateInstanceBodyHandler.js +0 -29
  307. package/dist/lib/core/generator/handler/shared/body/SharedGetInstanceFieldBodyHandler.js +0 -21
  308. package/dist/lib/core/generator/handler/shared/body/SharedGetStaticFieldBodyHandler.js +0 -31
  309. package/dist/lib/core/generator/handler/shared/body/SharedGetTypeBodyHandler.js +0 -21
  310. package/dist/lib/core/generator/handler/shared/body/SharedInvokeInstanceMethodBodyHandler.js +0 -33
  311. package/dist/lib/core/generator/handler/shared/body/SharedInvokeStandaloneMethodBodyHandler.js +0 -39
  312. package/dist/lib/core/generator/handler/shared/body/SharedInvokeStaticMethodBodyHandler.js +0 -39
  313. package/dist/lib/core/generator/internal/CommonGenerator.js +0 -39
  314. package/dist/lib/core/generator/internal/NodejsStringBuilder.js +0 -17
  315. package/dist/lib/core/generator/internal/SharedHandlerType.js +0 -10
  316. package/dist/lib/core/generator/utils/StringUtils.js +0 -7
  317. package/dist/lib/core/handler/InvokeGlobalMethodHandler.js +0 -43
  318. package/dist/lib/core/handler/InvokeStandaloneMethodHandler.js +0 -56
  319. package/lib/core/generator/handler/AbstractGeneratorHandler.js +0 -11
  320. package/lib/core/generator/handler/CreateInstanceGeneratorHandler.js +0 -27
  321. package/lib/core/generator/handler/GeneratorHandler.js +0 -38
  322. package/lib/core/generator/handler/GetInstanceFieldGeneratorHandler.js +0 -26
  323. package/lib/core/generator/handler/GetStaticFieldGeneratorHandler.js +0 -24
  324. package/lib/core/generator/handler/GetTypeGeneratorHandler.js +0 -39
  325. package/lib/core/generator/handler/Handlers.js +0 -58
  326. package/lib/core/generator/handler/InvokeInstanceMethodGeneratorHandler.js +0 -33
  327. package/lib/core/generator/handler/InvokeStandaloneMethodGeneratorHandler.js +0 -35
  328. package/lib/core/generator/handler/InvokeStaticMethodGeneratorHandler.js +0 -35
  329. package/lib/core/generator/handler/shared/SharedArgumentNameHandler.js +0 -15
  330. package/lib/core/generator/handler/shared/SharedClassInstanceHandler.js +0 -12
  331. package/lib/core/generator/handler/shared/SharedClassNameHandler.js +0 -44
  332. package/lib/core/generator/handler/shared/SharedMethodNameHandler.js +0 -42
  333. package/lib/core/generator/handler/shared/SharedReturnTypeHandler.js +0 -9
  334. package/lib/core/generator/handler/shared/body/SharedBodyHandler.js +0 -18
  335. package/lib/core/generator/handler/shared/body/SharedCreateInstanceBodyHandler.js +0 -29
  336. package/lib/core/generator/handler/shared/body/SharedGetInstanceFieldBodyHandler.js +0 -21
  337. package/lib/core/generator/handler/shared/body/SharedGetStaticFieldBodyHandler.js +0 -31
  338. package/lib/core/generator/handler/shared/body/SharedGetTypeBodyHandler.js +0 -21
  339. package/lib/core/generator/handler/shared/body/SharedInvokeInstanceMethodBodyHandler.js +0 -33
  340. package/lib/core/generator/handler/shared/body/SharedInvokeStandaloneMethodBodyHandler.js +0 -39
  341. package/lib/core/generator/handler/shared/body/SharedInvokeStaticMethodBodyHandler.js +0 -39
  342. package/lib/core/generator/internal/CommonGenerator.js +0 -39
  343. package/lib/core/generator/internal/NodejsStringBuilder.js +0 -17
  344. package/lib/core/generator/internal/SharedHandlerType.js +0 -10
  345. package/lib/core/generator/utils/StringUtils.js +0 -7
  346. package/lib/core/handler/InvokeGlobalMethodHandler.js +0 -43
  347. package/lib/core/handler/InvokeStandaloneMethodHandler.js +0 -56
  348. package/lib/sdk/RuntimeContext.js +0 -36
Binary file
Binary file
Binary file
@@ -1 +1 @@
1
- 2.5.11
1
+ 2.5.12
@@ -1,33 +1,33 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuites tests="28" failures="0" disabled="0" errors="0" time="3.889" timestamp="2025-02-03T11:54:13.832" name="AllTests">
3
- <testsuite name="Unit" tests="28" failures="0" disabled="0" skipped="0" errors="0" time="3.889" timestamp="2025-02-03T11:54:13.832">
4
- <testcase name="Activation_Activate_correct_credentials" file="/home/vsts/work/1/s/src/native/UnitTests/ActivationTests.cpp" line="8" status="run" result="completed" time="3.569" timestamp="2025-02-03T11:54:13.832" classname="Unit" />
5
- <testcase name="Activation_Activate_javonet_lic_exists" file="/home/vsts/work/1/s/src/native/UnitTests/ActivationTests.cpp" line="15" status="run" result="completed" time="0.034" timestamp="2025-02-03T11:54:17.402" classname="Unit" />
6
- <testcase name="Activation_Activate_incorrect_license_key" file="/home/vsts/work/1/s/src/native/UnitTests/ActivationTests.cpp" line="21" status="run" result="completed" time="0.069" timestamp="2025-02-03T11:54:17.437" classname="Unit" />
7
- <testcase name="ConfigFileReader_ExisitingFile" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="10" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.506" classname="Unit" />
8
- <testcase name="SetConfigPath_MissingFile" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="15" status="run" result="completed" time="0.083" timestamp="2025-02-03T11:54:17.506" classname="Unit" />
9
- <testcase name="ConfigFileReader_GetLicenseKey" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="35" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.590" classname="Unit" />
10
- <testcase name="ConfigFileReadet_GetLoggingLevel" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="41" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.590" classname="Unit" />
11
- <testcase name="ConfigFileReader_GetProxyHost" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="47" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.591" classname="Unit" />
12
- <testcase name="ConfigFileReader_GetProxyPort" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="53" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.591" classname="Unit" />
13
- <testcase name="ConfigFileReader_GetProxyUsername" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="59" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.591" classname="Unit" />
14
- <testcase name="ConfigFileReader_GetProxyPassword" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="65" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.591" classname="Unit" />
15
- <testcase name="ConfigFileReader_GetProxyDomain" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="71" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.591" classname="Unit" />
16
- <testcase name="ConfigFileReader_GetProxyHost_NoProxy" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="77" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.591" classname="Unit" />
17
- <testcase name="ConfigFileReader_GetProxyPort_NoProxy" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="83" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.591" classname="Unit" />
18
- <testcase name="ConfigFileReader_GetProxyUserName_NoProxy" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="89" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.591" classname="Unit" />
19
- <testcase name="ConfigFileReader_GetProxyPassword_NoProxy" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="95" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.591" classname="Unit" />
20
- <testcase name="ConfigFileReader_GetProxyDomain_NoProxy" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="101" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.592" classname="Unit" />
21
- <testcase name="ConfigFileReader_GetRuntimeName_Jvm" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="107" status="run" result="completed" time="0.001" timestamp="2025-02-03T11:54:17.592" classname="Unit" />
22
- <testcase name="ConfigFileReader_GetRuntimeName_Netcore" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="113" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.593" classname="Unit" />
23
- <testcase name="ConfigFileReader_GetRuntimeType_MissingType" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="119" status="run" result="completed" time="0.088" timestamp="2025-02-03T11:54:17.593" classname="Unit" />
24
- <testcase name="ConfigFileReader_GetChannelType_Jvm" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="137" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.682" classname="Unit" />
25
- <testcase name="ConfigFileReader_GetChannelType_Netcore" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="143" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.683" classname="Unit" />
26
- <testcase name="ConfigFileReader_GetChannelHost_Jvm" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="149" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.683" classname="Unit" />
27
- <testcase name="ConfigFileReader_GetChannelHost_Netcore" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="156" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.684" classname="Unit" />
28
- <testcase name="ConfigFileReader_GetChannelPort_Jvm" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="163" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.684" classname="Unit" />
29
- <testcase name="ConfigFileReader_GetChannelPort_Netcore" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="170" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.685" classname="Unit" />
30
- <testcase name="ConfigFileReader_GetChannelRuntimePath_Jvm" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="177" status="run" result="completed" time="0." timestamp="2025-02-03T11:54:17.686" classname="Unit" />
31
- <testcase name="AppInsightLogger" file="/home/vsts/work/1/s/src/native/UnitTests/LoggingTests.cpp" line="4" status="run" result="completed" time="0.035" timestamp="2025-02-03T11:54:17.686" classname="Unit" />
2
+ <testsuites tests="28" failures="0" disabled="0" errors="0" time="8.427" timestamp="2025-02-13T07:55:23.571" name="AllTests">
3
+ <testsuite name="Unit" tests="28" failures="0" disabled="0" skipped="0" errors="0" time="8.427" timestamp="2025-02-13T07:55:23.571">
4
+ <testcase name="Activation_Activate_correct_credentials" file="/home/vsts/work/1/s/src/native/UnitTests/ActivationTests.cpp" line="8" status="run" result="completed" time="7.418" timestamp="2025-02-13T07:55:23.571" classname="Unit" />
5
+ <testcase name="Activation_Activate_javonet_lic_exists" file="/home/vsts/work/1/s/src/native/UnitTests/ActivationTests.cpp" line="15" status="run" result="completed" time="0.509" timestamp="2025-02-13T07:55:30.990" classname="Unit" />
6
+ <testcase name="Activation_Activate_incorrect_license_key" file="/home/vsts/work/1/s/src/native/UnitTests/ActivationTests.cpp" line="21" status="run" result="completed" time="0.228" timestamp="2025-02-13T07:55:31.500" classname="Unit" />
7
+ <testcase name="ConfigFileReader_ExisitingFile" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="10" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.728" classname="Unit" />
8
+ <testcase name="SetConfigPath_MissingFile" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="15" status="run" result="completed" time="0.113" timestamp="2025-02-13T07:55:31.728" classname="Unit" />
9
+ <testcase name="ConfigFileReader_GetLicenseKey" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="35" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.842" classname="Unit" />
10
+ <testcase name="ConfigFileReadet_GetLoggingLevel" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="41" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.842" classname="Unit" />
11
+ <testcase name="ConfigFileReader_GetProxyHost" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="47" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.843" classname="Unit" />
12
+ <testcase name="ConfigFileReader_GetProxyPort" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="53" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.843" classname="Unit" />
13
+ <testcase name="ConfigFileReader_GetProxyUsername" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="59" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.843" classname="Unit" />
14
+ <testcase name="ConfigFileReader_GetProxyPassword" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="65" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.843" classname="Unit" />
15
+ <testcase name="ConfigFileReader_GetProxyDomain" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="71" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.843" classname="Unit" />
16
+ <testcase name="ConfigFileReader_GetProxyHost_NoProxy" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="77" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.844" classname="Unit" />
17
+ <testcase name="ConfigFileReader_GetProxyPort_NoProxy" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="83" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.844" classname="Unit" />
18
+ <testcase name="ConfigFileReader_GetProxyUserName_NoProxy" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="89" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.844" classname="Unit" />
19
+ <testcase name="ConfigFileReader_GetProxyPassword_NoProxy" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="95" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.844" classname="Unit" />
20
+ <testcase name="ConfigFileReader_GetProxyDomain_NoProxy" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="101" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.844" classname="Unit" />
21
+ <testcase name="ConfigFileReader_GetRuntimeName_Jvm" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="107" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.845" classname="Unit" />
22
+ <testcase name="ConfigFileReader_GetRuntimeName_Netcore" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="113" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.845" classname="Unit" />
23
+ <testcase name="ConfigFileReader_GetRuntimeType_MissingType" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="119" status="run" result="completed" time="0.112" timestamp="2025-02-13T07:55:31.846" classname="Unit" />
24
+ <testcase name="ConfigFileReader_GetChannelType_Jvm" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="137" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.958" classname="Unit" />
25
+ <testcase name="ConfigFileReader_GetChannelType_Netcore" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="143" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.959" classname="Unit" />
26
+ <testcase name="ConfigFileReader_GetChannelHost_Jvm" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="149" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.960" classname="Unit" />
27
+ <testcase name="ConfigFileReader_GetChannelHost_Netcore" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="156" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.961" classname="Unit" />
28
+ <testcase name="ConfigFileReader_GetChannelPort_Jvm" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="163" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.962" classname="Unit" />
29
+ <testcase name="ConfigFileReader_GetChannelPort_Netcore" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="170" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.963" classname="Unit" />
30
+ <testcase name="ConfigFileReader_GetChannelRuntimePath_Jvm" file="/home/vsts/work/1/s/src/native/UnitTests/ConfigFileReaderTests.cpp" line="177" status="run" result="completed" time="0." timestamp="2025-02-13T07:55:31.963" classname="Unit" />
31
+ <testcase name="AppInsightLogger" file="/home/vsts/work/1/s/src/native/UnitTests/LoggingTests.cpp" line="4" status="run" result="completed" time="0.034" timestamp="2025-02-13T07:55:31.964" classname="Unit" />
32
32
  </testsuite>
33
33
  </testsuites>
@@ -1 +1 @@
1
- 2.5.11
1
+ 2.5.12
@@ -1 +1 @@
1
- 2.5.11
1
+ 2.5.12
@@ -1 +1 @@
1
- '2.5.11'
1
+ '2.5.12'
@@ -1 +1 @@
1
- '2.5.11'
1
+ '2.5.12'
@@ -1,3 +1,6 @@
1
+ const { CommandType, Command, ExceptionSerializer } = require('../../..')
2
+ const ReferencesCache = require('../referenceCache/ReferencesCache')
3
+
1
4
  const ValueHandler = require('./ValueHandler')
2
5
  const LoadLibraryHandler = require('./LoadLibraryHandler')
3
6
  const GetTypeHandler = require('./GetTypeHandler')
@@ -11,7 +14,6 @@ const SetInstanceFieldHandler = require('./SetInstanceFieldHandler')
11
14
  const InvokeInstanceMethodHandler = require('./InvokeInstanceMethodHandler')
12
15
  const DestructReferenceHandler = require('./DestructReferenceHandler')
13
16
  const CastHandler = require('./CastingHandler')
14
- const InvokeGlobalMethodHandler = require('./InvokeGlobalMethodHandler')
15
17
  const ArrayGetItemHandler = require('./ArrayGetItemHandler')
16
18
  const ArrayGetSizeHandler = require('./ArrayGetSizeHandler')
17
19
  const ArrayGetRankHandler = require('./ArrayGetRankHandler')
@@ -19,15 +21,11 @@ const ArraySetItemHandler = require('./ArraySetItemHandler')
19
21
  const ArrayHandler = require('./ArrayHandler')
20
22
  const EnableNamespaceHandler = require('./EnableNamespaceHandler')
21
23
  const EnableTypeHandler = require('./EnableTypeHandler')
22
-
23
- const { CommandType, Command, ExceptionSerializer } = require('../../..')
24
- const ReferencesCache = require('../referenceCache/ReferencesCache')
25
- const InvokeStandaloneMethodHandler = require('./InvokeStandaloneMethodHandler')
26
24
  const GetStaticMethodAsDelegateHandler = require('./GetStaticMethodAsDelegateHandler')
27
25
  const GetInstanceMethodAsDelegateHandler = require('./GetInstanceMethodAsDelegateHandler')
28
26
  const PassDelegateHandler = require('./PassDelegateHandler')
29
27
  const InvokeDelegateHandler = require('./InvokeDelegateHandler')
30
- const { ConvertTypeHandler } = require('../../utils/TypesConverter')
28
+ const InvokeGlobalFunctionHandler = require('./InvokeGlobalFunctionHandler')
31
29
 
32
30
  function isResponseSimpleType(response) {
33
31
  let type = typeof response
@@ -51,8 +49,6 @@ const handlers = {
51
49
  [CommandType.GetInstanceField]: GetInstanceFieldHandler,
52
50
  [CommandType.SetInstanceField]: SetInstanceFieldHandler,
53
51
  [CommandType.InvokeInstanceMethod]: InvokeInstanceMethodHandler,
54
- [CommandType.InvokeStandaloneMethod]: InvokeStandaloneMethodHandler,
55
- [CommandType.InvokeGlobalMethod]: InvokeGlobalMethodHandler,
56
52
  [CommandType.DestructReference]: DestructReferenceHandler,
57
53
  [CommandType.ArrayGetItem]: ArrayGetItemHandler,
58
54
  [CommandType.ArrayGetSize]: ArrayGetSizeHandler,
@@ -65,7 +61,8 @@ const handlers = {
65
61
  [CommandType.GetInstanceMethodAsDelegate]: GetInstanceMethodAsDelegateHandler,
66
62
  [CommandType.PassDelegate]: PassDelegateHandler,
67
63
  [CommandType.InvokeDelegate]: InvokeDelegateHandler,
68
- [CommandType.ConvertType]: ConvertTypeHandler,
64
+ // [CommandType.ConvertType]: ConvertTypeHandler,
65
+ [CommandType.InvokeGlobalFunction]: InvokeGlobalFunctionHandler,
69
66
  }
70
67
 
71
68
  Object.keys(handlers).forEach((commandTypeHandler) => {
@@ -0,0 +1,39 @@
1
+ const AbstractHandler = require('./AbstractHandler')
2
+
3
+ class InvokeGlobalFunctionHandler extends AbstractHandler {
4
+ requiredParametersCount = 1
5
+
6
+ constructor() {
7
+ super()
8
+ }
9
+
10
+ process(command) {
11
+ try {
12
+ if (command.payload.length < this.requiredParametersCount) {
13
+ throw new Error('Invoke Global Function parameters mismatch')
14
+ }
15
+ const { payload } = command
16
+ const functionName = payload[0]
17
+ const args = payload.slice(1)
18
+
19
+ if (typeof global[functionName] === 'function') {
20
+ return Reflect.apply(global[functionName], undefined, args)
21
+ } else {
22
+ let methods = Object.getOwnPropertyNames(global).filter(function(property) {
23
+ return typeof global[property] === 'function'
24
+ })
25
+ let message = `Method ${functionName} not found in global. Available methods:\n`
26
+ methods.forEach((methodIter) => {
27
+ message += `${methodIter}\n`
28
+ })
29
+ throw new Error(message)
30
+ }
31
+
32
+
33
+ } catch (error) {
34
+ throw this.process_stack_trace(error, this.constructor.name)
35
+ }
36
+ }
37
+ }
38
+
39
+ module.exports = new InvokeGlobalFunctionHandler()
@@ -31,27 +31,22 @@ class Interpreter {
31
31
  _Receiver = require(require.resolve('../receiver/Receiver'))
32
32
  }
33
33
  responseByteArray = _Receiver.sendCommand(messageByteArray)
34
- } else if (
35
- command.runtimeName === RuntimeName.Nodejs &&
36
- connectionData.connectionType === ConnectionType.WEB_SOCKET
37
- ) {
34
+ } else if (connectionData.connectionType === ConnectionType.WEB_SOCKET) {
38
35
  try {
39
36
  // lazy transmitter websocket loading
40
37
  if (!_TransmitterWebsocket) {
41
38
  _TransmitterWebsocket = require('../transmitter/TransmitterWebsocket')
42
39
  }
43
- const promise = _TransmitterWebsocket.sendCommand(messageByteArray, connectionData)
44
- return promise
45
- .then((_response) => {
46
- if (_response) {
47
- const command = new CommandDeserializer(_response).deserialize()
48
- return command
49
- }
50
- })
51
- .catch((error) => {
52
- throw error
53
- })
40
+ const _response = await _TransmitterWebsocket.sendCommand(
41
+ messageByteArray,
42
+ connectionData
43
+ )
44
+ if (_response) {
45
+ const command = new CommandDeserializer(_response).deserialize()
46
+ return command
47
+ }
54
48
  } catch (error) {
49
+ // TODO: handle error exception log?
55
50
  console.log(error)
56
51
  }
57
52
  } else {
@@ -65,6 +60,7 @@ class Interpreter {
65
60
  // eslint-disable-next-line no-unused-vars
66
61
  } catch (error) {
67
62
  // TODO: handle error exception log?
63
+ console.log(error)
68
64
  }
69
65
  }
70
66
 
@@ -2,6 +2,7 @@ const Command = require('../../utils/Command')
2
2
  const Type = require('../../utils/Type')
3
3
  const StringEncodingMode = require('../../utils/StringEncodingMode')
4
4
  const { Buffer } = require('buffer')
5
+ const CustomError = require('../../utils/CustomError')
5
6
 
6
7
  const encoder = new TextEncoder()
7
8
 
@@ -23,6 +24,12 @@ class TypeSerializer {
23
24
  } else if (typeof payload_item === 'boolean' || payload_item instanceof Boolean) {
24
25
  return TypeSerializer.serializeBool(payload_item)
25
26
  } else {
27
+ if (payload_item instanceof Promise) {
28
+ throw new CustomError('Type not supported - Promise', JSON.stringify(payload_item))
29
+ }
30
+ if (payload_item === undefined) {
31
+ throw 'Type not supported - undefined'
32
+ }
26
33
  throw 'Unknown type - not supported in JavaScript'
27
34
  }
28
35
  }
@@ -40,7 +40,7 @@ class TransmitterWrapper {
40
40
 
41
41
  static setJavonetWorkingDirectory(path) {
42
42
  this.loadNativeLibrary()
43
- library.setWorkingDirectory(path)
43
+ library.setJavonetWorkingDirectory(path)
44
44
  }
45
45
  }
46
46
 
@@ -92,7 +92,9 @@ class InvocationContext {
92
92
  execute() {
93
93
  this.#interpreter = new Interpreter()
94
94
  this.#responseCommand = this.#interpreter.execute(this.#currentCommand, this.#connectionData)
95
-
95
+ if (this.#responseCommand === undefined) {
96
+ throw new Error('responseCommand is undefined in Invocation Context execute method')
97
+ }
96
98
  if (this.#responseCommand.commandType === CommandType.Exception) {
97
99
  throw ExceptionThrower.throwException(this.#responseCommand)
98
100
  }
@@ -122,22 +124,6 @@ class InvocationContext {
122
124
  return this.#createInstanceContext(localCommand)
123
125
  }
124
126
 
125
- /**
126
- * Invokes a standalone method on the target runtime.
127
- * @param {string} methodName - The name of the method to invoke.
128
- * @param {...any} args - Method arguments.
129
- * @returns {InvocationContext} A new InvocationContext instance that wraps the command to invoke the static method.
130
- * @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/calling-methods/invoking-static-method)
131
- * @method
132
- */
133
- invokeStandaloneMethod(methodName, ...args) {
134
- let localCommand = new Command(this.#runtimeName, CommandType.InvokeStandaloneMethod, [
135
- methodName,
136
- ...args,
137
- ])
138
- return this.#createInstanceContext(localCommand)
139
- }
140
-
141
127
  /**
142
128
  * Retrieves the value of a static field from the target runtime.
143
129
  * @param {string} fieldName - The name of the field to get.
@@ -480,6 +466,10 @@ class InvocationWsContext extends InvocationContext {
480
466
  this.#connectionData
481
467
  )
482
468
 
469
+ if (this.#responseCommand === undefined) {
470
+ throw new Error('responseCommand is undefined in Invocation Context execute method')
471
+ }
472
+
483
473
  if (this.#responseCommand.commandType === CommandType.Exception) {
484
474
  throw ExceptionThrower.throwException(this.#responseCommand)
485
475
  }
@@ -103,6 +103,9 @@ class RuntimeContext {
103
103
  execute() {
104
104
  this.#responseCommand = this.#interpreter.execute(this.#currentCommand, this.connectionData)
105
105
  this.#currentCommand = null
106
+ if (this.#responseCommand === undefined) {
107
+ throw new Error('responseCommand is undefined in Runtime Context execute method')
108
+ }
106
109
  if (this.#responseCommand.commandType === CommandType.Exception) {
107
110
  throw ExceptionThrower.throwException(this.#responseCommand)
108
111
  }
@@ -233,6 +236,30 @@ class RuntimeContext {
233
236
  return new InvocationContext(this.runtimeName, this.connectionData, this.#buildCommand(localCommand))
234
237
  }
235
238
 
239
+ /**
240
+ * Invokes a function from the called runtime. This method is used when working with functions from the called runtime.
241
+ * The arguments include the function name and the arguments to be passed to the function.
242
+ * After invoking the function, the result can be used for further operations.
243
+ * @param {string} functionName - The name of the function to invoke.
244
+ * @param {...any} args - The arguments to be passed to the function.
245
+ * @returns {InvocationContext} InvocationContext instance that wraps the command to invoke the function.
246
+ * @see [Invoking Functions Guide](https://www.javonet.com/guides/v2/csharp/functions/invoking-functions)
247
+ * @method
248
+ */
249
+ invokeGlobalFunction(functionName, ...args) {
250
+ let localCommand = new Command(this.runtimeName, CommandType.InvokeGlobalFunction, [functionName, ...args]);
251
+ this.#currentCommand = null;
252
+ if (this.connectionData.connectionType === ConnectionType.WEB_SOCKET) {
253
+ return new InvocationWsContext(
254
+ this.runtimeName,
255
+ this.connectionData,
256
+ this.#buildCommand(localCommand)
257
+ );
258
+ }
259
+ return new InvocationContext(this.runtimeName, this.connectionData, this.#buildCommand(localCommand));
260
+ }
261
+
262
+
236
263
  #buildCommand = function (command) {
237
264
  for (let i = 0; i < command.payload.length; i++) {
238
265
  command.payload[i] = this.#encapsulatePayloadItem(command.payload[i])
@@ -16,7 +16,7 @@ const CommandType = /** @type {const} */ ({
16
16
  GetInstanceField: 13,
17
17
  Optimize: 14,
18
18
  GenerateLib: 15,
19
- InvokeGlobalMethod: 16,
19
+ InvokeGlobalFunction: 16,
20
20
  DestructReference: 17,
21
21
  ArrayReference: 18,
22
22
  ArrayGetItem: 19,
@@ -42,7 +42,6 @@ const CommandType = /** @type {const} */ ({
42
42
  PassDelegate: 39,
43
43
  InvokeDelegate: 40,
44
44
  ConvertType: 41,
45
- InvokeStandaloneMethod: 42,
46
45
  })
47
46
 
48
47
  module.exports = CommandType
@@ -0,0 +1,8 @@
1
+ class CustomError extends Error {
2
+ constructor(message, cause) {
3
+ super(`${message}: ${cause}`)
4
+ this.name = 'CustomError'
5
+ }
6
+ }
7
+
8
+ module.exports = CustomError
@@ -15,7 +15,8 @@ GetOptions(
15
15
  'cyclic' => \my $cyclic,
16
16
  'duplicate-keys' => \my $duplicate_keys,
17
17
  'merge' => \my $merge,
18
- 'catchall' => \my $catchall,
18
+ #'catchall' => \my $catchall,
19
+ 'require-footer' => \my $require_footer,
19
20
  'perl' => \my $perl,
20
21
  'module|M=s' => \my $module,
21
22
  'yaml-version=s' => \my $yaml_version,
@@ -34,9 +35,9 @@ if ($merge) {
34
35
  if ($perl) {
35
36
  push @schema, 'Perl';
36
37
  }
37
- if ($catchall) {
38
- push @schema, 'Catchall';
39
- }
38
+ #if ($catchall) {
39
+ # push @schema, 'Catchall';
40
+ #}
40
41
 
41
42
  my ($file) = @ARGV;
42
43
  my $yaml;
@@ -78,6 +79,7 @@ sub _yamlpp {
78
79
  duplicate_keys => $duplicate_keys ? 1 : 0,
79
80
  preserve => PRESERVE_ORDER,
80
81
  yaml_version => \@yaml_versions,
82
+ require_footer => $require_footer,
81
83
  );
82
84
  my @docs = $ypp->load_string($yaml);
83
85
  return @docs;
@@ -141,12 +143,13 @@ Options:
141
143
  --cyclic Allow cyclic references
142
144
  --duplicate-keys Allow duplicate keys
143
145
  --merge Enable loading merge keys '<<'
144
- --catchall Ignore any unknown tags
146
+ --require-footer Require '...' and the end of each document
145
147
  --perl Enable loading perl types and objects (use only
146
148
  on trusted input!)
147
149
  --module -M YAML::PP (default), YAML, YAML::PP::LibYAML,
148
150
  YAML::Syck, YAML::Tiny, YAML::XS, YAML::PP::Ref
149
151
  --yaml-version= '1.2' (default), '1.1', '1.2,1.1', '1.1,1.2'
150
152
  EOM
153
+ #--catchall Ignore any unknown tags
151
154
  exit $rc;
152
155
  }