-
Notifications
You must be signed in to change notification settings - Fork 11
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
Packages are not sorted alphabetically in output anymore (post 3.0.0) #313
Comments
Hey @Greg-NetDuma - we'll get back to you in the next few days.
Thanks :) |
Hey @Greg-NetDuma , I'm just following up on this, are you able to provide us with a little more context regarding our questions above? Thanks :) |
Hi, sorry for the late reply (also I stopped using my work account got merged into my personal one so I'm using this account instead). Version: 3.0.1 My expectation was that licenses are sorted by packages names used are alphabetically sorted. This is something I prefer. The alternative is that packages are grouped by licenses (if they are identical) and the packages themselves are sorted. The last group would be custom. But I'm not sure how would you sort by licenses themselves as I can't see the usefulness of sorting by license content. Please point out any caveats/cons or problems with the expected outputs I described (because it is more than likely I missed some) or if I just misunderstood some things about how the file is generated. |
Hey @Greg-NetDuma / @Gr3q, Sorry we've let this issue go stale. It should be the case that if you're using our CLI then the output should be sorted. Do you have a minimal repro that demonstrates packages or licenses out of order? Thanks! |
no problem. the package.json in question with the command we are using:
The output is always the same, but I'm not sure how things are sorted anymore in the file. |
As title, it seems the output is generated consistently still, but in a different order with logic unknown to me.
The text was updated successfully, but these errors were encountered: