Skip to content

Commit

Permalink
Fix broken peer OpenAI dep dependency range (chroma-core#1142)
Browse files Browse the repository at this point in the history
https://semver.npmjs.com/

<img width="1362" alt="Screenshot 2023-09-13 at 3 51 28 PM"
src="https://github.com/chroma-core/chroma/assets/6952323/ab7752f2-9a82-4ea6-8a9b-f92b13b124b0">

<img width="1414" alt="Screenshot 2023-09-13 at 3 51 16 PM"
src="https://github.com/chroma-core/chroma/assets/6952323/c7761348-e499-4541-a775-b5436abff749">

npm strictly checks peer dep ranges, which means the `npm install` of
anything with a peer dep on Chroma was affected by this.
  • Loading branch information
jacoblee93 authored and tazarov committed Sep 20, 2023
1 parent d52e5f1 commit 63093bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clients/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"@visheratin/web-ai-node": "^1.0.0",
"@xenova/transformers": "^2.0.0",
"cohere-ai": "^6.0.0",
"openai": "^3.0.0 | ^4.0.0"
"openai": "^3.0.0 || ^4.0.0"
},
"peerDependenciesMeta": {
"@visheratin/web-ai": {
Expand Down

0 comments on commit 63093bc

Please sign in to comment.