{"_id":"@apollo/utils.sortast@3.1.0","bugs":{"url":"https://github.com/apollographql/apollo-utils/issues"},"dist":{"shasum":"58d9964e024e2a1f66b0d6efc36c14696c33db0e","tarball":"http://registry-npm.ywwl.com/@apollo/utils.sortast/download/@apollo/utils.sortast-3.1.0.tgz","integrity":"sha512-jDI6HCrwPdfcgunQX5aoeth2osjKcDGkUZaCqN42jh+tGPcpUq35mSScEWqDf0e7Q1tW/SjEjvLo7b959A4+0A==","fileCount":8,"unpackedSize":8951,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@apollo%2futils.sortast@3.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQD77GP3z9fyvQqQPq3aX2uC1Flts39276hE954AP0j5CAIgW2QUSwso6+fcHUwS7CsLz9YZiX++JxiWYDdEGUZPjRw="}],"size":3316,"noattachment":false,"key":"/@apollo/utils.sortast/-/@apollo/utils.sortast-3.1.0.tgz"},"main":"dist/index.js","name":"@apollo/utils.sortast","types":"dist/index.d.ts","author":{"name":"Apollo","email":"packages@apollographql.com"},"engines":{"node":">=16"},"gitHead":"23aacc237c96322e67709008bd452cd7df9a33a3","license":"MIT","version":"3.1.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"2ac903af-a568-409a-9998-975a821d964f"},"approver":{"name":"phryneas","email":"mail@lenzw.de"}},"homepage":"https://github.com/apollographql/apollo-utils#readme","keywords":["apollo","graphql","typescript","node"],"repository":{"url":"git+https://github.com/apollographql/apollo-utils.git","type":"git","directory":"packages/sortAst/"},"_npmVersion":"11.15.0","description":"Sort AST nodes in a document alphabetically","directories":{},"maintainers":[{"name":"glasser","email":"glasser@apollographql.com"},{"name":"dkuc","email":"dariusz_kuc@hotmail.com"},{"name":"phryneas","email":"mail@lenzw.de"},{"name":"apollo-bot","email":"npm@apollographql.com"},{"name":"abernix","email":"npmjs@jro.cc"}],"_nodeVersion":"22.20.0","dependencies":{"lodash.sortby":"^4.7.0"},"peerDependencies":{"graphql":"14.x || 15.x || 16.x || 17.x"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/utils.sortast_3.1.0_1793954967882_0.18993842582637244"},"_hasShrinkwrap":false,"readme":"# sortAST\n\nThe `sortAST` function is used to alphabetically sort all of the nodes in a graphql `DocumentNode`.\n\n## Usage\n\n```ts\nimport { sortAST } from \"@apollo/utils.sortast\";\n\nconst sortedAST = sortAST(\n  parse(`#graphql\n  query Foo { c b a }\n`),\n);\n\nprint(sortedAST);\n// query Foo { a b c }\n```\n","publish_time":1793954967995,"_cnpm_publish_time":1793954967995,"dist-tags":{"latest":"3.1.0"}}