2 how to connect jquery in WordPress?

Good day! Friends, faced a problem...
Make up a template that has Customizer implemented through Picks. Plus, the pattern is specific and requires an auxiliary plug-in.
Make a plugin using jsoneditor.js that requires jquery 3.3.1. Respectively hooked it in the plugin like this:
wp_register_script('tm_jquery', plugin_dir_url( __FILE__ ) . 'js/jquery-3.3.1.min.js', array(), null, true);

Now options Picks stopped working because of connection jquery 3.3.1. Take it away, Picks options work. And without it, the plugin does not work. In General, we need both =) Customizer displays this error in the console:
Uncaught TypeError: i.wpColorPicker is not a function

Please help! How to do things right according to the standards of the EAP, to avoid conflict?
Thanks in advance!
March 19th 20 at 08:43
2 answers
March 19th 20 at 08:45
This will load the website.
And You have to rewrite half of the scripts, in fact You need something like this:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script> 
<script type="text/javascript">
 var j$331 = $.noConflict(true);

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js"></script>
<script type="text/javascript">
 var j$143 = $.noConflict(true);

And accordingly the scripts you need for a particular version cause this:
(function(jQuery) {
//Jquery 1.4.3

(function(jQuery) {
//Jquery 3.3.1
March 19th 20 at 08:47
Just two versions of you don't connect though, because both use the same global variable name.

Find more questions by tags WordPressjQuery