From 8d9d39bb68aee60a573076e9c53b36534fb31fa0 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 7 Sep 2024 07:42:15 +0000 Subject: [PATCH] fix: upgrade @langchain/core from 0.2.16 to 0.2.27 Snyk has created this PR to upgrade @langchain/core from 0.2.16 to 0.2.27. See this package in npm: @langchain/core See this project in Snyk: https://app.snyk.io/org/nodeshift-agg/project/dc81053e-a261-4a5b-bee8-eee6cfbecbff?utm_source=github&utm_medium=referral&page=upgrade-pr --- package-lock.json | 43 +++++++++++++++++-------------------------- package.json | 2 +- 2 files changed, 18 insertions(+), 27 deletions(-) diff --git a/package-lock.json b/package-lock.json index cbb05f5..f458d29 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,7 @@ "@fastify/env": "^4.4.0", "@fastify/static": "^7.0.4", "@fastify/websocket": "^10.0.1", - "@langchain/core": "^0.2.16", + "@langchain/core": "^0.2.27", "fastify": "^4.28.1", "fastify-plugin": "^4.5.1", "langchain": "^0.2.10", @@ -128,16 +128,16 @@ } }, "node_modules/@langchain/core": { - "version": "0.2.16", - "resolved": "https://registry.npmjs.org/@langchain/core/-/core-0.2.16.tgz", - "integrity": "sha512-mPmQi0ecJ81QwhvUQX4cwGVAqsM30ly3ygIlWoeUwDOXv9UW/IB2LAq8KKoVYIHTyEsIWJiyMP9Sv3e0xwjV8g==", + "version": "0.2.27", + "resolved": "https://registry.npmjs.org/@langchain/core/-/core-0.2.27.tgz", + "integrity": "sha512-QAIlGxXWW7fox1oGmQjEHs1fbPaXOE9CeunmwZl9grFpu1igdkLbKnEJF7fjbVchyJHRB6yzpQ1bwP/S12O4mQ==", + "license": "MIT", "dependencies": { "ansi-styles": "^5.0.0", "camelcase": "6", "decamelize": "1.2.0", "js-tiktoken": "^1.0.12", - "langsmith": "~0.1.30", - "ml-distance": "^4.0.0", + "langsmith": "~0.1.39", "mustache": "^4.2.0", "p-queue": "^6.6.2", "p-retry": "4", @@ -249,9 +249,10 @@ "integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA==" }, "node_modules/@types/uuid": { - "version": "9.0.8", - "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-9.0.8.tgz", - "integrity": "sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA==" + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/@types/uuid/-/uuid-10.0.0.tgz", + "integrity": "sha512-7gqG38EyHgyP1S+7+xomFtL+ZNHcKv6DwNaCZmJmo1vgMugyF3TCnXVg4t1uk89mLNwnLtnY3TpOpCOyp1/xHQ==", + "license": "MIT" }, "node_modules/abbrev": { "version": "1.1.1", @@ -1778,15 +1779,17 @@ "integrity": "sha512-WnKI4g9kU2bHQP136orXr2bcRdgz9iiTBpTN0jWt9IlScUKnJBoD0aa2HOzHURQKeQDnt2JwqVmQ6Depf5uDLQ==" }, "node_modules/langsmith": { - "version": "0.1.37", - "resolved": "https://registry.npmjs.org/langsmith/-/langsmith-0.1.37.tgz", - "integrity": "sha512-8JgWykdJywdKWs+WeefOEf4Gkz3YdNkvG5u5JPbgXuodTUwuHPwjmblsldt1OGKkPp7iCWfdtCdnc9z9MYC/Dw==", + "version": "0.1.51", + "resolved": "https://registry.npmjs.org/langsmith/-/langsmith-0.1.51.tgz", + "integrity": "sha512-TYauaTfEO5o5oCbZZvWHWg/0SiWp6DH2tYmIdGlMO0Dx6wp7uQdlGwiCcuDX+lITtLyFaraWQc8SjUwvfJ75Gw==", + "license": "MIT", "dependencies": { - "@types/uuid": "^9.0.1", + "@types/uuid": "^10.0.0", "commander": "^10.0.1", "p-queue": "^6.6.2", "p-retry": "4", - "uuid": "^9.0.0" + "semver": "^7.6.3", + "uuid": "^10.0.0" }, "peerDependencies": { "@langchain/core": "*", @@ -1805,18 +1808,6 @@ } } }, - "node_modules/langsmith/node_modules/uuid": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", - "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", - "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" - ], - "bin": { - "uuid": "dist/bin/uuid" - } - }, "node_modules/light-my-request": { "version": "5.13.0", "resolved": "https://registry.npmjs.org/light-my-request/-/light-my-request-5.13.0.tgz", diff --git a/package.json b/package.json index 22333d2..bd43fec 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@fastify/env": "^4.4.0", "@fastify/static": "^7.0.4", "@fastify/websocket": "^10.0.1", - "@langchain/core": "^0.2.16", + "@langchain/core": "^0.2.27", "fastify": "^4.28.1", "fastify-plugin": "^4.5.1", "langchain": "^0.2.10",