javonet-nodejs-sdk 2.5.8 → 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.
- package/Binaries/Clr/Javonet.Clr.Utils.dll +0 -0
- package/Binaries/Clr/JavonetClrRuntime.dll +0 -0
- package/Binaries/Jvm/JavonetJvmRuntime.jar +0 -0
- package/Binaries/Native/Linux/ARM64/NetVersion90LatestPatch.runtimeconfig.json +10 -0
- package/Binaries/Native/Linux/ARM64/NetVersionLatest.runtimeconfig.json +2 -2
- package/Binaries/Native/Linux/ARM64/libJavonetActivationService.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetCppRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetGoRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetJvmRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetNetcoreRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetPythonRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetRuby278RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetRubyRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetTcpClient.so +0 -0
- package/Binaries/Native/Linux/ARM64/libJavonetTcpTlsClient.so +0 -0
- package/Binaries/Native/Linux/ARM64/libUtils.so +0 -0
- package/Binaries/Native/Linux/ARM64/version.txt +1 -1
- package/Binaries/Native/Linux/X64/NativeUtilsUnitTests.xml +30 -29
- package/Binaries/Native/Linux/X64/NetVersion90LatestPatch.runtimeconfig.json +10 -0
- package/Binaries/Native/Linux/X64/NetVersionLatest.runtimeconfig.json +2 -2
- package/Binaries/Native/Linux/X64/libJavonetActivationService.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetCppRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetGoRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetJvmRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetNetcoreRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetNodejs1816RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetNodejsRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetPerlRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetPythonRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetRuby278RuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetRubyRuntimeNative.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetTcpClient.so +0 -0
- package/Binaries/Native/Linux/X64/libJavonetTcpTlsClient.so +0 -0
- package/Binaries/Native/Linux/X64/libUtils.so +0 -0
- package/Binaries/Native/Linux/X64/openssl3/libJavonetActivationService.so +0 -0
- package/Binaries/Native/Linux/X64/openssl3/libJavonetTcpTlsClient.so +0 -0
- package/Binaries/Native/Linux/X64/openssl3/libUtils.so +0 -0
- package/Binaries/Native/Linux/X64/version.txt +1 -1
- package/Binaries/Native/MacOs/X64/NetVersion90LatestPatch.runtimeconfig.json +10 -0
- package/Binaries/Native/MacOs/X64/NetVersionLatest.runtimeconfig.json +2 -2
- package/Binaries/Native/MacOs/X64/libJavonetActivationService.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetCppRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetGoRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetJvmRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetNetcoreRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetNodejs1816RuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetNodejsRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetPerlRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetPythonRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetRuby278RuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetRubyRuntimeNative.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetTcpClient.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libJavonetTcpTlsClient.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libUtils.dylib +0 -0
- package/Binaries/Native/MacOs/X64/libpython3.11.dylib +0 -0
- package/Binaries/Native/MacOs/X64/version.txt +1 -1
- package/Binaries/Native/Windows/ARM64/JavonetActivationService.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetCppRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetGoRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetJvmRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetNetcoreRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetPythonRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetRuby278RuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetRubyRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetTcpClient.dll +0 -0
- package/Binaries/Native/Windows/ARM64/JavonetTcpTlsClient.dll +0 -0
- package/Binaries/Native/Windows/ARM64/NetVersion90LatestPatch.runtimeconfig.json +10 -0
- package/Binaries/Native/Windows/ARM64/NetVersionLatest.runtimeconfig.json +2 -2
- package/Binaries/Native/Windows/ARM64/Utils.dll +0 -0
- package/Binaries/Native/Windows/ARM64/version.txt +0 -0
- package/Binaries/Native/Windows/X64/JavonetActivationService.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetClrRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetCppRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetGoRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetJvmRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetNetcoreRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetNodejs1816RuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetNodejsRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetPerlRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetPythonRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetRuby278RuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetRubyRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetTcpClient.dll +0 -0
- package/Binaries/Native/Windows/X64/JavonetTcpTlsClient.dll +0 -0
- package/Binaries/Native/Windows/X64/NetVersion90LatestPatch.runtimeconfig.json +10 -0
- package/Binaries/Native/Windows/X64/NetVersionLatest.runtimeconfig.json +2 -2
- package/Binaries/Native/Windows/X64/Utils.dll +0 -0
- package/Binaries/Native/Windows/X64/version.txt +1 -1
- package/Binaries/Native/Windows/X86/JavonetActivationService.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetClrRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetCppRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetGoRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetJvmRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetNetcoreRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetPythonRuntimeNative.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetTcpClient.dll +0 -0
- package/Binaries/Native/Windows/X86/JavonetTcpTlsClient.dll +0 -0
- package/Binaries/Native/Windows/X86/NetVersion90LatestPatch.runtimeconfig.json +10 -0
- package/Binaries/Native/Windows/X86/NetVersionLatest.runtimeconfig.json +2 -2
- package/Binaries/Native/Windows/X86/Utils.dll +0 -0
- package/Binaries/Native/Windows/X86/version.txt +1 -1
- package/Binaries/Netcore/Javonet.Netcore.Core.dll +0 -0
- package/Binaries/Netcore/Javonet.Netcore.Utils.dll +0 -0
- package/Binaries/Nodejs/index.js +66 -0
- package/Binaries/Nodejs/lib/core/delegatesCache/DelegatesCache.js +35 -0
- package/Binaries/Nodejs/{core → lib/core}/generator/handler/AbstractGeneratorHandler.js +0 -1
- package/Binaries/Nodejs/lib/core/generator/handler/CreateInstanceGeneratorHandler.js +27 -0
- package/Binaries/Nodejs/lib/core/generator/handler/GeneratorHandler.js +38 -0
- package/Binaries/Nodejs/lib/core/generator/handler/GetInstanceFieldGeneratorHandler.js +26 -0
- package/Binaries/Nodejs/lib/core/generator/handler/GetStaticFieldGeneratorHandler.js +24 -0
- package/Binaries/Nodejs/lib/core/generator/handler/GetTypeGeneratorHandler.js +39 -0
- package/Binaries/Nodejs/lib/core/generator/handler/Handlers.js +58 -0
- package/Binaries/Nodejs/lib/core/generator/handler/InvokeInstanceMethodGeneratorHandler.js +33 -0
- package/Binaries/Nodejs/lib/core/generator/handler/InvokeStandaloneMethodGeneratorHandler.js +35 -0
- package/Binaries/Nodejs/lib/core/generator/handler/InvokeStaticMethodGeneratorHandler.js +35 -0
- package/Binaries/Nodejs/lib/core/generator/handler/shared/SharedArgumentNameHandler.js +15 -0
- package/Binaries/Nodejs/{core → lib/core}/generator/handler/shared/SharedClassInstanceHandler.js +4 -5
- package/Binaries/Nodejs/{core → lib/core}/generator/handler/shared/SharedClassNameHandler.js +10 -12
- package/Binaries/Nodejs/{core → lib/core}/generator/handler/shared/SharedMethodNameHandler.js +9 -12
- package/Binaries/Nodejs/lib/core/generator/handler/shared/SharedReturnTypeHandler.js +9 -0
- package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedBodyHandler.js +18 -0
- package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedCreateInstanceBodyHandler.js +29 -0
- package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedGetInstanceFieldBodyHandler.js +21 -0
- package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedGetStaticFieldBodyHandler.js +31 -0
- package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedGetTypeBodyHandler.js +21 -0
- package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedInvokeInstanceMethodBodyHandler.js +33 -0
- package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedInvokeStandaloneMethodBodyHandler.js +39 -0
- package/Binaries/Nodejs/lib/core/generator/handler/shared/body/SharedInvokeStaticMethodBodyHandler.js +39 -0
- package/Binaries/Nodejs/lib/core/generator/internal/CommonGenerator.js +39 -0
- package/Binaries/Nodejs/lib/core/generator/internal/NodejsStringBuilder.js +17 -0
- package/Binaries/Nodejs/{core → lib/core}/generator/internal/SharedHandlerType.js +2 -2
- package/Binaries/Nodejs/{core → lib/core}/generator/utils/StringUtils.js +2 -2
- package/Binaries/Nodejs/{core → lib/core}/handler/AbstractHandler.js +12 -12
- package/Binaries/Nodejs/{core → lib/core}/handler/ArrayGetItemHandler.js +3 -4
- package/Binaries/Nodejs/{core → lib/core}/handler/ArrayGetRankHandler.js +5 -7
- package/Binaries/Nodejs/{core → lib/core}/handler/ArrayGetSizeHandler.js +3 -4
- package/Binaries/Nodejs/{core → lib/core}/handler/ArrayHandler.js +2 -3
- package/Binaries/Nodejs/{core → lib/core}/handler/ArraySetItemHandler.js +4 -5
- package/Binaries/Nodejs/{core → lib/core}/handler/CastingHandler.js +3 -3
- package/Binaries/Nodejs/lib/core/handler/ConvertTypeHandler.js +38 -0
- package/Binaries/Nodejs/lib/core/handler/CreateClassInstanceHandler.js +36 -0
- package/Binaries/Nodejs/{core → lib/core}/handler/DestructReferenceHandler.js +3 -4
- package/Binaries/Nodejs/{core → lib/core}/handler/EnableNamespaceHandler.js +8 -11
- package/Binaries/Nodejs/{core → lib/core}/handler/EnableTypeHandler.js +8 -10
- package/Binaries/Nodejs/lib/core/handler/GetGlobalStaticFieldHandler.js +37 -0
- package/Binaries/Nodejs/lib/core/handler/GetInstanceFieldHandler.js +35 -0
- package/Binaries/Nodejs/lib/core/handler/GetInstanceMethodAsDelegateHandler.js +73 -0
- package/Binaries/Nodejs/lib/core/handler/GetStaticFieldHandler.js +36 -0
- package/Binaries/Nodejs/lib/core/handler/GetStaticMethodAsDelegateHandler.js +74 -0
- package/Binaries/Nodejs/{core → lib/core}/handler/GetTypeHandler.js +22 -21
- package/Binaries/Nodejs/{core → lib/core}/handler/Handler.js +22 -11
- package/Binaries/Nodejs/lib/core/handler/InvokeDelegateHandler.js +36 -0
- package/Binaries/Nodejs/lib/core/handler/InvokeGlobalMethodHandler.js +43 -0
- package/Binaries/Nodejs/lib/core/handler/InvokeInstanceMethodHandler.js +38 -0
- package/Binaries/Nodejs/lib/core/handler/InvokeStandaloneMethodHandler.js +56 -0
- package/Binaries/Nodejs/lib/core/handler/InvokeStaticMethodHandler.js +38 -0
- package/Binaries/Nodejs/{core → lib/core}/handler/LoadLibraryHandler.js +4 -3
- package/Binaries/Nodejs/lib/core/handler/PassDelegateHandler.js +157 -0
- package/Binaries/Nodejs/lib/core/handler/ResolveReferenceHandler.js +13 -0
- package/Binaries/Nodejs/lib/core/handler/SetGlobalStaticFieldHandler.js +38 -0
- package/Binaries/Nodejs/lib/core/handler/SetInstanceFieldHandler.js +35 -0
- package/Binaries/Nodejs/lib/core/handler/SetStaticFieldHandler.js +33 -0
- package/Binaries/Nodejs/{core → lib/core}/handler/ValueHandler.js +3 -5
- package/Binaries/Nodejs/lib/core/interpreter/Interpreter.js +142 -0
- package/Binaries/Nodejs/{core → lib/core}/namespaceCache/NamespaceCache.js +12 -12
- package/Binaries/Nodejs/{core → lib/core}/protocol/CommandDeserializer.js +43 -48
- package/Binaries/Nodejs/{core → lib/core}/protocol/CommandSerializer.js +4 -5
- package/Binaries/Nodejs/{core → lib/core}/protocol/TypeDeserializer.js +17 -15
- package/Binaries/Nodejs/{core → lib/core}/protocol/TypeSerializer.js +6 -7
- package/Binaries/Nodejs/lib/core/receiver/Receiver.js +32 -0
- package/Binaries/Nodejs/{core → lib/core}/receiver/ReceiverNative.js +3 -3
- package/Binaries/Nodejs/{core → lib/core}/referenceCache/ReferencesCache.js +4 -4
- package/Binaries/Nodejs/{core → lib/core}/transmitter/Transmitter.js +2 -3
- package/Binaries/Nodejs/lib/core/transmitter/TransmitterWebsocket.js +33 -0
- package/Binaries/Nodejs/lib/core/transmitter/TransmitterWrapper.js +34 -0
- package/Binaries/Nodejs/{core → lib/core}/typeCache/TypeCache.js +12 -12
- package/Binaries/Nodejs/lib/core/webSocketClient/WebSocketClient.js +131 -0
- package/Binaries/Nodejs/lib/declarations.d.ts +64 -0
- package/Binaries/Nodejs/lib/sdk/ConfigRuntimeFactory.js +145 -0
- package/{lib → Binaries/Nodejs/lib}/sdk/InvocationContext.js +497 -522
- package/Binaries/Nodejs/lib/sdk/Javonet.js +89 -0
- package/Binaries/Nodejs/lib/sdk/RuntimeContext.js +275 -0
- package/Binaries/Nodejs/lib/sdk/RuntimeFactory.js +78 -0
- package/Binaries/Nodejs/lib/sdk/tools/JsonFileResolver.js +101 -0
- package/Binaries/Nodejs/lib/sdk/tools/SdkExceptionHelper.js +79 -0
- package/Binaries/Nodejs/lib/utils/Command.js +69 -0
- package/Binaries/Nodejs/{utils → lib/utils}/CommandType.js +11 -2
- package/Binaries/Nodejs/lib/utils/ConnectionType.js +8 -0
- package/Binaries/Nodejs/{utils → lib/utils}/ExceptionType.js +6 -3
- package/Binaries/Nodejs/lib/utils/RuntimeLogger.js +30 -0
- package/{lib → Binaries/Nodejs/lib}/utils/RuntimeName.js +14 -11
- package/Binaries/Nodejs/lib/utils/RuntimeNameHandler.js +34 -0
- package/Binaries/Nodejs/lib/utils/StringEncodingMode.js +9 -0
- package/Binaries/Nodejs/{utils → lib/utils}/Type.js +5 -2
- package/Binaries/Nodejs/lib/utils/TypesConverter.js +91 -0
- package/Binaries/Nodejs/{utils → lib/utils}/connectionData/IConnectionData.js +4 -6
- package/Binaries/Nodejs/lib/utils/connectionData/InMemoryConnectionData.js +35 -0
- package/Binaries/Nodejs/lib/utils/connectionData/TcpConnectionData.js +77 -0
- package/Binaries/Nodejs/lib/utils/connectionData/WsConnectionData.js +50 -0
- package/Binaries/Nodejs/{utils → lib/utils}/exception/ExceptionSerializer.js +24 -31
- package/{lib → Binaries/Nodejs/lib}/utils/exception/ExceptionThrower.js +95 -89
- package/Binaries/Nodejs/lib/utils/guid/generateGuid.js +9 -0
- package/Binaries/Nodejs/lib/utils/uuid/REGEX.js +2 -0
- package/Binaries/Nodejs/lib/utils/uuid/rng.js +12 -0
- package/Binaries/Nodejs/lib/utils/uuid/stringify.js +51 -0
- package/Binaries/Nodejs/lib/utils/uuid/v4.js +27 -0
- package/Binaries/Nodejs/lib/utils/uuid/validate.js +6 -0
- package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-events +62 -0
- package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-highlight +54 -0
- package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-load +144 -0
- package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-load-dump +303 -0
- package/Binaries/Perl/Linux/X64/deps/bin/yamlpp-parse-emit +123 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/Capture/Tiny.pm +23 -7
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Cache.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document/File.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document/Fragment.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document/Normalized.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Document.pm +102 -19
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Dumper.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Element.pm +24 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Exception/ParserRejection.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Exception.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Find.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Lexer.pm +39 -4
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Node.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Normal/Standard.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Normal.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Singletons.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Break.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Compound.pm +6 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Data.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/End.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Expression.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Given.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Include/Perl6.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Include.pm +101 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Null.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Package.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Scheduled.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Sub.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Unknown.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/UnmatchedBrace.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/Variable.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement/When.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Statement.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Block.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Condition.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Constructor.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/For.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Given.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/List.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Signature.pm +61 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Subscript.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/Unknown.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure/When.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Structure.pm +2 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/ArrayIndex.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Attribute.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/BOM.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Cast.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Comment.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/DashedWord.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Data.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/End.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/HereDoc.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Label.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Magic.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Binary.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Exp.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Float.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Hex.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Octal.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number/Version.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Number.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Operator.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Pod.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Prototype.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Double.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Interpolate.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Literal.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote/Single.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Quote.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Backtick.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Command.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Readline.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Regexp.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike/Words.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/QuoteLike.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp/Match.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp/Substitute.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp/Transliterate.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Regexp.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Separator.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Structure.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Symbol.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Unknown.pm +28 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Whitespace.pm +3 -3
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/Word.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Full.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Simple.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token/_QuoteEngine.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Token.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Tokenizer.pm +26 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Transform/UpdateCopyright.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Transform.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/Util.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI/XSAccessor.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/PPI.pm +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/Safe/Isa.pm +213 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Common.pm +273 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Constructor.pm +429 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Dumper.pm +283 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Emitter.pm +1165 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Exception.pm +79 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Grammar.pm +2150 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Highlight.pm +235 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Lexer.pm +962 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Loader.pm +101 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Parser.pm +1469 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Perl.pm +83 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Reader.pm +78 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Render.pm +155 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Representer.pm +230 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Binary.pm +102 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Core.pm +155 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Failsafe.pm +49 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Include.pm +259 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/JSON.pm +259 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Merge.pm +109 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Perl.pm +1000 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/Tie/IxHash.pm +156 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema/YAML1_1.pm +249 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Schema.pm +438 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Type/MergeKey.pm +40 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Writer/File.pm +104 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP/Writer.pm +89 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/YAML/PP.pm +1513 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Attribute-Util-1.07/install.json +1 -1
- 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
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Capture-Tiny-0.50/install.json +1 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Class-Load-0.25/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Class-Load-XS-0.10/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Clone-0.47/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-Cmp-0.010/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-OptList-0.114/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Data-UUID-1.227/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-GlobalDestruction-0.14/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-OverloadInfo-0.007/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Devel-StackTrace-2.05/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Dist-CheckConflicts-0.11/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Eval-Closure-0.14/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Config-0.010/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-Helpers-0.028/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/ExtUtils-InstallPaths-0.014/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-CheckLib-0.31/install.json +1 -1
- 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
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-Platypus-2.10/install.json +1 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/File-Which-1.27/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/IPC-System-Simple-1.30/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/MRO-Compat-0.15/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-0.4234/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Build-Tiny-0.051/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Implementation-0.09/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-0.016/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Module-Runtime-Conflicts-0.003/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Moose-2.2207/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Nice-Try-v1.3.15/install.json +1 -1
- 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
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-1.281/install.json +1 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-XS-0.910/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-DeprecationManager-0.18/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-Stash-0.40/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Package-Stash-XS-0.30/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Params-Util-1.102/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Path-Tiny-0.146/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Safe-Isa-1.000010/MYMETA.json +64 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Safe-Isa-1.000010/install.json +1 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-List-Utils-1.68/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scalar-Util-Numeric-0.40/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Scope-Guard-0.21/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Exporter-0.991/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Exporter-Progressive-0.001013/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Sub-Install-0.929/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Task-Weaken-1.06/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Test-Fatal-0.017/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Try-Tiny-0.32/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Want-0.29/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/YAML-PP-v0.38.0/MYMETA.json +218 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/YAML-PP-v0.38.0/install.json +1 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/aliased-0.34/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/autobox-v3.0.2/install.json +1 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Build.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/API.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Buffer.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Bundle.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Closure.pm +3 -3
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Constant.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/DL.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Function.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Internal.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang/ASM.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang/C.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang/Win32.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Lang.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Legacy.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Memory.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Record/Meta.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Record/TieArray.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Record.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/ShareConfig.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/PointerSizeBuffer.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/StringArray.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/StringPointer.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type/WideString.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/Type.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser/Version0.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser/Version1.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser/Version2.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus/TypeParser.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Platypus.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe/Runner/Builder.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe/Runner/Result.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe/Runner.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Probe.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/FFI/Temp.pm +2 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Class/Load/XS/XS.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Data/UUID/UUID.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/FFI/Platypus/Platypus.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/List/Util/Util.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Moose/Moose.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PPI/.packlist +2 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/PPI/XS/XS.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Package/Stash/XS/XS.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Params/Util/Util.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Safe/Isa/.packlist +2 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Want/Want.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/YAML/PP/.packlist +53 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +131 -87
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-events +62 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-events.bat +79 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-highlight +54 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-highlight.bat +71 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load +144 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load-dump +303 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load-dump.bat +320 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-load.bat +161 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-parse-emit +123 -0
- package/Binaries/Perl/Windows/X64/deps/bin/yamlpp-parse-emit.bat +140 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Attribute-Util-1.07/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Data-Cmp-0.010/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Data-UUID-1.227/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Nice-Try-v1.3.15/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/{PPI-1.279 → PPI-1.281}/MYMETA.json +101 -94
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-1.281/install.json +1 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-XS-0.910/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Safe-Isa-1.000010/MYMETA.json +64 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Safe-Isa-1.000010/install.json +1 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Scalar-Util-Numeric-0.40/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Test-Fatal-0.017/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/Want-0.29/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/YAML-PP-v0.38.0/MYMETA.json +218 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/YAML-PP-v0.38.0/install.json +1 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/autobox-v3.0.2/install.json +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Data/UUID/UUID.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/.packlist +1 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/PPI/XS/XS.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Safe/Isa/.packlist +1 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Scalar/Util/Numeric/Numeric.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/Want/Want.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/YAML/PP/.packlist +38 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/auto/autobox/autobox.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +64 -20
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Cache.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document/File.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document/Fragment.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document/Normalized.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Document.pm +102 -19
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Dumper.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Element.pm +24 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Exception/ParserRejection.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Exception.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Find.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Lexer.pm +39 -4
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Node.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Normal/Standard.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Normal.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Singletons.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Break.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Compound.pm +6 -2
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Data.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/End.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Expression.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Given.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Include/Perl6.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Include.pm +101 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Null.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Package.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Scheduled.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Sub.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Unknown.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/UnmatchedBrace.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/Variable.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement/When.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Statement.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Block.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Condition.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Constructor.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/For.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Given.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/List.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Signature.pm +61 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Subscript.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/Unknown.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure/When.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Structure.pm +2 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/ArrayIndex.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Attribute.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/BOM.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Cast.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Comment.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/DashedWord.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Data.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/End.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/HereDoc.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Label.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Magic.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Binary.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Exp.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Float.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Hex.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Octal.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number/Version.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Number.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Operator.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Pod.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Prototype.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Double.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Interpolate.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Literal.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote/Single.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Quote.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Backtick.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Command.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Readline.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Regexp.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike/Words.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/QuoteLike.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp/Match.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp/Substitute.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp/Transliterate.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Regexp.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Separator.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Structure.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Symbol.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Unknown.pm +28 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Whitespace.pm +3 -3
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/Word.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Full.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/_QuoteEngine/Simple.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token/_QuoteEngine.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Token.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Tokenizer.pm +26 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Transform/UpdateCopyright.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Transform.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/Util.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI/XSAccessor.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/PPI.pm +1 -1
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/Safe/Isa.pm +213 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Common.pm +273 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Constructor.pm +429 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Dumper.pm +283 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Emitter.pm +1165 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Exception.pm +79 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Grammar.pm +2150 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Highlight.pm +235 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Lexer.pm +962 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Loader.pm +101 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Parser.pm +1469 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Perl.pm +83 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Reader.pm +78 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Render.pm +155 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Representer.pm +230 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Binary.pm +102 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Core.pm +155 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Failsafe.pm +49 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Include.pm +259 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/JSON.pm +259 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Merge.pm +109 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Perl.pm +1000 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/Tie/IxHash.pm +156 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema/YAML1_1.pm +249 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Schema.pm +438 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Type/MergeKey.pm +40 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Writer/File.pm +104 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP/Writer.pm +89 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/YAML/PP.pm +1513 -0
- package/Binaries/Python/javonet/core/handler/GetTypeHandler.py +9 -10
- package/Binaries/version.txt +1 -1
- package/README.md +1 -1
- package/dist/Javonet.d.ts +5403 -0
- package/dist/index.js +66 -0
- package/dist/lib/core/delegatesCache/DelegatesCache.js +35 -0
- package/dist/lib/core/generator/handler/AbstractGeneratorHandler.js +11 -0
- package/dist/lib/core/generator/handler/CreateInstanceGeneratorHandler.js +27 -0
- package/dist/lib/core/generator/handler/GeneratorHandler.js +38 -0
- package/dist/lib/core/generator/handler/GetInstanceFieldGeneratorHandler.js +26 -0
- package/dist/lib/core/generator/handler/GetStaticFieldGeneratorHandler.js +24 -0
- package/dist/lib/core/generator/handler/GetTypeGeneratorHandler.js +39 -0
- package/dist/lib/core/generator/handler/Handlers.js +58 -0
- package/dist/lib/core/generator/handler/InvokeInstanceMethodGeneratorHandler.js +33 -0
- package/dist/lib/core/generator/handler/InvokeStandaloneMethodGeneratorHandler.js +35 -0
- package/dist/lib/core/generator/handler/InvokeStaticMethodGeneratorHandler.js +35 -0
- package/dist/lib/core/generator/handler/shared/SharedArgumentNameHandler.js +15 -0
- package/dist/lib/core/generator/handler/shared/SharedClassInstanceHandler.js +12 -0
- package/dist/lib/core/generator/handler/shared/SharedClassNameHandler.js +44 -0
- package/dist/lib/core/generator/handler/shared/SharedMethodNameHandler.js +42 -0
- package/dist/lib/core/generator/handler/shared/SharedReturnTypeHandler.js +9 -0
- package/dist/lib/core/generator/handler/shared/body/SharedBodyHandler.js +18 -0
- package/dist/lib/core/generator/handler/shared/body/SharedCreateInstanceBodyHandler.js +29 -0
- package/dist/lib/core/generator/handler/shared/body/SharedGetInstanceFieldBodyHandler.js +21 -0
- package/dist/lib/core/generator/handler/shared/body/SharedGetStaticFieldBodyHandler.js +31 -0
- package/dist/lib/core/generator/handler/shared/body/SharedGetTypeBodyHandler.js +21 -0
- package/dist/lib/core/generator/handler/shared/body/SharedInvokeInstanceMethodBodyHandler.js +33 -0
- package/dist/lib/core/generator/handler/shared/body/SharedInvokeStandaloneMethodBodyHandler.js +39 -0
- package/dist/lib/core/generator/handler/shared/body/SharedInvokeStaticMethodBodyHandler.js +39 -0
- package/dist/lib/core/generator/internal/CommonGenerator.js +39 -0
- package/dist/lib/core/generator/internal/NodejsStringBuilder.js +17 -0
- package/dist/lib/core/generator/internal/SharedHandlerType.js +10 -0
- package/dist/lib/core/generator/utils/StringUtils.js +7 -0
- package/dist/lib/core/handler/AbstractHandler.js +41 -0
- package/dist/lib/core/handler/ArrayGetItemHandler.js +38 -0
- package/dist/lib/core/handler/ArrayGetRankHandler.js +28 -0
- package/dist/lib/core/handler/ArrayGetSizeHandler.js +29 -0
- package/dist/lib/core/handler/ArrayHandler.js +18 -0
- package/dist/lib/core/handler/ArraySetItemHandler.js +43 -0
- package/dist/lib/core/handler/CastingHandler.js +10 -0
- package/dist/lib/core/handler/ConvertTypeHandler.js +38 -0
- package/dist/lib/core/handler/CreateClassInstanceHandler.js +36 -0
- package/dist/lib/core/handler/DestructReferenceHandler.js +19 -0
- package/dist/lib/core/handler/EnableNamespaceHandler.js +34 -0
- package/dist/lib/core/handler/EnableTypeHandler.js +35 -0
- package/dist/lib/core/handler/GetGlobalStaticFieldHandler.js +37 -0
- package/dist/lib/core/handler/GetInstanceFieldHandler.js +35 -0
- package/dist/lib/core/handler/GetInstanceMethodAsDelegateHandler.js +73 -0
- package/dist/lib/core/handler/GetStaticFieldHandler.js +36 -0
- package/dist/lib/core/handler/GetStaticMethodAsDelegateHandler.js +74 -0
- package/dist/lib/core/handler/GetTypeHandler.js +63 -0
- package/dist/lib/core/handler/Handler.js +101 -0
- package/dist/lib/core/handler/InvokeDelegateHandler.js +36 -0
- package/dist/lib/core/handler/InvokeGlobalMethodHandler.js +43 -0
- package/dist/lib/core/handler/InvokeInstanceMethodHandler.js +38 -0
- package/dist/lib/core/handler/InvokeStandaloneMethodHandler.js +56 -0
- package/dist/lib/core/handler/InvokeStaticMethodHandler.js +38 -0
- package/dist/lib/core/handler/LoadLibraryHandler.js +48 -0
- package/dist/lib/core/handler/PassDelegateHandler.js +157 -0
- package/dist/lib/core/handler/ResolveReferenceHandler.js +13 -0
- package/dist/lib/core/handler/SetGlobalStaticFieldHandler.js +38 -0
- package/dist/lib/core/handler/SetInstanceFieldHandler.js +35 -0
- package/dist/lib/core/handler/SetStaticFieldHandler.js +33 -0
- package/dist/lib/core/handler/ValueHandler.js +13 -0
- package/dist/lib/core/interpreter/Interpreter.js +142 -0
- package/dist/lib/core/namespaceCache/NamespaceCache.js +39 -0
- package/{lib → dist/lib}/core/protocol/CommandDeserializer.js +43 -48
- package/{lib → dist/lib}/core/protocol/CommandSerializer.js +4 -5
- package/{lib → dist/lib}/core/protocol/TypeDeserializer.js +17 -15
- package/{lib → dist/lib}/core/protocol/TypeSerializer.js +6 -7
- package/dist/lib/core/receiver/Receiver.js +32 -0
- package/dist/lib/core/receiver/ReceiverNative.js +13 -0
- package/dist/lib/core/referenceCache/ReferencesCache.js +30 -0
- package/dist/lib/core/transmitter/Transmitter.js +21 -0
- package/dist/lib/core/transmitter/TransmitterWebsocket.js +33 -0
- package/dist/lib/core/transmitter/TransmitterWrapper.js +34 -0
- package/dist/lib/core/typeCache/TypeCache.js +39 -0
- package/dist/lib/core/webSocketClient/WebSocketClient.js +131 -0
- package/dist/lib/declarations.d.ts +64 -0
- package/dist/lib/sdk/ConfigRuntimeFactory.js +145 -0
- package/dist/lib/sdk/InvocationContext.js +497 -0
- package/dist/lib/sdk/Javonet.js +89 -0
- package/dist/lib/sdk/RuntimeContext.js +275 -0
- package/dist/lib/sdk/RuntimeFactory.js +78 -0
- package/dist/lib/sdk/tools/JsonFileResolver.js +101 -0
- package/dist/lib/sdk/tools/SdkExceptionHelper.js +79 -0
- package/dist/lib/utils/Command.js +69 -0
- package/{lib → dist/lib}/utils/CommandType.js +11 -2
- package/dist/lib/utils/ConnectionType.js +8 -0
- package/{lib → dist/lib}/utils/ExceptionType.js +6 -3
- package/dist/lib/utils/RuntimeLogger.js +30 -0
- package/dist/lib/utils/RuntimeName.js +14 -0
- package/dist/lib/utils/RuntimeNameHandler.js +34 -0
- package/dist/lib/utils/StringEncodingMode.js +9 -0
- package/{lib → dist/lib}/utils/Type.js +5 -2
- package/dist/lib/utils/TypesConverter.js +91 -0
- package/{lib → dist/lib}/utils/connectionData/IConnectionData.js +4 -6
- package/dist/lib/utils/connectionData/InMemoryConnectionData.js +35 -0
- package/dist/lib/utils/connectionData/TcpConnectionData.js +77 -0
- package/dist/lib/utils/connectionData/WsConnectionData.js +50 -0
- package/{lib → dist/lib}/utils/exception/ExceptionSerializer.js +24 -31
- package/{Binaries/Nodejs → dist/lib}/utils/exception/ExceptionThrower.js +95 -89
- package/dist/lib/utils/guid/generateGuid.js +9 -0
- package/dist/lib/utils/uuid/REGEX.js +2 -0
- package/dist/lib/utils/uuid/rng.js +12 -0
- package/dist/lib/utils/uuid/stringify.js +51 -0
- package/dist/lib/utils/uuid/v4.js +27 -0
- package/dist/lib/utils/uuid/validate.js +6 -0
- package/lib/core/generator/handler/AbstractGeneratorHandler.js +0 -1
- package/lib/core/generator/handler/CreateInstanceGeneratorHandler.js +20 -10
- package/lib/core/generator/handler/GeneratorHandler.js +22 -14
- package/lib/core/generator/handler/GetInstanceFieldGeneratorHandler.js +19 -11
- package/lib/core/generator/handler/GetStaticFieldGeneratorHandler.js +18 -11
- package/lib/core/generator/handler/GetTypeGeneratorHandler.js +25 -12
- package/lib/core/generator/handler/Handlers.js +32 -25
- package/lib/core/generator/handler/InvokeInstanceMethodGeneratorHandler.js +26 -11
- package/lib/core/generator/handler/InvokeStandaloneMethodGeneratorHandler.js +35 -0
- package/lib/core/generator/handler/InvokeStaticMethodGeneratorHandler.js +27 -12
- package/lib/core/generator/handler/shared/SharedArgumentNameHandler.js +8 -4
- package/lib/core/generator/handler/shared/SharedClassInstanceHandler.js +4 -5
- package/lib/core/generator/handler/shared/SharedClassNameHandler.js +10 -12
- package/lib/core/generator/handler/shared/SharedMethodNameHandler.js +9 -12
- package/lib/core/generator/handler/shared/SharedReturnTypeHandler.js +3 -4
- package/lib/core/generator/handler/shared/body/SharedBodyHandler.js +11 -7
- package/lib/core/generator/handler/shared/body/SharedCreateInstanceBodyHandler.js +21 -16
- package/lib/core/generator/handler/shared/body/SharedGetInstanceFieldBodyHandler.js +11 -9
- package/lib/core/generator/handler/shared/body/SharedGetStaticFieldBodyHandler.js +21 -17
- package/lib/core/generator/handler/shared/body/SharedGetTypeBodyHandler.js +13 -12
- package/lib/core/generator/handler/shared/body/SharedInvokeInstanceMethodBodyHandler.js +24 -18
- package/lib/core/generator/handler/shared/body/SharedInvokeStandaloneMethodBodyHandler.js +39 -0
- package/lib/core/generator/handler/shared/body/SharedInvokeStaticMethodBodyHandler.js +29 -21
- package/lib/core/generator/internal/CommonGenerator.js +23 -10
- package/lib/core/generator/internal/NodejsStringBuilder.js +5 -6
- package/lib/core/generator/internal/SharedHandlerType.js +2 -2
- package/lib/core/generator/utils/StringUtils.js +2 -2
- package/lib/core/handler/AbstractHandler.js +12 -12
- package/lib/core/handler/ArrayGetItemHandler.js +3 -4
- package/lib/core/handler/ArrayGetRankHandler.js +5 -7
- package/lib/core/handler/ArrayGetSizeHandler.js +3 -4
- package/lib/core/handler/ArrayHandler.js +2 -3
- package/lib/core/handler/ArraySetItemHandler.js +4 -5
- package/lib/core/handler/CastingHandler.js +3 -3
- package/lib/core/handler/ConvertTypeHandler.js +38 -0
- package/lib/core/handler/CreateClassInstanceHandler.js +29 -31
- package/lib/core/handler/DestructReferenceHandler.js +3 -4
- package/lib/core/handler/EnableNamespaceHandler.js +8 -11
- package/lib/core/handler/EnableTypeHandler.js +8 -10
- package/lib/core/handler/GetGlobalStaticFieldHandler.js +28 -30
- package/lib/core/handler/GetInstanceFieldHandler.js +28 -28
- package/lib/core/handler/GetInstanceMethodAsDelegateHandler.js +73 -0
- package/lib/core/handler/GetStaticFieldHandler.js +28 -28
- package/lib/core/handler/GetStaticMethodAsDelegateHandler.js +74 -0
- package/lib/core/handler/GetTypeHandler.js +22 -21
- package/lib/core/handler/Handler.js +22 -11
- package/lib/core/handler/InvokeDelegateHandler.js +36 -0
- package/lib/core/handler/InvokeGlobalMethodHandler.js +36 -40
- package/lib/core/handler/InvokeInstanceMethodHandler.js +31 -33
- package/lib/core/handler/InvokeStandaloneMethodHandler.js +56 -0
- package/lib/core/handler/InvokeStaticMethodHandler.js +31 -33
- package/lib/core/handler/LoadLibraryHandler.js +4 -3
- package/lib/core/handler/PassDelegateHandler.js +157 -0
- package/lib/core/handler/ResolveReferenceHandler.js +4 -5
- package/lib/core/handler/SetGlobalStaticFieldHandler.js +29 -35
- package/lib/core/handler/SetInstanceFieldHandler.js +28 -28
- package/lib/core/handler/SetStaticFieldHandler.js +26 -26
- package/lib/core/handler/ValueHandler.js +3 -5
- package/lib/core/namespaceCache/NamespaceCache.js +12 -12
- package/lib/core/receiver/Receiver.js +15 -9
- package/lib/core/receiver/ReceiverNative.js +3 -3
- package/lib/core/referenceCache/ReferencesCache.js +4 -4
- package/lib/core/transmitter/Transmitter.js +2 -3
- package/lib/core/transmitter/TransmitterWebsocket.js +33 -0
- package/lib/core/transmitter/TransmitterWrapper.js +13 -7
- package/lib/core/typeCache/TypeCache.js +12 -12
- package/lib/core/webSocketClient/WebSocketClient.js +105 -108
- package/lib/sdk/ConfigRuntimeFactory.js +57 -52
- package/lib/sdk/Javonet.js +28 -31
- package/lib/sdk/RuntimeContext.js +19 -274
- package/lib/sdk/RuntimeFactory.js +10 -10
- package/lib/sdk/tools/JsonFileResolver.js +55 -37
- package/lib/sdk/tools/SdkExceptionHelper.js +33 -31
- package/lib/utils/RuntimeLogger.js +12 -9
- package/lib/utils/TypesConverter.js +91 -0
- package/lib/utils/connectionData/TcpConnectionData.js +38 -30
- package/lib/utils/uuid/REGEX.js +2 -1
- package/lib/utils/uuid/rng.js +8 -8
- package/lib/utils/uuid/stringify.js +36 -36
- package/lib/utils/uuid/v4.js +17 -17
- package/lib/utils/uuid/validate.js +3 -3
- package/package.json +78 -46
- package/.editorconfig +0 -8
- package/.prettierrc +0 -12
- package/Binaries/Nodejs/core/generator/handler/CreateInstanceGeneratorHandler.js +0 -17
- package/Binaries/Nodejs/core/generator/handler/GeneratorHandler.js +0 -30
- package/Binaries/Nodejs/core/generator/handler/GetInstanceFieldGeneratorHandler.js +0 -18
- package/Binaries/Nodejs/core/generator/handler/GetStaticFieldGeneratorHandler.js +0 -17
- package/Binaries/Nodejs/core/generator/handler/GetTypeGeneratorHandler.js +0 -26
- package/Binaries/Nodejs/core/generator/handler/Handlers.js +0 -51
- package/Binaries/Nodejs/core/generator/handler/InvokeInstanceMethodGeneratorHandler.js +0 -18
- package/Binaries/Nodejs/core/generator/handler/InvokeStaticMethodGeneratorHandler.js +0 -20
- package/Binaries/Nodejs/core/generator/handler/shared/SharedArgumentNameHandler.js +0 -11
- package/Binaries/Nodejs/core/generator/handler/shared/SharedReturnTypeHandler.js +0 -10
- package/Binaries/Nodejs/core/generator/handler/shared/body/SharedBodyHandler.js +0 -14
- package/Binaries/Nodejs/core/generator/handler/shared/body/SharedCreateInstanceBodyHandler.js +0 -24
- package/Binaries/Nodejs/core/generator/handler/shared/body/SharedGetInstanceFieldBodyHandler.js +0 -19
- package/Binaries/Nodejs/core/generator/handler/shared/body/SharedGetStaticFieldBodyHandler.js +0 -27
- package/Binaries/Nodejs/core/generator/handler/shared/body/SharedGetTypeBodyHandler.js +0 -20
- package/Binaries/Nodejs/core/generator/handler/shared/body/SharedInvokeInstanceMethodBodyHandler.js +0 -27
- package/Binaries/Nodejs/core/generator/handler/shared/body/SharedInvokeStaticMethodBodyHandler.js +0 -31
- package/Binaries/Nodejs/core/generator/internal/CommonGenerator.js +0 -26
- package/Binaries/Nodejs/core/generator/internal/NodejsStringBuilder.js +0 -18
- package/Binaries/Nodejs/core/handler/CreateClassInstanceHandler.js +0 -38
- package/Binaries/Nodejs/core/handler/GetGlobalStaticFieldHandler.js +0 -39
- package/Binaries/Nodejs/core/handler/GetInstanceFieldHandler.js +0 -35
- package/Binaries/Nodejs/core/handler/GetStaticFieldHandler.js +0 -36
- package/Binaries/Nodejs/core/handler/InvokeGlobalMethodHandler.js +0 -47
- package/Binaries/Nodejs/core/handler/InvokeInstanceMethodHandler.js +0 -40
- package/Binaries/Nodejs/core/handler/InvokeStaticMethodHandler.js +0 -40
- package/Binaries/Nodejs/core/handler/ResolveReferenceHandler.js +0 -14
- package/Binaries/Nodejs/core/handler/SetGlobalStaticFieldHandler.js +0 -44
- package/Binaries/Nodejs/core/handler/SetInstanceFieldHandler.js +0 -35
- package/Binaries/Nodejs/core/handler/SetStaticFieldHandler.js +0 -33
- package/Binaries/Nodejs/core/interpreter/Interpreter.js +0 -69
- package/Binaries/Nodejs/core/receiver/Receiver.js +0 -26
- package/Binaries/Nodejs/core/transmitter/TransmitterWrapper.js +0 -28
- package/Binaries/Nodejs/core/webSocketClient/WebSocketClient.js +0 -134
- package/Binaries/Nodejs/utils/Command.js +0 -66
- package/Binaries/Nodejs/utils/ConnectionType.js +0 -5
- package/Binaries/Nodejs/utils/RuntimeLogger.js +0 -27
- package/Binaries/Nodejs/utils/RuntimeName.js +0 -11
- package/Binaries/Nodejs/utils/RuntimeNameHandler.js +0 -30
- package/Binaries/Nodejs/utils/StringEncodingMode.js +0 -6
- package/Binaries/Nodejs/utils/connectionData/InMemoryConnectionData.js +0 -28
- package/Binaries/Nodejs/utils/connectionData/TcpConnectionData.js +0 -69
- package/Binaries/Nodejs/utils/connectionData/WsConnectionData.js +0 -33
- package/Binaries/Nodejs/utils/uuid/REGEX.js +0 -1
- package/Binaries/Nodejs/utils/uuid/rng.js +0 -12
- package/Binaries/Nodejs/utils/uuid/stringify.js +0 -51
- package/Binaries/Nodejs/utils/uuid/v4.js +0 -27
- package/Binaries/Nodejs/utils/uuid/validate.js +0 -6
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/Dist/CheckConflicts.pm +0 -361
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/Capture-Tiny-0.48/install.json +0 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/FFI-Platypus-2.09/install.json +0 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/.meta/PPI-1.279/install.json +0 -1
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/Dist/CheckConflicts/.packlist +0 -2
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/config.pl +0 -99
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/include/ffi_platypus_bundle.h +0 -33
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/include/ffi_platypus_config.h +0 -40
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/lib/libplfill.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/probe/bin/dlrun +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/probe/probe.pl +0 -300
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/auto/share/dist/FFI-Platypus/probe/src/dlrun.c +0 -105
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/.meta/PPI-1.279/install.json +0 -1
- package/Binaries/Python/javonet/core/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/delegateCache/__pycache__/DelegatesCache.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/delegateCache/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/generator/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/generator/internal/__pycache__/PythonStringBuilder.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/generator/internal/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/AbstractCommandHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/AbstractHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetItemHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetRankHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/ArrayGetSizeHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/ArrayHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/ArraySetItemHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/CastingHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/CreateClassInstanceHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/DestructReferenceHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/EnableNamespaceHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/EnableTypeHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/GetEnumItemHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/GetEnumNameHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/GetEnumValueHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/GetInstanceFieldHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/GetInstanceMethodAsDelegateHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/GetStaticFieldHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/GetStaticMethodAsDelegateHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/GetTypeHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/Handler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/HandlerDictionary.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/InvokeDelegateHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/InvokeInstanceMethodHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/InvokeStaticMethodHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/LoadLibraryHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/PassDelegateHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/ResolveInstanceHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/SetInstanceFieldHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/SetStaticFieldHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/ValueHandler.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/handler/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/interpreter/__pycache__/Interpreter.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/interpreter/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/namespaceCache/__pycache__/NamespaceCache.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/namespaceCache/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/protocol/__pycache__/CommandDeserializer.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/protocol/__pycache__/CommandSerializer.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/protocol/__pycache__/TypeDeserializer.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/protocol/__pycache__/TypeSerializer.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/protocol/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/receiver/__pycache__/Receiver.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/receiver/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/referenceCache/__pycache__/ReferencesCache.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/referenceCache/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/typeCache/__pycache__/TypeCache.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/core/typeCache/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/__pycache__/Command.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/__pycache__/CommandType.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/__pycache__/ConnectionType.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/__pycache__/ExceptionType.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/__pycache__/RuntimeLogger.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/__pycache__/RuntimeName.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/__pycache__/StringEncodingMode.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/__pycache__/Type.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/connectionData/__pycache__/IConnectionData.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/connectionData/__pycache__/InMemoryConnectionData.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/connectionData/__pycache__/__init__.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/exception/__pycache__/ExceptionSerializer.cpython-312.pyc +0 -0
- package/Binaries/Python/javonet/utils/exception/__pycache__/__init__.cpython-312.pyc +0 -0
- package/lib/core/interpreter/Interpreter.js +0 -69
- package/lib/utils/Command.js +0 -66
- package/lib/utils/ConnectionType.js +0 -5
- package/lib/utils/RuntimeNameHandler.js +0 -30
- package/lib/utils/StringEncodingMode.js +0 -6
- package/lib/utils/connectionData/InMemoryConnectionData.js +0 -28
- package/lib/utils/connectionData/WsConnectionData.js +0 -33
- package/tsconfig.json +0 -14
|
@@ -1,27 +1,26 @@
|
|
|
1
1
|
const Command = require('../../utils/Command')
|
|
2
2
|
const Type = require('../../utils/Type')
|
|
3
3
|
const StringEncodingMode = require('../../utils/StringEncodingMode')
|
|
4
|
+
const { Buffer } = require('buffer')
|
|
4
5
|
|
|
5
|
-
const
|
|
6
|
-
let encoder = new util.TextEncoder();
|
|
6
|
+
const encoder = new TextEncoder()
|
|
7
7
|
|
|
8
8
|
class TypeSerializer {
|
|
9
|
-
|
|
10
9
|
static encodePrimitive(payload_item) {
|
|
11
10
|
if (payload_item === null) {
|
|
12
11
|
return TypeSerializer.serializeNull()
|
|
13
12
|
}
|
|
14
13
|
if (payload_item instanceof Command) {
|
|
15
14
|
return TypeSerializer.serializeCommand(payload_item)
|
|
16
|
-
} else if (typeof
|
|
15
|
+
} else if (typeof payload_item === 'number' || payload_item instanceof Number) {
|
|
17
16
|
if (Number.isInteger(payload_item)) {
|
|
18
17
|
return TypeSerializer.serializeInt(payload_item)
|
|
19
18
|
} else {
|
|
20
19
|
return TypeSerializer.serializeDouble(payload_item)
|
|
21
20
|
}
|
|
22
|
-
} else if (typeof
|
|
21
|
+
} else if (typeof payload_item === 'string' || payload_item instanceof String) {
|
|
23
22
|
return TypeSerializer.serializeString(payload_item)
|
|
24
|
-
} else if (typeof
|
|
23
|
+
} else if (typeof payload_item === 'boolean' || payload_item instanceof Boolean) {
|
|
25
24
|
return TypeSerializer.serializeBool(payload_item)
|
|
26
25
|
} else {
|
|
27
26
|
throw 'Unknown type - not supported in JavaScript'
|
|
@@ -134,4 +133,4 @@ class TypeSerializer {
|
|
|
134
133
|
}
|
|
135
134
|
}
|
|
136
135
|
|
|
137
|
-
module.exports = TypeSerializer
|
|
136
|
+
module.exports = TypeSerializer
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const { InMemoryConnectionData, CommandSerializer, Interpreter } = require('../../..')
|
|
2
|
+
|
|
3
|
+
let RuntimeLogger
|
|
4
|
+
|
|
5
|
+
class Receiver {
|
|
6
|
+
static connectionData = new InMemoryConnectionData()
|
|
7
|
+
Receiver() {
|
|
8
|
+
if (!RuntimeLogger) {
|
|
9
|
+
RuntimeLogger = require('../../utils/RuntimeLogger')
|
|
10
|
+
}
|
|
11
|
+
RuntimeLogger.printRuntimeInfo()
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @param {number[]} messageByteArray
|
|
16
|
+
*/
|
|
17
|
+
static sendCommand(messageByteArray) {
|
|
18
|
+
return new CommandSerializer().serialize(
|
|
19
|
+
new Interpreter().process(messageByteArray),
|
|
20
|
+
this.connectionData
|
|
21
|
+
)
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
static heartBeat(messageByteArray) {
|
|
25
|
+
let response = new Int8Array(2)
|
|
26
|
+
response[0] = messageByteArray[11]
|
|
27
|
+
response[1] = messageByteArray[12] - 2
|
|
28
|
+
return response
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
module.exports = Receiver
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
const Receiver = require('./Receiver')
|
|
1
|
+
const Receiver = require('./Receiver')
|
|
2
2
|
|
|
3
3
|
class ReceiverNative {
|
|
4
4
|
static sendCommand(messageByteArray) {
|
|
5
|
-
|
|
5
|
+
return Receiver.sendCommand(messageByteArray)
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
static heartBeat(messageByteArray) {
|
|
@@ -10,4 +10,4 @@ class ReceiverNative {
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
global.ReceiverNative = ReceiverNative
|
|
13
|
+
global.ReceiverNative = ReceiverNative
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
const v4 = require('../../utils/uuid/v4')
|
|
2
|
+
|
|
1
3
|
let _cache = {}
|
|
2
4
|
let _instance = null
|
|
3
|
-
const v4 = require('../../utils/uuid/v4')
|
|
4
5
|
|
|
5
6
|
class ReferencesCache {
|
|
6
|
-
|
|
7
7
|
static getInstance() {
|
|
8
8
|
if (_instance === null) {
|
|
9
9
|
_instance = new ReferencesCache()
|
|
@@ -23,8 +23,8 @@ class ReferencesCache {
|
|
|
23
23
|
|
|
24
24
|
deleteReference(referenceGuid) {
|
|
25
25
|
delete _cache[referenceGuid]
|
|
26
|
-
return 0
|
|
26
|
+
return 0
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
module.exports = ReferencesCache
|
|
30
|
+
module.exports = ReferencesCache
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
const wrapper = require('./TransmitterWrapper')
|
|
2
2
|
|
|
3
3
|
class Transmitter {
|
|
4
|
-
|
|
5
4
|
static initialize() {
|
|
6
5
|
return wrapper.initialize()
|
|
7
6
|
}
|
|
8
7
|
|
|
9
|
-
|
|
8
|
+
static sendCommand(messageArray) {
|
|
10
9
|
return wrapper.sendCommand(messageArray)
|
|
11
10
|
}
|
|
12
11
|
|
|
13
|
-
static activate = function(licenseKey) {
|
|
12
|
+
static activate = function (licenseKey) {
|
|
14
13
|
return wrapper.activate(licenseKey)
|
|
15
14
|
}
|
|
16
15
|
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
const WebSocketClient = require('../webSocketClient/WebSocketClient')
|
|
2
|
+
|
|
3
|
+
/** @typedef {import('../../../../core/lib/declarations').WsConnectionData} WsConnectionData */
|
|
4
|
+
|
|
5
|
+
class TransmitterWebsocket {
|
|
6
|
+
/**
|
|
7
|
+
* @returns {void}
|
|
8
|
+
*/
|
|
9
|
+
static initialize() {}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @returns {void}
|
|
13
|
+
*/
|
|
14
|
+
static setConfigSource() {}
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @returns {void}
|
|
18
|
+
*/
|
|
19
|
+
static activate() {}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* @async
|
|
23
|
+
* @param {number[]} messageByteArray
|
|
24
|
+
* @param {WsConnectionData} connectionData
|
|
25
|
+
* @returns {Promise<number[]>} responseByteArray
|
|
26
|
+
*/
|
|
27
|
+
static async sendCommand(messageByteArray, connectionData) {
|
|
28
|
+
const { hostname } = connectionData
|
|
29
|
+
return new WebSocketClient(hostname).send(messageByteArray)
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
module.exports = TransmitterWebsocket
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
let library
|
|
2
|
+
|
|
3
|
+
class TransmitterWrapper {
|
|
4
|
+
static initialize() {
|
|
5
|
+
if (process.platform === 'win32')
|
|
6
|
+
library = require(
|
|
7
|
+
`${require('path').resolve(__dirname, '../../../../')}/build/Release/JavonetNodejsRuntimeAddon.node`
|
|
8
|
+
)
|
|
9
|
+
else if (process.platform === 'darwin')
|
|
10
|
+
library = require(
|
|
11
|
+
`${require('path').resolve(__dirname, '../../../../')}/build/Release/JavonetNodejsRuntimeAddon.node`
|
|
12
|
+
)
|
|
13
|
+
else
|
|
14
|
+
library = require(
|
|
15
|
+
`${require('path').resolve(__dirname, '../../../../')}/build/Release/JavonetNodejsRuntimeAddon.node`
|
|
16
|
+
)
|
|
17
|
+
let binariesRootPath = String(`${require('path').resolve(__dirname, '../../../../')}`)
|
|
18
|
+
return library.initializeTransmitter(binariesRootPath)
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
static activate(licenseKey) {
|
|
22
|
+
return library.activate(licenseKey)
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
static sendCommand(messageArray) {
|
|
26
|
+
return library.sendCommand(messageArray)
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static setConfigSource(configSource) {
|
|
30
|
+
return library.setConfigSource(configSource)
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
module.exports = TransmitterWrapper
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
class TypeCache {
|
|
2
|
-
static _instance = null
|
|
3
|
-
typeCache = []
|
|
2
|
+
static _instance = null
|
|
3
|
+
typeCache = []
|
|
4
4
|
|
|
5
5
|
constructor() {
|
|
6
6
|
if (TypeCache._instance === null) {
|
|
7
|
-
TypeCache._instance = this
|
|
7
|
+
TypeCache._instance = this
|
|
8
8
|
}
|
|
9
|
-
return TypeCache._instance
|
|
9
|
+
return TypeCache._instance
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
cacheType(typRegex) {
|
|
13
|
-
this.typeCache.push(typRegex)
|
|
13
|
+
this.typeCache.push(typRegex)
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
isTypeCacheEmpty() {
|
|
17
|
-
return this.typeCache.length === 0
|
|
17
|
+
return this.typeCache.length === 0
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
isTypeAllowed(typeToCheck) {
|
|
21
21
|
for (let pattern of this.typeCache) {
|
|
22
22
|
if (new RegExp(pattern).test(typeToCheck.name)) {
|
|
23
|
-
return true
|
|
23
|
+
return true
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
return false
|
|
26
|
+
return false
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
getCachedTypes() {
|
|
30
|
-
return this.typeCache
|
|
30
|
+
return this.typeCache
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
clearCache() {
|
|
34
|
-
this.typeCache = []
|
|
35
|
-
return 0
|
|
34
|
+
this.typeCache = []
|
|
35
|
+
return 0
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
module.exports = TypeCache
|
|
39
|
+
module.exports = TypeCache
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
const WebSocket = require('ws')
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Enum for WebSocket states.
|
|
5
|
+
* @readonly
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
const WebSocketStateEnum = {
|
|
9
|
+
OPEN: 'open',
|
|
10
|
+
CLOSE: 'close',
|
|
11
|
+
ERROR: 'error',
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* WebSocketClient class that handles WebSocket connection, message sending, and automatic disconnection.
|
|
16
|
+
*/
|
|
17
|
+
class WebSocketClient {
|
|
18
|
+
/**
|
|
19
|
+
* @param {string} url
|
|
20
|
+
* @param {object} options
|
|
21
|
+
*/
|
|
22
|
+
constructor(url, options) {
|
|
23
|
+
/**
|
|
24
|
+
* @type {string}
|
|
25
|
+
*/
|
|
26
|
+
this.url = url
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @type {WebSocket | null}
|
|
30
|
+
*/
|
|
31
|
+
this.instance = null
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @type {boolean} isConnected indicates whether the WebSocket is connected.
|
|
35
|
+
*/
|
|
36
|
+
this.isConnected = false
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
*/
|
|
41
|
+
this.isDisconnectedAfterMessage = options?.isDisconnectedAfterMessage ?? false
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Sends messageArray through websocket connection
|
|
46
|
+
* @async
|
|
47
|
+
* @param {Buffer|ArrayBuffer|Buffer[]} messageArray
|
|
48
|
+
* @returns {Promise<Buffer|ArrayBuffer|Buffer[]>}
|
|
49
|
+
*/
|
|
50
|
+
send(messageArray) {
|
|
51
|
+
return new Promise((resolve, reject) => {
|
|
52
|
+
try {
|
|
53
|
+
if (this.isConnected) {
|
|
54
|
+
this._sendMessage(messageArray, resolve, reject)
|
|
55
|
+
} else {
|
|
56
|
+
this._connect().then(() => {
|
|
57
|
+
this._sendMessage(messageArray, resolve, reject)
|
|
58
|
+
})
|
|
59
|
+
}
|
|
60
|
+
} catch (error) {
|
|
61
|
+
reject(error)
|
|
62
|
+
}
|
|
63
|
+
})
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* Disconnects the WebSocket by terminating the connection.
|
|
68
|
+
*/
|
|
69
|
+
disconnect() {
|
|
70
|
+
if (this.instance) {
|
|
71
|
+
this.instance.terminate()
|
|
72
|
+
}
|
|
73
|
+
this.isConnected = false
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* Connects to the WebSocket server.
|
|
78
|
+
* @private
|
|
79
|
+
* @async
|
|
80
|
+
* @returns {Promise<void>} - A promise that resolves when the connection is established.
|
|
81
|
+
*/
|
|
82
|
+
_connect() {
|
|
83
|
+
return new Promise((resolve, reject) => {
|
|
84
|
+
this.instance = new WebSocket(this.url)
|
|
85
|
+
|
|
86
|
+
this.instance.on(WebSocketStateEnum.OPEN, () => {
|
|
87
|
+
this.isConnected = true
|
|
88
|
+
resolve()
|
|
89
|
+
})
|
|
90
|
+
|
|
91
|
+
// eslint-disable-next-line no-unused-vars
|
|
92
|
+
this.instance.on(WebSocketStateEnum.ERROR, (error) => {
|
|
93
|
+
reject(null)
|
|
94
|
+
})
|
|
95
|
+
|
|
96
|
+
this.instance.on(WebSocketStateEnum.CLOSE, () => {
|
|
97
|
+
this.isConnected = false
|
|
98
|
+
})
|
|
99
|
+
})
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Sends the data to the WebSocket server and listens for a response.
|
|
104
|
+
* @private
|
|
105
|
+
* @async
|
|
106
|
+
* @param {string|Buffer|ArrayBuffer|Buffer[]} data - The data to send.
|
|
107
|
+
* @param {Function} resolve - The resolve function for the Promise.
|
|
108
|
+
* @param {Function} reject - The reject function for the Promise.
|
|
109
|
+
*/
|
|
110
|
+
_sendMessage(data, resolve, reject) {
|
|
111
|
+
this.instance.send(data, (err) => {
|
|
112
|
+
if (err) {
|
|
113
|
+
reject(err)
|
|
114
|
+
}
|
|
115
|
+
})
|
|
116
|
+
|
|
117
|
+
this.instance.on('message', (message) => {
|
|
118
|
+
resolve(message)
|
|
119
|
+
|
|
120
|
+
if (this.isDisconnectedAfterMessage) {
|
|
121
|
+
this.disconnect()
|
|
122
|
+
}
|
|
123
|
+
})
|
|
124
|
+
|
|
125
|
+
this.instance.on('error', (error) => {
|
|
126
|
+
reject(error)
|
|
127
|
+
})
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
module.exports = WebSocketClient
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents WebSocket connection data.
|
|
3
|
+
*/
|
|
4
|
+
export class WsConnectionData {
|
|
5
|
+
/**
|
|
6
|
+
* Constructs a new WsConnectionData instance.
|
|
7
|
+
* @param hostname - The hostname of the connection.
|
|
8
|
+
*/
|
|
9
|
+
constructor(hostname: string)
|
|
10
|
+
|
|
11
|
+
readonly connectionType: any
|
|
12
|
+
|
|
13
|
+
/** The hostname of the connection. */
|
|
14
|
+
hostname: any
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Serializes the connection data.
|
|
18
|
+
* @returns An array of connection data values.
|
|
19
|
+
*/
|
|
20
|
+
serializeConnectionData(): number[]
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Checks equality with another WsConnectionData object.
|
|
24
|
+
* @param other - The object to compare with.
|
|
25
|
+
* @returns `true` if equal, otherwise `false`.
|
|
26
|
+
*/
|
|
27
|
+
equals(other: any): boolean
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare enum RuntimeName {
|
|
31
|
+
Clr = 0,
|
|
32
|
+
Go = 1,
|
|
33
|
+
Jvm = 2,
|
|
34
|
+
Netcore = 3,
|
|
35
|
+
Perl = 4,
|
|
36
|
+
Python = 5,
|
|
37
|
+
Ruby = 6,
|
|
38
|
+
Nodejs = 7,
|
|
39
|
+
Cpp = 8,
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
interface RuntimeChannel {
|
|
43
|
+
type: 'inMemory' | 'tcp' | 'webSocket'
|
|
44
|
+
host?: string
|
|
45
|
+
port?: number
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
interface Runtime {
|
|
49
|
+
name: string
|
|
50
|
+
customOptions: string
|
|
51
|
+
modules: string
|
|
52
|
+
channel: RuntimeChannel
|
|
53
|
+
runtimeName: RuntimeName
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
type Runtimes = {
|
|
57
|
+
[Key in keyof typeof RuntimeName]: Runtime[]
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export interface ConfigSource {
|
|
61
|
+
[key: string]: any
|
|
62
|
+
licenseKey: string
|
|
63
|
+
runtimes: Partial<Runtimes>
|
|
64
|
+
}
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
const JsonFileResolver = require('./tools/JsonFileResolver')
|
|
2
|
+
const Transmitter = require('../core/transmitter/Transmitter')
|
|
3
|
+
|
|
4
|
+
const {
|
|
5
|
+
RuntimeName,
|
|
6
|
+
RuntimeNameHandler,
|
|
7
|
+
InMemoryConnectionData,
|
|
8
|
+
WsConnectionData,
|
|
9
|
+
RuntimeContext,
|
|
10
|
+
} = require('../..')
|
|
11
|
+
const TcpConnectionData = require('../utils/connectionData/TcpConnectionData')
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* The ConfigRuntimeFactory class provides methods for creating runtime contexts.
|
|
15
|
+
* Each method corresponds to a specific runtime (CLR, JVM, .NET Core, Perl, Ruby, Node.js, Python) and returns a RuntimeContext instance for that runtime.
|
|
16
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
17
|
+
*/
|
|
18
|
+
class ConfigRuntimeFactory {
|
|
19
|
+
constructor(path) {
|
|
20
|
+
this.path = path
|
|
21
|
+
Transmitter.setConfigSource(path)
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
* Creates RuntimeContext instance to interact with the .NET Framework runtime.
|
|
26
|
+
* @param {string} [configName="default"] - The name of the configuration to use (optional).
|
|
27
|
+
* @return {RuntimeContext} a RuntimeContext instance for the .NET Framework runtime
|
|
28
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
29
|
+
*/
|
|
30
|
+
clr(configName = 'default') {
|
|
31
|
+
return this.#getRuntimeContext(RuntimeName.Clr, configName)
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Creates RuntimeContext instance to interact with the JVM runtime.
|
|
36
|
+
* @param {string} [configName="default"] - The name of the configuration to use (optional).
|
|
37
|
+
* @return {RuntimeContext} a RuntimeContext instance for the JVM runtime
|
|
38
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
39
|
+
*/
|
|
40
|
+
jvm(configName = 'default') {
|
|
41
|
+
return this.#getRuntimeContext(RuntimeName.Jvm, configName)
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Creates RuntimeContext instance to interact with the .NET runtime.
|
|
46
|
+
* @param {string} [configName="default"] - The name of the configuration to use (optional).
|
|
47
|
+
* @return {RuntimeContext} a RuntimeContext instance for the .NET runtime
|
|
48
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
49
|
+
*/
|
|
50
|
+
netcore(configName = 'default') {
|
|
51
|
+
return this.#getRuntimeContext(RuntimeName.Netcore, configName)
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Creates RuntimeContext instance to interact with the Perl runtime.
|
|
56
|
+
* @param {string} [configName="default"] - The name of the configuration to use (optional).
|
|
57
|
+
* @return {RuntimeContext} a RuntimeContext instance for the Perl runtime
|
|
58
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
59
|
+
*/
|
|
60
|
+
perl(configName = 'default') {
|
|
61
|
+
return this.#getRuntimeContext(RuntimeName.Perl, configName)
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Creates RuntimeContext instance to interact with the Python runtime.
|
|
66
|
+
* @param {string} [configName="default"] - The name of the configuration to use (optional).
|
|
67
|
+
* @return {RuntimeContext} a RuntimeContext instance for the Python runtime
|
|
68
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
69
|
+
*/
|
|
70
|
+
python(configName = 'default') {
|
|
71
|
+
return this.#getRuntimeContext(RuntimeName.Python, configName)
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Creates RuntimeContext instance to interact with the Ruby runtime.
|
|
76
|
+
* @param {string} [configName="default"] - The name of the configuration to use (optional).
|
|
77
|
+
* @return {RuntimeContext} a RuntimeContext instance for the Ruby runtime
|
|
78
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
79
|
+
*/
|
|
80
|
+
ruby(configName = 'default') {
|
|
81
|
+
return this.#getRuntimeContext(RuntimeName.Ruby, configName)
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Creates RuntimeContext instance to interact with Node.js runtime.
|
|
86
|
+
* @param {string} [configName="default"] - The name of the configuration to use (optional).
|
|
87
|
+
* @return {RuntimeContext} a RuntimeContext instance for the Node.js runtime
|
|
88
|
+
* @see [Javonet Guides](https://www.javonet.com/guides/v2/javascript/foundations/runtime-context)
|
|
89
|
+
*/
|
|
90
|
+
nodejs(configName = 'default') {
|
|
91
|
+
return this.#getRuntimeContext(RuntimeName.Nodejs, configName)
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
#getRuntimeContext(runtime, configName = 'default') {
|
|
95
|
+
let jfr = new JsonFileResolver(this.path)
|
|
96
|
+
|
|
97
|
+
try {
|
|
98
|
+
let licenseKey = jfr.getLicenseKey()
|
|
99
|
+
Transmitter.activateWithCredentials(licenseKey)
|
|
100
|
+
// eslint-disable-next-line no-unused-vars
|
|
101
|
+
} catch (error) {
|
|
102
|
+
// licenseKey not found - do nothing
|
|
103
|
+
}
|
|
104
|
+
let rtmCtx = null
|
|
105
|
+
let connData = null
|
|
106
|
+
let connType = jfr.getChannelType(RuntimeNameHandler.getName(runtime), configName)
|
|
107
|
+
if (connType === 'inMemory') {
|
|
108
|
+
connData = new InMemoryConnectionData()
|
|
109
|
+
} else if (connType === 'tcp') {
|
|
110
|
+
connData = new TcpConnectionData(
|
|
111
|
+
jfr.getChannelHost(RuntimeNameHandler.getName(runtime), configName),
|
|
112
|
+
jfr.getChannelPort(RuntimeNameHandler.getName(runtime), configName)
|
|
113
|
+
)
|
|
114
|
+
} else if (connType === 'webSocket') {
|
|
115
|
+
connData = new WsConnectionData(
|
|
116
|
+
jfr.getChannelHost(RuntimeNameHandler.getName(runtime), configName)
|
|
117
|
+
)
|
|
118
|
+
} else {
|
|
119
|
+
throw new Error('Unsupported connection type: ' + connType)
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
rtmCtx = RuntimeContext.getInstance(runtime, connData)
|
|
123
|
+
this.#loadModules(runtime, configName, jfr, rtmCtx)
|
|
124
|
+
return rtmCtx
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
#loadModules(runtime, configName, jfr, rtmCtx) {
|
|
128
|
+
const modules = jfr
|
|
129
|
+
.getModules(RuntimeNameHandler.getName(runtime), configName)
|
|
130
|
+
.split(';')
|
|
131
|
+
.filter((module) => module.trim() !== '')
|
|
132
|
+
|
|
133
|
+
const configDirectoryAbsolutePath = require('path').dirname(this.path)
|
|
134
|
+
|
|
135
|
+
modules.forEach((module) => {
|
|
136
|
+
if (require('path').isAbsolute(module)) {
|
|
137
|
+
rtmCtx.loadLibrary(module)
|
|
138
|
+
} else {
|
|
139
|
+
rtmCtx.loadLibrary(require('path').join(configDirectoryAbsolutePath, module))
|
|
140
|
+
}
|
|
141
|
+
})
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
module.exports = ConfigRuntimeFactory
|