{"_id":"@pnpm/deps.graph-sequencer","_rev":"3289652","name":"@pnpm/deps.graph-sequencer","description":"Sort items in a graph using a topological sort","dist-tags":{"latest":"2.0.1"},"maintainers":[{"name":"pnpmuser","email":"zoltan.kochan@gmail.com"},{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"time":{"modified":"2024-05-23T06:45:28.000Z","created":"2023-10-15T23:14:46.212Z","2.0.1":"2024-05-06T09:24:54.118Z","2.0.0":"2024-04-09T15:19:49.444Z","1.0.0":"2023-10-15T23:14:46.212Z"},"users":{},"repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/main/deps/graph-sequencer"},"versions":{"2.0.1":{"name":"@pnpm/deps.graph-sequencer","version":"2.0.1","description":"Sort items in a graph using a topological sort","main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=18.12"},"repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/main/deps/graph-sequencer"},"keywords":["pnpm9","pnpm","graph"],"license":"MIT","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"homepage":"https://github.com/pnpm/pnpm/blob/main/deps/graph-sequencer#readme","funding":"https://opencollective.com/pnpm","devDependencies":{"@pnpm/deps.graph-sequencer":"2.0.1"},"exports":{".":"./lib/index.js"},"scripts":{"lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","_test":"jest","test":"pnpm run compile && pnpm run _test","compile":"tsc --build && pnpm run lint --fix"},"_id":"@pnpm/deps.graph-sequencer@2.0.1","_integrity":"sha512-IBZ08QCZ5AlHp5boL0iyzc7EKPTSkBCuxtgcd1H6Et0tP4czjtKuo9vt6OuLgBLRn6IAVgqrDvo7RUrMYKP3+w==","_resolved":"/tmp/5129d479111ce544976d6e28120186bc/pnpm-deps.graph-sequencer-2.0.1.tgz","_from":"file:pnpm-deps.graph-sequencer-2.0.1.tgz","_nodeVersion":"18.20.2","_npmVersion":"10.5.0","dist":{"shasum":"fda2411310a9c2f12cd1747c371824e456df3f8a","size":3629,"noattachment":false,"key":"/@pnpm/deps.graph-sequencer/-/@pnpm/deps.graph-sequencer-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@pnpm/deps.graph-sequencer/download/@pnpm/deps.graph-sequencer-2.0.1.tgz"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"directories":{},"maintainers":[{"name":"pnpmuser","email":"zoltan.kochan@gmail.com"},{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/deps.graph-sequencer_2.0.1_1714987493934_0.6586437715147702"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-05-06T09:24:54.118Z","publish_time":1714987494118,"_source_registry_name":"default","_cnpm_publish_time":1714987494118},"2.0.0":{"name":"@pnpm/deps.graph-sequencer","version":"2.0.0","description":"Sort items in a graph using a topological sort","main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=18.12"},"repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/main/deps/graph-sequencer"},"keywords":["pnpm9","pnpm","graph"],"license":"MIT","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"homepage":"https://github.com/pnpm/pnpm/blob/main/deps/graph-sequencer#readme","funding":"https://opencollective.com/pnpm","devDependencies":{"@pnpm/deps.graph-sequencer":"2.0.0"},"exports":{".":"./lib/index.js"},"scripts":{"lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","_test":"jest","test":"pnpm run compile && pnpm run _test","compile":"tsc --build && pnpm run lint --fix"},"_id":"@pnpm/deps.graph-sequencer@2.0.0","_integrity":"sha512-wFUqrTuIgbPSSu7PK1AQ3uS+7f2ReJVZTukXMLKtRlK4sHJYWiTtFvyeikJDeeYMs2X8QG2UU5/4zWXX0Fk1uA==","_resolved":"/private/var/folders/g7/5ygp0ncd6qx5g4fn5hpsqq5c0000gn/T/86648f25cac15c3e4dd28742293afcd1/pnpm-deps.graph-sequencer-2.0.0.tgz","_from":"file:pnpm-deps.graph-sequencer-2.0.0.tgz","_nodeVersion":"20.11.1","_npmVersion":"10.5.0","dist":{"shasum":"cb739fb923210f8093bb5de04392812989ce019c","size":3524,"noattachment":false,"key":"/@pnpm/deps.graph-sequencer/-/@pnpm/deps.graph-sequencer-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@pnpm/deps.graph-sequencer/download/@pnpm/deps.graph-sequencer-2.0.0.tgz"},"_npmUser":{"name":"zkochan","email":"z@kochan.io"},"directories":{},"maintainers":[{"name":"pnpmuser","email":"zoltan.kochan@gmail.com"},{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/deps.graph-sequencer_2.0.0_1712675989266_0.5294803009080802"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-04-09T15:19:49.444Z","publish_time":1712675989444,"_source_registry_name":"default","_cnpm_publish_time":1712675989444},"1.0.0":{"name":"@pnpm/deps.graph-sequencer","version":"1.0.0","description":"Sort items in a graph using a topological sort","main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=16.14"},"repository":{"type":"git","url":"https://github.com/pnpm/pnpm/blob/main/deps/graph-sequencer"},"keywords":["pnpm8","pnpm","graph"],"license":"MIT","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"homepage":"https://github.com/pnpm/pnpm/blob/main/deps/graph-sequencer#readme","dependencies":{},"funding":"https://opencollective.com/pnpm","devDependencies":{"@pnpm/deps.graph-sequencer":"1.0.0"},"exports":{".":"./lib/index.js"},"scripts":{"lint":"eslint \"src/**/*.ts\" \"test/**/*.ts\"","_test":"jest","test":"pnpm run compile && pnpm run _test","compile":"tsc --build && pnpm run lint --fix"},"_id":"@pnpm/deps.graph-sequencer@1.0.0","_integrity":"sha512-vWWVbYYBBN/kweokmURicokyg7crzcDZo9/naziv8B8RSWrLWFpq5Xl0ro6QCQKgRmb6O78Qy9uQT+Fp79RxsA==","_resolved":"/tmp/e35475b6b527c471b5d705a21ad5dad3/pnpm-deps.graph-sequencer-1.0.0.tgz","_from":"file:pnpm-deps.graph-sequencer-1.0.0.tgz","_nodeVersion":"18.18.0","_npmVersion":"9.8.1","dist":{"shasum":"d30a0008bcb3df100aa55539594a742abb12e3c2","size":3558,"noattachment":false,"key":"/@pnpm/deps.graph-sequencer/-/@pnpm/deps.graph-sequencer-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@pnpm/deps.graph-sequencer/download/@pnpm/deps.graph-sequencer-1.0.0.tgz"},"_npmUser":{"name":"pnpmuser","email":"publish-bot@pnpm.io"},"directories":{},"maintainers":[{"name":"pnpmuser","email":"zoltan.kochan@gmail.com"},{"name":"zkochan","email":"zoltan.kochan+github@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/deps.graph-sequencer_1.0.0_1697411686031_0.002180513390198202"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-15T23:14:46.212Z","publish_time":1697411686212,"_source_registry_name":"default","_cnpm_publish_time":1697411686212}},"readme":"# @pnpm/deps.graph-sequencer\n\n> Sort items in a graph using a topological sort\n\n## Install\n\n```\npnpm add @pnpm/deps.graph-sequencer\n```\n\n## Usage\n\n```ts\n  expect(graphSequencer(new Map([\n    [0, [1]],\n    [1, [2]],\n    [2, [3]],\n    [3, [0]],\n  ]), [0, 1, 2, 3])).toStrictEqual(\n    {\n      safe: false,\n      chunks: [[0, 1, 2, 3]],\n      cycles: [[0, 1, 2, 3]],\n    }\n  )\n```\n\n## License\n\n[MIT](LICENSE)\n","_attachments":{},"homepage":"https://github.com/pnpm/pnpm/blob/main/deps/graph-sequencer#readme","bugs":{"url":"https://github.com/pnpm/pnpm/issues"},"license":"MIT"}