Skip to content

deps: bump onnxruntime-node and sharp - #1731

Open
khashayarghafouri wants to merge 2 commits into
huggingface:mainfrom
khashayarghafouri:deps/bump-onnxruntime-node-and-sharp
Open

deps: bump onnxruntime-node and sharp#1731
khashayarghafouri wants to merge 2 commits into
huggingface:mainfrom
khashayarghafouri:deps/bump-onnxruntime-node-and-sharp

Conversation

@khashayarghafouri

Copy link
Copy Markdown

Summary

  • Bump onnxruntime-node to ^1.27.0 so installs drop the deprecated boolean transitive dependency (global-agent@4).
  • Bump sharp to ^0.35.0 so the caret range can resolve the patched libvips release for GHSA-f88m-g3jw-g9cj.

Fixes #1718
Fixes #1729

Test plan

  • npm install in packages/transformers resolves onnxruntime-node@>=1.27 and sharp@>=0.35
  • npm ls boolean no longer shows boolean@3 via onnxruntime-node
  • npm audit no longer reports GHSA-f88m-g3jw-g9cj from sharp 0.34.x
  • Existing Node image / pipeline smoke tests still pass

Made with Cursor

- onnxruntime-node ^1.27.0 drops deprecated boolean via global-agent@4 (huggingface#1718)
- sharp ^0.35.0 allows patched libvips for GHSA-f88m-g3jw-g9cj (huggingface#1729)
@nerdCopter

Copy link
Copy Markdown

AI Generated comment

Duplicate also open as #1730 (same onnxruntime-node bump, no sharp change). #1688 closed in June citing an incoming fix; latest published 4.2.0 still pins onnxruntime-node@1.24.3, so boolean@3.2.0 still warns on every install. Requesting review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants