prettier-package-json icon indicating copy to clipboard operation
prettier-package-json copied to clipboard

orderBy is not a function error at sort-scripts.js

Open har0ld-scl opened this issue 1 year ago • 1 comments

It seems that since the update of the dependency sort-order this line throws the following error:

image

I think it's due to the new type definitions added to sort-order.

har0ld-scl avatar Nov 24 '23 17:11 har0ld-scl

I had temporally fixed this issue fixing the version of the dependency to "sort-order": "1.0.1"

har0ld-scl avatar Dec 11 '23 15:12 har0ld-scl