{"name":"@changesets/parse","version":"0.4.1","license":"MIT","_id":"@changesets/parse@0.4.1","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":"18ba51d2eb784d27469034f06344f8fdcba586df","tarball":"http://registry-npm.ywwl.com/@changesets/parse/download/@changesets/parse-0.4.1.tgz","fileCount":15,"integrity":"sha512-iwksMs5Bf/wUItfcg+OXrEpravm5rEd9Bf4oyIPL4kVTmJQ7PNDSd6MDYkpSJR1pn7tz/k8Zf2DhTCqX08Ou+Q==","signatures":[{"sig":"MEUCIGEQNpsKWIH1EJ6q2GYeTbFT3dshSsr20iym0iBE4ZQbAiEA292cnhovdQIdqX+PyDgbnaHNxw4AJ4Lcq7SVsG8Cv4E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":19032,"size":4591,"noattachment":false,"key":"/@changesets/parse/-/@changesets/parse-0.4.1.tgz"},"main":"dist/changesets-parse.cjs.js","types":"./dist/changesets-parse.cjs.d.ts","module":"dist/changesets-parse.esm.js","exports":{".":{"types":{"import":"./dist/changesets-parse.cjs.mjs","default":"./dist/changesets-parse.cjs.js"},"import":"./dist/changesets-parse.cjs.mjs","module":"./dist/changesets-parse.esm.js","default":"./dist/changesets-parse.cjs.js"},"./package.json":"./package.json"},"gitHead":"3b9298de3daa884f637da087e815e0e0f5754f14","_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.8.2","description":"Parse a changeset file's contents into a usable json object","directories":{},"_nodeVersion":"20.18.2","dependencies":{"js-yaml":"^3.13.1","@changesets/types":"^6.1.0"},"_hasShrinkwrap":false,"devDependencies":{"outdent":"^0.5.0"},"_npmOperationalInternal":{"tmp":"tmp/parse_0.4.1_1739787933342_0.6166478672372304","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":1739787933530,"_cnpm_publish_time":1739787933530,"dist-tags":{"latest":"1.0.0","next":"1.0.0-next.10","temp":"0.3.11-temp.0"}}