Procházet zdrojové kódy

install jsonrepair

Yuki Takei před 1 rokem
rodič
revize
1ee3297f6e
2 změnil soubory, kde provedl 10 přidání a 35 odebrání
  1. 1 2
      apps/app/package.json
  2. 9 33
      pnpm-lock.yaml

+ 1 - 2
apps/app/package.json

@@ -142,6 +142,7 @@
     "is-iso-date": "^0.0.1",
     "js-tiktoken": "^1.0.15",
     "js-yaml": "^4.1.0",
+    "jsonrepair": "^3.12.0",
     "katex": "^0.16.21",
     "ldapjs": "^3.0.2",
     "lucene-query-parser": "^1.2.0",
@@ -220,7 +221,6 @@
     "remark-stringify": "^11.0.0",
     "sanitize-filename": "^1.6.3",
     "socket.io": "^4.7.5",
-    "stream-json": "^1.9.1",
     "string-width": "=4.2.2",
     "superjson": "^1.9.1",
     "swagger-jsdoc": "^6.2.8",
@@ -279,7 +279,6 @@
     "@types/react-input-autosize": "^2.2.4",
     "@types/react-scroll": "^1.8.4",
     "@types/react-stickynode": "^4.0.3",
-    "@types/stream-json": "^1.7.8",
     "@types/testing-library__dom": "^7.5.0",
     "@types/throttle-debounce": "^5.0.1",
     "@types/unist": "^3.0.3",

+ 9 - 33
pnpm-lock.yaml

@@ -438,6 +438,9 @@ importers:
       js-yaml:
         specifier: ^4.1.0
         version: 4.1.0
+      jsonrepair:
+        specifier: ^3.12.0
+        version: 3.12.0
       katex:
         specifier: ^0.16.21
         version: 0.16.21
@@ -672,9 +675,6 @@ importers:
       socket.io:
         specifier: ^4.7.5
         version: 4.8.1
-      stream-json:
-        specifier: ^1.9.1
-        version: 1.9.1
       string-width:
         specifier: '=4.2.2'
         version: 4.2.2
@@ -826,9 +826,6 @@ importers:
       '@types/react-stickynode':
         specifier: ^4.0.3
         version: 4.0.3
-      '@types/stream-json':
-        specifier: ^1.7.8
-        version: 1.7.8
       '@types/testing-library__dom':
         specifier: ^7.5.0
         version: 7.5.0
@@ -4706,12 +4703,6 @@ packages:
   '@types/stack-utils@2.0.3':
     resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==}
 
-  '@types/stream-chain@2.1.0':
-    resolution: {integrity: sha512-guDyAl6s/CAzXUOWpGK2bHvdiopLIwpGu8v10+lb9hnQOyo4oj/ZUQFOvqFjKGsE3wJP1fpIesCcMvbXuWsqOg==}
-
-  '@types/stream-json@1.7.8':
-    resolution: {integrity: sha512-MU1OB1eFLcYWd1LjwKXrxdoPtXSRzRmAnnxs4Js/ayB5O/NvHraWwuOaqMWIebpYwM6khFlsJOHEhI9xK/ab4Q==}
-
   '@types/tedious@4.0.14':
     resolution: {integrity: sha512-KHPsfX/FoVbUGbyYvk1q9MMQHLPeRZhRJZdO45Q4YjvFkv4hMNghCWTvy7rdKessBsmtz4euWCWAB6/tVpI1Iw==}
 
@@ -8689,6 +8680,10 @@ packages:
     resolution: {integrity: sha512-POQXvpdL69+CluYsillJ7SUhKvytYjW9vG/GKpnf+xP8UWgYEM/RaMzHHofbALDiKbbP1W8UEYmgGl39WkPZsg==}
     engines: {'0': node >= 0.2.0}
 
+  jsonrepair@3.12.0:
+    resolution: {integrity: sha512-SWfjz8SuQ0wZjwsxtSJ3Zy8vvLg6aO/kxcp9TWNPGwJKgTZVfhNEQBMk/vPOpYCDFWRxD6QWuI6IHR1t615f0w==}
+    hasBin: true
+
   jsonwebtoken@9.0.2:
     resolution: {integrity: sha512-PRp66vJ865SSqOlgqS8hujT5U4AOgMfhrwYIuIhfKaoSCZcirrmASQr8CX7cUg+RMih+hgznrjp99o+W4pJLHQ==}
     engines: {node: '>=12', npm: '>=6'}
@@ -11466,15 +11461,9 @@ packages:
     resolution: {integrity: sha512-ZRpmWyuCdg0TtNKk8bEqvm13oQvXMmzXDsfD4cBgcx5LouborvU5pm3JMkdTP3HcszyUI08AM1dHMXA5r2g6Sg==}
     engines: {node: '>= 0.3.0'}
 
-  stream-chain@2.2.5:
-    resolution: {integrity: sha512-1TJmBx6aSWqZ4tx7aTpBDXK0/e2hhcNSTV8+CbFJtDjbb+I1mZ8lHit0Grw9GRT+6JbIrrDd8esncgBi8aBXGA==}
-
   stream-events@1.0.5:
     resolution: {integrity: sha512-E1GUzBSgvct8Jsb3v2X15pjzN1tYebtbLaMg+eBOUOAxgbLoSbT2NS91ckc5lJD1KfLjId+jXJRgo0qnV5Nerg==}
 
-  stream-json@1.9.1:
-    resolution: {integrity: sha512-uWkjJ+2Nt/LO9Z/JyKZbMusL8Dkh97uUBTv3AJQ74y07lVahLY4eEFsPsE97pxYBwr8nnjMAIch5eqI0gPShyw==}
-
   stream-read@1.1.2:
     resolution: {integrity: sha512-YFn8e0y1XQW9nD1BPD1zCHbrUGTWdrCWoKc9W+6M9lMNBHWTdEJl676WowDpfIAo8EXU+kzWSIwhhbl/B9rm1w==}
 
@@ -17693,15 +17682,6 @@ snapshots:
 
   '@types/stack-utils@2.0.3': {}
 
-  '@types/stream-chain@2.1.0':
-    dependencies:
-      '@types/node': 20.14.0
-
-  '@types/stream-json@1.7.8':
-    dependencies:
-      '@types/node': 20.14.0
-      '@types/stream-chain': 2.1.0
-
   '@types/tedious@4.0.14':
     dependencies:
       '@types/node': 20.14.0
@@ -22454,6 +22434,8 @@ snapshots:
 
   jsonparse@1.3.1: {}
 
+  jsonrepair@3.12.0: {}
+
   jsonwebtoken@9.0.2:
     dependencies:
       jws: 3.2.2
@@ -25924,16 +25906,10 @@ snapshots:
 
   stream-buffers@0.2.6: {}
 
-  stream-chain@2.2.5: {}
-
   stream-events@1.0.5:
     dependencies:
       stubs: 3.0.0
 
-  stream-json@1.9.1:
-    dependencies:
-      stream-chain: 2.2.5
-
   stream-read@1.1.2:
     dependencies:
       dezalgo: 1.0.3