🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@lezer/markdown

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lezer/markdown - npm Package Compare versions

Comparing version
1.3.0
to
1.3.1
+8
-0
CHANGELOG.md

@@ -0,1 +1,9 @@

## 1.3.1 (2024-09-02)
### Bug fixes
Fix emphasis parsing to properly test for punctuation on platforms that support regular expression unicode categories.
Fix an issue where dashes right after a paragraph weren't parsed as horizontal rules when setext headers are disabled.
## 1.3.0 (2024-04-03)

@@ -2,0 +10,0 @@

+1
-1
{
"name": "@lezer/markdown",
"version": "1.3.0",
"version": "1.3.1",
"description": "Incremental Markdown parser that consumes and emits Lezer trees",

@@ -5,0 +5,0 @@ "main": "dist/index.cjs",

@@ -3562,2 +3562,8 @@ import {parser} from "../dist/index.js"

})
it("Parses horizontal rules when setext headers are disabled", () => {
let tree = parser.configure({remove: ["SetextHeading"]}).parse(`abc\n---`)
if (tree.toString() != "Document(Paragraph,HorizontalRule)")
throw new Error("Unexpected tree: " + tree)
})
})

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display