-
Notifications
You must be signed in to change notification settings - Fork 375
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
Fix protobuf #708
Conversation
breaking changes for v7 are mainly dropping support for node versions we don't support anyways: https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.0.0 https://github.com/run-llama/LlamaIndexTS/security/dependabot/24
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
}, | ||
"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" |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's a solution but very hacky: https://github.com/dai-shi/waku/pull/136/files#diff-792d288469e94f9b513d387c9f83324d9cd9fc8a492534b8da4626795627e746R62
There was a problem hiding this comment.
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)
https://github.com/run-llama/LlamaIndexTS/security/dependabot/24