Skip to content

Cannot upgrade remark-gfm and related dependencies #736

@timlrx

Description

@timlrx

Describe the bug
When upgrading remark-gfm to v4, the following error is thrown:

TypeError: Cannot read properties of undefined (reading 'inTable')

Additional context
The recent update of remark / rehype along with the typings cause quite a bit of breaking changes. Contentlayer needs to sync with the latest types before newer remark / rehype packages can be used. See contentlayerdev/contentlayer#558

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions