Socket
Socket
Sign inDemoInstall

remark-lint

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-lint - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

5

history.md

@@ -5,2 +5,7 @@ <!--remark setext-->

2.0.2 / 2015-12-27
==================
* Fix hard-break-spaces in indented blocks ([a427c59](https://github.com/wooorm/remark-lint/commit/a427c59))
2.0.1 / 2015-12-26

@@ -7,0 +12,0 @@ ==================

5

lib/rules/hard-break-spaces.js

@@ -46,2 +46,3 @@ /**

var end = position.end(node).offset;
var value;

@@ -52,3 +53,5 @@ if (position.generated(node)) {

if (contents.slice(start, end).length > 3) {
value = contents.slice(start, end).split('\n', 1)[0];
if (value.length > 2) {
file.warn('Use two spaces for hard line breaks', node);

@@ -55,0 +58,0 @@ }

2

package.json
{
"name": "remark-lint",
"version": "2.0.1",
"version": "2.0.2",
"description": "Lint markdown with remark",

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

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