Skip to content

optimized dependencies are not pined #293

Closed
@GauthierPLM

Description

@GauthierPLM

As part of an update, I tried to run optimize with this option but in my package.json, the dependencies still use the range "^1.x.y" in all cases. Additionally, the output ends with a warning:

$ yarn dlx socket optimize --pin
# yarn resolution ....
Updated 80 Socket.dev optimized overrides.
Added 3 Socket.dev optimized overrides 🚀
✖️ Socket Optimize: yarn/classic install failed to update yarn.lock

I am using Yarn 4.6.0, Node 23.6.0. Is there something I misunderstood?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions