{"name":"@changesets/parse","version":"1.0.0-next.5","license":"MIT","_id":"@changesets/parse@1.0.0-next.5","maintainers":[{"name":"emmatown","email":"npm@emmas.town"},{"name":"andarist","email":"mateuszburzynski@gmail.com"}],"dist":{"shasum":"7182d5ed6ab17f18e39e2384dd933633cdaa277e","tarball":"http://registry-npm.ywwl.com/@changesets/parse/download/@changesets/parse-1.0.0-next.5.tgz","fileCount":9,"integrity":"sha512-SbIeZdWHhCVmt3EAx++1eqWnTMDlUYsk32kxNqhW5rS1r9NwLF1NY38Uqh2rLszE1OgJtjSJqRb6Z5PaPw4mxQ==","signatures":[{"sig":"MEUCIGV+LrFdQU6DqwSugOUYTcL/9Px2PtRc90pc44Mab9jbAiEA85P7Xg7c6nP+xTc8NCGBnWIS1REDvET1P6IsY06h7dY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@changesets%2fparse@1.0.0-next.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":30504,"size":7260,"noattachment":false,"key":"/@changesets/parse/-/@changesets/parse-1.0.0-next.5.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.15.0","dependencies":{"js-yaml":"^4.1.1","@changesets/types":"^7.0.0-next.5"},"_hasShrinkwrap":false,"devDependencies":{"outdent":"^0.8.0","@types/js-yaml":"^4.0.9"},"_npmOperationalInternal":{"tmp":"tmp/parse_1.0.0-next.5_1779967958757_0.07686508595873054","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":1779967958883,"_cnpm_publish_time":1779967958883,"dist-tags":{"latest":"1.0.0","next":"1.0.0-next.10","temp":"0.3.11-temp.0"}}