javonet-nodejs-sdk 2.5.7 → 2.5.9
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 -18
- 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/JavonetPerlRuntimeNativeAuxiliary.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 +64 -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/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/GetStaticFieldHandler.js +36 -0
- package/Binaries/Nodejs/lib/core/handler/GetTypeHandler.js +63 -0
- package/Binaries/Nodejs/{core → lib/core}/handler/Handler.js +12 -11
- 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 +9 -2
- 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 +454 -522
- package/Binaries/Nodejs/lib/sdk/Javonet.js +89 -0
- package/Binaries/Nodejs/lib/sdk/RuntimeContext.js +266 -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 +6 -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/Binaries/Nodejs/{utils → lib/utils}/RuntimeName.js +6 -3
- 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/{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/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/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/install.json +1 -1
- 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/install.json +1 -1
- 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/install.json +1 -1
- 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/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/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/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/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/Want/Want.so +0 -0
- package/Binaries/Perl/Linux/X64/deps/lib/perl5/x86_64-linux-gnu-thread-multi/perllocal.pod +90 -90
- package/Binaries/Perl/Linux/X64/lib/Javonet/Core/Receiver/Receiver.pm +5 -6
- package/Binaries/Perl/Linux/X64/lib/Javonet/Javonet.pm +10 -0
- package/Binaries/Perl/Linux/X64/lib/Javonet/Sdk/Core/RuntimeLogger.pm +2 -2
- 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/install.json +1 -1
- 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/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/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/XS/XS.xs.dll +0 -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/autobox/autobox.xs.dll +0 -0
- package/Binaries/Perl/Windows/X64/deps/lib/perl5/MSWin32-x64-multi-thread/perllocal.pod +19 -19
- package/Binaries/Perl/Windows/X64/lib/Javonet/Core/Receiver/Receiver.pm +5 -6
- package/Binaries/Perl/Windows/X64/lib/Javonet/Javonet.pm +10 -0
- package/Binaries/Perl/Windows/X64/lib/Javonet/Sdk/Core/RuntimeLogger.pm +2 -2
- package/Binaries/Python/javonet/core/handler/GetInstanceFieldHandler.py +1 -1
- package/Binaries/Python/javonet/core/handler/GetTypeHandler.py +7 -4
- package/Binaries/Python/javonet/core/receiver/Receiver.py +3 -4
- package/Binaries/Python/javonet/utils/RuntimeLogger.py +1 -1
- package/Binaries/Ruby/Linux/X64/core/handler/get_instance_field_handler.rb +3 -3
- package/Binaries/Ruby/Linux/X64/core/handler/get_static_field_handler.rb +2 -2
- package/Binaries/Ruby/Linux/X64/core/handler/get_type_handler.rb +29 -18
- package/Binaries/Ruby/Linux/X64/core/handler/load_library_handler.rb +8 -0
- package/Binaries/Ruby/Linux/X64/core/handler/set_instance_field_handler.rb +7 -3
- package/Binaries/Ruby/Linux/X64/core/handler/set_static_field_handler.rb +2 -2
- package/Binaries/Ruby/MacOs/X64/core/handler/get_instance_field_handler.rb +3 -3
- package/Binaries/Ruby/MacOs/X64/core/handler/get_static_field_handler.rb +2 -2
- package/Binaries/Ruby/MacOs/X64/core/handler/get_type_handler.rb +29 -18
- package/Binaries/Ruby/MacOs/X64/core/handler/load_library_handler.rb +8 -0
- package/Binaries/Ruby/MacOs/X64/core/handler/set_instance_field_handler.rb +7 -3
- package/Binaries/Ruby/MacOs/X64/core/handler/set_static_field_handler.rb +2 -2
- package/Binaries/Ruby/Windows/X64/core/handler/get_instance_field_handler.rb +3 -3
- package/Binaries/Ruby/Windows/X64/core/handler/get_static_field_handler.rb +2 -2
- package/Binaries/Ruby/Windows/X64/core/handler/get_type_handler.rb +29 -18
- package/Binaries/Ruby/Windows/X64/core/handler/load_library_handler.rb +8 -0
- package/Binaries/Ruby/Windows/X64/core/handler/set_instance_field_handler.rb +7 -3
- package/Binaries/Ruby/Windows/X64/core/handler/set_static_field_handler.rb +2 -2
- package/Binaries/version.txt +1 -1
- package/README.md +1 -1
- package/dist/Javonet.d.ts +4368 -0
- package/dist/index.js +64 -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/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/GetStaticFieldHandler.js +36 -0
- package/dist/lib/core/handler/GetTypeHandler.js +63 -0
- package/dist/lib/core/handler/Handler.js +91 -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/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 +454 -0
- package/dist/lib/sdk/Javonet.js +89 -0
- package/dist/lib/sdk/RuntimeContext.js +266 -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 +6 -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/{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/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/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/GetStaticFieldHandler.js +28 -28
- package/lib/core/handler/GetTypeHandler.js +30 -14
- package/lib/core/handler/Handler.js +12 -11
- 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 +9 -2
- 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 -107
- package/lib/sdk/ConfigRuntimeFactory.js +57 -52
- package/lib/sdk/Javonet.js +28 -32
- package/lib/sdk/RuntimeContext.js +118 -122
- 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/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 -41
- 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/GetTypeHandler.js +0 -47
- 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 -65
- 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 -133
- 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/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/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/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 -65
- package/lib/utils/Command.js +0 -66
- package/lib/utils/ConnectionType.js +0 -5
- package/lib/utils/RuntimeName.js +0 -11
- 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
|
@@ -1,361 +0,0 @@
|
|
|
1
|
-
package Dist::CheckConflicts;
|
|
2
|
-
BEGIN {
|
|
3
|
-
$Dist::CheckConflicts::AUTHORITY = 'cpan:DOY';
|
|
4
|
-
}
|
|
5
|
-
$Dist::CheckConflicts::VERSION = '0.11';
|
|
6
|
-
use strict;
|
|
7
|
-
use warnings;
|
|
8
|
-
use 5.006;
|
|
9
|
-
# ABSTRACT: declare version conflicts for your dist
|
|
10
|
-
|
|
11
|
-
use base 'Exporter';
|
|
12
|
-
our @EXPORT = our @EXPORT_OK = (
|
|
13
|
-
qw(conflicts check_conflicts calculate_conflicts dist)
|
|
14
|
-
);
|
|
15
|
-
|
|
16
|
-
use Carp;
|
|
17
|
-
use Module::Runtime 0.009 'module_notional_filename', 'require_module';
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
my %CONFLICTS;
|
|
21
|
-
my %HAS_CONFLICTS;
|
|
22
|
-
my %DISTS;
|
|
23
|
-
|
|
24
|
-
sub import {
|
|
25
|
-
my $pkg = shift;
|
|
26
|
-
my $for = caller;
|
|
27
|
-
|
|
28
|
-
my ($conflicts, $alsos, $dist);
|
|
29
|
-
($conflicts, @_) = _strip_opt('-conflicts' => @_);
|
|
30
|
-
($alsos, @_) = _strip_opt('-also' => @_);
|
|
31
|
-
($dist, @_) = _strip_opt('-dist' => @_);
|
|
32
|
-
|
|
33
|
-
my %conflicts = %{ $conflicts || {} };
|
|
34
|
-
for my $also (@{ $alsos || [] }) {
|
|
35
|
-
eval { require_module($also) } or next;
|
|
36
|
-
if (!exists $CONFLICTS{$also}) {
|
|
37
|
-
$also .= '::Conflicts';
|
|
38
|
-
eval { require_module($also) } or next;
|
|
39
|
-
}
|
|
40
|
-
if (!exists $CONFLICTS{$also}) {
|
|
41
|
-
next;
|
|
42
|
-
}
|
|
43
|
-
my %also_confs = $also->conflicts;
|
|
44
|
-
for my $also_conf (keys %also_confs) {
|
|
45
|
-
$conflicts{$also_conf} = $also_confs{$also_conf}
|
|
46
|
-
if !exists $conflicts{$also_conf}
|
|
47
|
-
|| $conflicts{$also_conf} lt $also_confs{$also_conf};
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
$CONFLICTS{$for} = \%conflicts;
|
|
52
|
-
$DISTS{$for} = $dist || $for;
|
|
53
|
-
|
|
54
|
-
if (grep { $_ eq ':runtime' } @_) {
|
|
55
|
-
for my $conflict (keys %conflicts) {
|
|
56
|
-
$HAS_CONFLICTS{$conflict} ||= [];
|
|
57
|
-
push @{ $HAS_CONFLICTS{$conflict} }, $for;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
# warn for already loaded things...
|
|
61
|
-
for my $conflict (keys %conflicts) {
|
|
62
|
-
if (exists $INC{module_notional_filename($conflict)}) {
|
|
63
|
-
_check_version([$for], $conflict);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
# and warn for subsequently loaded things...
|
|
68
|
-
@INC = grep {
|
|
69
|
-
!(ref($_) eq 'ARRAY' && @$_ > 1 && $_->[1] == \%CONFLICTS)
|
|
70
|
-
} @INC;
|
|
71
|
-
unshift @INC, [
|
|
72
|
-
sub {
|
|
73
|
-
my ($sub, $file) = @_;
|
|
74
|
-
|
|
75
|
-
(my $mod = $file) =~ s{\.pm$}{};
|
|
76
|
-
$mod =~ s{/}{::}g;
|
|
77
|
-
return unless $mod =~ /[\w:]+/;
|
|
78
|
-
|
|
79
|
-
return unless defined $HAS_CONFLICTS{$mod};
|
|
80
|
-
|
|
81
|
-
{
|
|
82
|
-
local $HAS_CONFLICTS{$mod};
|
|
83
|
-
require $file;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
_check_version($HAS_CONFLICTS{$mod}, $mod);
|
|
87
|
-
|
|
88
|
-
# the previous require already handled it
|
|
89
|
-
my $called;
|
|
90
|
-
return sub {
|
|
91
|
-
return 0 if $called;
|
|
92
|
-
$_ = "1;";
|
|
93
|
-
$called = 1;
|
|
94
|
-
return 1;
|
|
95
|
-
};
|
|
96
|
-
},
|
|
97
|
-
\%CONFLICTS, # arbitrary but unique, see above
|
|
98
|
-
];
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
$pkg->export_to_level(1, @_);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
sub _strip_opt {
|
|
105
|
-
my ($opt, @args) = @_;
|
|
106
|
-
|
|
107
|
-
my $val;
|
|
108
|
-
for my $idx ( 0 .. $#args - 1 ) {
|
|
109
|
-
if (defined $args[$idx] && $args[$idx] eq $opt) {
|
|
110
|
-
$val = (splice @args, $idx, 2)[1];
|
|
111
|
-
last;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
return ( $val, @args );
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
sub _check_version {
|
|
119
|
-
my ($fors, $mod) = @_;
|
|
120
|
-
|
|
121
|
-
for my $for (@$fors) {
|
|
122
|
-
my $conflict_ver = $CONFLICTS{$for}{$mod};
|
|
123
|
-
my $version = do {
|
|
124
|
-
no strict 'refs';
|
|
125
|
-
${ ${ $mod . '::' }{VERSION} };
|
|
126
|
-
};
|
|
127
|
-
|
|
128
|
-
if ($version le $conflict_ver) {
|
|
129
|
-
warn <<EOF;
|
|
130
|
-
Conflict detected for $DISTS{$for}:
|
|
131
|
-
$mod is version $version, but must be greater than version $conflict_ver
|
|
132
|
-
EOF
|
|
133
|
-
return;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
sub conflicts {
|
|
140
|
-
my $package = shift;
|
|
141
|
-
return %{ $CONFLICTS{ $package } };
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
sub dist {
|
|
146
|
-
my $package = shift;
|
|
147
|
-
return $DISTS{ $package };
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
sub check_conflicts {
|
|
152
|
-
my $package = shift;
|
|
153
|
-
my $dist = $package->dist;
|
|
154
|
-
my @conflicts = $package->calculate_conflicts;
|
|
155
|
-
return unless @conflicts;
|
|
156
|
-
|
|
157
|
-
my $err = "Conflicts detected for $dist:\n";
|
|
158
|
-
for my $conflict (@conflicts) {
|
|
159
|
-
$err .= " $conflict->{package} is version "
|
|
160
|
-
. "$conflict->{installed}, but must be greater than version "
|
|
161
|
-
. "$conflict->{required}\n";
|
|
162
|
-
}
|
|
163
|
-
die $err;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
sub calculate_conflicts {
|
|
168
|
-
my $package = shift;
|
|
169
|
-
my %conflicts = $package->conflicts;
|
|
170
|
-
|
|
171
|
-
my @ret;
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
CONFLICT:
|
|
175
|
-
for my $conflict (keys %conflicts) {
|
|
176
|
-
my $success = do {
|
|
177
|
-
local $SIG{__WARN__} = sub {};
|
|
178
|
-
eval { require_module($conflict) };
|
|
179
|
-
};
|
|
180
|
-
my $error = $@;
|
|
181
|
-
my $file = module_notional_filename($conflict);
|
|
182
|
-
next if not $success and $error =~ /Can't locate \Q$file\E in \@INC/;
|
|
183
|
-
|
|
184
|
-
warn "Warning: $conflict did not compile" if not $success;
|
|
185
|
-
my $installed = $success ? $conflict->VERSION : 'unknown';
|
|
186
|
-
push @ret, {
|
|
187
|
-
package => $conflict,
|
|
188
|
-
installed => $installed,
|
|
189
|
-
required => $conflicts{$conflict},
|
|
190
|
-
} if not $success or $installed le $conflicts{$conflict};
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
return sort { $a->{package} cmp $b->{package} } @ret;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
1;
|
|
198
|
-
|
|
199
|
-
__END__
|
|
200
|
-
|
|
201
|
-
=pod
|
|
202
|
-
|
|
203
|
-
=encoding UTF-8
|
|
204
|
-
|
|
205
|
-
=head1 NAME
|
|
206
|
-
|
|
207
|
-
Dist::CheckConflicts - declare version conflicts for your dist
|
|
208
|
-
|
|
209
|
-
=head1 VERSION
|
|
210
|
-
|
|
211
|
-
version 0.11
|
|
212
|
-
|
|
213
|
-
=head1 SYNOPSIS
|
|
214
|
-
|
|
215
|
-
use Dist::CheckConflicts
|
|
216
|
-
-dist => 'Class-MOP',
|
|
217
|
-
-conflicts => {
|
|
218
|
-
'Moose' => '1.14',
|
|
219
|
-
'namespace::autoclean' => '0.08',
|
|
220
|
-
},
|
|
221
|
-
-also => [
|
|
222
|
-
'Package::Stash::Conflicts',
|
|
223
|
-
];
|
|
224
|
-
|
|
225
|
-
__PACKAGE__->check_conflicts;
|
|
226
|
-
|
|
227
|
-
=head1 DESCRIPTION
|
|
228
|
-
|
|
229
|
-
One shortcoming of the CPAN clients that currently exist is that they have no
|
|
230
|
-
way of specifying conflicting downstream dependencies of modules. This module
|
|
231
|
-
attempts to work around this issue by allowing you to specify conflicting
|
|
232
|
-
versions of modules separately, and deal with them after the module is done
|
|
233
|
-
installing.
|
|
234
|
-
|
|
235
|
-
For instance, say you have a module C<Foo>, and some other module C<Bar> uses
|
|
236
|
-
C<Foo>. If C<Foo> were to change its API in a non-backwards-compatible way,
|
|
237
|
-
this would cause C<Bar> to break until it is updated to use the new API. C<Foo>
|
|
238
|
-
can't just depend on the fixed version of C<Bar>, because this will cause a
|
|
239
|
-
circular dependency (because C<Bar> is already depending on C<Foo>), and this
|
|
240
|
-
doesn't express intent properly anyway - C<Foo> doesn't use C<Bar> at all. The
|
|
241
|
-
ideal solution would be for there to be a way to specify conflicting versions
|
|
242
|
-
of modules in a way that would let CPAN clients update conflicting modules
|
|
243
|
-
automatically after an existing module is upgraded, but until that happens,
|
|
244
|
-
this module will allow users to do this manually.
|
|
245
|
-
|
|
246
|
-
This module accepts a hash of options passed to its C<use> statement, with
|
|
247
|
-
these keys being valid:
|
|
248
|
-
|
|
249
|
-
=over 4
|
|
250
|
-
|
|
251
|
-
=item -conflicts
|
|
252
|
-
|
|
253
|
-
A hashref of conflict specifications, where keys are module names, and values
|
|
254
|
-
are the last broken version - any version greater than the specified version
|
|
255
|
-
should work.
|
|
256
|
-
|
|
257
|
-
=item -also
|
|
258
|
-
|
|
259
|
-
Additional modules to get conflicts from (potentially recursively). This should
|
|
260
|
-
generally be a list of modules which use Dist::CheckConflicts, which correspond
|
|
261
|
-
to the dists that your dist depends on. (In an ideal world, this would be
|
|
262
|
-
intuited directly from your dependency list, but the dependency list isn't
|
|
263
|
-
available outside of build time).
|
|
264
|
-
|
|
265
|
-
=item -dist
|
|
266
|
-
|
|
267
|
-
The name of the distribution, to make the error message from check_conflicts
|
|
268
|
-
more user-friendly.
|
|
269
|
-
|
|
270
|
-
=back
|
|
271
|
-
|
|
272
|
-
The methods listed below are exported by this module into the module that uses
|
|
273
|
-
it, so you should call these methods on your module, not Dist::CheckConflicts.
|
|
274
|
-
|
|
275
|
-
As an example, this command line can be used to update your modules, after
|
|
276
|
-
installing the C<Foo> dist (assuming that C<Foo::Conflicts> is the module in
|
|
277
|
-
the C<Foo> dist which uses Dist::CheckConflicts):
|
|
278
|
-
|
|
279
|
-
perl -MFoo::Conflicts -e'print "$_\n"
|
|
280
|
-
for map { $_->{package} } Foo::Conflicts->calculate_conflicts' | cpanm
|
|
281
|
-
|
|
282
|
-
As an added bonus, loading your conflicts module will provide warnings at
|
|
283
|
-
runtime if conflicting modules are detected (regardless of whether they are
|
|
284
|
-
loaded before or afterwards).
|
|
285
|
-
|
|
286
|
-
=head1 METHODS
|
|
287
|
-
|
|
288
|
-
=head2 conflicts
|
|
289
|
-
|
|
290
|
-
Returns the conflict specification (the C<-conflicts> parameter to
|
|
291
|
-
C<import()>), as a hash.
|
|
292
|
-
|
|
293
|
-
=head2 dist
|
|
294
|
-
|
|
295
|
-
Returns the dist name (either as specified by the C<-dist> parameter to
|
|
296
|
-
C<import()>, or the package name which C<use>d this module).
|
|
297
|
-
|
|
298
|
-
=head2 check_conflicts
|
|
299
|
-
|
|
300
|
-
Examine the modules that are currently installed, and throw an exception with
|
|
301
|
-
useful information if any modules are at versions which conflict with the dist.
|
|
302
|
-
|
|
303
|
-
=head2 calculate_conflicts
|
|
304
|
-
|
|
305
|
-
Examine the modules that are currently installed, and return a list of modules
|
|
306
|
-
which conflict with the dist. The modules will be returned as a list of
|
|
307
|
-
hashrefs, each containing C<package>, C<installed>, and C<required> keys.
|
|
308
|
-
|
|
309
|
-
=head1 BUGS
|
|
310
|
-
|
|
311
|
-
No known bugs.
|
|
312
|
-
|
|
313
|
-
Please report any bugs to GitHub Issues at
|
|
314
|
-
L<https://github.com/doy/dist-checkconflicts/issues>.
|
|
315
|
-
|
|
316
|
-
=head1 SEE ALSO
|
|
317
|
-
|
|
318
|
-
L<Module::Install::CheckConflicts>
|
|
319
|
-
|
|
320
|
-
L<Dist::Zilla::Plugin::Conflicts>
|
|
321
|
-
|
|
322
|
-
=head1 SUPPORT
|
|
323
|
-
|
|
324
|
-
You can find this documentation for this module with the perldoc command.
|
|
325
|
-
|
|
326
|
-
perldoc Dist::CheckConflicts
|
|
327
|
-
|
|
328
|
-
You can also look for information at:
|
|
329
|
-
|
|
330
|
-
=over 4
|
|
331
|
-
|
|
332
|
-
=item * MetaCPAN
|
|
333
|
-
|
|
334
|
-
L<https://metacpan.org/release/Dist-CheckConflicts>
|
|
335
|
-
|
|
336
|
-
=item * Github
|
|
337
|
-
|
|
338
|
-
L<https://github.com/doy/dist-checkconflicts>
|
|
339
|
-
|
|
340
|
-
=item * RT: CPAN's request tracker
|
|
341
|
-
|
|
342
|
-
L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Dist-CheckConflicts>
|
|
343
|
-
|
|
344
|
-
=item * CPAN Ratings
|
|
345
|
-
|
|
346
|
-
L<http://cpanratings.perl.org/d/Dist-CheckConflicts>
|
|
347
|
-
|
|
348
|
-
=back
|
|
349
|
-
|
|
350
|
-
=head1 AUTHOR
|
|
351
|
-
|
|
352
|
-
Jesse Luehrs <doy@tozt.net>
|
|
353
|
-
|
|
354
|
-
=head1 COPYRIGHT AND LICENSE
|
|
355
|
-
|
|
356
|
-
This software is copyright (c) 2014 by Jesse Luehrs.
|
|
357
|
-
|
|
358
|
-
This is free software; you can redistribute it and/or modify it under
|
|
359
|
-
the same terms as the Perl 5 programming language system itself.
|
|
360
|
-
|
|
361
|
-
=cut
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
do { my $x = {
|
|
2
|
-
'abi' => {
|
|
3
|
-
'default_abi' => '2',
|
|
4
|
-
'efi64' => '3',
|
|
5
|
-
'gnuw64' => '4',
|
|
6
|
-
'unix64' => '2',
|
|
7
|
-
'win64' => '3'
|
|
8
|
-
},
|
|
9
|
-
'align' => {
|
|
10
|
-
'double' => '8',
|
|
11
|
-
'double complex' => '8',
|
|
12
|
-
'float' => '4',
|
|
13
|
-
'float complex' => '4',
|
|
14
|
-
'long double' => '16',
|
|
15
|
-
'long double complex' => '16',
|
|
16
|
-
'pointer' => '8',
|
|
17
|
-
'sint16' => '2',
|
|
18
|
-
'sint32' => '4',
|
|
19
|
-
'sint64' => '8',
|
|
20
|
-
'sint8' => '1',
|
|
21
|
-
'uint16' => '2',
|
|
22
|
-
'uint32' => '4',
|
|
23
|
-
'uint64' => '8',
|
|
24
|
-
'uint8' => '1'
|
|
25
|
-
},
|
|
26
|
-
'config_dlext' => [
|
|
27
|
-
'so'
|
|
28
|
-
],
|
|
29
|
-
'probe' => {
|
|
30
|
-
'abi' => 1,
|
|
31
|
-
'alloca' => 1,
|
|
32
|
-
'bigendian' => 0,
|
|
33
|
-
'bigendian64' => 0,
|
|
34
|
-
'complex' => 1,
|
|
35
|
-
'longdouble' => 1,
|
|
36
|
-
'recordvalue' => 1,
|
|
37
|
-
'strnlen' => 1,
|
|
38
|
-
'variadic' => 1
|
|
39
|
-
},
|
|
40
|
-
'test-key' => 'test-value',
|
|
41
|
-
'type_map' => {
|
|
42
|
-
'blkcnt_t' => 'sint64',
|
|
43
|
-
'blksize_t' => 'sint64',
|
|
44
|
-
'bool' => 'uint8',
|
|
45
|
-
'char' => 'sint8',
|
|
46
|
-
'dev_t' => 'uint64',
|
|
47
|
-
'double' => 'double',
|
|
48
|
-
'double complex' => 'complex_double',
|
|
49
|
-
'enum' => 'uint32',
|
|
50
|
-
'float' => 'float',
|
|
51
|
-
'float complex' => 'complex_float',
|
|
52
|
-
'gid_t' => 'uint32',
|
|
53
|
-
'ino_t' => 'uint64',
|
|
54
|
-
'int' => 'sint32',
|
|
55
|
-
'int16_t' => 'sint16',
|
|
56
|
-
'int32_t' => 'sint32',
|
|
57
|
-
'int64_t' => 'sint64',
|
|
58
|
-
'int8_t' => 'sint8',
|
|
59
|
-
'intmax_t' => 'sint64',
|
|
60
|
-
'intptr_t' => 'sint64',
|
|
61
|
-
'long' => 'sint64',
|
|
62
|
-
'long double' => 'longdouble',
|
|
63
|
-
'long double complex' => 'complex_longdouble',
|
|
64
|
-
'long long' => 'sint64',
|
|
65
|
-
'mode_t' => 'uint32',
|
|
66
|
-
'nlink_t' => 'uint64',
|
|
67
|
-
'off_t' => 'sint64',
|
|
68
|
-
'ptrdiff_t' => 'sint64',
|
|
69
|
-
'senum' => 'sint32',
|
|
70
|
-
'short' => 'sint16',
|
|
71
|
-
'signed char' => 'sint8',
|
|
72
|
-
'signed int' => 'sint32',
|
|
73
|
-
'signed long' => 'sint64',
|
|
74
|
-
'signed long long' => 'sint64',
|
|
75
|
-
'signed short' => 'sint16',
|
|
76
|
-
'size_t' => 'uint64',
|
|
77
|
-
'ssize_t' => 'sint64',
|
|
78
|
-
'time_t' => 'sint64',
|
|
79
|
-
'uchar' => 'uint8',
|
|
80
|
-
'uid_t' => 'uint32',
|
|
81
|
-
'uint' => 'uint32',
|
|
82
|
-
'uint16_t' => 'uint16',
|
|
83
|
-
'uint32_t' => 'uint32',
|
|
84
|
-
'uint64_t' => 'uint64',
|
|
85
|
-
'uint8_t' => 'uint8',
|
|
86
|
-
'uintmax_t' => 'uint64',
|
|
87
|
-
'uintptr_t' => 'uint64',
|
|
88
|
-
'ulong' => 'uint64',
|
|
89
|
-
'unsigned char' => 'uint8',
|
|
90
|
-
'unsigned int' => 'uint32',
|
|
91
|
-
'unsigned long' => 'uint64',
|
|
92
|
-
'unsigned long long' => 'uint64',
|
|
93
|
-
'unsigned short' => 'uint16',
|
|
94
|
-
'ushort' => 'uint16',
|
|
95
|
-
'wchar_t' => 'sint32',
|
|
96
|
-
'wint_t' => 'uint32'
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
$x;}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
#ifndef FFI_PLATYPUS_BUNDLE_H
|
|
2
|
-
#define FFI_PLATYPUS_BUNDLE_H
|
|
3
|
-
|
|
4
|
-
#include "ffi_platypus_config.h"
|
|
5
|
-
|
|
6
|
-
#ifdef HAVE_STDDEF_H
|
|
7
|
-
#include <stddef.h>
|
|
8
|
-
#endif
|
|
9
|
-
#ifdef HAVE_STDINT_H
|
|
10
|
-
#include <stdint.h>
|
|
11
|
-
#endif
|
|
12
|
-
#ifdef HAVE_STDLIB_H
|
|
13
|
-
#include <stdlib.h>
|
|
14
|
-
#endif
|
|
15
|
-
|
|
16
|
-
typedef struct {
|
|
17
|
-
void (*set_str) (const char *name, const char *value);
|
|
18
|
-
void (*set_sint) (const char *name, int64_t value );
|
|
19
|
-
void (*set_uint) (const char *name, uint64_t value );
|
|
20
|
-
void (*set_double) (const char *name, double value );
|
|
21
|
-
} ffi_platypus_constant_t;
|
|
22
|
-
|
|
23
|
-
#ifdef _MSC_VER
|
|
24
|
-
#define EXPORT __declspec(dllexport)
|
|
25
|
-
#else
|
|
26
|
-
#define EXPORT
|
|
27
|
-
#endif
|
|
28
|
-
|
|
29
|
-
EXPORT void ffi_pl_bundle_init(const char *, int, void **);
|
|
30
|
-
EXPORT void ffi_pl_bundle_constant(const char *, ffi_platypus_constant_t *);
|
|
31
|
-
EXPORT void ffi_pl_bundle_fini(const char *);
|
|
32
|
-
|
|
33
|
-
#endif
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
#ifndef FFI_PLATYPUS_CONFIG_H
|
|
2
|
-
#define FFI_PLATYPUS_CONFIG_H
|
|
3
|
-
|
|
4
|
-
#define PERL_OS_LINUX 1
|
|
5
|
-
#define FFI_PL_PERL_VERSION_MAJOR 5
|
|
6
|
-
#define FFI_PL_PERL_VERSION_MINOR 30
|
|
7
|
-
#define FFI_PL_PERL_VERSION_PATCH 0
|
|
8
|
-
#define FFI_PL_VERSION_MAJOR 2
|
|
9
|
-
#define FFI_PL_VERSION_MINOR 9
|
|
10
|
-
#define FFI_PL_VERSION_PATCH 0
|
|
11
|
-
#define HAVE_STDLIB_H 1
|
|
12
|
-
#define HAVE_STDINT_H 1
|
|
13
|
-
#define HAVE_SYS_TYPES_H 1
|
|
14
|
-
#define HAVE_SYS_STAT_H 1
|
|
15
|
-
#define HAVE_UNISTD_H 1
|
|
16
|
-
#define HAVE_ALLOCA_H 1
|
|
17
|
-
#define HAVE_DLFCN_H 1
|
|
18
|
-
#define HAVE_LIMITS_H 1
|
|
19
|
-
#define HAVE_STDDEF_H 1
|
|
20
|
-
#define HAVE_WCHAR_H 1
|
|
21
|
-
#define HAVE_SIGNAL_H 1
|
|
22
|
-
#define HAVE_INTTYPES_H 1
|
|
23
|
-
#define HAVE_STRING_H 1
|
|
24
|
-
#define HAVE_STDIO_H 1
|
|
25
|
-
#define HAVE_STDBOOL_H 1
|
|
26
|
-
#define HAVE_COMPLEX_H 1
|
|
27
|
-
#define HAVE_IV_IS_64 1
|
|
28
|
-
#define SIZEOF_VOIDP 8
|
|
29
|
-
#define SIZEOF_FLOAT_COMPLEX 8
|
|
30
|
-
#define SIZEOF_DOUBLE_COMPLEX 16
|
|
31
|
-
#define SIZEOF_LONG_DOUBLE_COMPLEX 32
|
|
32
|
-
#define FFI_PL_PROBE_ABI 1
|
|
33
|
-
#define FFI_PL_PROBE_ALLOCA 1
|
|
34
|
-
#define FFI_PL_PROBE_COMPLEX 1
|
|
35
|
-
#define FFI_PL_PROBE_LONGDOUBLE 1
|
|
36
|
-
#define FFI_PL_PROBE_RECORDVALUE 1
|
|
37
|
-
#define FFI_PL_PROBE_STRNLEN 1
|
|
38
|
-
#define FFI_PL_PROBE_VARIADIC 1
|
|
39
|
-
|
|
40
|
-
#endif
|
|
Binary file
|