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

#4852 Update outdated JS packages: shepherdjs

Alex Trofimov 1 год назад
Родитель
Сommit
1e96e1b1a3
2 измененных файлов с 56 добавлено и 2 удалено
  1. 53 1
      package-lock.json
  2. 3 1
      package.json

+ 53 - 1
package-lock.json

@@ -51,7 +51,8 @@
         "quill-image-resize-module": "^3.0.0",
         "quill-image-uploader": "^1.3.0",
         "quill-mention": "^3.4.1",
-        "select2": "^4.1.0-rc.0"
+        "select2": "^4.1.0-rc.0",
+        "shepherd.js": "^11.2.0"
       },
       "devDependencies": {
         "bower": "^1.8.14",
@@ -69,6 +70,31 @@
         "jquery": ">= 1.7.x"
       }
     },
+    "node_modules/@floating-ui/core": {
+      "version": "1.6.9",
+      "resolved": "https://registry.npmjs.org/@floating-ui/core/-/core-1.6.9.tgz",
+      "integrity": "sha512-uMXCuQ3BItDUbAMhIXw7UPXRfAlOAvZzdK9BWpE60MCn+Svt3aLn9jsPTi/WNGlRUu2uI0v5S7JiIUsbsvh3fw==",
+      "license": "MIT",
+      "dependencies": {
+        "@floating-ui/utils": "^0.2.9"
+      }
+    },
+    "node_modules/@floating-ui/dom": {
+      "version": "1.6.13",
+      "resolved": "https://registry.npmjs.org/@floating-ui/dom/-/dom-1.6.13.tgz",
+      "integrity": "sha512-umqzocjDgNRGTuO7Q8CU32dkHkECqI8ZdMZ5Swb6QAM0t5rnlrN3lGo1hdpscRd3WS8T6DKYK4ephgIH9iRh3w==",
+      "license": "MIT",
+      "dependencies": {
+        "@floating-ui/core": "^1.6.0",
+        "@floating-ui/utils": "^0.2.9"
+      }
+    },
+    "node_modules/@floating-ui/utils": {
+      "version": "0.2.9",
+      "resolved": "https://registry.npmjs.org/@floating-ui/utils/-/utils-0.2.9.tgz",
+      "integrity": "sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==",
+      "license": "MIT"
+    },
     "node_modules/@fullcalendar/core": {
       "version": "6.1.15",
       "resolved": "https://registry.npmjs.org/@fullcalendar/core/-/core-6.1.15.tgz",
@@ -1084,6 +1110,15 @@
         "url": "https://github.com/sponsors/ljharb"
       }
     },
+    "node_modules/deepmerge": {
+      "version": "4.3.1",
+      "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz",
+      "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==",
+      "license": "MIT",
+      "engines": {
+        "node": ">=0.10.0"
+      }
+    },
     "node_modules/define-data-property": {
       "version": "1.1.4",
       "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz",
@@ -6337,6 +6372,23 @@
         "url": "https://github.com/sponsors/ljharb"
       }
     },
+    "node_modules/shepherd.js": {
+      "version": "11.2.0",
+      "resolved": "https://registry.npmjs.org/shepherd.js/-/shepherd.js-11.2.0.tgz",
+      "integrity": "sha512-2hbz3N7GuuTjI7y3sfnoqKnH0cNhExx67IJtCTGQI2KhBEyvegsDYW5qjj5BlvvVtQjmL/O/J1GQEciwfoZWpw==",
+      "license": "MIT",
+      "dependencies": {
+        "@floating-ui/dom": "^1.5.1",
+        "deepmerge": "^4.3.1"
+      },
+      "engines": {
+        "node": "16.* || >= 18"
+      },
+      "funding": {
+        "type": "individual",
+        "url": "https://github.com/sponsors/RobbieTheWagner"
+      }
+    },
     "node_modules/side-channel": {
       "version": "1.1.0",
       "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.1.0.tgz",

+ 3 - 1
package.json

@@ -47,7 +47,8 @@
     "quill-image-resize-module": "^3.0.0",
     "quill-image-uploader": "^1.3.0",
     "quill-mention": "^3.4.1",
-    "select2": "^4.1.0-rc.0"
+    "select2": "^4.1.0-rc.0",
+    "shepherd.js": "^11.2.0"
   },
   "napa": {
     "jush": "git+https://github.com/vrana/jush.git",
@@ -85,6 +86,7 @@
     "build:pusher": "mkdir -p plugins_public/pusher; cd plugins_public/pusher; cp -r ../../node_modules/pusher-js/dist/web/* .",
     "build:quill": "mkdir -p plugins_public/quill; cd plugins_public/quill; cp -r ../../node_modules/quill/dist/* .; cp -r ../../node_modules/quill-mention/dist/* .; cp -r ../../node_modules/quill-emoji/dist/* .; cp -r ../../node_modules/quill-html-edit-button/dist/* .; cp -r ../../node_modules/quill-image-uploader/dist/quill.* .; cp -r ../../node_modules/quill-image-resize-module/image-resize.min.js .",
     "build:select2": "mkdir -p plugins_public/select2/select2-to-tree; cd plugins_public/select2; cp -r ../../node_modules/select2/dist/* .; cp -r ../../node_modules/select2-to-tree/src/* select2-to-tree",
+    "build:shepherd": "mkdir -p plugins_public/shepherd; cd plugins_public/shepherd; cp -r ../../node_modules/shepherd.js/dist/* .",
     "build": "npm run install-bower-components; npm run install-napa-components; npm-run-all --parallel build:*"
   },
   "devDependencies": {