Skip to content

Commit

Permalink
依赖升级
Browse files Browse the repository at this point in the history
  • Loading branch information
classfang committed Apr 12, 2024
1 parent c324796 commit 5d80a36
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 71 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"@electron-toolkit/utils": "^3.0.0",
"@langchain/redis": "^0.0.2",
"electron-store": "^8.2.0",
"langchain": "^0.1.32",
"langchain": "^0.1.33",
"mammoth": "^1.7.1",
"officeparser": "^4.0.8",
"pdf-parse": "^1.1.1",
Expand All @@ -45,7 +45,7 @@
"@electron-toolkit/eslint-config-ts": "^2.0.0",
"@electron-toolkit/tsconfig": "^1.0.1",
"@microsoft/fetch-event-source": "^2.0.1",
"@rushstack/eslint-patch": "^1.10.1",
"@rushstack/eslint-patch": "^1.10.2",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@types/codemirror": "^5.60.15",
"@types/crypto-js": "^4.2.2",
Expand Down
101 changes: 32 additions & 69 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -748,18 +748,19 @@
"@jridgewell/resolve-uri" "^3.1.0"
"@jridgewell/sourcemap-codec" "^1.4.14"

"@langchain/community@~0.0.41":
version "0.0.42"
resolved "https://registry.npmmirror.com/@langchain/community/-/community-0.0.42.tgz#8c472b2d724ba0bb0a0e80e1b45865db1cb93b70"
integrity sha512-Xp3H0w23X9viHRpb3GUiFl+qjB68h/V7ztPOxR1AtaKlmXkjrSwiLqhMjlVsJ9jyPaKIr5ZOV07gYAXJUz/P8Q==
"@langchain/community@~0.0.47":
version "0.0.47"
resolved "https://registry.npmmirror.com/@langchain/community/-/community-0.0.47.tgz#e7b00b3f98e3217932785c70e9926abf750f8cfc"
integrity sha512-j20KhnWs16K/qxaY3QccOFMfcEmiTXN00NB1IPeO1pexRsvHL7GfqZ8rR5cOSSBfft2iuoGxaj1EZIyxh5ftgA==
dependencies:
"@langchain/core" "~0.1.44"
"@langchain/openai" "~0.0.19"
"@langchain/core" "~0.1.56"
"@langchain/openai" "~0.0.28"
expr-eval "^2.0.2"
flat "^5.0.2"
langsmith "~0.1.1"
uuid "^9.0.0"
zod "^3.22.3"
zod-to-json-schema "^3.22.5"

"@langchain/core@~0.1":
version "0.1.34"
Expand All @@ -778,10 +779,10 @@
zod "^3.22.4"
zod-to-json-schema "^3.22.3"

"@langchain/core@~0.1.44":
version "0.1.44"
resolved "https://registry.npmmirror.com/@langchain/core/-/core-0.1.44.tgz#03e3d0505c4e470b257c52a1220e095a3f911d8e"
integrity sha512-6kzRRf8X1TgkAfc8xOZ1qCHalasPDxdcNLnL++ZCGtWLyiKMFP7HcDwG/UewYsbqQd3sTQUPiP9+PHdPWXHd/Q==
"@langchain/core@~0.1.56":
version "0.1.57"
resolved "https://registry.npmmirror.com/@langchain/core/-/core-0.1.57.tgz#c592ad6715e373e4203f590f20b8b999e64cfb16"
integrity sha512-6wOwidPkkRcANrOKl88+YYpm3jHfpg6W8EqZHQCImSAlxdEhyDSq2eeQKHOPCFCrfNWkClaNn+Wlzzz4Qwf9Tg==
dependencies:
ansi-styles "^5.0.0"
camelcase "6"
Expand All @@ -795,40 +796,12 @@
zod "^3.22.4"
zod-to-json-schema "^3.22.3"

