Closed gtomitsuka closed 3 months ago
Version 1.0.3 (latest) of package zod-stream has conflicting requirements for zod, which leads to warnings and may lead to more serious issues:
zod-stream
zod
"node_modules/zod-stream": { "version": "1.0.3", "license": "MIT", "dependencies": { "schema-stream": "^3.1.0", "zod-to-json-schema": "^3.22.3" }, "peerDependencies": { "openai": ">=4.24.1", "zod": ">=3.22.4" } }, "node_modules/zod-stream/node_modules/schema-stream": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/schema-stream/-/schema-stream-3.1.0.tgz", "integrity": "sha512-R4PoSFJnMORRGJ5i5BTHRO2Ed3Lf2h8DMofHd5XBU4ZE0lEBCTGRqOXBurjTEO2QntPSYAhv93jLt8PFMqDEPw==", "dependencies": { "ramda": "^0.29.0" }, "peerDependencies": { "zod": "3.22.4" } }, "node_modules/zod-stream/node_modules/zod-to-json-schema": { "version": "3.23.0", "license": "ISC", "peerDependencies": { "zod": "^3.23.3" } },
zod-to-json-schema requires zod@^3.23.2 while schema-stream requires zod@3.22.4. I'd recommend publishing an updated version of schema-stream with zod@^3.23.2 as a dependency to avoid this issue.
zod-to-json-schema
zod@^3.23.2
schema-stream
zod@3.22.4
Version 1.0.3 (latest) of package
zod-stream
has conflicting requirements forzod
, which leads to warnings and may lead to more serious issues:zod-to-json-schema
requireszod@^3.23.2
whileschema-stream
requireszod@3.22.4
. I'd recommend publishing an updated version ofschema-stream
withzod@^3.23.2
as a dependency to avoid this issue.