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

Fix protobuf #708

Merged
merged 6 commits into from
Apr 11, 2024
Merged

Fix protobuf #708

merged 6 commits into from
Apr 11, 2024

Conversation

yisding
Copy link
Contributor

@yisding yisding commented Apr 10, 2024

Copy link

changeset-bot bot commented Apr 10, 2024

⚠️ No Changeset found

Latest commit: 3d88d49

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Apr 10, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
llama-index-ts-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 10, 2024 11:24pm

},
"packageManager": "[email protected]+sha256.01c01eeb990e379b31ef19c03e9d06a14afa5250b82e81303f88721c99ff2e6f",
"pnpm": {
"overrides": {
"trim": "1.0.1",
"@babel/traverse": "7.23.2"
"@babel/traverse": "7.23.2",
"protobufjs": "7.2.6"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@himself65 quick question: so while putting this here will update our pnpm-lock.yaml but I don't think it'll do anything for the consumers of our library correct? Would putting a npm overrides section in the package.json for packages/core help in that regard (for every package manager) or does every consumer of the library need to do this themselves? https://docs.npmjs.com/cli/v10/configuring-npm/package-json#overrides Or could we just add the new protobufjs version as a dependency?

Copy link
Member

@himself65 himself65 Apr 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

overrides is for application use cases for example you are building a web app but find something bug in node_modules. There's no way to modify user's node_modules but npm:version

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK I'm going to merge this to get rid of the Github complaint, and hopefully transformers.js updates their dependencies and makes this not necessary. But if they don't in say, a month, let's come back and figure out what to do (write a PR/fork it/do the hack from your link)

@yisding yisding merged commit 63af7dd into main Apr 11, 2024
14 checks passed
@himself65 himself65 deleted the fix-protobuf branch April 11, 2024 00:23
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 this pull request may close these issues.

2 participants