"@langchain/core@~0.1.45":
version "0.1.54"
resolved "https://registry.npmmirror.com/@langchain/core/-/core-0.1.54.tgz#63dfbd5c116798f6d080fbe675a68a87d84a1be4"
integrity sha512-87pQ8dnWY8P1Kgnu/SgnRijLRNSEzTzkjBK6O/Z1klXf/eQTXAG5O5cKwe3lwM6Afn+4U2byzSMYjwViAYuR4g==
"@langchain/openai@~0.0.28":
version "0.0.28"
resolved "https://registry.npmmirror.com/@langchain/openai/-/openai-0.0.28.tgz#afaeec61b44816935db9ae937496c964c81ab571"
integrity sha512-2s1RA3/eAnz4ahdzsMPBna9hfAqpFNlWdHiPxVGZ5yrhXsbLWWoPcF+22LCk9t0HJKtazi2GCIWc0HVXH9Abig==
dependencies:
ansi-styles "^5.0.0"
camelcase "6"
decamelize "1.2.0"
js-tiktoken "^1.0.8"
langsmith "~0.1.7"
ml-distance "^4.0.0"
p-queue "^6.6.2"
p-retry "4"
uuid "^9.0.0"
zod "^3.22.4"
zod-to-json-schema "^3.22.3"

"@langchain/openai@~0.0.19":
version "0.0.19"
resolved "https://registry.npmmirror.com/@langchain/openai/-/openai-0.0.19.tgz#0bd3754864445029e13dcd1ca3c452b408bf541c"
integrity sha512-b1CHZCNVc2u4LZbFc1Ls0T7U4LWNGvMeQsrNidLZT5jbjg6VzzDZuVCDPGqCwUc8bzFWvPBO52oT1Wy+aCOX6w==
dependencies:
"@langchain/core" "~0.1.44"
js-tiktoken "^1.0.7"
openai "^4.26.0"
zod "^3.22.4"
zod-to-json-schema "^3.22.3"

"@langchain/openai@~0.0.26":
version "0.0.26"
resolved "https://registry.npmmirror.com/@langchain/openai/-/openai-0.0.26.tgz#ab989085e03f8bcc26a40d4d5abe9a2b73e5f2a8"
integrity sha512-FpqYvVRP2CkFFjTLrj2tbXeY6JTIgbq8tRoi0rvGzmhRpoi6cWHlfgclSzDm+e6P9DqKBkzDjo6SPTJgTOabNA==
dependencies:
"@langchain/core" "~0.1.45"
"@langchain/core" "~0.1.56"
js-tiktoken "^1.0.7"
openai "^4.32.1"
zod "^3.22.4"
Expand Down Expand Up @@ -994,10 +967,10 @@
resolved "https://registry.npmmirror.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.13.0.tgz#6abd79db7ff8d01a58865ba20a63cfd23d9e2a10"
integrity sha512-UKXUQNbO3DOhzLRwHSpa0HnhhCgNODvfoPWv2FCXme8N/ANFfhIPMGuOT+QuKd16+B5yxZ0HdpNlqPvTMS1qfw==

"@rushstack/eslint-patch@^1.10.1":
version "1.10.1"
resolved "https://registry.npmmirror.com/@rushstack/eslint-patch/-/eslint-patch-1.10.1.tgz#7ca168b6937818e9a74b47ac4e2112b2e1a024cf"
integrity sha512-S3Kq8e7LqxkA9s7HKLqXGTGck1uwis5vAXan3FnU5yw1Ec5hsSGnq4s/UCaSqABPOnOTg7zASLyst7+ohgWexg==
"@rushstack/eslint-patch@^1.10.2":
version "1.10.2"
resolved "https://registry.npmmirror.com/@rushstack/eslint-patch/-/eslint-patch-1.10.2.tgz#053f1540703faa81dea2966b768ee5581c66aeda"
integrity sha512-hw437iINopmQuxWPSUEvqE56NCPsiU8N4AYtfHmJFckclktzK9YQJieD3XkDCDH4OjL+C7zgPUh73R/nrcHrqw==

"@sindresorhus/is@^4.0.0":
version "4.6.0"
Expand Down Expand Up @@ -3811,15 +3784,15 @@ kuler@^2.0.0:
resolved "https://registry.npmmirror.com/kuler/-/kuler-2.0.0.tgz#e2c570a3800388fb44407e851531c1d670b061b3"
integrity sha512-Xq9nH7KlWZmXAtodXDDRE7vs6DU1gTU8zYDHDiWLSip45Egwq3plLHzPn27NgvzL2r1LMPC1vdqh98sQxtqj4A==

