Răsfoiți Sursa

reorganize dependencies

Yuki Takei 1 an în urmă
părinte
comite
784a80039c

+ 14 - 4
apps/app/package.json

@@ -52,7 +52,6 @@
     "@keycloak/keycloak-admin-client": "19.0.0 or above exports only ESM.",
     "@keycloak/keycloak-admin-client": "19.0.0 or above exports only ESM.",
     "escape-string-regexp": "5.0.0 or above exports only ESM",
     "escape-string-regexp": "5.0.0 or above exports only ESM",
     "next-themes": "0.3.0 causes a type error: https://github.com/pacocoursey/next-themes/issues/122",
     "next-themes": "0.3.0 causes a type error: https://github.com/pacocoursey/next-themes/issues/122",
-    "remark-wiki-link": "!!DO NOT REMOVE!! including 'mdast-util-wiki-link' and 'micromark-extension-wiki-link' required by pukiwiki-like-linker",
     "string-width": "5.0.0 or above exports only ESM."
     "string-width": "5.0.0 or above exports only ESM."
   },
   },
   "dependencies": {
   "dependencies": {
@@ -80,8 +79,6 @@
     "@keycloak/keycloak-admin-client": "^18.0.0",
     "@keycloak/keycloak-admin-client": "^18.0.0",
     "@slack/web-api": "^6.2.4",
     "@slack/web-api": "^6.2.4",
     "@slack/webhook": "^6.0.0",
     "@slack/webhook": "^6.0.0",
-    "@types/jest": "^29.5.2",
-    "@types/ldapjs": "^2.2.5",
     "JSONStream": "^1.3.5",
     "JSONStream": "^1.3.5",
     "archiver": "^5.3.0",
     "archiver": "^5.3.0",
     "array.prototype.flatmap": "^1.2.2",
     "array.prototype.flatmap": "^1.2.2",
@@ -118,6 +115,7 @@
     "extensible-custom-error": "^0.0.7",
     "extensible-custom-error": "^0.0.7",
     "form-data": "^4.0.0",
     "form-data": "^4.0.0",
     "graceful-fs": "^4.1.11",
     "graceful-fs": "^4.1.11",
+    "hast-util-sanitize": "^5.0.1",
     "hast-util-select": "^6.0.2",
     "hast-util-select": "^6.0.2",
     "helmet": "^4.6.0",
     "helmet": "^4.6.0",
     "http-errors": "^2.0.0",
     "http-errors": "^2.0.0",
@@ -128,9 +126,14 @@
     "ldapjs": "^3.0.2",
     "ldapjs": "^3.0.2",
     "lucene-query-parser": "^1.2.0",
     "lucene-query-parser": "^1.2.0",
     "markdown-table": "^3.0.3",
     "markdown-table": "^3.0.3",
+    "mdast-util-from-markdown": "^2.0.1",
+    "mdast-util-gfm-table": "^2.0.0",
+    "mdast-util-wiki-link": "^0.1.2",
     "md5": "^2.2.1",
     "md5": "^2.2.1",
     "mermaid": "^11.2.0",
     "mermaid": "^11.2.0",
     "method-override": "^3.0.0",
     "method-override": "^3.0.0",
+    "micromark-extension-gfm-table": "^2.1.0",
+    "micromark-extension-wiki-link": "^0.0.4",
     "migrate-mongo": "^11.0.0",
     "migrate-mongo": "^11.0.0",
     "mkdirp": "^1.0.3",
     "mkdirp": "^1.0.3",
     "mongoose": "^6.11.3",
     "mongoose": "^6.11.3",
@@ -189,7 +192,6 @@
     "remark-gfm": "^4.0.0",
     "remark-gfm": "^4.0.0",
     "remark-math": "^6.0.0",
     "remark-math": "^6.0.0",
     "remark-toc": "^9.0.0",
     "remark-toc": "^9.0.0",
-    "remark-wiki-link": "^2.0.1",
     "sanitize-filename": "^1.6.3",
     "sanitize-filename": "^1.6.3",
     "socket.io": "^4.7.5",
     "socket.io": "^4.7.5",
     "stream-to-promise": "^3.0.0",
     "stream-to-promise": "^3.0.0",
@@ -199,6 +201,8 @@
     "swr": "^2.2.2",
     "swr": "^2.2.2",
     "throttle-debounce": "^5.0.0",
     "throttle-debounce": "^5.0.0",
     "uglifycss": "^0.0.29",
     "uglifycss": "^0.0.29",
+    "unified": "^11.0.0",
+    "unist-util-visit": "^5.0.0",
     "universal-bunyan": "^0.9.2",
     "universal-bunyan": "^0.9.2",
     "unstated": "^2.1.1",
     "unstated": "^2.1.1",
     "unzip-stream": "^0.3.2",
     "unzip-stream": "^0.3.2",
@@ -233,12 +237,16 @@
     "@testing-library/react": "^16.0.1",
     "@testing-library/react": "^16.0.1",
     "@testing-library/user-event": "^14.5.2",
     "@testing-library/user-event": "^14.5.2",
     "@types/express": "^4.17.21",
     "@types/express": "^4.17.21",
+    "@types/hast": "^3.0.4",
     "@types/jest": "^29.5.2",
     "@types/jest": "^29.5.2",
+    "@types/ldapjs": "^2.2.5",
+    "@types/mdast": "^4.0.4",
     "@types/react-input-autosize": "^2.2.4",
     "@types/react-input-autosize": "^2.2.4",
     "@types/react-scroll": "^1.8.4",
     "@types/react-scroll": "^1.8.4",
     "@types/react-stickynode": "^4.0.3",
     "@types/react-stickynode": "^4.0.3",
     "@types/testing-library__dom": "^7.5.0",
     "@types/testing-library__dom": "^7.5.0",
     "@types/throttle-debounce": "^5.0.1",
     "@types/throttle-debounce": "^5.0.1",
+    "@types/unist": "^3.0.3",
     "@types/unzip-stream": "^0.3.4",
     "@types/unzip-stream": "^0.3.4",
     "@types/url-join": "^4.0.2",
     "@types/url-join": "^4.0.2",
     "babel-loader": "^8.2.5",
     "babel-loader": "^8.2.5",
@@ -261,6 +269,7 @@
     "jest-localstorage-mock": "^2.4.14",
     "jest-localstorage-mock": "^2.4.14",
     "load-css-file": "^1.0.0",
     "load-css-file": "^1.0.0",
     "material-icons": "^1.11.3",
     "material-icons": "^1.11.3",
+    "mdast-util-directive": "^3.0.0",
     "mongodb": "4.16.0",
     "mongodb": "4.16.0",
     "mongodb-memory-server-core": "^9.1.1",
     "mongodb-memory-server-core": "^9.1.1",
     "morgan": "^1.10.0",
     "morgan": "^1.10.0",
@@ -271,6 +280,7 @@
     "react-dnd": "^14.0.5",
     "react-dnd": "^14.0.5",
     "react-dnd-html5-backend": "^14.1.0",
     "react-dnd-html5-backend": "^14.1.0",
     "react-dropzone": "^14.2.3",
     "react-dropzone": "^14.2.3",
+    "react-hook-form": "^7.45.4",
     "react-hotkeys": "^2.0.0",
     "react-hotkeys": "^2.0.0",
     "react-input-autosize": "^3.0.0",
     "react-input-autosize": "^3.0.0",
     "react-toastify": "^9.1.3",
     "react-toastify": "^9.1.3",

+ 1 - 2
apps/app/src/services/renderer/remark-plugins/pukiwiki-like-linker.ts

@@ -1,7 +1,6 @@
-// 'mdast-util-wiki-link' and 'micromark-extension-wiki-link' are included in 'remark-wiki-link' package
 import { fromMarkdown, toMarkdown } from 'mdast-util-wiki-link';
 import { fromMarkdown, toMarkdown } from 'mdast-util-wiki-link';
 import { syntax } from 'micromark-extension-wiki-link';
 import { syntax } from 'micromark-extension-wiki-link';
-import { Plugin } from 'unified';
+import type { Plugin } from 'unified';
 
 
 
 
 type FromMarkdownExtension = {
 type FromMarkdownExtension = {

+ 1 - 1
packages/remark-drawio/package.json

@@ -32,7 +32,7 @@
   },
   },
   "devDependencies": {
   "devDependencies": {
     "@types/hast": "^3.0.4",
     "@types/hast": "^3.0.4",
-    "@types/mdast": "^4.0.0",
+    "@types/mdast": "^4.0.4",
     "@types/react": "^18.2.14",
     "@types/react": "^18.2.14",
     "@types/react-dom": "^18.2.6",
     "@types/react-dom": "^18.2.6",
     "eslint-plugin-regex": "^1.8.0",
     "eslint-plugin-regex": "^1.8.0",

+ 1 - 1
packages/remark-growi-directive/package.json

@@ -28,7 +28,7 @@
     "lint:fix": "eslint \"**/*.{cjs, js,jsx,ts,tsx}\" --fix"
     "lint:fix": "eslint \"**/*.{cjs, js,jsx,ts,tsx}\" --fix"
   },
   },
   "dependencies": {
   "dependencies": {
-    "@types/mdast": "^4.0.0",
+    "@types/mdast": "^4.0.4",
     "@types/unist": "^3.0.0",
     "@types/unist": "^3.0.0",
     "mdast-util-to-markdown": "^2.1.0",
     "mdast-util-to-markdown": "^2.1.0",
     "micromark-factory-space": "^2.0.0",
     "micromark-factory-space": "^2.0.0",

+ 71 - 73
pnpm-lock.yaml

@@ -262,12 +262,6 @@ importers:
       '@slack/webhook':
       '@slack/webhook':
         specifier: ^6.0.0
         specifier: ^6.0.0
         version: 6.1.0
         version: 6.1.0
-      '@types/jest':
-        specifier: ^29.5.2
-        version: 29.5.12
-      '@types/ldapjs':
-        specifier: ^2.2.5
-        version: 2.2.5
       JSONStream:
       JSONStream:
         specifier: ^1.3.5
         specifier: ^1.3.5
         version: 1.3.5
         version: 1.3.5
@@ -376,6 +370,9 @@ importers:
       graceful-fs:
       graceful-fs:
         specifier: ^4.1.11
         specifier: ^4.1.11
         version: 4.2.11
         version: 4.2.11
+      hast-util-sanitize:
+        specifier: ^5.0.1
+        version: 5.0.1
       hast-util-select:
       hast-util-select:
         specifier: ^6.0.2
         specifier: ^6.0.2
         version: 6.0.2
         version: 6.0.2
@@ -409,12 +406,27 @@ importers:
       md5:
       md5:
         specifier: ^2.2.1
         specifier: ^2.2.1
         version: 2.3.0
         version: 2.3.0
+      mdast-util-from-markdown:
+        specifier: ^2.0.1
+        version: 2.0.1
+      mdast-util-gfm-table:
+        specifier: ^2.0.0
+        version: 2.0.0
+      mdast-util-wiki-link:
+        specifier: ^0.1.2
+        version: 0.1.2
       mermaid:
       mermaid:
         specifier: ^11.2.0
         specifier: ^11.2.0
         version: 11.2.0
         version: 11.2.0
       method-override:
       method-override:
         specifier: ^3.0.0
         specifier: ^3.0.0
         version: 3.0.0
         version: 3.0.0
+      micromark-extension-gfm-table:
+        specifier: ^2.1.0
+        version: 2.1.0
+      micromark-extension-wiki-link:
+        specifier: ^0.0.4
+        version: 0.0.4
       migrate-mongo:
       migrate-mongo:
         specifier: ^11.0.0
         specifier: ^11.0.0
         version: 11.0.0(mongodb@4.16.0)
         version: 11.0.0(mongodb@4.16.0)
@@ -589,9 +601,6 @@ importers:
       remark-toc:
       remark-toc:
         specifier: ^9.0.0
         specifier: ^9.0.0
         version: 9.0.0
         version: 9.0.0
-      remark-wiki-link:
-        specifier: ^2.0.1
-        version: 2.0.1
       sanitize-filename:
       sanitize-filename:
         specifier: ^1.6.3
         specifier: ^1.6.3
         version: 1.6.3
         version: 1.6.3
@@ -619,6 +628,12 @@ importers:
       uglifycss:
       uglifycss:
         specifier: ^0.0.29
         specifier: ^0.0.29
         version: 0.0.29
         version: 0.0.29
+      unified:
+        specifier: ^11.0.0
+        version: 11.0.5
+      unist-util-visit:
+        specifier: ^5.0.0
+        version: 5.0.0
       universal-bunyan:
       universal-bunyan:
         specifier: ^0.9.2
         specifier: ^0.9.2
         version: 0.9.2(@browser-bunyan/console-formatted-stream@1.8.0)(browser-bunyan@1.8.0)(bunyan@1.8.15)
         version: 0.9.2(@browser-bunyan/console-formatted-stream@1.8.0)(browser-bunyan@1.8.0)(bunyan@1.8.15)
@@ -698,6 +713,18 @@ importers:
       '@types/express':
       '@types/express':
         specifier: ^4.17.21
         specifier: ^4.17.21
         version: 4.17.21
         version: 4.17.21
+      '@types/hast':
+        specifier: ^3.0.4
+        version: 3.0.4
+      '@types/jest':
+        specifier: ^29.5.2
+        version: 29.5.12
+      '@types/ldapjs':
+        specifier: ^2.2.5
+        version: 2.2.5
+      '@types/mdast':
+        specifier: ^4.0.4
+        version: 4.0.4
       '@types/react-input-autosize':
       '@types/react-input-autosize':
         specifier: ^2.2.4
         specifier: ^2.2.4
         version: 2.2.4
         version: 2.2.4
@@ -713,6 +740,9 @@ importers:
       '@types/throttle-debounce':
       '@types/throttle-debounce':
         specifier: ^5.0.1
         specifier: ^5.0.1
         version: 5.0.2
         version: 5.0.2
+      '@types/unist':
+        specifier: ^3.0.3
+        version: 3.0.3
       '@types/unzip-stream':
       '@types/unzip-stream':
         specifier: ^0.3.4
         specifier: ^0.3.4
         version: 0.3.4
         version: 0.3.4
@@ -776,6 +806,9 @@ importers:
       material-icons:
       material-icons:
         specifier: ^1.11.3
         specifier: ^1.11.3
         version: 1.13.12
         version: 1.13.12
+      mdast-util-directive:
+        specifier: ^3.0.0
+        version: 3.0.0
       mongodb:
       mongodb:
         specifier: 4.16.0
         specifier: 4.16.0
         version: 4.16.0
         version: 4.16.0
@@ -806,6 +839,9 @@ importers:
       react-dropzone:
       react-dropzone:
         specifier: ^14.2.3
         specifier: ^14.2.3
         version: 14.2.3(react@18.2.0)
         version: 14.2.3(react@18.2.0)
+      react-hook-form:
+        specifier: ^7.45.4
+        version: 7.52.0(react@18.2.0)
       react-hotkeys:
       react-hotkeys:
         specifier: ^2.0.0
         specifier: ^2.0.0
         version: 2.0.0(react@18.2.0)
         version: 2.0.0(react@18.2.0)
@@ -1134,9 +1170,12 @@ importers:
 
 
   packages/markdown-splitter:
   packages/markdown-splitter:
     dependencies:
     dependencies:
-      '@types/js-yaml':
-        specifier: ^4.0.9
-        version: 4.0.9
+      js-tiktoken:
+        specifier: ^1.0.15
+        version: 1.0.15
+      js-yaml:
+        specifier: ^4.1.0
+        version: 4.1.0
       react:
       react:
         specifier: ^18.2.0
         specifier: ^18.2.0
         version: 18.2.0
         version: 18.2.0
@@ -1159,6 +1198,9 @@ importers:
         specifier: ^11.0.0
         specifier: ^11.0.0
         version: 11.0.5
         version: 11.0.5
     devDependencies:
     devDependencies:
+      '@types/js-yaml':
+        specifier: ^4.0.9
+        version: 4.0.9
       eslint-plugin-regex:
       eslint-plugin-regex:
         specifier: ^1.8.0
         specifier: ^1.8.0
         version: 1.8.0(eslint@8.41.0)
         version: 1.8.0(eslint@8.41.0)
@@ -1362,7 +1404,7 @@ importers:
         specifier: ^3.0.4
         specifier: ^3.0.4
         version: 3.0.4
         version: 3.0.4
       '@types/mdast':
       '@types/mdast':
-        specifier: ^4.0.0
+        specifier: ^4.0.4
         version: 4.0.4
         version: 4.0.4
       '@types/react':
       '@types/react':
         specifier: ^18.2.14
         specifier: ^18.2.14
@@ -1392,7 +1434,7 @@ importers:
   packages/remark-growi-directive:
   packages/remark-growi-directive:
     dependencies:
     dependencies:
       '@types/mdast':
       '@types/mdast':
-        specifier: ^4.0.0
+        specifier: ^4.0.4
         version: 4.0.4
         version: 4.0.4
       '@types/unist':
       '@types/unist':
         specifier: ^3.0.0
         specifier: ^3.0.0
@@ -1928,10 +1970,6 @@ packages:
     resolution: {integrity: sha512-gmcqSFTIISU9iN6rSbc8HVqB9ACluPbo4mS0ztkk9DaDz5zK/YxoKBJSfqkZFidMzxYiXeWruDCxD8ZgYRn6ug==}
     resolution: {integrity: sha512-gmcqSFTIISU9iN6rSbc8HVqB9ACluPbo4mS0ztkk9DaDz5zK/YxoKBJSfqkZFidMzxYiXeWruDCxD8ZgYRn6ug==}
     engines: {node: '>=14.0.0'}
     engines: {node: '>=14.0.0'}
 
 
-  '@aws-sdk/util-locate-window@3.55.0':
-    resolution: {integrity: sha512-0sPmK2JaJE2BbTcnvybzob/VrFKCXKfN4CUKcvn0yGg/me7Bz+vtzQRB3Xp+YSx+7OtWxzv63wsvHoAnXvgxgg==}
-    engines: {node: '>= 12.0.0'}
-
   '@aws-sdk/util-locate-window@3.568.0':
   '@aws-sdk/util-locate-window@3.568.0':
     resolution: {integrity: sha512-3nh4TINkXYr+H41QaPelCceEB2FXP3fxp93YZXB/kqJvX0U9j0N0Uk45gvsjmEPzG8XxkPEeLIfT2I1M7A6Lig==}
     resolution: {integrity: sha512-3nh4TINkXYr+H41QaPelCceEB2FXP3fxp93YZXB/kqJvX0U9j0N0Uk45gvsjmEPzG8XxkPEeLIfT2I1M7A6Lig==}
     engines: {node: '>=16.0.0'}
     engines: {node: '>=16.0.0'}
@@ -7239,15 +7277,6 @@ packages:
     resolution: {integrity: sha512-CtbfI3oFFc3nbdIoHycrfbrxiGgxXBXXuyOl49h47JawM1mYrqpiRqnH5CB2mBatdXvHHOUO6a+RiAuuvKt0lw==}
     resolution: {integrity: sha512-CtbfI3oFFc3nbdIoHycrfbrxiGgxXBXXuyOl49h47JawM1mYrqpiRqnH5CB2mBatdXvHHOUO6a+RiAuuvKt0lw==}
     engines: {node: '>=8'}
     engines: {node: '>=8'}
 
 
-  follow-redirects@1.15.3:
-    resolution: {integrity: sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==}
-    engines: {node: '>=4.0'}
-    peerDependencies:
-      debug: '*'
-    peerDependenciesMeta:
-      debug:
-        optional: true
-
   follow-redirects@1.15.6:
   follow-redirects@1.15.6:
     resolution: {integrity: sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==}
     resolution: {integrity: sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==}
     engines: {node: '>=4.0'}
     engines: {node: '>=4.0'}
@@ -8364,6 +8393,9 @@ packages:
   js-sha256@0.9.0:
   js-sha256@0.9.0:
     resolution: {integrity: sha512-sga3MHh9sgQN2+pJ9VYZ+1LPwXOxuBJBA5nrR5/ofPfuiJBE2hnjsaN8se8JznOmGLN2p49Pe5U/ttafcs/apA==}
     resolution: {integrity: sha512-sga3MHh9sgQN2+pJ9VYZ+1LPwXOxuBJBA5nrR5/ofPfuiJBE2hnjsaN8se8JznOmGLN2p49Pe5U/ttafcs/apA==}
 
 
+  js-tiktoken@1.0.15:
+    resolution: {integrity: sha512-65ruOWWXDEZHHbAo7EjOcNxOGasQKbL4Fq3jEr2xsCqSsoOo6VVSqzWQb6PRIqypFSDcma4jO90YP0w5X8qVXQ==}
+
   js-tokens@4.0.0:
   js-tokens@4.0.0:
     resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
     resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==}
 
 
@@ -9840,9 +9872,6 @@ packages:
   parse-entities@2.0.0:
   parse-entities@2.0.0:
     resolution: {integrity: sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==}
     resolution: {integrity: sha512-kkywGpCcRYhqQIchaWqZ875wzpS/bMKhz5HnN3p7wveJTkTtyAB/AlnS0f8DFSqYW1T82t6yEAkEcB+A1I3MbQ==}
 
 
-  parse-entities@4.0.0:
-    resolution: {integrity: sha512-5nk9Fn03x3rEhGaX1FU6IDwG/k+GxLXlFAkgrbM1asuAFl3BhdQWvASaIsmwWypRNcZKHPYnIuOSfIWEyEQnPQ==}
-
   parse-entities@4.0.1:
   parse-entities@4.0.1:
     resolution: {integrity: sha512-SWzvYcSJh4d/SGLIOQfZ/CoNv6BTlI6YEQ7Nj82oDVnRpwe/Z/F1EMx42x3JAOwGBlCjeCH0BRJQbQ/opHL17w==}
     resolution: {integrity: sha512-SWzvYcSJh4d/SGLIOQfZ/CoNv6BTlI6YEQ7Nj82oDVnRpwe/Z/F1EMx42x3JAOwGBlCjeCH0BRJQbQ/opHL17w==}
 
 
@@ -10673,9 +10702,6 @@ packages:
   remark-toc@9.0.0:
   remark-toc@9.0.0:
     resolution: {integrity: sha512-KJ9txbo33GjDAV1baHFze7ij4G8c7SGYoY8Kzsm2gzFpbhL/bSoVpMMzGa3vrNDSWASNd/3ppAqL7cP2zD6JIA==}
     resolution: {integrity: sha512-KJ9txbo33GjDAV1baHFze7ij4G8c7SGYoY8Kzsm2gzFpbhL/bSoVpMMzGa3vrNDSWASNd/3ppAqL7cP2zD6JIA==}
 
 
-  remark-wiki-link@2.0.1:
-    resolution: {integrity: sha512-F8Eut1E7GWfFm4ZDTI6/4ejeZEHZgnVk6E933Yqd/ssYsc4AyI32aGakxwsGcEzbbE7dkWi1EfLlGAdGgOZOsA==}
-
   remark@15.0.1:
   remark@15.0.1:
     resolution: {integrity: sha512-Eht5w30ruCXgFmxVUSlNWQ9iiimq07URKeFS3hNc8cUWy1llX4KDWfyEDZRycMc+znsN9Ux5/tJ/BFdgdOwA3A==}
     resolution: {integrity: sha512-Eht5w30ruCXgFmxVUSlNWQ9iiimq07URKeFS3hNc8cUWy1llX4KDWfyEDZRycMc+znsN9Ux5/tJ/BFdgdOwA3A==}
 
 
@@ -11338,9 +11364,6 @@ packages:
   string_decoder@1.2.0:
   string_decoder@1.2.0:
     resolution: {integrity: sha512-6YqyX6ZWEYguAxgZzHGL7SsCeGx3V2TtOTqZz1xSTSWnqsbWwbptafNyvf/ACquZUXV3DANr5BDIwNYe1mN42w==}
     resolution: {integrity: sha512-6YqyX6ZWEYguAxgZzHGL7SsCeGx3V2TtOTqZz1xSTSWnqsbWwbptafNyvf/ACquZUXV3DANr5BDIwNYe1mN42w==}
 
 
-  stringify-entities@4.0.3:
-    resolution: {integrity: sha512-BP9nNHMhhfcMbiuQKCqMjhDP5yBCAxsPu4pHFFzJ6Alo9dZgY4VLDPutXqIjpRiMoKdp7Av85Gr73Q5uH9k7+g==}
-
   stringify-entities@4.0.4:
   stringify-entities@4.0.4:
     resolution: {integrity: sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==}
     resolution: {integrity: sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==}
 
 
@@ -12829,8 +12852,8 @@ snapshots:
       '@aws-crypto/supports-web-crypto': 5.2.0
       '@aws-crypto/supports-web-crypto': 5.2.0
       '@aws-crypto/util': 5.2.0
       '@aws-crypto/util': 5.2.0
       '@aws-sdk/types': 3.598.0
       '@aws-sdk/types': 3.598.0
-      '@aws-sdk/util-locate-window': 3.55.0
-      '@smithy/util-utf8': 2.0.2
+      '@aws-sdk/util-locate-window': 3.568.0
+      '@smithy/util-utf8': 2.3.0
       tslib: 2.7.0
       tslib: 2.7.0
     optional: true
     optional: true
 
 
@@ -12865,7 +12888,7 @@ snapshots:
   '@aws-crypto/util@5.2.0':
   '@aws-crypto/util@5.2.0':
     dependencies:
     dependencies:
       '@aws-sdk/types': 3.598.0
       '@aws-sdk/types': 3.598.0
-      '@smithy/util-utf8': 2.0.2
+      '@smithy/util-utf8': 2.3.0
       tslib: 2.7.0
       tslib: 2.7.0
     optional: true
     optional: true
 
 
@@ -13750,11 +13773,6 @@ snapshots:
       '@smithy/types': 2.12.0
       '@smithy/types': 2.12.0
       tslib: 2.6.2
       tslib: 2.6.2
 
 
-  '@aws-sdk/util-locate-window@3.55.0':
-    dependencies:
-      tslib: 2.7.0
-    optional: true
-
   '@aws-sdk/util-locate-window@3.568.0':
   '@aws-sdk/util-locate-window@3.568.0':
     dependencies:
     dependencies:
       tslib: 2.7.0
       tslib: 2.7.0
@@ -20539,8 +20557,6 @@ snapshots:
 
 
   fn-args@5.0.0: {}
   fn-args@5.0.0: {}
 
 
-  follow-redirects@1.15.3: {}
-
   follow-redirects@1.15.6(debug@4.3.5):
   follow-redirects@1.15.6(debug@4.3.5):
     optionalDependencies:
     optionalDependencies:
       debug: 4.3.5(supports-color@5.5.0)
       debug: 4.3.5(supports-color@5.5.0)
@@ -21215,7 +21231,7 @@ snapshots:
   http-proxy@1.18.1:
   http-proxy@1.18.1:
     dependencies:
     dependencies:
       eventemitter3: 4.0.7
       eventemitter3: 4.0.7
-      follow-redirects: 1.15.3
+      follow-redirects: 1.15.6(debug@4.3.5)
       requires-port: 1.0.0
       requires-port: 1.0.0
     transitivePeerDependencies:
     transitivePeerDependencies:
       - debug
       - debug
@@ -21965,6 +21981,10 @@ snapshots:
 
 
   js-sha256@0.9.0: {}
   js-sha256@0.9.0: {}
 
 
+  js-tiktoken@1.0.15:
+    dependencies:
+      base64-js: 1.5.1
+
   js-tokens@4.0.0: {}
   js-tokens@4.0.0: {}
 
 
   js-yaml@3.14.1:
   js-yaml@3.14.1:
@@ -22513,8 +22533,8 @@ snapshots:
       devlop: 1.1.0
       devlop: 1.1.0
       mdast-util-from-markdown: 2.0.1
       mdast-util-from-markdown: 2.0.1
       mdast-util-to-markdown: 2.1.0
       mdast-util-to-markdown: 2.1.0
-      parse-entities: 4.0.0
-      stringify-entities: 4.0.3
+      parse-entities: 4.0.1
+      stringify-entities: 4.0.4
       unist-util-visit-parents: 6.0.1
       unist-util-visit-parents: 6.0.1
     transitivePeerDependencies:
     transitivePeerDependencies:
       - supports-color
       - supports-color
@@ -22644,8 +22664,8 @@ snapshots:
       devlop: 1.1.0
       devlop: 1.1.0
       mdast-util-from-markdown: 2.0.1
       mdast-util-from-markdown: 2.0.1
       mdast-util-to-markdown: 2.1.0
       mdast-util-to-markdown: 2.1.0
-      parse-entities: 4.0.0
-      stringify-entities: 4.0.3
+      parse-entities: 4.0.1
+      stringify-entities: 4.0.4
       unist-util-stringify-position: 4.0.0
       unist-util-stringify-position: 4.0.0
       vfile-message: 4.0.2
       vfile-message: 4.0.2
     transitivePeerDependencies:
     transitivePeerDependencies:
@@ -23876,17 +23896,6 @@ snapshots:
       is-decimal: 1.0.4
       is-decimal: 1.0.4
       is-hexadecimal: 1.0.4
       is-hexadecimal: 1.0.4
 
 
-  parse-entities@4.0.0:
-    dependencies:
-      '@types/unist': 2.0.3
-      character-entities: 2.0.2
-      character-entities-legacy: 3.0.0
-      character-reference-invalid: 2.0.1
-      decode-named-character-reference: 1.0.2
-      is-alphanumerical: 2.0.1
-      is-decimal: 2.0.1
-      is-hexadecimal: 2.0.1
-
   parse-entities@4.0.1:
   parse-entities@4.0.1:
     dependencies:
     dependencies:
       '@types/unist': 2.0.3
       '@types/unist': 2.0.3
@@ -24870,12 +24879,6 @@ snapshots:
       '@types/mdast': 4.0.4
       '@types/mdast': 4.0.4
       mdast-util-toc: 7.1.0
       mdast-util-toc: 7.1.0
 
 
-  remark-wiki-link@2.0.1:
-    dependencies:
-      '@babel/runtime': 7.25.4
-      mdast-util-wiki-link: 0.1.2
-      micromark-extension-wiki-link: 0.0.4
-
   remark@15.0.1:
   remark@15.0.1:
     dependencies:
     dependencies:
       '@types/mdast': 4.0.4
       '@types/mdast': 4.0.4
@@ -25682,11 +25685,6 @@ snapshots:
     dependencies:
     dependencies:
       safe-buffer: 5.1.2
       safe-buffer: 5.1.2
 
 
-  stringify-entities@4.0.3:
-    dependencies:
-      character-entities-html4: 2.1.0
-      character-entities-legacy: 3.0.0
-
   stringify-entities@4.0.4:
   stringify-entities@4.0.4:
     dependencies:
     dependencies:
       character-entities-html4: 2.1.0
       character-entities-html4: 2.1.0