{"name":"@changesets/parse","version":"1.0.0-next.0","license":"MIT","_id":"@changesets/parse@1.0.0-next.0","maintainers":[{"name":"noviny","email":"benjaminconolly@gmail.com"},{"name":"changesets-release-bot","email":"automation+changesets@thinkmill.com.au"},{"name":"emmatown","email":"npm@emmas.town"},{"name":"andarist","email":"mateuszburzynski@gmail.com"}],"homepage":"https://github.com/changesets/changesets/tree/main#readme","bugs":{"url":"https://github.com/changesets/changesets/issues"},"dist":{"shasum":"e3f7d5ea0bb7a24923c108766a4a96b8a710d8c0","tarball":"http://registry-npm.ywwl.com/@changesets/parse/download/@changesets/parse-1.0.0-next.0.tgz","fileCount":8,"integrity":"sha512-oQlkCcw5HVXltbWLiMEAoNS5UEU3DN9QTiCTgrKbEBsVRVZXgk7DMQxiCeR2w7yzEGOD+PqBnlHlG60X9lL+lQ==","signatures":[{"sig":"MEQCIAoHYlrRzIJu8tbdM3M1QFM9D4EaYKq+5O7kzdWfCx5QAiBJsAnYrcw91P/xMwsKG1+ZzY2HleB/8nutz3U661rzbA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":18075,"size":4494,"noattachment":false,"key":"/@changesets/parse/-/@changesets/parse-1.0.0-next.0.tgz"},"type":"module","engines":{"node":">=18.0.0"},"exports":{".":"./dist/changesets-parse.js","./package.json":"./package.json"},"gitHead":"771dc07bd7921f547f39d20d93c758e6e8cf3c1c","_npmUser":{"name":"changesets-release-bot","email":"automation+changesets@thinkmill.com.au"},"repository":{"url":"git+https://github.com/changesets/changesets.git#main","type":"git"},"_npmVersion":"10.9.2","description":"Parse a changeset file's contents into a usable json object","directories":{},"_nodeVersion":"22.14.0","dependencies":{"js-yaml":"^3.13.1","@changesets/types":"^7.0.0-next.0"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"outdent":"^0.8.0"},"_npmOperationalInternal":{"tmp":"tmp/parse_1.0.0-next.0_1745238362538_0.6408316226986979","host":"s3://npm-registry-packages-npm-production"},"readme":"# @changesets/parse\n\n[![Open on npmx.dev](https://npmx.dev/api/registry/badge/version/@changesets/parse?name=true)](https://npmx.dev/package/@changesets/parse)\n[![View changelog](https://npmx.dev/api/registry/badge/version/@changesets/cli?color=229fe4&value=View+changelog&label=+)](./CHANGELOG.md)\n\nParse a changeset from its written format to a data object.\n\n## Usage\n\n```ts\nimport { parseChangesetFile } from \"@changesets/parse\";\n\nconst changeset = `---\n\"pkg-a\": minor\n\"pkg-b\": patch\n---\n\nA summary of the change`;\n\nconst parsedChangeset = parseChangesetFile(changeset);\n// {\n//   \"summary\": \"A summary of the change\",\n//   \"releases\": [\n//     { \"name\": \"pkg-a\", \"type\": \"minor\" },\n//     { \"name\": \"pkg-b\", \"type\": \"patch\" }\n//   ]\n// }\n```\n\nNote that this does not include the changeset id, but it is normally given as the file name, which parse is not aware of.\n","publish_time":1745238362718,"_cnpm_publish_time":1745238362718,"dist-tags":{"latest":"1.0.0","next":"1.0.0-next.10","temp":"0.3.11-temp.0"}}