langchain@^0.1.32:
version "0.1.32"
resolved "https://registry.npmmirror.com/langchain/-/langchain-0.1.32.tgz#c87d95450c0c353527256ac43b8ea4393d663e38"
integrity sha512-blc/6SR08XsOU01HdCGHpxAC0sH+MxM21rYY+KQVZv3QTH1mMd/u6SG3CV0mVv9iWOkgfKc1PK/Ud3OYfvOnww==
langchain@^0.1.33:
version "0.1.33"
resolved "https://registry.npmmirror.com/langchain/-/langchain-0.1.33.tgz#959f0f023975092569b49f1f07fe60c11c643530"
integrity sha512-IrRd839x8eAmDutHNDMHGzIjufyWt/ckJrnRB2WifIJmtLWNRNQo5jZd7toeBU0UOVOQxoPtQGYf8lR0ar7vIQ==
dependencies:
"@anthropic-ai/sdk" "^0.9.1"
"@langchain/community" "~0.0.41"
"@langchain/core" "~0.1.44"
"@langchain/openai" "~0.0.26"
"@langchain/community" "~0.0.47"
"@langchain/core" "~0.1.56"
"@langchain/openai" "~0.0.28"
binary-extensions "^2.2.0"
js-tiktoken "^1.0.7"
js-yaml "^4.1.0"
Expand Down Expand Up @@ -4382,21 +4355,6 @@ open@^8.4.0:
is-docker "^2.1.1"
is-wsl "^2.2.0"

openai@^4.26.0:
version "4.28.0"
resolved "https://registry.npmmirror.com/openai/-/openai-4.28.0.tgz#ded00e3d98c25758b5406c9675ec27a957e00930"
integrity sha512-JM8fhcpmpGN0vrUwGquYIzdcEQHtFuom6sRCbbCM6CfzZXNuRk33G7KfeRAIfnaCxSpzrP5iHtwJzIm6biUZ2Q==
dependencies:
"@types/node" "^18.11.18"
"@types/node-fetch" "^2.6.4"
abort-controller "^3.0.0"
agentkeepalive "^4.2.1"
digest-fetch "^1.3.0"
form-data-encoder "1.7.2"
formdata-node "^4.3.2"
node-fetch "^2.6.7"
web-streams-polyfill "^3.2.1"

openai@^4.32.1:
version "4.33.0"
resolved "https://registry.npmmirror.com/openai/-/openai-4.33.0.tgz#8c33da687d4a7f3dd7576179318341615394c79d"
Expand Down Expand Up @@ -5774,6 +5732,11 @@ zod-to-json-schema@^3.22.3:
resolved "https://registry.npmmirror.com/zod-to-json-schema/-/zod-to-json-schema-3.22.3.tgz#1c71f9fa23f80b2f3b5eed537afa8a13a66a5200"
integrity sha512-9isG8SqRe07p+Aio2ruBZmLm2Q6Sq4EqmXOiNpDxp+7f0LV6Q/LX65fs5Nn+FV/CzfF3NLBoksXbS2jNYIfpKw==

zod-to-json-schema@^3.22.5:
version "3.22.5"
resolved "https://registry.npmmirror.com/zod-to-json-schema/-/zod-to-json-schema-3.22.5.tgz#3646e81cfc318dbad2a22519e5ce661615418673"
integrity sha512-+akaPo6a0zpVCCseDed504KBJUQpEW5QZw7RMneNmKw+fGaML1Z9tUNLnHHAC8x6dzVRO1eB2oEMyZRnuBZg7Q==

zod@^3.22.3, zod@^3.22.4:
version "3.22.4"
resolved "https://registry.npmmirror.com/zod/-/zod-3.22.4.tgz#f31c3a9386f61b1f228af56faa9255e845cf3fff"
Expand Down

0 comments on commit 5d80a36

Please sign in to comment.