Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflicting package requirements #62

Closed
gtomitsuka opened this issue Jun 22, 2024 · 0 comments · Fixed by #67
Closed

Conflicting package requirements #62

gtomitsuka opened this issue Jun 22, 2024 · 0 comments · Fixed by #67

Comments

@gtomitsuka
Copy link

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:

    "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 [email protected]. I'd recommend publishing an updated version of schema-stream with zod@^3.23.2 as a dependency to avoid this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant