keithamus / sort-package-json

Sort an Object or package.json based on the well-known package.json keys
MIT License
790 stars 83 forks source link

sorting of `dependenciesMeta` is incompatible with yarn v3 #301

Open viceice opened 1 year ago

viceice commented 1 year ago

prettier format

"dependenciesMeta": {
    "bats-assert@2.0.0": {
      "unplugged": true
    },
    "bats-support@0.3.0": {
      "unplugged": true
    },
    "bats@1.10.0": {
      "unplugged": true
    }
  },

yarn format

  "dependenciesMeta": {
    "bats@1.10.0": {
      "unplugged": true
    },
    "bats-assert@2.0.0": {
      "unplugged": true
    },
    "bats-support@0.3.0": {
      "unplugged": true
    }