{"name":"@changesets/parse","version":"1.0.0-next.7","license":"MIT","_id":"@changesets/parse@1.0.0-next.7","maintainers":[{"name":"emmatown","email":"npm@emmas.town"},{"name":"andarist","email":"mateuszburzynski@gmail.com"}],"dist":{"shasum":"16f148c6a1c81d39f814fb5e33759a1ad43fe5e6","tarball":"http://registry-npm.ywwl.com/@changesets/parse/download/@changesets/parse-1.0.0-next.7.tgz","fileCount":9,"integrity":"sha512-6xtwi4SUYbSVTtsnlNdGnXQPQfdwaqV6PVnDcpV+PtQRM4RhfE4gAwrBe9Cth9+4iHyFbvzm+Gusc00XSNF/IQ==","signatures":[{"sig":"MEQCIFv32VMgievDbix+weU3K1RFt39CrTzKQf32g9IF/KoDAiBwAWK/IMn6ifdh46vfvgyh7PhAeBKIuartiihah7awwA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@changesets%2fparse@1.0.0-next.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":30865,"size":7278,"noattachment":false,"key":"/@changesets/parse/-/@changesets/parse-1.0.0-next.7.tgz"},"type":"module","engines":{"node":"^22.11 || ^24 || >=26"},"exports":{".":"./dist/index.mjs","./package.json":"./package.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:3d4b3e99-985b-458a-84b9-2c43b1548ca3"}},"repository":{"url":"git+https://github.com/changesets/changesets.git","type":"git","directory":"packages/parse"},"description":"Parse a changeset file's contents into a usable json object","directories":{},"_nodeVersion":"24.17.0","dependencies":{"yaml":"^2.9.0","@changesets/types":"^7.0.0-next.6"},"_hasShrinkwrap":false,"devDependencies":{"outdent":"^0.8.0"},"_npmOperationalInternal":{"tmp":"tmp/parse_1.0.0-next.7_1782892706737_0.04454577606394161","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":1782892706873,"_cnpm_publish_time":1782892706873,"dist-tags":{"latest":"1.0.0","next":"1.0.0-next.10","temp":"0.3.11-temp.0"}}