Просмотр исходного кода

#4852 Update outdated JS packages: jquery libs

Alex Trofimov 1 год назад
Родитель
Сommit
dcdc533d6c
3 измененных файлов с 59 добавлено и 2 удалено
  1. 2 1
      bower.json
  2. 43 0
      package-lock.json
  3. 14 1
      package.json

+ 2 - 1
bower.json

@@ -9,6 +9,7 @@
     "tests"
     "tests"
   ],
   ],
   "dependencies": {
   "dependencies": {
-    "combodate": "^1.1.0"
+    "combodate": "^1.1.0",
+    "jqueryui-touch-punch": "*"
   }
   }
 }
 }

+ 43 - 0
package-lock.json

@@ -38,9 +38,13 @@
         "hls.js": "^1.5.18",
         "hls.js": "^1.5.18",
         "htmx.org": "^1.9.12",
         "htmx.org": "^1.9.12",
         "jquery": "^3.7.1",
         "jquery": "^3.7.1",
+        "jquery-form": "^4.3.0",
         "jquery-migrate": "^3.5.2",
         "jquery-migrate": "^3.5.2",
+        "jquery-resize-benalman": "^1.3.0",
         "jquery-ui": "1.13.3",
         "jquery-ui": "1.13.3",
         "jquery-ui-timepicker-addon": "^1.6.3",
         "jquery-ui-timepicker-addon": "^1.6.3",
+        "jquery.cookie": "^1.4.1",
+        "jquery.easing": "^1.4.1",
         "jstree": "^3.3.17",
         "jstree": "^3.3.17",
         "leaflet": "^1.9.4",
         "leaflet": "^1.9.4",
         "leaflet-providers": "^2.0.0",
         "leaflet-providers": "^2.0.0",
@@ -63,6 +67,7 @@
         "skrollr": "github:Prinzhorn/skrollr",
         "skrollr": "github:Prinzhorn/skrollr",
         "spin.js": "4.1.1",
         "spin.js": "4.1.1",
         "stackedit-js": "^1.0.7",
         "stackedit-js": "^1.0.7",
+        "tablesorter": "^2.32.0",
         "theia-sticky-sidebar": "^1.7.0"
         "theia-sticky-sidebar": "^1.7.0"
       },
       },
       "devDependencies": {
       "devDependencies": {
@@ -3917,6 +3922,15 @@
       "integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==",
       "integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg==",
       "license": "MIT"
       "license": "MIT"
     },
     },
+    "node_modules/jquery-form": {
+      "version": "4.3.0",
+      "resolved": "https://registry.npmjs.org/jquery-form/-/jquery-form-4.3.0.tgz",
+      "integrity": "sha512-q3uaVCEWdLOYUCI6dpNdwf/7cJFOsUgdpq6r0taxtGQ5NJSkOzofyWm4jpOuJ5YxdmL1FI5QR+q+HB63HHLGnQ==",
+      "license": "(LGPL-2.1+ OR MIT)",
+      "dependencies": {
+        "jquery": ">=1.7.2"
+      }
+    },
     "node_modules/jquery-migrate": {
     "node_modules/jquery-migrate": {
       "version": "3.5.2",
       "version": "3.5.2",
       "resolved": "https://registry.npmjs.org/jquery-migrate/-/jquery-migrate-3.5.2.tgz",
       "resolved": "https://registry.npmjs.org/jquery-migrate/-/jquery-migrate-3.5.2.tgz",
@@ -3926,6 +3940,12 @@
         "jquery": ">=3 <4"
         "jquery": ">=3 <4"
       }
       }
     },
     },
+    "node_modules/jquery-resize-benalman": {
+      "version": "1.3.0",
+      "resolved": "https://registry.npmjs.org/jquery-resize-benalman/-/jquery-resize-benalman-1.3.0.tgz",
+      "integrity": "sha512-TQXV+sPHZ5I83RQ6I71baTsOWIjB6dihSg7+gqJkVKw3BJH6mxesDeF73+VYOuGVuVc6m2QJZZrbu9kSo/c7Gw==",
+      "license": "ISC"
+    },
     "node_modules/jquery-ui": {
     "node_modules/jquery-ui": {
       "version": "1.13.3",
       "version": "1.13.3",
       "resolved": "https://registry.npmjs.org/jquery-ui/-/jquery-ui-1.13.3.tgz",
       "resolved": "https://registry.npmjs.org/jquery-ui/-/jquery-ui-1.13.3.tgz",
@@ -3943,6 +3963,18 @@
         "node": ">= 0.8.0"
         "node": ">= 0.8.0"
       }
       }
     },
     },
+    "node_modules/jquery.cookie": {
+      "version": "1.4.1",
+      "resolved": "https://registry.npmjs.org/jquery.cookie/-/jquery.cookie-1.4.1.tgz",
+      "integrity": "sha512-c/hZOOL+8VSw/FkTVH637gS1/6YzMSCROpTZ2qBYwJ7s7sHajU7uBkSSiE5+GXWwrfCCyO+jsYjUQ7Hs2rIxAA==",
+      "license": "MIT"
+    },
+    "node_modules/jquery.easing": {
+      "version": "1.4.1",
+      "resolved": "https://registry.npmjs.org/jquery.easing/-/jquery.easing-1.4.1.tgz",
+      "integrity": "sha512-BVpRacWCbNfo/ALWxnLkIY/WRa4Ydg/LtwzIJZvDm7vrhV8Txv+ACi6EGnU11zT19sTc3KEPathWx6CtjWLD1w==",
+      "license": "BSD-3-Clause"
+    },
     "node_modules/jshint": {
     "node_modules/jshint": {
       "version": "0.9.1",
       "version": "0.9.1",
       "resolved": "https://registry.npmjs.org/jshint/-/jshint-0.9.1.tgz",
       "resolved": "https://registry.npmjs.org/jshint/-/jshint-0.9.1.tgz",
@@ -5589,6 +5621,8 @@
     },
     },
     "node_modules/npm/node_modules/graceful-fs": {
     "node_modules/npm/node_modules/graceful-fs": {
       "version": "4.2.11",
       "version": "4.2.11",
+      "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
+      "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
       "inBundle": true,
       "inBundle": true,
       "license": "ISC"
       "license": "ISC"
     },
     },
