New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lezer/markdown

Package Overview
Dependencies
Maintainers
1
Versions
23
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 0.15.1 to 0.15.2

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 0.15.2 (2021-11-08)
### Bug fixes
Fix a bug where an ordered list item after a nested bullet list would get treated as part of the bullet list item.
## 0.15.1 (2021-10-11)

@@ -2,0 +8,0 @@

2

package.json
{
"name": "@lezer/markdown",
"version": "0.15.1",
"version": "0.15.2",
"description": "Incremental Markdown parser that consumes and emits Lezer trees",

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

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

test("Nested bullet lists don't break ordered list parsing", `
{OL:{LI:{l:1.} {P:A}
{BL:{LI:{l:*} {P:A1}}
{LI:{l:*} {P:A2}}}}
{LI:{l:2.} {P:B}}}
`)
it("Doesn't get confused by tabs indenting a list item", () => {

@@ -3553,0 +3560,0 @@ let doc = ` - a\n\t\tb`

Sorry, the diff of this file is not supported yet

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc