mediapipe
mediapipe copied to clipboard
@mediapipe/tasks-text: highest version is old
OS Platform and Distribution
macOS 15
Programming Language and version
JS
Describe the problem
Using npm-check-updates, the latest version is 20230920.0.0
You have released 0.10.22 etc, but also 20230920.0.0, and ncu thinks 20230920.0.0 is the newest version. I propose removing this version from npm...
Hi @AmitMY,
Apologies for the miscommunication. The 0.10.22 release is specifically for the Generative AI APIs (you can view it here), and not for other APIs such as Task, Vision, Text, or Audio. This should have been mentioned in the release notes, but it seems to be missing. However, there is a major release coming soon for all APIs, and we will provide you with updates as soon as it's available.
Thank you!!
Thanks @kuaashish . point still stands - i was using 0.10.21 for the tasks-text package (works from npm) and now it is trying to upgrade to an older version 20230920.0.0 because it has a higher major number
Hi @AmitMY,
Apologies again for the issue. We are already aware of it and are tracking it here https://github.com/google-ai-edge/mediapipe/issues/5798. You should see a fix soon. In the meantime, if you would like to use the latest version, please follow the instructions in this comment, and we hope you will be able to use the latest version available now.
Thank you!!
Hi @AmitMY,
It seems the information provided earlier pertains more to the Maven packages rather than the NPM packages. To better understand and address the issue, could you please share the exact steps to reproduce the issue? This will help us investigate it further and provide a more targeted fix.
Thank you!!
npm install @mediapipe/tasks-text
results in
"@mediapipe/tasks-text": "^0.10.22-rc.20250304",
Then, to not use an RC, I change to 0.10.21 manually.
now, if i run npx npm-check-updates it says there is an update available:
@mediapipe/tasks-text 0.10.21 → 20230920.0.0
Hi @tyrmullen,
We were able to reproduce the issue on our end. It appears that the issue is related to version 20230920.0.0, which is being considered as the latest version when checked through "npx npm-check-updates". However, the latest stable version for tasks-text is 0.10.21. We have attached a screenshot of the issue when it was reproduced.
Could you please investigate this further if you have the bandwidth?
Thank you!!
The problematic version has been marked deprecated, and no longer appears by default on the npm version list here. Hopefully that is sufficient for the check updates tool to skip over it and use the newest non-deprecated package version (0.10.25 as of now). But let us know if that's not the case.