Skip to content

Use simplematter to parse frontmatter - #6773

Open
remcohaszing wants to merge 1 commit into
mainfrom
simplematter
Open

remcohaszing wants to merge 1 commit into
mainfrom
simplematter

Conversation

@remcohaszing

Copy link
Copy Markdown
Member

We used a custom function to parse frontmatter, as well as the YAML inside it. This code was very fragile, as it made a lot of optimistic assumptions. This change replaces it with simplematter, which is battle tested and uses a proper YAML parser.

We used a custom function to parse frontmatter, as well as the YAML
inside it. This code was very fragile, as it made a lot of optimistic
assumptions. This change replaces it with simplematter, which is battle
tested and uses a proper YAML parser.
@changeset-bot

changeset-bot Bot commented Oct 22, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 0a60ce8

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednpm/​simplematter@​1.0.17010010081100

View full report

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant