From 6e99e26f69e06a6bde2a8276ad6552166e31c145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=A4=95=E0=A4=BE=E0=A4=B0=E0=A4=A4=E0=A5=8B=E0=A4=AB?= =?UTF-8?q?=E0=A5=8D=E0=A4=AB=E0=A5=87=E0=A4=B2=E0=A4=B8=E0=A5=8D=E0=A4=95?= =?UTF-8?q?=E0=A5=8D=E0=A4=B0=E0=A4=BF=E0=A4=AA=E0=A5=8D=E0=A4=9F=E2=84=A2?= Date: Wed, 13 Mar 2024 17:11:20 +0100 Subject: [PATCH] feat(core): Update `ws` and `handlebars` to match langchain peer-dependencies (no-changelog) (#8882) --- packages/cli/package.json | 4 +- pnpm-lock.yaml | 92 +++++++++++---------------------------- 2 files changed, 27 insertions(+), 69 deletions(-) diff --git a/packages/cli/package.json b/packages/cli/package.json index 25518d7a94e06..db9eaddc013c3 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -129,7 +129,7 @@ "flatted": "3.2.7", "formidable": "3.5.1", "google-timezones-json": "1.1.0", - "handlebars": "4.7.7", + "handlebars": "4.7.8", "infisical-node": "1.3.0", "inquirer": "7.3.3", "ioredis": "5.3.2", @@ -177,7 +177,7 @@ "uuid": "8.3.2", "validator": "13.7.0", "winston": "3.8.2", - "ws": "8.12.0", + "ws": "8.14.2", "xml2js": "0.5.0", "xmllint-wasm": "3.0.1", "yamljs": "0.3.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fb912549e604c..0990d42c99201 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -113,7 +113,7 @@ importers: version: 6.3.4 ts-jest: specifier: ^29.1.1 - version: 29.1.1(@babel/core@7.22.9)(jest@29.6.2)(typescript@5.3.2) + version: 29.1.1(@babel/core@7.24.0)(jest@29.6.2)(typescript@5.3.2) tsc-alias: specifier: ^1.8.7 version: 1.8.7 @@ -426,7 +426,7 @@ importers: dependencies: '@langchain/community': specifier: 0.0.34 - version: 0.0.34(ioredis@5.3.2)(lodash@4.17.21)(mysql2@2.3.3)(pg@8.11.3)(ws@8.12.0) + version: 0.0.34(ioredis@5.3.2)(lodash@4.17.21)(mysql2@2.3.3)(pg@8.11.3)(ws@8.14.2) '@langchain/core': specifier: 0.1.41 version: 0.1.41 @@ -542,8 +542,8 @@ importers: specifier: 1.1.0 version: 1.1.0 handlebars: - specifier: 4.7.7 - version: 4.7.7 + specifier: 4.7.8 + version: 4.7.8 infisical-node: specifier: 1.3.0 version: 1.3.0 @@ -567,7 +567,7 @@ importers: version: 9.0.2 langchain: specifier: 0.1.25 - version: 0.1.25(axios@1.6.7)(handlebars@4.7.7)(ioredis@5.3.2)(lodash@4.17.21)(mysql2@2.3.3)(pg@8.11.3)(ws@8.12.0) + version: 0.1.25(axios@1.6.7)(handlebars@4.7.8)(ioredis@5.3.2)(lodash@4.17.21)(mysql2@2.3.3)(pg@8.11.3)(ws@8.14.2) ldapts: specifier: 4.2.6 version: 4.2.6 @@ -686,8 +686,8 @@ importers: specifier: 3.8.2 version: 3.8.2 ws: - specifier: 8.12.0 - version: 8.12.0 + specifier: 8.14.2 + version: 8.14.2 xml2js: specifier: ^0.5.0 version: 0.5.0 @@ -5913,7 +5913,7 @@ packages: - supports-color dev: false - /@langchain/community@0.0.34(ioredis@5.3.2)(lodash@4.17.21)(mysql2@2.3.3)(pg@8.11.3)(ws@8.12.0): + /@langchain/community@0.0.34(ioredis@5.3.2)(lodash@4.17.21)(mysql2@2.3.3)(pg@8.11.3)(ws@8.14.2): resolution: {integrity: sha512-eU3VyK7dZ3S05E4IQ3IVb3B8Ja/GaNDHaXhfjUJfZLOwyZrrLMhshGRIbbO+iMqJz8omGK761QK14v0G0/U3iw==} engines: {node: '>=18'} peerDependencies: @@ -6180,7 +6180,7 @@ packages: mysql2: 2.3.3 pg: 8.11.3 uuid: 9.0.0 - ws: 8.12.0 + ws: 8.14.2 zod: 3.22.4 transitivePeerDependencies: - encoding @@ -7025,7 +7025,7 @@ packages: core-js: 3.35.0 get-port-please: 3.1.2 glob: 7.2.3 - handlebars: 4.7.7 + handlebars: 4.7.8 mobx: 6.12.0 node-fetch: 2.7.0(encoding@0.1.13) react: 18.2.0 @@ -8615,7 +8615,7 @@ packages: find-up: 5.0.0 fs-extra: 11.1.1 glob: 10.3.10 - handlebars: 4.7.7 + handlebars: 4.7.8 lazy-universal-dotenv: 4.0.0 node-fetch: 2.7.0(encoding@0.1.13) picomatch: 2.3.1 @@ -8683,7 +8683,7 @@ packages: util: 0.12.5 util-deprecate: 1.0.2 watchpack: 2.4.0 - ws: 8.12.0 + ws: 8.14.2 transitivePeerDependencies: - bufferutil - encoding @@ -16006,18 +16006,6 @@ packages: through2: 2.0.5 dev: true - /handlebars@4.7.7: - resolution: {integrity: sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==} - engines: {node: '>=0.4.7'} - hasBin: true - dependencies: - minimist: 1.2.7 - neo-async: 2.6.2 - source-map: 0.6.1 - wordwrap: 1.0.0 - optionalDependencies: - uglify-js: 3.17.4 - /handlebars@4.7.8: resolution: {integrity: sha512-vafaFqs8MZkRrSX7sFVUdo3ap/eNiLnb4IakshzvP56X5Nr1iGKAIqdX6tMlm6HcNRIkr6AxO5jFEoJzzpT8aQ==} engines: {node: '>=0.4.7'} @@ -16029,7 +16017,6 @@ packages: wordwrap: 1.0.0 optionalDependencies: uglify-js: 3.17.4 - dev: false /has-bigints@1.0.2: resolution: {integrity: sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==} @@ -17858,7 +17845,7 @@ packages: whatwg-encoding: 2.0.0 whatwg-mimetype: 3.0.0 whatwg-url: 11.0.0 - ws: 8.12.0 + ws: 8.14.2 xml-name-validator: 4.0.0 transitivePeerDependencies: - bufferutil @@ -17894,7 +17881,7 @@ packages: whatwg-encoding: 3.1.1 whatwg-mimetype: 4.0.0 whatwg-url: 14.0.0 - ws: 8.15.1 + ws: 8.14.2 xml-name-validator: 5.0.0 transitivePeerDependencies: - bufferutil @@ -18400,7 +18387,7 @@ packages: - voy-search dev: false - /langchain@0.1.25(axios@1.6.7)(handlebars@4.7.7)(ioredis@5.3.2)(lodash@4.17.21)(mysql2@2.3.3)(pg@8.11.3)(ws@8.12.0): + /langchain@0.1.25(axios@1.6.7)(handlebars@4.7.8)(ioredis@5.3.2)(lodash@4.17.21)(mysql2@2.3.3)(pg@8.11.3)(ws@8.14.2): resolution: {integrity: sha512-sfEChvr4H2CklHdSByNBbytwBrFhgtA5kPOnwcBrxuXGg1iOaTzhVxQA0QcNcQucI3hZrsNbZjxGp+Can1ooZQ==} engines: {node: '>=18'} peerDependencies: @@ -18560,13 +18547,13 @@ packages: optional: true dependencies: '@anthropic-ai/sdk': 0.9.1 - '@langchain/community': 0.0.34(ioredis@5.3.2)(lodash@4.17.21)(mysql2@2.3.3)(pg@8.11.3)(ws@8.12.0) + '@langchain/community': 0.0.34(ioredis@5.3.2)(lodash@4.17.21)(mysql2@2.3.3)(pg@8.11.3)(ws@8.14.2) '@langchain/core': 0.1.41 '@langchain/openai': 0.0.16 axios: 1.6.7 binary-extensions: 2.2.0 expr-eval: 2.0.2 - handlebars: 4.7.7 + handlebars: 4.7.8 ioredis: 5.3.2 js-tiktoken: 1.0.8 js-yaml: 4.1.0 @@ -18577,7 +18564,7 @@ packages: openapi-types: 12.1.3 p-retry: 4.6.2 uuid: 9.0.0 - ws: 8.12.0 + ws: 8.14.2 yaml: 2.3.4 zod: 3.22.4 zod-to-json-schema: 3.22.4(zod@3.22.4) @@ -19518,9 +19505,6 @@ packages: dependencies: brace-expansion: 2.0.1 - /minimist@1.2.7: - resolution: {integrity: sha512-bzfL1YUZsP41gmu/qjrEk0Q6i2ix/cVeAhbCbqH9u3zYutS1cLg00qhrD0M2MVdCcx4Sc0UpP2eBWo9rotpq6g==} - /minimist@1.2.8: resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} @@ -19813,7 +19797,7 @@ packages: reinterval: 1.1.0 rfdc: 1.3.0 split2: 4.2.0 - ws: 8.13.0 + ws: 8.14.2 transitivePeerDependencies: - bufferutil - supports-color @@ -22023,7 +22007,7 @@ packages: dependencies: base-64: 1.0.0 node-fetch: 2.6.8 - ws: 8.12.0 + ws: 8.14.2 transitivePeerDependencies: - bufferutil - encoding @@ -24547,7 +24531,7 @@ packages: zod: 3.22.4 dev: false - /ts-jest@29.1.1(@babel/core@7.22.9)(jest@29.6.2)(typescript@5.3.2): + /ts-jest@29.1.1(@babel/core@7.24.0)(jest@29.6.2)(typescript@5.3.2): resolution: {integrity: sha512-D6xjnnbP17cC85nliwGiL+tpoKN0StpgE0TeOjXQTU6MVCfsB4v7aW05CgQ/1OywGb0x/oy9hHFnN+sczTiRaA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} hasBin: true @@ -24568,7 +24552,7 @@ packages: esbuild: optional: true dependencies: - '@babel/core': 7.22.9 + '@babel/core': 7.24.0 bs-logger: 0.2.6 fast-json-stable-stringify: 2.1.0 jest: 29.6.2 @@ -25959,7 +25943,7 @@ packages: '@webassemblyjs/wasm-parser': 1.11.1 acorn: 8.11.2 acorn-import-assertions: 1.8.0(acorn@8.11.2) - browserslist: 4.21.9 + browserslist: 4.23.0 chrome-trace-event: 1.0.3 enhanced-resolve: 5.13.0 es-module-lexer: 0.9.3 @@ -26235,33 +26219,8 @@ packages: optional: true dev: true - /ws@8.12.0: - resolution: {integrity: sha512-kU62emKIdKVeEIOIKVegvqpXMSTAMLJozpHZaJNDYqBjzlSYXQGviYwN1osDLJ9av68qHd4a2oSjd7yD4pacig==} - engines: {node: '>=10.0.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: '>=5.0.2' - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - - /ws@8.13.0: - resolution: {integrity: sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==} - engines: {node: '>=10.0.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: '>=5.0.2' - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - dev: false - - /ws@8.15.1: - resolution: {integrity: sha512-W5OZiCjXEmk0yZ66ZN82beM5Sz7l7coYxpRkzS+p9PP+ToQry8szKh+61eNktr7EA9DOwvFGhfC605jDHbP6QQ==} + /ws@8.14.2: + resolution: {integrity: sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g==} engines: {node: '>=10.0.0'} peerDependencies: bufferutil: ^4.0.1 @@ -26271,7 +26230,6 @@ packages: optional: true utf-8-validate: optional: true - dev: true /xml-crypto@3.0.1: resolution: {integrity: sha512-7XrwB3ujd95KCO6+u9fidb8ajvRJvIfGNWD0XLJoTWlBKz+tFpUzEYxsN+Il/6/gHtEs1RgRh2RH+TzhcWBZUw==}