@@ -8933,6 +8967,15 @@
         "url": "https://github.com/sponsors/ljharb"
         "url": "https://github.com/sponsors/ljharb"
       }
       }
     },
     },
+    "node_modules/tablesorter": {
+      "version": "2.32.0",
+      "resolved": "https://registry.npmjs.org/tablesorter/-/tablesorter-2.32.0.tgz",
+      "integrity": "sha512-tKjx6H+ZVoxND5ukDIVvF4AKEIw0ZJde/e6YlAZlUOKI0o0xD2RZLTb2tKB1hiDHkHGLHGQ7ndvd0Pnkj5Xzjw==",
+      "license": "(MIT OR GPL-2.0)",
+      "dependencies": {
+        "jquery": ">=1.2.6"
+      }
+    },
     "node_modules/tailwindcss": {
     "node_modules/tailwindcss": {
       "version": "3.4.17",
       "version": "3.4.17",
       "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.17.tgz",
       "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.17.tgz",

+ 14 - 1
package.json

@@ -34,9 +34,13 @@
     "hls.js": "^1.5.18",
     "hls.js": "^1.5.18",
     "htmx.org": "^1.9.12",
     "htmx.org": "^1.9.12",
     "jquery": "^3.7.1",
     "jquery": "^3.7.1",
+    "jquery-form": "^4.3.0",
     "jquery-migrate": "^3.5.2",
     "jquery-migrate": "^3.5.2",
+    "jquery-resize-benalman": "^1.3.0",
     "jquery-ui": "1.13.3",
     "jquery-ui": "1.13.3",
     "jquery-ui-timepicker-addon": "^1.6.3",
     "jquery-ui-timepicker-addon": "^1.6.3",
+    "jquery.cookie": "^1.4.1",
+    "jquery.easing": "^1.4.1",
     "jstree": "^3.3.17",
     "jstree": "^3.3.17",
     "leaflet": "^1.9.4",
     "leaflet": "^1.9.4",
     "leaflet-providers": "^2.0.0",
     "leaflet-providers": "^2.0.0",
@@ -59,11 +63,13 @@
     "skrollr": "github:Prinzhorn/skrollr",
     "skrollr": "github:Prinzhorn/skrollr",
     "spin.js": "4.1.1",
     "spin.js": "4.1.1",
     "stackedit-js": "^1.0.7",
     "stackedit-js": "^1.0.7",
+    "tablesorter": "^2.32.0",
     "theia-sticky-sidebar": "^1.7.0"
     "theia-sticky-sidebar": "^1.7.0"
   },
   },
   "napa": {
   "napa": {
     "jush": "git+https://github.com/vrana/jush.git",
     "jush": "git+https://github.com/vrana/jush.git",
-    "select2-to-tree": "git+https://github.com/clivezhg/select2-to-tree.git"
+    "select2-to-tree": "git+https://github.com/clivezhg/select2-to-tree.git",
+    "jquery-jfeed": "git+https://github.com/jfhovinne/jFeed.git"
   },
   },
   "scripts": {
   "scripts": {
     "install-napa-components": "napa",
     "install-napa-components": "napa",
@@ -112,6 +118,13 @@
     "build:hammerjs": "cp node_modules/@egjs/hammerjs/dist/hammer.min.js plugins_public",
     "build:hammerjs": "cp node_modules/@egjs/hammerjs/dist/hammer.min.js plugins_public",
     "build:headroom": "cp node_modules/headroom.js/dist/headroom.min.js plugins_public",
     "build:headroom": "cp node_modules/headroom.js/dist/headroom.min.js plugins_public",
     "build:historyjs": "cp node_modules/historyjs/scripts/compressed/history.js plugins_public",
     "build:historyjs": "cp node_modules/historyjs/scripts/compressed/history.js plugins_public",
+    "build:jquery-resize": "cp node_modules/jquery-resize-benalman/jquery.ba-resize.min.js plugins_public",
+    "build:jquery-cookie": "uglifyjs --compress --mangle -- node_modules/jquery.cookie/jquery.cookie.js > plugins_public/jquery.cookie.min.js",
+    "build:jquery-easing": "cp node_modules/jquery.easing/jquery.easing.js plugins_public",
+    "build:jquery-form": "cp node_modules/jquery-form/dist/jquery.form.min.js plugins_public",
+    "build:jquery-jfeed": "cp node_modules/jquery-jfeed/build/dist/jquery.jfeed.pack.js plugins_public",
+    "build:jquery-tablestorter": "cp node_modules/tablesorter/dist/js/jquery.tablesorter.min.js plugins_public",
+    "build:jquery-touch-punch": "cp bower_components/jqueryui-touch-punch/jquery.ui.touch-punch.min.js plugins_public",
     "build": "mkdir -p plugins_public; npm run install-bower-components; npm run install-napa-components; npm-run-all --parallel build:*"
     "build": "mkdir -p plugins_public; npm run install-bower-components; npm run install-napa-components; npm-run-all --parallel build:*"
   },
   },
   "devDependencies": {
   "devDependencies": {