Socket
Socket
Sign inDemoInstall

remark-lint-ordered-list-marker-value

Package Overview
Dependencies
4
Maintainers
2
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 1.0.4

14

index.js

@@ -73,2 +73,8 @@ /**

*
* Paragraph.
*
* 0. Delta
* 0. Echo
* 0. Foxtrot
*
* @example {"name": "valid.md", "setting": "ordered"}

@@ -86,2 +92,8 @@ *

*
* Paragraph.
*
* 0. Delta
* 1. Echo
* 2. Foxtrot
*
* @example {"name": "invalid.md", "setting": "one", "label": "input"}

@@ -152,3 +164,3 @@ *

var children = node.children
var shouldBe = (pref === 'one' ? 1 : node.start) || 1
var shouldBe = pref === 'one' ? 1 : node.start == null ? 1 : node.start
var length = node.ordered ? children.length : 0

@@ -155,0 +167,0 @@ var index = -1

2

package.json
{
"name": "remark-lint-ordered-list-marker-value",
"version": "1.0.3",
"version": "1.0.4",
"description": "remark-lint rule to warn when the marker value of ordered lists violates a given style",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -145,2 +145,8 @@ <!--This file is generated-->

3. Charlie
Paragraph.
0. Delta
0. Echo
0. Foxtrot
```

@@ -168,2 +174,8 @@

5. Charlie
Paragraph.
0. Delta
1. Echo
2. Foxtrot
```

@@ -170,0 +182,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc