Update @lezer/markdown dependency to latest version #6

Closed
heyman wants to merge 1 commit from update-lezer-markdown-dependency into main
heyman commented 2023-12-07 18:25:13 +01:00 (Migrated from github.com)

Hi!

After upgrading @codemirror/lang-markdown to the latest version, I had an issue where new list items weren't automatically inserted when pressing Enter with the cursor at the end of an item in a list.

I was able to fix it by upgrading the @lezer/markdown package to the latest version. It took a little while figuring out what the problem was since I hadn't installed the @lezer/markdown explicitly. Here's a PR that bumps the required version of @lezer/markdown.

Best,
Jonatan

Hi! After upgrading `@codemirror/lang-markdown` to the latest version, I had an issue where new list items weren't automatically inserted when pressing `Enter` with the cursor at the end of an item in a list. I was able to fix it by upgrading the `@lezer/markdown` package to the latest version. It took a little while figuring out what the problem was since I hadn't installed the `@lezer/markdown` explicitly. Here's a PR that bumps the required version of `@lezer/markdown`. Best, Jonatan
marijnh commented 2023-12-07 18:47:11 +01:00 (Migrated from github.com)

The current version range, due to the ^ caret, already matches that version. I am not going to re-release every depending package every time I bump a version. Clear your package lock instead, that should get you the current version.

The current version range, due to the `^` caret, already matches that version. I am not going to re-release every depending package every time I bump a version. Clear your package lock instead, that should get you the current version.
heyman commented 2023-12-07 19:20:29 +01:00 (Migrated from github.com)

Ok 👍!

I was unsure if you'd want to merge this or not, but thought it's easy to close the PR if not :), and that it might make sense to set a higher minimum version if the latest version is incompatible with 1.0.0.

Clearing package-lock in a big project might cause a lot of unrelated packages to upgrade which might be undesired.

Ok 👍! I was unsure if you'd want to merge this or not, but thought it's easy to close the PR if not :), and that it might make sense to set a higher minimum version if the latest version is incompatible with `1.0.0`. Clearing package-lock in a big project might cause a lot of unrelated packages to upgrade which might be undesired.
marijnh commented 2023-12-07 20:41:18 +01:00 (Migrated from github.com)

Clearing package-lock in a big project might cause a lot of unrelated packages to upgrade which might be undesired.

The alternative, leaving transitive dependencies on some random old version forever, isn't great either though.

> Clearing package-lock in a big project might cause a lot of unrelated packages to upgrade which might be undesired. The alternative, leaving transitive dependencies on some random old version forever, isn't great either though.
alex-titarenko commented 2023-12-07 23:48:10 +01:00 (Migrated from github.com)

@heyman I had the same issue with @lezer/markdown. Running npm update @lezer/markdown should help update the package in the lock file without explicitly installing it in package.json file.

@heyman I had the same issue with `@lezer/markdown`. Running `npm update @lezer/markdown` should help update the package in the lock file without explicitly installing it in `package.json` file.

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
codemirror/lang-markdown!6
No description provided.